Home
last modified time | relevance | path

Searched refs:link (Results 1 – 25 of 339) sorted by relevance

12345678910>>...14

/linux-2.4.37.9/drivers/net/wireless/
Dairo_cs.c96 static void airo_config(dev_link_t *link);
182 dev_link_t *link, *next; in flush_stale_links() local
183 for (link = dev_list; link; link = next) { in flush_stale_links()
184 next = link->next; in flush_stale_links()
185 if (link->state & DEV_STALE_LINK) in flush_stale_links()
186 airo_detach(link); in flush_stale_links()
205 dev_link_t *link; in airo_attach() local
213 link = kmalloc(sizeof(struct dev_link_t), GFP_KERNEL); in airo_attach()
214 if (!link) { in airo_attach()
218 memset(link, 0, sizeof(struct dev_link_t)); in airo_attach()
[all …]
Dorinoco_cs.c87 dev_link_t link; member
111 static void orinoco_cs_config(dev_link_t * link);
127 dev_link_t *link = &card->link; in orinoco_cs_hard_reset() local
133 err = CardServices(ResetCard, link->handle, NULL); in orinoco_cs_hard_reset()
158 dev_link_t *link, *next; in flush_stale_links() local
162 for (link = dev_list; link; link = next) { in flush_stale_links()
163 next = link->next; in flush_stale_links()
164 if (link->state & DEV_STALE_LINK) { in flush_stale_links()
165 orinoco_cs_detach(link); in flush_stale_links()
185 dev_link_t *link; in orinoco_cs_attach() local
[all …]
Datmel_cs.c107 static void atmel_config(dev_link_t *link);
108 static void atmel_release(dev_link_t *link);
198 dev_link_t *link; in atmel_attach() local
205 link = kmalloc(sizeof(struct dev_link_t), GFP_KERNEL); in atmel_attach()
206 if (!link) { in atmel_attach()
210 memset(link, 0, sizeof(struct dev_link_t)); in atmel_attach()
213 link->irq.Attributes = IRQ_TYPE_EXCLUSIVE; in atmel_attach()
214 link->irq.IRQInfo1 = IRQ_INFO2_VALID|IRQ_LEVEL_ID; in atmel_attach()
216 link->irq.IRQInfo2 = irq_mask; in atmel_attach()
219 link->irq.IRQInfo2 |= 1 << irq_list[i]; in atmel_attach()
[all …]
/linux-2.4.37.9/drivers/net/pcmcia/
Daironet4500_cs.c106 dev_link_t *link, *next; in flush_stale_links() local
107 for (link = dev_list; link; link = next) { in flush_stale_links()
108 next = link->next; in flush_stale_links()
109 if (link->state & DEV_STALE_LINK) in flush_stale_links()
110 awc_detach(link); in flush_stale_links()
128 dev_link_t *link; in awc_pcmcia_open() local
131 for (link = dev_list; link; link = link->next) in awc_pcmcia_open()
132 if (link->priv == dev) break; in awc_pcmcia_open()
133 if (!DEV_OK(link)) in awc_pcmcia_open()
139 link->open++; in awc_pcmcia_open()
[all …]
Dcom20020_cs.c129 static void com20020_config(dev_link_t *link);
159 dev_link_t *link, *next; in flush_stale_links() local
160 for (link = dev_list; link; link = next) { in flush_stale_links()
161 next = link->next; in flush_stale_links()
162 if (link->state & DEV_STALE_LINK) in flush_stale_links()
163 com20020_detach(link); in flush_stale_links()
194 dev_link_t *link; in com20020_attach() local
204 link = kmalloc(sizeof(struct dev_link_t), GFP_KERNEL); in com20020_attach()
205 if (!link) in com20020_attach()
222 memset(link, 0, sizeof(struct dev_link_t)); in com20020_attach()
[all …]
Dibmtr_cs.c116 static void ibmtr_config(dev_link_t *link);
136 dev_link_t link; member
153 dev_link_t *link, *next; in flush_stale_links() local
154 for (link = dev_list; link; link = next) { in flush_stale_links()
155 next = link->next; in flush_stale_links()
156 if (link->state & DEV_STALE_LINK) in flush_stale_links()
157 ibmtr_detach(link); in flush_stale_links()
190 dev_link_t *link; in ibmtr_attach() local
202 link = &info->link; link->priv = info; in ibmtr_attach()
204 link->release.function = &ibmtr_release; in ibmtr_attach()
[all …]
Dfmvj18x_cs.c96 static void fmvj18x_config(dev_link_t *link);
97 static int fmvj18x_get_hwinfo(dev_link_t *link, u_char *node_id);
98 static int fmvj18x_setup_mfc(dev_link_t *link);
134 dev_link_t link; member
258 dev_link_t *link, *next; in flush_stale_links() local
259 for (link = dev_list; link; link = next) { in flush_stale_links()
260 next = link->next; in flush_stale_links()
261 if (link->state & DEV_STALE_LINK) in flush_stale_links()
262 fmvj18x_detach(link); in flush_stale_links()
279 dev_link_t *link; in fmvj18x_attach() local
[all …]
Dpcnet_cs.c113 static void pcnet_config(dev_link_t *link);
127 static int setup_shmem_window(dev_link_t *link, int start_pg,
129 static int setup_dma_config(dev_link_t *link, int start_pg,
231 dev_link_t link; member
253 dev_link_t *link, *next; in flush_stale_links() local
254 for (link = dev_list; link; link = next) { in flush_stale_links()
255 next = link->next; in flush_stale_links()
256 if (link->state & DEV_STALE_LINK) in flush_stale_links()
257 pcnet_detach(link); in flush_stale_links()
292 dev_link_t *link; in pcnet_attach() local
[all …]
/linux-2.4.37.9/drivers/isdn/hisax/
Dsedlbauer_cs.c110 static void sedlbauer_config(dev_link_t *link);
181 dev_link_t link; member
210 dev_link_t *link; in sedlbauer_attach() local
220 link = &local->link; link->priv = local; in sedlbauer_attach()
223 link->release.function = &sedlbauer_release; in sedlbauer_attach()
224 link->release.data = (u_long)link; in sedlbauer_attach()
227 link->irq.Attributes = IRQ_TYPE_EXCLUSIVE; in sedlbauer_attach()
228 link->irq.IRQInfo1 = IRQ_INFO2_VALID|IRQ_LEVEL_ID; in sedlbauer_attach()
230 link->irq.IRQInfo2 = irq_mask; in sedlbauer_attach()
233 link->irq.IRQInfo2 |= 1 << irq_list[i]; in sedlbauer_attach()
[all …]
Delsa_cs.c110 static void elsa_cs_config(dev_link_t *link);
173 dev_link_t link; member
202 dev_link_t *link; in elsa_cs_attach() local
213 link = &local->link; link->priv = local; in elsa_cs_attach()
216 link->release.function = &elsa_cs_release; in elsa_cs_attach()
217 link->release.data = (u_long)link; in elsa_cs_attach()
220 link->irq.Attributes = IRQ_TYPE_DYNAMIC_SHARING|IRQ_FIRST_SHARED; in elsa_cs_attach()
221 link->irq.IRQInfo1 = IRQ_INFO2_VALID|IRQ_LEVEL_ID|IRQ_SHARE_ID; in elsa_cs_attach()
223 link->irq.IRQInfo2 = irq_mask; in elsa_cs_attach()
226 link->irq.IRQInfo2 |= 1 << irq_list[i]; in elsa_cs_attach()
[all …]
Davma1_cs.c78 static void avma1cs_config(dev_link_t *link);
156 dev_link_t *link; in avma1cs_attach() local
163 link = kmalloc(sizeof(struct dev_link_t), GFP_KERNEL); in avma1cs_attach()
164 memset(link, 0, sizeof(struct dev_link_t)); in avma1cs_attach()
165 link->release.function = &avma1cs_release; in avma1cs_attach()
166 link->release.data = (u_long)link; in avma1cs_attach()
169 link->io.NumPorts1 = 16; in avma1cs_attach()
170 link->io.Attributes1 = IO_DATA_PATH_WIDTH_8; in avma1cs_attach()
171 link->io.NumPorts2 = 16; in avma1cs_attach()
172 link->io.Attributes2 = IO_DATA_PATH_WIDTH_16; in avma1cs_attach()
[all …]
/linux-2.4.37.9/drivers/parport/
Dparport_cs.c89 dev_link_t link; member
97 static void parport_config(dev_link_t *link);
124 dev_link_t *link; in parport_attach() local
134 link = &info->link; link->priv = info; in parport_attach()
136 link->release.function = &parport_cs_release; in parport_attach()
137 link->release.data = (u_long)link; in parport_attach()
138 link->io.Attributes1 = IO_DATA_PATH_WIDTH_8; in parport_attach()
139 link->io.Attributes2 = IO_DATA_PATH_WIDTH_8; in parport_attach()
140 link->irq.Attributes = IRQ_TYPE_EXCLUSIVE; in parport_attach()
141 link->irq.IRQInfo1 = IRQ_INFO2_VALID|IRQ_LEVEL_ID; in parport_attach()
[all …]
/linux-2.4.37.9/drivers/isdn/avmb1/
Davm_cs.c66 static void avmcs_config(dev_link_t *link);
144 dev_link_t *link; in avmcs_attach() local
149 link = kmalloc(sizeof(struct dev_link_t), GFP_KERNEL); in avmcs_attach()
150 if (!link) in avmcs_attach()
152 memset(link, 0, sizeof(struct dev_link_t)); in avmcs_attach()
153 link->release.function = &avmcs_release; in avmcs_attach()
154 link->release.data = (u_long)link; in avmcs_attach()
157 link->io.NumPorts1 = 16; in avmcs_attach()
158 link->io.Attributes1 = IO_DATA_PATH_WIDTH_8; in avmcs_attach()
159 link->io.NumPorts2 = 0; in avmcs_attach()
[all …]
/linux-2.4.37.9/drivers/ide/legacy/
Dide-cs.c91 dev_link_t link; member
98 static void ide_config(dev_link_t *link);
129 dev_link_t *link; in ide_attach() local
139 link = &info->link; link->priv = info; in ide_attach()
140 INIT_TQUEUE(&info->rel_task, ide_release, link); in ide_attach()
142 link->io.Attributes1 = IO_DATA_PATH_WIDTH_AUTO; in ide_attach()
143 link->io.Attributes2 = IO_DATA_PATH_WIDTH_8; in ide_attach()
144 link->io.IOAddrLines = 3; in ide_attach()
145 link->irq.Attributes = IRQ_TYPE_EXCLUSIVE; in ide_attach()
146 link->irq.IRQInfo1 = IRQ_INFO2_VALID|IRQ_LEVEL_ID; in ide_attach()
[all …]
/linux-2.4.37.9/drivers/telephony/
Dixj_pcmcia.c40 static void ixj_config(dev_link_t * link);
58 dev_link_t *link; in ixj_attach() local
62 link = kmalloc(sizeof(struct dev_link_t), GFP_KERNEL); in ixj_attach()
63 if (!link) in ixj_attach()
65 memset(link, 0, sizeof(struct dev_link_t)); in ixj_attach()
66 link->release.function = &ixj_cs_release; in ixj_attach()
67 link->release.data = (u_long) link; in ixj_attach()
68 link->io.Attributes1 = IO_DATA_PATH_WIDTH_8; in ixj_attach()
69 link->io.Attributes2 = IO_DATA_PATH_WIDTH_8; in ixj_attach()
70 link->io.IOAddrLines = 3; in ixj_attach()
[all …]
/linux-2.4.37.9/drivers/scsi/pcmcia/
Dqlogic_stub.c91 dev_link_t link; member
124 dev_link_t *link; in qlogic_attach() local
133 link = &info->link; link->priv = info; in qlogic_attach()
135 link->io.NumPorts1 = 16; in qlogic_attach()
136 link->io.Attributes1 = IO_DATA_PATH_WIDTH_AUTO; in qlogic_attach()
137 link->io.IOAddrLines = 10; in qlogic_attach()
138 link->irq.Attributes = IRQ_TYPE_EXCLUSIVE; in qlogic_attach()
139 link->irq.IRQInfo1 = IRQ_INFO2_VALID|IRQ_LEVEL_ID; in qlogic_attach()
141 link->irq.IRQInfo2 = irq_mask; in qlogic_attach()
144 link->irq.IRQInfo2 |= 1 << irq_list[i]; in qlogic_attach()
[all …]
Dfdomain_stub.c83 dev_link_t link; member
117 dev_link_t *link; in fdomain_attach() local
126 link = &info->link; link->priv = info; in fdomain_attach()
128 link->io.NumPorts1 = 0x10; in fdomain_attach()
129 link->io.Attributes1 = IO_DATA_PATH_WIDTH_AUTO; in fdomain_attach()
130 link->io.IOAddrLines = 10; in fdomain_attach()
131 link->irq.Attributes = IRQ_TYPE_EXCLUSIVE; in fdomain_attach()
132 link->irq.IRQInfo1 = IRQ_INFO2_VALID|IRQ_LEVEL_ID; in fdomain_attach()
134 link->irq.IRQInfo2 = irq_mask; in fdomain_attach()
137 link->irq.IRQInfo2 |= 1 << irq_list[i]; in fdomain_attach()
[all …]
Daha152x_stub.c96 dev_link_t link; member
131 dev_link_t *link; in aha152x_attach() local
140 link = &info->link; link->priv = info; in aha152x_attach()
142 link->io.NumPorts1 = 0x20; in aha152x_attach()
143 link->io.Attributes1 = IO_DATA_PATH_WIDTH_AUTO; in aha152x_attach()
144 link->io.IOAddrLines = 10; in aha152x_attach()
145 link->irq.Attributes = IRQ_TYPE_EXCLUSIVE; in aha152x_attach()
146 link->irq.IRQInfo1 = IRQ_INFO2_VALID|IRQ_LEVEL_ID; in aha152x_attach()
148 link->irq.IRQInfo2 = irq_mask; in aha152x_attach()
151 link->irq.IRQInfo2 |= 1 << irq_list[i]; in aha152x_attach()
[all …]
/linux-2.4.37.9/drivers/acpi/
Dpci_link.c101 struct acpi_pci_link *link = (struct acpi_pci_link *) context; in acpi_pci_link_check_possible() local
121 link->irq.possible[i] = p->interrupts[i]; in acpi_pci_link_check_possible()
122 link->irq.possible_count++; in acpi_pci_link_check_possible()
124 link->irq.edge_level = p->edge_level; in acpi_pci_link_check_possible()
125 link->irq.active_high_low = p->active_high_low; in acpi_pci_link_check_possible()
126 link->irq.resource_type = ACPI_RSTYPE_IRQ; in acpi_pci_link_check_possible()
142 link->irq.possible[i] = p->interrupts[i]; in acpi_pci_link_check_possible()
143 link->irq.possible_count++; in acpi_pci_link_check_possible()
145 link->irq.edge_level = p->edge_level; in acpi_pci_link_check_possible()
146 link->irq.active_high_low = p->active_high_low; in acpi_pci_link_check_possible()
[all …]
/linux-2.4.37.9/drivers/char/pcmcia/
Dserial_cs.c109 dev_link_t link; member
118 static void serial_config(dev_link_t *link);
150 dev_link_t *link; in serial_attach() local
159 link = &info->link; link->priv = info; in serial_attach()
161 link->release.function = &serial_release; in serial_attach()
162 link->release.data = (u_long)link; in serial_attach()
163 link->io.Attributes1 = IO_DATA_PATH_WIDTH_8; in serial_attach()
164 link->io.Attributes2 = IO_DATA_PATH_WIDTH_8; in serial_attach()
165 link->irq.Attributes = IRQ_TYPE_EXCLUSIVE; in serial_attach()
166 link->irq.IRQInfo1 = IRQ_INFO2_VALID|IRQ_LEVEL_ID; in serial_attach()
[all …]
/linux-2.4.37.9/drivers/bluetooth/
Dbtuart_cs.c78 dev_link_t link; member
94 void btuart_config(dev_link_t *link);
162 register unsigned int iobase = info->link.io.BasePort1; in btuart_write_wakeup()
168 if (!(info->link.state & DEV_PRESENT)) in btuart_write_wakeup()
203 iobase = info->link.io.BasePort1; in btuart_receive()
317 iobase = info->link.io.BasePort1; in btuart_interrupt()
371 iobase = info->link.io.BasePort1; in btuart_change_speed()
495 unsigned int iobase = info->link.io.BasePort1; in btuart_open()
556 unsigned int iobase = info->link.io.BasePort1; in btuart_close()
559 if (info->link.state & DEV_CONFIG_PENDING) in btuart_close()
[all …]
Ddtl1_cs.c78 dev_link_t link; member
97 void dtl1_config(dev_link_t *link);
169 register unsigned int iobase = info->link.io.BasePort1; in dtl1_write_wakeup()
175 if (!(info->link.state & DEV_PRESENT)) in dtl1_write_wakeup()
234 iobase = info->link.io.BasePort1; in dtl1_receive()
321 iobase = info->link.io.BasePort1; in dtl1_interrupt()
472 unsigned int iobase = info->link.io.BasePort1; in dtl1_open()
497 info->ri_latch = inb(info->link.io.BasePort1 + UART_MSR) & UART_MSR_RI; in dtl1_open()
535 unsigned int iobase = info->link.io.BasePort1; in dtl1_close()
538 if (info->link.state & DEV_CONFIG_PENDING) in dtl1_close()
[all …]
Dbt3c_cs.c84 dev_link_t link; member
100 void bt3c_config(dev_link_t *link);
213 register unsigned int iobase = info->link.io.BasePort1; in bt3c_write_wakeup()
217 if (!(info->link.state & DEV_PRESENT)) in bt3c_write_wakeup()
253 iobase = info->link.io.BasePort1; in bt3c_receive()
374 iobase = info->link.io.BasePort1; in bt3c_interrupt()
498 iobase = info->link.io.BasePort1; in bt3c_load_firmware()
596 snprintf(device, sizeof(device), "bt3c%4.4x", info->link.io.BasePort1); in bt3c_open()
646 if (info->link.state & DEV_CONFIG_PENDING) in bt3c_close()
674 dev_link_t *link; in bt3c_attach() local
[all …]
/linux-2.4.37.9/drivers/char/rio/
Dproto.h31 void kill_boot ( LPB *link );
32 void disconnected( LPB *link );
33 short boot_3( LPB *link, PKT *pkt );
34 short send_3_pkt( LPB *link, PKT *pkt);
46 void form_poll_pkt ( int type, LPB *link, int node );
47 void form_route_pkt ( int type, PKT *pkt, LPB *link );
63 void initlink( u_short number, LPB *link);
64 void runlink( LPB *link);
93 void lrt( Process *lrt_p, LPB *link );
96 void set_led_red ( LPB *link );
[all …]
/linux-2.4.37.9/drivers/mtd/maps/
Dpcmciamtd.c56 dev_link_t link; /* PCMCIA link */ member
125 if(!(dev->link.state & DEV_PRESENT)) { in remap_window()
126 DEBUG(1, "device removed state = 0x%4.4X", dev->link.state); in remap_window()
136 cs_error(dev->link.handle, MapMemPage, ret); in remap_window()
333 dev_link_t *link = &dev->link; in pcmciamtd_set_vpp() local
342 ret = CardServices(ModifyConfiguration, link->handle, &mod); in pcmciamtd_set_vpp()
344 cs_error(link->handle, ModifyConfiguration, ret); in pcmciamtd_set_vpp()
356 dev_link_t *link = (dev_link_t *)arg; in pcmciamtd_release() local
357 struct pcmciamtd_dev *dev = link->priv; in pcmciamtd_release()
359 DEBUG(3, "link = 0x%p", link); in pcmciamtd_release()
[all …]

12345678910>>...14