tag | line | file | source code |
device | 112 | drivers/block/blk.h | #define DEVICE_NR(device) ((device) & 7) |
device | 113 | drivers/block/blk.h | #define DEVICE_ON(device) |
device | 114 | drivers/block/blk.h | #define DEVICE_OFF(device) |
device | 124 | drivers/block/blk.h | #define DEVICE_NR(device) ((device) & 3) |
device | 125 | drivers/block/blk.h | #define DEVICE_ON(device) floppy_on(DEVICE_NR(device)) |
device | 126 | drivers/block/blk.h | #define DEVICE_OFF(device) floppy_off(DEVICE_NR(device)) |
device | 136 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device)>>6) |
device | 137 | drivers/block/blk.h | #define DEVICE_ON(device) |
device | 138 | drivers/block/blk.h | #define DEVICE_OFF(device) |
device | 146 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device) >> 4) |
device | 147 | drivers/block/blk.h | #define DEVICE_ON(device) |
device | 148 | drivers/block/blk.h | #define DEVICE_OFF(device) |
device | 154 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
device | 155 | drivers/block/blk.h | #define DEVICE_ON(device) |
device | 156 | drivers/block/blk.h | #define DEVICE_OFF(device) |
device | 163 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
device | 164 | drivers/block/blk.h | #define DEVICE_ON(device) |
device | 165 | drivers/block/blk.h | #define DEVICE_OFF(device) |
device | 171 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device) >> 6) |
device | 172 | drivers/block/blk.h | #define DEVICE_ON(device) |
device | 173 | drivers/block/blk.h | #define DEVICE_OFF(device) |
device | 179 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
device | 180 | drivers/block/blk.h | #define DEVICE_ON(device) |
device | 181 | drivers/block/blk.h | #define DEVICE_OFF(device) |
device | 188 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
device | 189 | drivers/block/blk.h | #define DEVICE_ON(device) |
device | 190 | drivers/block/blk.h | #define DEVICE_OFF(device) |
device | 196 | drivers/block/blk.h | #define DEVICE_NR(device) (MINOR(device)) |
device | 197 | drivers/block/blk.h | #define DEVICE_ON(device) |
device | 198 | drivers/block/blk.h | #define DEVICE_OFF(device) |
device | 238 | drivers/block/floppy.c | #define CURRENT_DEVICE (format_status == FORMAT_BUSY ? format_req.device : \ |
device | 995 | drivers/block/floppy.c | int device; |
device | 1020 | drivers/block/floppy.c | device = MINOR(CURRENT_DEVICE); |
device | 1021 | drivers/block/floppy.c | if (device > 3) |
device | 1022 | drivers/block/floppy.c | floppy = (device >> 2) + floppy_type; |
device | 1024 | drivers/block/floppy.c | floppy = current_type[device & 3]; |
device | 1027 | drivers/block/floppy.c | floppy = base_type[device & 3]; |
device | 1061 | drivers/block/floppy.c | if (current_drive != (format_req.device & 3)) |
device | 1063 | drivers/block/floppy.c | current_drive = format_req.device & 3; |
device | 1151 | drivers/block/floppy.c | format_req.device = drive; |
device | 48 | drivers/net/3c501.c | extern struct device *irq2dev_map[16]; |
device | 53 | drivers/net/3c501.c | int el1_probe(struct device *dev); |
device | 54 | drivers/net/3c501.c | static int el_open(struct device *dev); |
device | 55 | drivers/net/3c501.c | static int el_start_xmit(struct sk_buff *skb, struct device *dev); |
device | 57 | drivers/net/3c501.c | static void el_receive(struct device *dev); |
device | 58 | drivers/net/3c501.c | static void el_reset(struct device *dev); |
device | 59 | drivers/net/3c501.c | static int el1_close(struct device *dev); |
device | 60 | drivers/net/3c501.c | static struct enet_statistics *el1_get_stats(struct device *dev); |
device | 61 | drivers/net/3c501.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
device | 70 | drivers/net/3c501.c | static struct device *eldev; /* Only for consistency checking. */ |
device | 127 | drivers/net/3c501.c | el1_probe(struct device *dev) |
device | 206 | drivers/net/3c501.c | el_open(struct device *dev) |
device | 230 | drivers/net/3c501.c | el_start_xmit(struct sk_buff *skb, struct device *dev) |
device | 299 | drivers/net/3c501.c | struct device *dev = eldev; |
device | 390 | drivers/net/3c501.c | el_receive(struct device *dev) |
device | 427 | drivers/net/3c501.c | el_reset(struct device *dev) |
device | 451 | drivers/net/3c501.c | el1_close(struct device *dev) |
device | 470 | drivers/net/3c501.c | el1_get_stats(struct device *dev) |
device | 482 | drivers/net/3c501.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
device | 34 | drivers/net/3c503.c | int el2_probe(struct device *dev); |
device | 35 | drivers/net/3c503.c | int el2_pio_autoprobe(struct device *dev); |
device | 36 | drivers/net/3c503.c | int el2probe1(int ioaddr, struct device *dev); |
device | 38 | drivers/net/3c503.c | static int el2_open(struct device *dev); |
device | 39 | drivers/net/3c503.c | static int el2_close(struct device *dev); |
device | 40 | drivers/net/3c503.c | static void el2_reset_8390(struct device *dev); |
device | 41 | drivers/net/3c503.c | static void el2_init_card(struct device *dev); |
device | 42 | drivers/net/3c503.c | static void el2_block_output(struct device *dev, int count, |
device | 44 | drivers/net/3c503.c | static int el2_block_input(struct device *dev, int count, char *buf, |
device | 59 | drivers/net/3c503.c | el2_probe(struct device *dev) |
device | 95 | drivers/net/3c503.c | el2_pio_autoprobe(struct device *dev) |
device | 117 | drivers/net/3c503.c | el2probe1(int ioaddr, struct device *dev) |
device | 241 | drivers/net/3c503.c | el2_open(struct device *dev) |
device | 274 | drivers/net/3c503.c | el2_close(struct device *dev) |
device | 291 | drivers/net/3c503.c | el2_reset_8390(struct device *dev) |
device | 307 | drivers/net/3c503.c | el2_init_card(struct device *dev) |
device | 337 | drivers/net/3c503.c | el2_block_output(struct device *dev, int count, |
device | 381 | drivers/net/3c503.c | el2_block_input(struct device *dev, int count, char *buf, int ring_offset) |
device | 268 | drivers/net/3c507.c | extern int el16_probe(struct device *dev); /* Called from Space.c */ |
device | 270 | drivers/net/3c507.c | static int el16_probe1(struct device *dev, short ioaddr); |
device | 271 | drivers/net/3c507.c | static int el16_open(struct device *dev); |
device | 272 | drivers/net/3c507.c | static int el16_send_packet(struct sk_buff *skb, struct device *dev); |
device | 274 | drivers/net/3c507.c | static void el16_rx(struct device *dev); |
device | 275 | drivers/net/3c507.c | static int el16_close(struct device *dev); |
device | 276 | drivers/net/3c507.c | static struct enet_statistics *el16_get_stats(struct device *dev); |
device | 278 | drivers/net/3c507.c | static void hardware_send_packet(struct device *dev, void *buf, short length); |
device | 279 | drivers/net/3c507.c | void init_82586_mem(struct device *dev); |
device | 289 | drivers/net/3c507.c | el16_probe(struct device *dev) |
device | 336 | drivers/net/3c507.c | int el16_probe1(struct device *dev, short ioaddr) |
device | 413 | drivers/net/3c507.c | el16_open(struct device *dev) |
device | 427 | drivers/net/3c507.c | el16_send_packet(struct sk_buff *skb, struct device *dev) |
device | 496 | drivers/net/3c507.c | struct device *dev = (struct device *)(irq2dev_map[irq]); |
device | 570 | drivers/net/3c507.c | static void init_rx_bufs(struct device *); |
device | 594 | drivers/net/3c507.c | el16_close(struct device *dev) |
device | 622 | drivers/net/3c507.c | el16_get_stats(struct device *dev) |
device | 633 | drivers/net/3c507.c | init_rx_bufs(struct device *dev) |
device | 679 | drivers/net/3c507.c | init_82586_mem(struct device *dev) |
device | 738 | drivers/net/3c507.c | hardware_send_packet(struct device *dev, void *buf, short length) |
device | 784 | drivers/net/3c507.c | el16_rx(struct device *dev) |
device | 71 | drivers/net/3c509.c | static int el3_open(struct device *dev); |
device | 72 | drivers/net/3c509.c | static int el3_start_xmit(struct sk_buff *skb, struct device *dev); |
device | 74 | drivers/net/3c509.c | static void update_stats(int addr, struct device *dev); |
device | 75 | drivers/net/3c509.c | static struct enet_statistics *el3_get_stats(struct device *dev); |
device | 76 | drivers/net/3c509.c | static int el3_rx(struct device *dev); |
device | 77 | drivers/net/3c509.c | static int el3_close(struct device *dev); |
device | 79 | drivers/net/3c509.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
device | 84 | drivers/net/3c509.c | int el3_probe(struct device *dev) |
device | 258 | drivers/net/3c509.c | el3_open(struct device *dev) |
device | 316 | drivers/net/3c509.c | el3_start_xmit(struct sk_buff *skb, struct device *dev) |
device | 406 | drivers/net/3c509.c | struct device *dev = (struct device *)(irq2dev_map[irq]); |
device | 463 | drivers/net/3c509.c | el3_get_stats(struct device *dev) |
device | 478 | drivers/net/3c509.c | static void update_stats(int ioaddr, struct device *dev) |
device | 507 | drivers/net/3c509.c | el3_rx(struct device *dev) |
device | 596 | drivers/net/3c509.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
device | 609 | drivers/net/3c509.c | el3_close(struct device *dev) |
device | 88 | drivers/net/8390.c | int ei_open(struct device *dev); /* Put into the device structure. */ |
device | 91 | drivers/net/8390.c | static void ei_tx_intr(struct device *dev); |
device | 92 | drivers/net/8390.c | static void ei_receive(struct device *dev); |
device | 93 | drivers/net/8390.c | static void ei_rx_overrun(struct device *dev); |
device | 96 | drivers/net/8390.c | void NS8390_init(struct device *dev, int startp); |
device | 97 | drivers/net/8390.c | static void NS8390_trigger_send(struct device *dev, unsigned int length, |
device | 100 | drivers/net/8390.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
device | 109 | drivers/net/8390.c | int ei_open(struct device *dev) |
device | 125 | drivers/net/8390.c | static int ei_start_xmit(struct sk_buff *skb, struct device *dev) |
device | 244 | drivers/net/8390.c | struct device *dev = (struct device *)(irq2dev_map[irq]); |
device | 317 | drivers/net/8390.c | static void ei_tx_intr(struct device *dev) |
device | 381 | drivers/net/8390.c | static void ei_receive(struct device *dev) |
device | 493 | drivers/net/8390.c | static void ei_rx_overrun(struct device *dev) |
device | 530 | drivers/net/8390.c | static struct enet_statistics *get_stats(struct device *dev) |
device | 550 | drivers/net/8390.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
device | 566 | drivers/net/8390.c | int ethdev_init(struct device *dev) |
device | 600 | drivers/net/8390.c | void NS8390_init(struct device *dev, int startp) |
device | 658 | drivers/net/8390.c | static void NS8390_trigger_send(struct device *dev, unsigned int length, |
device | 23 | drivers/net/8390.h | extern int ethif_init(struct device *dev); |
device | 24 | drivers/net/8390.h | extern int ethdev_init(struct device *dev); |
device | 25 | drivers/net/8390.h | extern void NS8390_init(struct device *dev, int startp); |
device | 26 | drivers/net/8390.h | extern int ei_open(struct device *dev); |
device | 31 | drivers/net/8390.h | extern struct device *irq2dev_map[16]; |
device | 41 | drivers/net/8390.h | void (*reset_8390)(struct device *); |
device | 42 | drivers/net/8390.h | void (*block_output)(struct device *, int, const unsigned char *, int); |
device | 43 | drivers/net/8390.h | int (*block_input)(struct device *, int, char *, int); |
device | 40 | drivers/net/Space.c | extern int ultra_probe(struct device *dev); |
device | 41 | drivers/net/Space.c | extern int wd_probe(struct device *dev); |
device | 42 | drivers/net/Space.c | extern int el2_probe(struct device *dev); |
device | 43 | drivers/net/Space.c | extern int ne_probe(struct device *dev); |
device | 44 | drivers/net/Space.c | extern int hp_probe(struct device *dev); |
device | 45 | drivers/net/Space.c | extern int znet_probe(struct device *); |
device | 46 | drivers/net/Space.c | extern int express_probe(struct device *); |
device | 47 | drivers/net/Space.c | extern int el3_probe(struct device *); |
device | 48 | drivers/net/Space.c | extern int at1500_probe(struct device *); |
device | 49 | drivers/net/Space.c | extern int at1700_probe(struct device *); |
device | 50 | drivers/net/Space.c | extern int depca_probe(struct device *); |
device | 51 | drivers/net/Space.c | extern int el1_probe(struct device *); |
device | 52 | drivers/net/Space.c | extern int el16_probe(struct device *); |
device | 53 | drivers/net/Space.c | extern int elplus_probe(struct device *); |
device | 54 | drivers/net/Space.c | extern int ac3200_probe(struct device *); |
device | 55 | drivers/net/Space.c | extern int e2100_probe(struct device *); |
device | 58 | drivers/net/Space.c | extern int atp_init(struct device *); |
device | 59 | drivers/net/Space.c | extern int d_link_init(struct device *); |
device | 62 | drivers/net/Space.c | ethif_probe(struct device *dev) |
device | 127 | drivers/net/Space.c | static struct device d_link_dev = { |
device | 135 | drivers/net/Space.c | static struct device atp_dev = { |
device | 152 | drivers/net/Space.c | static struct device eth3_dev = { |
device | 154 | drivers/net/Space.c | static struct device eth2_dev = { |
device | 156 | drivers/net/Space.c | static struct device eth1_dev = { |
device | 159 | drivers/net/Space.c | static struct device eth0_dev = { |
device | 166 | drivers/net/Space.c | extern int plip_init(struct device *); |
device | 167 | drivers/net/Space.c | static struct device plip2_dev = { |
device | 169 | drivers/net/Space.c | static struct device plip1_dev = { |
device | 171 | drivers/net/Space.c | static struct device plip0_dev = { |
device | 178 | drivers/net/Space.c | extern int slip_init(struct device *); |
device | 179 | drivers/net/Space.c | static struct device slip3_dev = { |
device | 191 | drivers/net/Space.c | static struct device slip2_dev = { |
device | 203 | drivers/net/Space.c | static struct device slip1_dev = { |
device | 215 | drivers/net/Space.c | static struct device slip0_dev = { |
device | 232 | drivers/net/Space.c | extern int ppp_init(struct device *); |
device | 233 | drivers/net/Space.c | static struct device ppp3_dev = { |
device | 235 | drivers/net/Space.c | static struct device ppp2_dev = { |
device | 237 | drivers/net/Space.c | static struct device ppp1_dev = { |
device | 239 | drivers/net/Space.c | static struct device ppp0_dev = { |
device | 246 | drivers/net/Space.c | extern int loopback_init(struct device *dev); |
device | 247 | drivers/net/Space.c | static struct device loopback_dev = { |
device | 264 | drivers/net/Space.c | struct device *dev_base = NEXT_DEV; |
device | 53 | drivers/net/at1700.c | extern struct device *irq2dev_map[16]; |
device | 108 | drivers/net/at1700.c | extern int at1700_probe(struct device *dev); |
device | 110 | drivers/net/at1700.c | static int at1700_probe1(struct device *dev, short ioaddr); |
device | 112 | drivers/net/at1700.c | static int net_open(struct device *dev); |
device | 113 | drivers/net/at1700.c | static int net_send_packet(struct sk_buff *skb, struct device *dev); |
device | 115 | drivers/net/at1700.c | static void net_rx(struct device *dev); |
device | 116 | drivers/net/at1700.c | static int net_close(struct device *dev); |
device | 117 | drivers/net/at1700.c | static struct enet_statistics *net_get_stats(struct device *dev); |
device | 118 | drivers/net/at1700.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
device | 128 | drivers/net/at1700.c | at1700_probe(struct device *dev) |
device | 157 | drivers/net/at1700.c | int at1700_probe1(struct device *dev, short ioaddr) |
device | 302 | drivers/net/at1700.c | static int net_open(struct device *dev) |
device | 343 | drivers/net/at1700.c | net_send_packet(struct sk_buff *skb, struct device *dev) |
device | 421 | drivers/net/at1700.c | struct device *dev = (struct device *)(irq2dev_map[irq]); |
device | 466 | drivers/net/at1700.c | net_rx(struct device *dev) |
device | 550 | drivers/net/at1700.c | static int net_close(struct device *dev) |
device | 574 | drivers/net/at1700.c | net_get_stats(struct device *dev) |
device | 592 | drivers/net/at1700.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
device | 107 | drivers/net/atp.c | extern struct device *irq2dev_map[16]; |
device | 131 | drivers/net/atp.c | extern int atp_probe(struct device *dev); |
device | 133 | drivers/net/atp.c | static int atp_probe1(struct device *dev, short ioaddr); |
device | 134 | drivers/net/atp.c | static void get_node_ID(struct device *dev); |
device | 136 | drivers/net/atp.c | static int net_open(struct device *dev); |
device | 137 | drivers/net/atp.c | static void hardware_init(struct device *dev); |
device | 140 | drivers/net/atp.c | static int net_send_packet(struct sk_buff *skb, struct device *dev); |
device | 142 | drivers/net/atp.c | static void net_rx(struct device *dev); |
device | 144 | drivers/net/atp.c | static int net_close(struct device *dev); |
device | 145 | drivers/net/atp.c | static struct enet_statistics *net_get_stats(struct device *dev); |
device | 146 | drivers/net/atp.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
device | 156 | drivers/net/atp.c | atp_init(struct device *dev) |
device | 178 | drivers/net/atp.c | static int atp_probe1(struct device *dev, short ioaddr) |
device | 256 | drivers/net/atp.c | static void get_node_ID(struct device *dev) |
device | 318 | drivers/net/atp.c | static int net_open(struct device *dev) |
device | 337 | drivers/net/atp.c | static void hardware_init(struct device *dev) |
device | 411 | drivers/net/atp.c | net_send_packet(struct sk_buff *skb, struct device *dev) |
device | 486 | drivers/net/atp.c | struct device *dev = (struct device *)(irq2dev_map[irq]); |
device | 603 | drivers/net/atp.c | static void net_rx(struct device *dev) |
device | 682 | drivers/net/atp.c | net_close(struct device *dev) |
device | 708 | drivers/net/atp.c | net_get_stats(struct device *dev) |
device | 721 | drivers/net/atp.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
device | 41 | drivers/net/auto_irq.c | struct device *irq2dev_map[16] = {0, 0, /* ... zeroed */}; |
device | 210 | drivers/net/d_link.c | static int d_link_read_status(struct device *dev); |
device | 211 | drivers/net/d_link.c | static unsigned char d_link_read_byte(unsigned char type, struct device *dev); |
device | 214 | drivers/net/d_link.c | static int d_link_open(struct device *dev); |
device | 215 | drivers/net/d_link.c | static int d_link_close(struct device *dev); |
device | 216 | drivers/net/d_link.c | static struct netstats *get_stats(struct device *dev); |
device | 217 | drivers/net/d_link.c | static int d_link_start_xmit(struct sk_buff *skb, struct device *dev); |
device | 221 | drivers/net/d_link.c | static int d_link_tx_intr(struct device *dev, int irq_status); |
device | 222 | drivers/net/d_link.c | static void d_link_rx_intr(struct device *dev); |
device | 225 | drivers/net/d_link.c | static void trigger_interrupt(struct device *dev); |
device | 226 | drivers/net/d_link.c | int d_link_init(struct device *dev); |
device | 227 | drivers/net/d_link.c | static void adapter_init(struct device *dev); |
device | 232 | drivers/net/d_link.c | extern struct device *irq2dev_map[16]; |
device | 277 | drivers/net/d_link.c | d_link_read_status(struct device *dev) |
device | 289 | drivers/net/d_link.c | d_link_read_byte(unsigned char type, struct device *dev) { /* dev used by macros */ |
device | 307 | drivers/net/d_link.c | d_link_open(struct device *dev) |
device | 340 | drivers/net/d_link.c | d_link_close(struct device *dev) |
device | 359 | drivers/net/d_link.c | get_stats(struct device *dev) |
device | 365 | drivers/net/d_link.c | trigger_interrupt(struct device *dev) |
device | 379 | drivers/net/d_link.c | d_link_start_xmit(struct sk_buff *skb, struct device *dev) |
device | 457 | drivers/net/d_link.c | struct device *dev = irq2dev_map[irq]; |
device | 506 | drivers/net/d_link.c | d_link_tx_intr(struct device *dev, int irq_status) |
device | 542 | drivers/net/d_link.c | d_link_rx_intr(struct device *dev) |
device | 595 | drivers/net/d_link.c | d_link_init(struct device *dev) |
device | 661 | drivers/net/d_link.c | adapter_init(struct device *dev) |
device | 266 | drivers/net/depca.c | static int depca_open(struct device *dev); |
device | 267 | drivers/net/depca.c | static int depca_start_xmit(struct sk_buff *skb, struct device *dev); |
device | 269 | drivers/net/depca.c | static int depca_close(struct device *dev); |
device | 270 | drivers/net/depca.c | static struct enet_statistics *depca_get_stats(struct device *dev); |
device | 272 | drivers/net/depca.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
device | 278 | drivers/net/depca.c | static int depca_probe1(struct device *dev, short ioaddr); |
device | 279 | drivers/net/depca.c | static void depca_init_ring(struct device *dev); |
device | 280 | drivers/net/depca.c | static int depca_rx(struct device *dev); |
device | 281 | drivers/net/depca.c | static int depca_tx(struct device *dev); |
device | 283 | drivers/net/depca.c | static void LoadCSRs(struct device *dev); |
device | 284 | drivers/net/depca.c | static int InitRestartDepca(struct device *dev); |
device | 318 | drivers/net/depca.c | int depca_probe(struct device *dev) |
device | 323 | drivers/net/depca.c | struct device *eth0 = (struct device *) NULL; |
device | 349 | drivers/net/depca.c | while (dev->next != (struct device *)NULL) { |
device | 360 | drivers/net/depca.c | if (dev->next == (struct device *)NULL) { |
device | 361 | drivers/net/depca.c | dev->next = (struct device *)kmalloc(sizeof(struct device) + 8, |
device | 373 | drivers/net/depca.c | if ((dev->next != (struct device *)NULL) && |
device | 376 | drivers/net/depca.c | dev->name = (char *)(dev + sizeof(struct device)); |
device | 379 | drivers/net/depca.c | dev->next = (struct device *)NULL; /* mark the end of list */ |
device | 399 | drivers/net/depca.c | depca_probe1(struct device *dev, short ioaddr) |
device | 658 | drivers/net/depca.c | depca_open(struct device *dev) |
device | 746 | drivers/net/depca.c | depca_init_ring(struct device *dev) |
device | 780 | drivers/net/depca.c | depca_start_xmit(struct sk_buff *skb, struct device *dev) |
device | 932 | drivers/net/depca.c | struct device *dev = (struct device *)(irq2dev_map[irq]); |
device | 990 | drivers/net/depca.c | depca_rx(struct device *dev) |
device | 1071 | drivers/net/depca.c | depca_tx(struct device *dev) |
device | 1118 | drivers/net/depca.c | depca_close(struct device *dev) |
device | 1145 | drivers/net/depca.c | static void LoadCSRs(struct device *dev) |
device | 1159 | drivers/net/depca.c | static int InitRestartDepca(struct device *dev) |
device | 1188 | drivers/net/depca.c | depca_get_stats(struct device *dev) |
device | 1206 | drivers/net/depca.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
device | 281 | drivers/net/eexpress.c | extern int express_probe(struct device *dev); /* Called from Space.c */ |
device | 283 | drivers/net/eexpress.c | static int eexp_probe1(struct device *dev, short ioaddr); |
device | 284 | drivers/net/eexpress.c | static int eexp_open(struct device *dev); |
device | 285 | drivers/net/eexpress.c | static int eexp_send_packet(struct sk_buff *skb, struct device *dev); |
device | 287 | drivers/net/eexpress.c | static void eexp_rx(struct device *dev); |
device | 288 | drivers/net/eexpress.c | static int eexp_close(struct device *dev); |
device | 289 | drivers/net/eexpress.c | static struct enet_statistics *eexp_get_stats(struct device *dev); |
device | 290 | drivers/net/eexpress.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
device | 293 | drivers/net/eexpress.c | static void hardware_send_packet(struct device *dev, void *buf, short length); |
device | 294 | drivers/net/eexpress.c | static void init_82586_mem(struct device *dev); |
device | 295 | drivers/net/eexpress.c | static void init_rx_bufs(struct device *dev); |
device | 305 | drivers/net/eexpress.c | express_probe(struct device *dev) |
device | 338 | drivers/net/eexpress.c | int eexp_probe1(struct device *dev, short ioaddr) |
device | 415 | drivers/net/eexpress.c | eexp_open(struct device *dev) |
device | 442 | drivers/net/eexpress.c | eexp_send_packet(struct sk_buff *skb, struct device *dev) |
device | 512 | drivers/net/eexpress.c | struct device *dev = (struct device *)(irq2dev_map[irq]); |
device | 631 | drivers/net/eexpress.c | eexp_close(struct device *dev) |
device | 657 | drivers/net/eexpress.c | eexp_get_stats(struct device *dev) |
device | 673 | drivers/net/eexpress.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
device | 738 | drivers/net/eexpress.c | init_82586_mem(struct device *dev) |
device | 796 | drivers/net/eexpress.c | static void init_rx_bufs(struct device *dev) |
device | 837 | drivers/net/eexpress.c | hardware_send_packet(struct device *dev, void *buf, short length) |
device | 886 | drivers/net/eexpress.c | eexp_rx(struct device *dev) |
device | 48 | drivers/net/hp.c | int hp_probe(struct device *dev); |
device | 49 | drivers/net/hp.c | int hpprobe1(struct device *dev, int ioaddr); |
device | 51 | drivers/net/hp.c | static void hp_reset_8390(struct device *dev); |
device | 52 | drivers/net/hp.c | static int hp_block_input(struct device *dev, int count, |
device | 54 | drivers/net/hp.c | static void hp_block_output(struct device *dev, int count, |
device | 56 | drivers/net/hp.c | static void hp_init_card(struct device *dev); |
device | 67 | drivers/net/hp.c | int hp_probe(struct device *dev) |
device | 87 | drivers/net/hp.c | int hpprobe1(struct device *dev, int ioaddr) |
device | 176 | drivers/net/hp.c | hp_reset_8390(struct device *dev) |
device | 204 | drivers/net/hp.c | hp_block_input(struct device *dev, int count, char *buf, int ring_offset) |
device | 239 | drivers/net/hp.c | hp_block_output(struct device *dev, int count, |
device | 297 | drivers/net/hp.c | hp_init_card(struct device *dev) |
device | 41 | drivers/net/lance.c | struct device *init_etherdev(struct device *dev, int sizeof_private, |
device | 203 | drivers/net/lance.c | static int lance_open(struct device *dev); |
device | 204 | drivers/net/lance.c | static void lance_init_ring(struct device *dev); |
device | 205 | drivers/net/lance.c | static int lance_start_xmit(struct sk_buff *skb, struct device *dev); |
device | 206 | drivers/net/lance.c | static int lance_rx(struct device *dev); |
device | 208 | drivers/net/lance.c | static int lance_close(struct device *dev); |
device | 209 | drivers/net/lance.c | static struct enet_statistics *lance_get_stats(struct device *dev); |
device | 211 | drivers/net/lance.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
device | 235 | drivers/net/lance.c | struct device *dev; |
device | 363 | drivers/net/lance.c | lance_open(struct device *dev) |
device | 432 | drivers/net/lance.c | lance_init_ring(struct device *dev) |
device | 460 | drivers/net/lance.c | lance_start_xmit(struct sk_buff *skb, struct device *dev) |
device | 575 | drivers/net/lance.c | struct device *dev = (struct device *)(irq2dev_map[irq]); |
device | 684 | drivers/net/lance.c | lance_rx(struct device *dev) |
device | 735 | drivers/net/lance.c | lance_close(struct device *dev) |
device | 767 | drivers/net/lance.c | lance_get_stats(struct device *dev) |
device | 790 | drivers/net/lance.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
device | 42 | drivers/net/loopback.c | loopback_xmit(struct sk_buff *skb, struct device *dev) |
device | 88 | drivers/net/loopback.c | get_stats(struct device *dev) |
device | 95 | drivers/net/loopback.c | loopback_init(struct device *dev) |
device | 42 | drivers/net/ne.c | int ne_probe(struct device *dev); |
device | 43 | drivers/net/ne.c | static int neprobe1(int ioaddr, struct device *dev, int verbose); |
device | 45 | drivers/net/ne.c | static void ne_reset_8390(struct device *dev); |
device | 46 | drivers/net/ne.c | static int ne_block_input(struct device *dev, int count, |
device | 48 | drivers/net/ne.c | static void ne_block_output(struct device *dev, const int count, |
device | 73 | drivers/net/ne.c | int ne_probe(struct device *dev) |
device | 97 | drivers/net/ne.c | static int neprobe1(int ioaddr, struct device *dev, int verbose) |
device | 262 | drivers/net/ne.c | ne_reset_8390(struct device *dev) |
device | 285 | drivers/net/ne.c | ne_block_input(struct device *dev, int count, char *buf, int ring_offset) |
device | 337 | drivers/net/ne.c | ne_block_output(struct device *dev, int count, |
device | 77 | drivers/net/net_init.c | struct device *init_etherdev(struct device *dev, int sizeof_private, |
device | 84 | drivers/net/net_init.c | int alloc_size = sizeof(struct device) + sizeof("eth%d ") |
device | 87 | drivers/net/net_init.c | dev = (struct device *)*mem_startp; |
device | 90 | drivers/net/net_init.c | dev = (struct device *)kmalloc(alloc_size, GFP_KERNEL); |
device | 126 | drivers/net/net_init.c | struct device **old_devp = &dev_base; |
device | 135 | drivers/net/net_init.c | void ether_setup(struct device *dev) |
device | 121 | drivers/net/plip.c | extern struct device *irq2dev_map[16]; |
device | 135 | drivers/net/plip.c | extern int plip_probe(int ioaddr, struct device *dev); |
device | 136 | drivers/net/plip.c | static int plip_open(struct device *dev); |
device | 137 | drivers/net/plip.c | static int plip_close(struct device *dev); |
device | 138 | drivers/net/plip.c | static int plip_tx_packet(struct sk_buff *skb, struct device *dev); |
device | 139 | drivers/net/plip.c | static int plip_header (unsigned char *buff, struct device *dev, |
device | 149 | drivers/net/plip.c | static void plip_device_clear(struct device *dev); |
device | 150 | drivers/net/plip.c | static void plip_receiver_error(struct device *dev); |
device | 151 | drivers/net/plip.c | static void plip_set_physicaladdr(struct device *dev, unsigned long ipaddr); |
device | 155 | drivers/net/plip.c | static int plip_receive_packet(struct device *dev); |
device | 156 | drivers/net/plip.c | static int plip_send_packet(struct device *dev, unsigned char *buf, int length); |
device | 157 | drivers/net/plip.c | static int plip_send_start(struct device *dev, struct ethhdr *eth); |
device | 159 | drivers/net/plip.c | static struct enet_statistics *plip_get_stats(struct device *dev); |
device | 162 | drivers/net/plip.c | plip_init(struct device *dev) |
device | 223 | drivers/net/plip.c | plip_open(struct device *dev) |
device | 245 | drivers/net/plip.c | plip_close(struct device *dev) |
device | 258 | drivers/net/plip.c | plip_tx_packet(struct sk_buff *skb, struct device *dev) |
device | 290 | drivers/net/plip.c | plip_header (unsigned char *buff, struct device *dev, |
device | 302 | drivers/net/plip.c | plip_device_clear(struct device *dev) |
device | 311 | drivers/net/plip.c | plip_receiver_error(struct device *dev) |
device | 320 | drivers/net/plip.c | get_byte(struct device *dev) |
device | 368 | drivers/net/plip.c | struct device *dev = irq2dev_map[irq]; |
device | 404 | drivers/net/plip.c | plip_receive_packet(struct device *dev) |
device | 492 | drivers/net/plip.c | static int send_byte(struct device *dev, unsigned char val) |
device | 531 | drivers/net/plip.c | plip_send_start(struct device *dev, struct ethhdr *eth) |
device | 585 | drivers/net/plip.c | plip_send_packet(struct device *dev, unsigned char *buf, int length) |
device | 682 | drivers/net/plip.c | plip_set_physicaladdr(struct device *dev, unsigned long ipaddr) |
device | 736 | drivers/net/plip.c | plip_get_stats(struct device *dev) |
device | 69 | drivers/net/skeleton.c | extern struct device *irq2dev_map[16]; |
device | 99 | drivers/net/skeleton.c | extern int netcard_probe(struct device *dev); |
device | 101 | drivers/net/skeleton.c | static int netcard_probe1(struct device *dev, short ioaddr); |
device | 102 | drivers/net/skeleton.c | static int net_open(struct device *dev); |
device | 103 | drivers/net/skeleton.c | static int net_send_packet(struct sk_buff *skb, struct device *dev); |
device | 105 | drivers/net/skeleton.c | static void net_rx(struct device *dev); |
device | 106 | drivers/net/skeleton.c | static int net_close(struct device *dev); |
device | 107 | drivers/net/skeleton.c | static struct enet_statistics *net_get_stats(struct device *dev); |
device | 108 | drivers/net/skeleton.c | static void set_multicast_list(struct device *dev, int num_addrs, void *addrs); |
device | 113 | drivers/net/skeleton.c | extern void chipset_init(struct device *dev, int startp); |
device | 123 | drivers/net/skeleton.c | netcard_probe(struct device *dev) |
device | 148 | drivers/net/skeleton.c | int netcard_probe1(struct device *dev, short ioaddr) |
device | 226 | drivers/net/skeleton.c | net_open(struct device *dev) |
device | 257 | drivers/net/skeleton.c | net_send_packet(struct sk_buff *skb, struct device *dev) |
device | 311 | drivers/net/skeleton.c | struct device *dev = (struct device *)(irq2dev_map[irq]); |
device | 346 | drivers/net/skeleton.c | net_rx(struct device *dev) |
device | 397 | drivers/net/skeleton.c | net_close(struct device *dev) |
device | 428 | drivers/net/skeleton.c | net_get_stats(struct device *dev) |
device | 448 | drivers/net/skeleton.c | set_multicast_list(struct device *dev, int num_addrs, void *addrs) |
device | 140 | drivers/net/slip.c | sl_initialize(struct slip *sl, struct device *dev) |
device | 236 | drivers/net/slip.c | struct device *dev=sl->dev; |
device | 503 | drivers/net/slip.c | sl_xmit(struct sk_buff *skb, struct device *dev) |
device | 569 | drivers/net/slip.c | sl_type_trans (struct sk_buff *skb, struct device *dev) |
device | 582 | drivers/net/slip.c | sl_header(unsigned char *buff, struct device *dev, unsigned short type, |
device | 597 | drivers/net/slip.c | sl_rebuild_header(void *buff, struct device *dev, unsigned long raddr, |
device | 612 | drivers/net/slip.c | sl_open(struct device *dev) |
device | 697 | drivers/net/slip.c | sl_close(struct device *dev) |
device | 801 | drivers/net/slip.c | sl_get_stats(struct device *dev) |
device | 1025 | drivers/net/slip.c | int sl_set_mac_address(struct device *dev, void *addr) |
device | 1034 | drivers/net/slip.c | static int sl_set_dev_mac_address(struct device *dev, void *addr) |
device | 1098 | drivers/net/slip.c | slip_init(struct device *dev) |
device | 39 | drivers/net/slip.h | struct device *dev; /* easy for intr handling */ |
device | 76 | drivers/net/slip.h | extern int slip_init(struct device *dev); |
device | 36 | drivers/net/smc-ultra.c | int ultraprobe(int ioaddr, struct device *dev); |
device | 37 | drivers/net/smc-ultra.c | int ultraprobe1(int ioaddr, struct device *dev); |
device | 39 | drivers/net/smc-ultra.c | static int ultra_open(struct device *dev); |
device | 40 | drivers/net/smc-ultra.c | static void ultra_reset_8390(struct device *dev); |
device | 41 | drivers/net/smc-ultra.c | static int ultra_block_input(struct device *dev, int count, |
device | 43 | drivers/net/smc-ultra.c | static void ultra_block_output(struct device *dev, int count, |
device | 45 | drivers/net/smc-ultra.c | static int ultra_close_card(struct device *dev); |
device | 60 | drivers/net/smc-ultra.c | int ultra_probe(struct device *dev) |
device | 81 | drivers/net/smc-ultra.c | int ultraprobe1(int ioaddr, struct device *dev) |
device | 177 | drivers/net/smc-ultra.c | ultra_open(struct device *dev) |
device | 191 | drivers/net/smc-ultra.c | ultra_reset_8390(struct device *dev) |
device | 209 | drivers/net/smc-ultra.c | ultra_block_input(struct device *dev, int count, char *buf, int ring_offset) |
device | 228 | drivers/net/smc-ultra.c | ultra_block_output(struct device *dev, int count, const unsigned char *buf, |
device | 239 | drivers/net/smc-ultra.c | ultra_close_card(struct device *dev) |
device | 37 | drivers/net/wd.c | int wd_probe(struct device *dev); |
device | 38 | drivers/net/wd.c | int wdprobe1(int ioaddr, struct device *dev); |
device | 40 | drivers/net/wd.c | static int wd_open(struct device *dev); |
device | 41 | drivers/net/wd.c | static void wd_reset_8390(struct device *dev); |
device | 42 | drivers/net/wd.c | static int wd_block_input(struct device *dev, int count, |
device | 44 | drivers/net/wd.c | static void wd_block_output(struct device *dev, int count, |
device | 46 | drivers/net/wd.c | static int wd_close_card(struct device *dev); |
device | 69 | drivers/net/wd.c | int wd_probe(struct device *dev) |
device | 91 | drivers/net/wd.c | int wdprobe1(int ioaddr, struct device *dev) |
device | 255 | drivers/net/wd.c | wd_open(struct device *dev) |
device | 272 | drivers/net/wd.c | wd_reset_8390(struct device *dev) |
device | 295 | drivers/net/wd.c | wd_block_input(struct device *dev, int count, char *buf, int ring_offset) |
device | 326 | drivers/net/wd.c | wd_block_output(struct device *dev, int count, const unsigned char *buf, |
device | 344 | drivers/net/wd.c | wd_close_card(struct device *dev) |
device | 931 | drivers/scsi/aha1542.c | disk = rscsi_disks[MINOR(dev) >> 4].device; |
device | 1520 | drivers/scsi/fdomain.c | disk = rscsi_disks[ drive ].device; |
device | 65 | drivers/scsi/sd.c | if(target >= NR_SD || !rscsi_disks[target].device) |
device | 71 | drivers/scsi/sd.c | while (rscsi_disks[target].device->busy); |
device | 73 | drivers/scsi/sd.c | if(rscsi_disks[target].device->removable) { |
device | 76 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->access_count) |
device | 79 | drivers/scsi/sd.c | rscsi_disks[target].device->access_count++; |
device | 90 | drivers/scsi/sd.c | rscsi_disks[target].device->access_count--; |
device | 92 | drivers/scsi/sd.c | if(rscsi_disks[target].device->removable) { |
device | 93 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->access_count) |
device | 266 | drivers/scsi/sd.c | if(rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->removable) { |
device | 270 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->changed = 1; |
device | 297 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->host->host_no, |
device | 298 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->id, |
device | 299 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(SCpnt->request.dev)].device->lun, result); |
device | 343 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(MINOR(CURRENT->dev))].device->index, 0); |
device | 361 | drivers/scsi/sd.c | rscsi_disks[DEVICE_NR(MINOR(req->dev))].device->index); |
device | 415 | drivers/scsi/sd.c | if (rscsi_disks[dev].device->changed) |
device | 432 | drivers/scsi/sd.c | if (!rscsi_disks[dev].device->writeable) |
device | 747 | drivers/scsi/sd.c | if(!rscsi_disks[target].device->removable) return 0; |
device | 757 | drivers/scsi/sd.c | rscsi_disks[target].device->changed = 1; |
device | 762 | drivers/scsi/sd.c | retval = rscsi_disks[target].device->changed; |
device | 763 | drivers/scsi/sd.c | if(!flag) rscsi_disks[target].device->changed = 0; |
device | 796 | drivers/scsi/sd.c | SCpnt = allocate_device(NULL, rscsi_disks[i].device->index, 1); |
device | 805 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
device | 822 | drivers/scsi/sd.c | if(the_result && !rscsi_disks[i].device->removable && |
device | 828 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
device | 863 | drivers/scsi/sd.c | cmd[1] = (rscsi_disks[i].device->lun << 5) & 0xe0; |
device | 929 | drivers/scsi/sd.c | if(rscsi_disks[i].device->removable && |
device | 931 | drivers/scsi/sd.c | rscsi_disks[i].device->changed = 1; |
device | 950 | drivers/scsi/sd.c | if(rscsi_disks[i].device->removable){ |
device | 1015 | drivers/scsi/sd.c | if(rscsi_disks[0].device->host->sg_tablesize) |
device | 1034 | drivers/scsi/sd.c | rscsi_disks[NR_SD++].device = SDp; |
device | 1038 | drivers/scsi/sd.c | #define DEVICE_BUSY rscsi_disks[target].device->busy |
device | 1039 | drivers/scsi/sd.c | #define USAGE rscsi_disks[target].device->access_count |
device | 37 | drivers/scsi/sd.h | Scsi_Device *device; |
device | 31 | drivers/scsi/sd_ioctl.c | host = rscsi_disks[MINOR(dev) >> 4].device->host; |
device | 72 | drivers/scsi/sd_ioctl.c | return scsi_ioctl(rscsi_disks[MINOR(dev) >> 4].device , cmd, (void *) arg); |
device | 1610 | drivers/scsi/seagate.c | disk = rscsi_disks[MINOR(dev) >> 4].device; |
device | 38 | drivers/scsi/sg.c | Scsi_Device *device; |
device | 68 | drivers/scsi/sg.c | return scsi_ioctl(scsi_generics[dev].device, cmd_in, (void *) arg); |
device | 157 | drivers/scsi/sg.c | struct scsi_generic *device=&scsi_generics[dev]; |
device | 160 | drivers/scsi/sg.c | while(!device->pending || !device->complete) |
device | 164 | drivers/scsi/sg.c | interruptible_sleep_on(&device->read_wait); |
device | 168 | drivers/scsi/sg.c | device->header.pack_len=device->header.reply_len; |
device | 169 | drivers/scsi/sg.c | device->header.result=0; |
device | 172 | drivers/scsi/sg.c | memcpy_tofs(buf,&device->header,sizeof(struct sg_header)); |
device | 174 | drivers/scsi/sg.c | if (count>device->header.pack_len) |
device | 175 | drivers/scsi/sg.c | count=device->header.pack_len; |
device | 176 | drivers/scsi/sg.c | memcpy_tofs(buf,device->buff,count-sizeof(struct sg_header)); |
device | 180 | drivers/scsi/sg.c | sg_free(device->buff,device->buff_len); |
device | 181 | drivers/scsi/sg.c | device->pending=0; |
device | 182 | drivers/scsi/sg.c | wake_up(&device->write_wait); |
device | 189 | drivers/scsi/sg.c | struct scsi_generic *device=&scsi_generics[dev]; |
device | 190 | drivers/scsi/sg.c | if (!device->pending) |
device | 198 | drivers/scsi/sg.c | device->header.result=EIO; |
device | 201 | drivers/scsi/sg.c | device->header.result=SCpnt->result; |
device | 202 | drivers/scsi/sg.c | device->complete=1; |
device | 213 | drivers/scsi/sg.c | struct scsi_generic *device=&scsi_generics[dev]; |
device | 219 | drivers/scsi/sg.c | while(device->pending) |
device | 226 | drivers/scsi/sg.c | interruptible_sleep_on(&device->write_wait); |
device | 230 | drivers/scsi/sg.c | device->pending=1; |
device | 231 | drivers/scsi/sg.c | device->complete=0; |
device | 232 | drivers/scsi/sg.c | memcpy_fromfs(&device->header,buf,sizeof(struct sg_header)); |
device | 234 | drivers/scsi/sg.c | device->header.pack_len=count; |
device | 236 | drivers/scsi/sg.c | bsize=(device->header.pack_len>device->header.reply_len) ? device->header.pack_len : device->header.reply_len; |
device | 242 | drivers/scsi/sg.c | if ((bsize<0) || !(device->buff=sg_malloc(device->buff_len=bsize))) |
device | 244 | drivers/scsi/sg.c | device->pending=0; |
device | 245 | drivers/scsi/sg.c | wake_up(&device->write_wait); |
device | 251 | drivers/scsi/sg.c | if (!(SCpnt=allocate_device(NULL,device->device->index, !(filp->f_flags & O_NONBLOCK)))) |
device | 253 | drivers/scsi/sg.c | device->pending=0; |
device | 254 | drivers/scsi/sg.c | wake_up(&device->write_wait); |
device | 255 | drivers/scsi/sg.c | sg_free(device->buff,device->buff_len); |
device | 267 | drivers/scsi/sg.c | memcpy_fromfs(device->buff,buf,device->header.pack_len-size-sizeof(struct sg_header)); |
device | 268 | drivers/scsi/sg.c | cmnd[1]=(cmnd[1] & 0x1f) | (device->device->lun<<5); |
device | 273 | drivers/scsi/sg.c | (void *) device->buff,amt,sg_command_done,device->timeout,SG_DEFAULT_RETRIES); |
device | 327 | drivers/scsi/sg.c | scsi_generics[NR_SG].device=SDp; |
device | 51 | drivers/scsi/sr.c | if(! --scsi_CDs[MINOR(inode->i_rdev)].device->access_count) |
device | 98 | drivers/scsi/sr.c | scsi_CDs[target].device->changed = 1; |
device | 103 | drivers/scsi/sr.c | retval = scsi_CDs[target].device->changed; |
device | 105 | drivers/scsi/sr.c | scsi_CDs[target].device->changed = 0; |
device | 213 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->changed = 1; |
device | 247 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->host->host_no, |
device | 248 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->id, |
device | 249 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(SCpnt->request.dev)].device->lun, |
device | 263 | drivers/scsi/sr.c | !scsi_CDs[MINOR(inode->i_rdev)].device) return -ENXIO; /* No such device */ |
device | 267 | drivers/scsi/sr.c | if(!scsi_CDs[MINOR(inode->i_rdev)].device->access_count++) |
device | 304 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(MINOR(CURRENT->dev))].device->index, 0); |
device | 322 | drivers/scsi/sr.c | scsi_CDs[DEVICE_NR(MINOR(req->dev))].device->index); |
device | 381 | drivers/scsi/sr.c | if (scsi_CDs[dev].device->changed) |
device | 628 | drivers/scsi/sr.c | scsi_CDs[NR_SR++].device = SDp; |
device | 654 | drivers/scsi/sr.c | SCpnt = allocate_device(NULL, scsi_CDs[i].device->index, 1); |
device | 659 | drivers/scsi/sr.c | cmd[1] = (scsi_CDs[i].device->lun << 5) & 0xe0; |
device | 746 | drivers/scsi/sr.c | if(scsi_CDs[0].device->host->sg_tablesize) |
device | 26 | drivers/scsi/sr.h | Scsi_Device *device; |
device | 46 | drivers/scsi/sr_ioctl.c | SCpnt = allocate_device(NULL, scsi_CDs[target].device->index, 1); |
device | 64 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->changed = 1; |
device | 75 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->host->host_no, |
device | 76 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->id, |
device | 77 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device->lun, |
device | 109 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
device | 121 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
device | 137 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
device | 157 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = scsi_CDs[target].device->lun << 5; |
device | 178 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
device | 212 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
device | 245 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
device | 254 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 1; |
device | 262 | drivers/scsi/sr_ioctl.c | if (scsi_CDs[target].device -> access_count == 1) |
device | 266 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 1; |
device | 271 | drivers/scsi/sr_ioctl.c | scsi_CDs[target].device -> changed = 1; |
device | 286 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
device | 302 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = (scsi_CDs[target].device -> lun) << 5; |
device | 330 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device -> lun) << 5) | 0x10; /* Params are SCSI-2 */ |
device | 347 | drivers/scsi/sr_ioctl.c | sr_cmd[1] = ((scsi_CDs[target].device->lun) << 5) | 0x02; /* MSF format */ |
device | 396 | drivers/scsi/sr_ioctl.c | return scsi_ioctl(scsi_CDs[target].device,cmd,(void *) arg); |
device | 259 | drivers/scsi/st.c | SCpnt = allocate_device(NULL, (STp->device)->index, 1); |
device | 391 | drivers/scsi/st.c | SCpnt = allocate_device(NULL, (STp->device)->index, 1); |
device | 564 | drivers/scsi/st.c | SCpnt = allocate_device(NULL, (STp->device)->index, 1); |
device | 672 | drivers/scsi/st.c | SCpnt = allocate_device(NULL, (STp->device)->index, 1); |
device | 862 | drivers/scsi/st.c | SCpnt = allocate_device(NULL, (STp->device)->index, 1); |
device | 1153 | drivers/scsi/st.c | if ((STp->device)->scsi_level < SCSI_2) { |
device | 1229 | drivers/scsi/st.c | SCpnt = allocate_device(NULL, (STp->device)->index, 1); |
device | 1350 | drivers/scsi/st.c | SCpnt = allocate_device(NULL, (STp->device)->index, 1); |
device | 1354 | drivers/scsi/st.c | if ((STp->device)->scsi_level < SCSI_2) { |
device | 1379 | drivers/scsi/st.c | if ((STp->device)->scsi_level < SCSI_2) |
device | 1397 | drivers/scsi/st.c | return scsi_ioctl(STp->device, cmd_in, (void *) arg); |
device | 1416 | drivers/scsi/st.c | scsi_tapes[NR_ST++].device = SDp; |
device | 28 | drivers/scsi/st.h | Scsi_Device* device; |
device | 844 | drivers/sound/sequencer.c | dev = inf.device; |
device | 862 | drivers/sound/sequencer.c | dev = inf.device; |
device | 880 | drivers/sound/sequencer.c | dev = inf->device; |
device | 914 | drivers/sound/sequencer.c | dev = inf->device; |
device | 112 | fs/msdos/fat.c | cache[count].device = 0; |
device | 129 | fs/msdos/fat.c | if (inode->i_dev == walk->device && walk->ino == inode->i_ino && |
device | 150 | fs/msdos/fat.c | if (walk->device) |
device | 151 | fs/msdos/fat.c | printk("<%d,%d>(%d,%d) ",walk->device,walk->ino, |
device | 169 | fs/msdos/fat.c | if (inode->i_dev == walk->device && walk->ino == inode->i_ino && |
device | 186 | fs/msdos/fat.c | walk->device = inode->i_dev; |
device | 207 | fs/msdos/fat.c | if (walk->device == inode->i_dev && walk->ino == inode->i_ino) |
device | 208 | fs/msdos/fat.c | walk->device = 0; |
device | 212 | fs/msdos/fat.c | void cache_inval_dev(int device) |
device | 217 | fs/msdos/fat.c | if (walk->device == device) walk->device = 0; |
device | 31 | include/linux/etherdevice.h | extern int eth_header(unsigned char *buff, struct device *dev, |
device | 35 | include/linux/etherdevice.h | extern int eth_rebuild_header(void *buff, struct device *dev, |
device | 37 | include/linux/etherdevice.h | extern unsigned short eth_type_trans(struct sk_buff *skb, struct device *dev); |
device | 40 | include/linux/fd.h | unsigned int device,head,track; |
device | 92 | include/linux/msdos_fs.h | int device; /* device number. 0 means unused. */ |
device | 152 | include/linux/msdos_fs.h | void cache_inval_dev(int device); |
device | 74 | include/linux/netdevice.h | struct device *next; |
device | 77 | include/linux/netdevice.h | int (*init)(struct device *dev); |
device | 84 | include/linux/netdevice.h | struct enet_statistics* (*get_stats)(struct device *dev); |
device | 118 | include/linux/netdevice.h | int (*open)(struct device *dev); |
device | 119 | include/linux/netdevice.h | int (*stop)(struct device *dev); |
device | 121 | include/linux/netdevice.h | struct device *dev); |
device | 123 | include/linux/netdevice.h | struct device *dev, |
device | 129 | include/linux/netdevice.h | int (*rebuild_header)(void *eth, struct device *dev, |
device | 132 | include/linux/netdevice.h | struct device *dev); |
device | 134 | include/linux/netdevice.h | void (*set_multicast_list)(struct device *dev, |
device | 137 | include/linux/netdevice.h | int (*set_mac_address)(struct device *dev, void *addr); |
device | 144 | include/linux/netdevice.h | int (*func) (struct sk_buff *, struct device *, |
device | 158 | include/linux/netdevice.h | extern struct device *dev_base; |
device | 164 | include/linux/netdevice.h | extern struct device *ip_dev_check(unsigned long daddr); |
device | 170 | include/linux/netdevice.h | extern struct device *dev_get(char *name); |
device | 171 | include/linux/netdevice.h | extern int dev_open(struct device *dev); |
device | 172 | include/linux/netdevice.h | extern int dev_close(struct device *dev); |
device | 173 | include/linux/netdevice.h | extern void dev_queue_xmit(struct sk_buff *skb, struct device *dev, |
device | 179 | include/linux/netdevice.h | struct device * dev); |
device | 183 | include/linux/netdevice.h | extern void dev_tint(struct device *dev); |
device | 191 | include/linux/netdevice.h | extern void ether_setup(struct device *dev); |
device | 48 | include/linux/skbuff.h | struct device *dev; |
device | 223 | include/linux/soundcard.h | int device; |
device | 376 | include/linux/soundcard.h | short device; /* Synth# (0-4) */ |
device | 383 | include/linux/soundcard.h | int device; /* 0-N. INITIALIZE BEFORE CALLING */ |
device | 406 | include/linux/soundcard.h | int device; /* 0-N. INITIALIZE BEFORE CALLING */ |
device | 639 | include/linux/soundcard.h | _pm_info.device=dev, _pm_info.data.data8[0]=pgm, \ |
device | 643 | include/linux/soundcard.h | _pm_info.device=dev, memcpy(_pm_info.data.data8, pgm, 128), \ |
device | 731 | include/linux/soundcard.h | #define SEQ_MIDIOUT(device, byte) {_SEQ_NEEDBUF(4);\ |
device | 734 | include/linux/soundcard.h | _seqbuf[_seqbufptr+2] = (device);\ |
device | 73 | net/inet/arp.c | struct device *dev; /* Device the entry is tied to */ |
device | 249 | net/inet/arp.c | static void arp_send(int type, unsigned long dest_ip, struct device *dev, |
device | 344 | net/inet/arp.c | struct device *dev = entry->dev; |
device | 464 | net/inet/arp.c | int arp_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt) |
device | 635 | net/inet/arp.c | int arp_find(unsigned char *haddr, unsigned long paddr, struct device *dev, |
device | 7 | net/inet/arp.h | extern int arp_rcv(struct sk_buff *skb, struct device *dev, |
device | 10 | net/inet/arp.h | struct device *dev, unsigned long saddr, struct sk_buff *skb); |
device | 227 | net/inet/dev.c | struct device *dev_get(char *name) |
device | 229 | net/inet/dev.c | struct device *dev; |
device | 244 | net/inet/dev.c | int dev_open(struct device *dev) |
device | 274 | net/inet/dev.c | int dev_close(struct device *dev) |
device | 320 | net/inet/dev.c | void dev_queue_xmit(struct sk_buff *skb, struct device *dev, int pri) |
device | 469 | net/inet/dev.c | int dev_rint(unsigned char *buff, long len, int flags, struct device *dev) |
device | 548 | net/inet/dev.c | struct device *dev; |
device | 759 | net/inet/dev.c | void dev_tint(struct device *dev) |
device | 801 | net/inet/dev.c | struct device *dev; |
device | 876 | net/inet/dev.c | static int sprintf_stats(char *buffer, struct device *dev) |
device | 911 | net/inet/dev.c | struct device *dev; |
device | 968 | net/inet/dev.c | struct device *dev; |
device | 1270 | net/inet/dev.c | struct device *dev, *dev2; |
device | 73 | net/inet/dev.h | struct device *next; |
device | 76 | net/inet/dev.h | int (*init)(struct device *dev); |
device | 83 | net/inet/dev.h | struct enet_statistics* (*get_stats)(struct device *dev); |
device | 117 | net/inet/dev.h | int (*open)(struct device *dev); |
device | 118 | net/inet/dev.h | int (*stop)(struct device *dev); |
device | 120 | net/inet/dev.h | struct device *dev); |
device | 122 | net/inet/dev.h | struct device *dev, |
device | 129 | net/inet/dev.h | struct device *dev); |
device | 131 | net/inet/dev.h | struct device *dev, int pri); |
device | 132 | net/inet/dev.h | int (*rebuild_header)(void *eth, struct device *dev); |
device | 134 | net/inet/dev.h | struct device *dev); |
device | 136 | net/inet/dev.h | void (*set_multicast_list)(struct device *dev, |
device | 139 | net/inet/dev.h | int (*set_mac_address)(struct device *dev, void *addr); |
device | 149 | net/inet/dev.h | int (*func) (struct sk_buff *, struct device *, |
device | 161 | net/inet/dev.h | extern struct device *dev_base; |
device | 167 | net/inet/dev.h | extern struct device *dev_check(unsigned long daddr); |
device | 172 | net/inet/dev.h | extern struct device *dev_get(char *name); |
device | 173 | net/inet/dev.h | extern int dev_open(struct device *dev); |
device | 174 | net/inet/dev.h | extern int dev_close(struct device *dev); |
device | 175 | net/inet/dev.h | extern void dev_queue_xmit(struct sk_buff *skb, struct device *dev, |
device | 181 | net/inet/dev.h | struct device * dev); |
device | 185 | net/inet/dev.h | extern void dev_tint(struct device *dev); |
device | 117 | net/inet/devinet.c | struct device *dev; |
device | 206 | net/inet/devinet.c | struct device *dev; |
device | 223 | net/inet/devinet.c | struct device * ip_dev_check(unsigned long addr) |
device | 225 | net/inet/devinet.c | struct device *dev; |
device | 50 | net/inet/eth.c | struct device *d = dev_base; |
device | 80 | net/inet/eth.c | int eth_header(unsigned char *buff, struct device *dev, unsigned short type, |
device | 131 | net/inet/eth.c | int eth_rebuild_header(void *buff, struct device *dev, unsigned long dst, |
device | 161 | net/inet/eth.c | unsigned short eth_type_trans(struct sk_buff *skb, struct device *dev) |
device | 27 | net/inet/eth.h | extern int eth_header(unsigned char *buff, struct device *dev, |
device | 30 | net/inet/eth.h | extern int eth_rebuild_header(void *buff, struct device *dev); |
device | 32 | net/inet/eth.h | struct device *dev); |
device | 33 | net/inet/eth.h | extern unsigned short eth_type_trans(struct sk_buff *skb, struct device *dev); |
device | 106 | net/inet/icmp.c | void icmp_send(struct sk_buff *skb_in, int type, int code, struct device *dev) |
device | 113 | net/inet/icmp.c | struct device *ndev=NULL; /* Make this =dev to force replies on the same interface */ |
device | 317 | net/inet/icmp.c | struct device *dev, unsigned long source) |
device | 380 | net/inet/icmp.c | static void icmp_echo(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
device | 386 | net/inet/icmp.c | struct device *ndev=NULL; |
device | 447 | net/inet/icmp.c | static void icmp_timestamp(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
device | 456 | net/inet/icmp.c | struct device *ndev=NULL; |
device | 524 | net/inet/icmp.c | static void icmp_info(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
device | 537 | net/inet/icmp.c | static void icmp_address(struct icmphdr *icmph, struct sk_buff *skb, struct device *dev, |
device | 544 | net/inet/icmp.c | struct device *ndev=NULL; |
device | 606 | net/inet/icmp.c | int icmp_rcv(struct sk_buff *skb1, struct device *dev, struct options *opt, |
device | 29 | net/inet/icmp.h | struct device *dev); |
device | 30 | net/inet/icmp.h | extern int icmp_rcv(struct sk_buff *skb1, struct device *dev, |
device | 226 | net/inet/ip.c | static int ip_send(struct sk_buff *skb, unsigned long daddr, int len, struct device *dev, unsigned long saddr) |
device | 257 | net/inet/ip.c | struct device **dev, int type, struct options *opt, int len, int tos, int ttl) |
device | 784 | net/inet/ip.c | static struct ipq *ip_create(struct sk_buff *skb, struct iphdr *iph, struct device *dev) |
device | 966 | net/inet/ip.c | static struct sk_buff *ip_defrag(struct iphdr *iph, struct sk_buff *skb, struct device *dev) |
device | 1163 | net/inet/ip.c | void ip_fragment(struct sock *sk, struct sk_buff *skb, struct device *dev, int is_frag) |
device | 1336 | net/inet/ip.c | static void ip_forward(struct sk_buff *skb, struct device *dev, int is_frag) |
device | 1338 | net/inet/ip.c | struct device *dev2; /* Output device */ |
device | 1536 | net/inet/ip.c | int ip_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt) |
device | 1762 | net/inet/ip.c | void ip_queue_xmit(struct sock *sk, struct device *dev, |
device | 1924 | net/inet/ip.c | struct device *dev; |
device | 62 | net/inet/ip.h | struct device *dev; /* Device - for icmp replies */ |
device | 75 | net/inet/ip.h | struct device **dev, int type, |
device | 79 | net/inet/ip.h | extern int ip_rcv(struct sk_buff *skb, struct device *dev, |
device | 82 | net/inet/ip.h | struct device *dev, struct sk_buff *skb, |
device | 212 | net/inet/ipx.c | struct device *dev; |
device | 695 | net/inet/ipx.c | int ipx_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt) |
device | 835 | net/inet/ipx.c | struct device *dev; |
device | 49 | net/inet/ipx.h | struct device *dev; |
device | 60 | net/inet/ipx.h | extern int ipx_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt); |
device | 65 | net/inet/packet.c | int packet_rcv(struct sk_buff *skb, struct device *dev, struct packet_type *pt) |
device | 126 | net/inet/packet.c | struct device *dev; |
device | 31 | net/inet/protocol.h | int (*handler)(struct sk_buff *skb, struct device *dev, |
device | 35 | net/inet/protocol.h | int (*frag_handler)(struct sk_buff *skb, struct device *dev, |
device | 96 | net/inet/raw.c | raw_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, |
device | 153 | net/inet/raw.c | struct device *dev=NULL; |
device | 26 | net/inet/raw.h | extern int raw_rcv(struct sk_buff *skb, struct device *dev, |
device | 127 | net/inet/route.c | void ip_rt_flush(struct device *dev) |
device | 173 | net/inet/route.c | static unsigned long guess_mask(unsigned long dst, struct device * dev) |
device | 190 | net/inet/route.c | static inline struct device * get_gw_dev(unsigned long gw) |
device | 219 | net/inet/route.c | unsigned long gw, struct device *dev) |
device | 374 | net/inet/route.c | struct device * dev = NULL; |
device | 417 | net/inet/route.c | struct device *dev2; |
device | 39 | net/inet/route.h | struct device *rt_dev; |
device | 43 | net/inet/route.h | extern void ip_rt_flush(struct device *dev); |
device | 45 | net/inet/route.h | unsigned long gw, struct device *dev); |
device | 203 | net/inet/sock.h | struct device **dev, int type, |
device | 209 | net/inet/sock.h | struct device *dev, struct sk_buff *skb, |
device | 214 | net/inet/sock.h | int (*rcv)(struct sk_buff *buff, struct device *dev, |
device | 667 | net/inet/tcp.c | struct device *dev = NULL; |
device | 789 | net/inet/tcp.c | struct device *dev = NULL; |
device | 1140 | net/inet/tcp.c | struct device *dev = NULL; |
device | 1511 | net/inet/tcp.c | struct device *dev = NULL; |
device | 1662 | net/inet/tcp.c | struct proto *prot, struct options *opt, struct device *dev, int tos, int ttl) |
device | 1667 | net/inet/tcp.c | struct device *ndev=NULL; |
device | 1813 | net/inet/tcp.c | struct options *opt, struct device *dev) |
device | 1820 | net/inet/tcp.c | struct device *ndev=NULL; |
device | 2037 | net/inet/tcp.c | struct device *dev=NULL; |
device | 2927 | net/inet/tcp.c | unsigned long saddr, struct device *dev) |
device | 3034 | net/inet/tcp.c | struct device *dev=NULL; |
device | 3190 | net/inet/tcp.c | struct options *opt, unsigned long saddr, struct device *dev) |
device | 3244 | net/inet/tcp.c | tcp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, |
device | 3664 | net/inet/tcp.c | struct device *dev=NULL; |
device | 119 | net/inet/tcp.h | extern int tcp_rcv(struct sk_buff *skb, struct device *dev, |
device | 257 | net/inet/udp.c | struct device *dev; |
device | 650 | net/inet/udp.c | int udp_rcv(struct sk_buff *skb, struct device *dev, struct options *opt, |
device | 43 | net/inet/udp.h | extern int udp_rcv(struct sk_buff *skb, struct device *dev, |