Searched refs:ports (Results 1 - 25 of 192) sorted by relevance

12345678

/drivers/firewire/
H A Dcore-topology.c115 node = kzalloc(sizeof(*node) + port_count * sizeof(node->ports[0]),
154 if (node->ports[i] == NULL)
157 if (node->ports[i]->max_hops > max_child_hops)
158 max_child_hops = node->ports[i]->max_hops;
160 if (node->ports[i]->max_depth > depths[0]) {
162 depths[0] = node->ports[i]->max_depth;
163 } else if (node->ports[i]->max_depth > depths[1])
164 depths[1] = node->ports[i]->max_depth;
257 * node->ports array where the parent
267 node->ports[
[all...]
/drivers/input/serio/
H A Dps2mult.c40 struct ps2mult_port ports[PS2MULT_NUM_PORTS]; member in struct:ps2mult
145 serio->port_data = &psm->ports[i];
147 psm->ports[i].serio = serio;
161 ps2mult_select_port(psm, &psm->ports[PS2MULT_KBD_PORT]);
183 psm->ports[i].sel = ps2mult_controls[i];
189 psm->in_port = psm->out_port = &psm->ports[PS2MULT_KBD_PORT];
199 struct serio *s = psm->ports[i].serio;
209 kfree(psm->ports[i].serio);
218 /* Note that serio core already take care of children ports */
275 psm->in_port = &psm->ports[PS2MULT_KBD_POR
[all...]
/drivers/rapidio/
H A DKconfig20 for Input ports and Output ports should be disabled. When
22 ports for Input/Output direction to allow other traffic
/drivers/ssb/
H A Ddriver_extif.c55 int ssb_extif_serial_init(struct ssb_extif *extif, struct ssb_serial_port *ports) argument
70 if (serial_exists(uart_regs) && ports) {
74 ports[i].regs = uart_regs;
75 ports[i].irq = 2;
76 ports[i].baud_base = 13500000;
77 ports[i].reg_shift = 0;
/drivers/tty/serial/8250/
H A D8250_acorn.c37 int ports[MAX_PORTS]; member in struct:serial_card_info
77 info->ports[i] = serial8250_register_port(&port);
91 if (info->ports[i] > 0)
92 serial8250_unregister_port(info->ports[i]);
H A DKconfig11 serial ports. The standard answer is Y. People who might say N
22 non-standard serial ports, since the configuration information will
34 modems and similar devices connecting to the standard serial ports.
116 int "Maximum number of 8250/16550 serial ports"
120 Set this to the number of serial ports you want the driver
121 to support. This includes any ports discovered via ACPI or
122 PCI enumeration and any ports that may be added at run-time
126 int "Number of 8250/16550 serial ports to register at runtime"
131 Set this to the maximum number of serial ports you want
150 bool "Support more than 4 legacy serial ports"
[all...]
/drivers/net/wan/
H A Dpci200syn.c94 port_t ports[2]; member in struct:card_s
98 #define get_port(card, port) (&card->ports[port])
248 if (card->ports[i].card)
249 unregister_hdlc_device(card->ports[i].netdev);
264 if (card->ports[0].netdev)
265 free_netdev(card->ports[0].netdev);
266 if (card->ports[1].netdev)
267 free_netdev(card->ports[1].netdev);
307 card->ports[0].netdev = alloc_hdlcdev(&card->ports[
[all...]
H A Dn2.c126 port_t ports[2]; member in struct:card_s
147 #define get_port(card, port) ((card)->ports[port].valid ? \
148 &(card)->ports[port] : NULL)
308 if (card->ports[cnt].card) {
309 struct net_device *dev = port_to_dev(&card->ports[cnt]);
323 if (card->ports[0].dev)
324 free_netdev(card->ports[0].dev);
325 if (card->ports[1].dev)
326 free_netdev(card->ports[1].dev);
364 card->ports[
[all...]
H A Dwanxl.c75 int n_ports; /* 1, 2 or 4 ports */
84 port_t ports[0]; /* 1 - 4 port_t structures follow */ member in struct:card_t
206 port_t *port = &card->ports[desc->stat &
260 wanxl_tx_intr(&card->ports[i]);
262 wanxl_cable_intr(&card->ports[i]);
517 unregister_hdlc_device(card->ports[i].dev);
518 free_netdev(card->ports[i].dev);
569 int i, ports, alloc_size; local
599 case PCI_DEVICE_ID_SBE_WANXL100: ports = 1; break;
600 case PCI_DEVICE_ID_SBE_WANXL200: ports
[all...]
H A Dpc300too.c100 int n_ports; /* 1 or 2 ports */
110 port_t ports[2]; member in struct:card_s
115 (&(card)->ports[port]) : (NULL))
269 if (card->ports[i].card)
270 unregister_hdlc_device(card->ports[i].netdev);
285 if (card->ports[0].netdev)
286 free_netdev(card->ports[0].netdev);
287 if (card->ports[1].netdev)
288 free_netdev(card->ports[1].netdev);
373 if (!(card->ports[
[all...]
/drivers/net/wireless/mwifiex/
H A Dsdio.h191 a->mpa_tx.ports |= (1<<(a->mpa_tx.pkt_cnt)); \
193 a->mpa_tx.ports |= (1<<(a->mpa_tx.pkt_cnt+1+(MAX_PORT - \
212 a->mpa_tx.ports = 0; \
239 a->mpa_rx.ports |= (1<<(a->mpa_rx.pkt_cnt)); \
241 a->mpa_rx.ports |= (1<<(a->mpa_rx.pkt_cnt+1)); \
251 a->mpa_rx.ports = 0; \
262 u16 ports; member in struct:mwifiex_sdio_mpa_tx
273 u16 ports; member in struct:mwifiex_sdio_mpa_rx
/drivers/bcma/
H A Ddriver_chipcommon.c118 struct bcma_serial_port *ports = cc->serial_ports; local
150 ports[i].regs = cc->core->io_addr + BCMA_CC_UART0_DATA +
152 ports[i].irq = irq;
153 ports[i].baud_base = baud_base;
154 ports[i].reg_shift = 0;
H A Dscan.c233 u8 ports[2], wrappers[2]; local
251 ports[0] = (cib & SCAN_CIB_NMP) >> SCAN_CIB_NMP_SHIFT;
252 ports[1] = (cib & SCAN_CIB_NSP) >> SCAN_CIB_NSP_SHIFT;
259 (ports[1] == 0)) {
293 /* get & parse master ports */
294 for (i = 0; i < ports[0]; i++) {
300 /* get & parse slave ports */
301 for (i = 0; i < ports[1]; i++) {
336 u8 hack = (ports[1] == 1) ? 0 : 1;
/drivers/net/ethernet/xscale/ixp2000/
H A Denp2611.c180 int ports; local
189 ports = pm3386_port_count();
190 for (i = 0; i < ports; i++) {
204 if (ixpdev_init(ports, nds, enp2611_set_port_admin_status)) {
205 for (i = 0; i < ports; i++)
/drivers/ata/
H A Dpata_cs5520.c141 /* Check if the ATA ports are enabled */
177 /* Map IO ports and initialize host accordingly */
187 ioaddr = &host->ports[0]->ioaddr;
194 ata_port_desc(host->ports[0],
196 ata_port_pbar_desc(host->ports[0], 4, 0, "bmdma");
198 ioaddr = &host->ports[1]->ioaddr;
205 ata_port_desc(host->ports[1],
207 ata_port_pbar_desc(host->ports[1], 4, 8, "bmdma");
217 struct ata_port *ap = host->ports[i];
H A Dpata_sil680.c389 host->ports[0]->ioaddr.bmdma_addr = mmio_base + 0x00;
390 host->ports[0]->ioaddr.cmd_addr = mmio_base + 0x80;
391 host->ports[0]->ioaddr.ctl_addr = mmio_base + 0x8a;
392 host->ports[0]->ioaddr.altstatus_addr = mmio_base + 0x8a;
393 ata_sff_std_ports(&host->ports[0]->ioaddr);
394 host->ports[1]->ioaddr.bmdma_addr = mmio_base + 0x08;
395 host->ports[1]->ioaddr.cmd_addr = mmio_base + 0xc0;
396 host->ports[1]->ioaddr.ctl_addr = mmio_base + 0xca;
397 host->ports[1]->ioaddr.altstatus_addr = mmio_base + 0xca;
398 ata_sff_std_ports(&host->ports[
[all...]
H A Dsata_uli.c176 /* the first two ports are standard SFF */
188 * the standard SFF ports.
193 ioaddr = &host->ports[2]->ioaddr;
202 ata_port_desc(host->ports[2],
208 ioaddr = &host->ports[3]->ioaddr;
217 ata_port_desc(host->ports[2],
/drivers/gpio/
H A Dgpio-it8761e.c33 static u8 ports[2] = { 0x2e, 0x4e }; variable
173 for (i = 0; i < ARRAY_SIZE(ports); i++) {
175 enter_conf_mode(ports[i]);
177 id = (read_reg(CHIP_ID_HIGH_BYTE, ports[i]) << 8) +
178 read_reg(CHIP_ID_LOW_BYTE, ports[i]);
180 exit_conf_mode(ports[i]);
184 port = ports[i];
/drivers/net/arcnet/
H A Dcom90xx.c75 /* The number of low I/O ports used by the card */
119 int ports[(0x3f0 - 0x200) / 16 + 1] = local
146 ports[numports++] = io;
149 ports[numports++] = count;
156 /* Stage 1: abandon any reserved ports, or ones with status==0xFF
160 for (port = &ports[0]; port - ports < numports; port++) {
175 *port-- = ports[--numports];
183 *port-- = ports[--numports];
205 for (port = &ports[
[all...]
/drivers/scsi/
H A Dg_NCR5380.c288 unsigned int *ports; local
359 ports = NULL;
369 ports = ncr_53c400a_ports;
373 ports = dtc_3181e_ports;
378 if (ports) {
390 for (i = 0; ports[i]; i++) {
391 if (!request_region(ports[i], 16, "ncr53c80"))
393 if (overrides[current_override].NCR5380_map_name == ports[i])
395 release_region(ports[i], 16);
397 for (i = 0; ports[
[all...]
H A DNCR53c406a.c219 static unsigned short ports[] = { 0x230, 0x330, 0x280, 0x290, 0x330, 0x340, 0x300, 0x310, 0x348, 0x350 }; variable
220 #define PORT_COUNT ARRAY_SIZE(ports)
478 if (!request_region(port_base, 0x10, "NCR53c406a")) /* ports already snatched */
487 if (!request_region(ports[i], 0x10, "NCR53c406a")) {
488 DEB(printk("NCR53c406a: port 0x%x in use\n", ports[i]));
490 VDEB(printk("NCR53c406a: port 0x%x available\n", ports[i]));
491 outb(C5_IMG, ports[i] + 0x0d); /* reg set 1 */
492 if ((inb(ports[i] + 0x0e) ^ inb(ports[i] + 0x0e)) == 7 && (inb(ports[
[all...]
/drivers/media/video/saa7164/
H A Dsaa7164-core.c642 struct saa7164_port *porta = &dev->ports[SAA7164_PORT_TS1];
643 struct saa7164_port *portb = &dev->ports[SAA7164_PORT_TS2];
644 struct saa7164_port *portc = &dev->ports[SAA7164_PORT_ENC1];
645 struct saa7164_port *portd = &dev->ports[SAA7164_PORT_ENC2];
646 struct saa7164_port *porte = &dev->ports[SAA7164_PORT_VBI1];
647 struct saa7164_port *portf = &dev->ports[SAA7164_PORT_VBI2];
953 port = &dev->ports[portnr];
1037 /* Transport + Encoder ports 1, 2, 3, 4 - Defaults / setup */
1342 if (saa7164_dvb_register(&dev->ports[SAA7164_PORT_TS1]) < 0) {
1350 if (saa7164_dvb_register(&dev->ports[SAA7164_PORT_TS
[all...]
/drivers/ide/
H A Dscc_pata.c211 struct scc_ports *ports = ide_get_hwifdata(hwif); local
212 unsigned long ctl_base = ports->ctl;
243 struct scc_ports *ports = ide_get_hwifdata(hwif); local
244 unsigned long ctl_base = ports->ctl;
560 struct scc_ports *ports = pci_get_drvdata(dev); local
567 hw.io_ports_array[i] = ports->dma + 0x20 + i * 4;
575 ports->host = host;
598 struct scc_ports *ports; local
609 ports = pci_get_drvdata(dev);
610 ctl_base = ports
724 struct scc_ports *ports = pci_get_drvdata(dev); local
851 struct scc_ports *ports = pci_get_drvdata(dev); local
[all...]
/drivers/net/ethernet/xscale/
H A DKconfig27 Say Y here if you want to use built-in Ethernet ports
/drivers/rtc/
H A Drtc-cmos.c589 cmos_do_probe(struct device *dev, struct resource *ports, int rtc_irq) argument
600 if (!ports)
603 /* Claim I/O ports ASAP, minimizing conflict with legacy driver.
608 ports = request_region(ports->start,
609 resource_size(ports),
611 if (!ports) {
617 cmos_rtc.iomem = ports;
634 if (can_bank2 && ports->end > (ports
767 struct resource *ports; local
[all...]

Completed in 841 milliseconds

12345678