Home
last modified time | relevance | path

Searched refs:portno (Results 1 – 13 of 13) sorted by relevance

/drivers/usb/host/
Dohci-s3c2410.c107 int portno; in ohci_s3c2410_hub_status_data() local
118 for (portno = 0; portno < 2; port++, portno++) { in ohci_s3c2410_hub_status_data()
122 "oc change on port %d\n", portno); in ohci_s3c2410_hub_status_data()
127 buf[0] |= 1<<(portno+1); in ohci_s3c2410_hub_status_data()
295 int portno; in s3c2410_hcd_oc() local
305 for (portno = 0; portno < 2; port++, portno++) { in s3c2410_hcd_oc()
306 if (port_oc & (1<<portno) && in s3c2410_hcd_oc()
313 s3c2410_usb_set_power(info, portno+1, 0); in s3c2410_hcd_oc()
/drivers/ata/
Dsata_sx4.c317 static inline void pdc20621_ata_sg(u8 *buf, unsigned int portno, in pdc20621_ata_sg() argument
326 (PDC_DIMM_DATA_STEP * portno); in pdc20621_ata_sg()
333 (PDC_DIMM_WINDOW_STEP * portno) + in pdc20621_ata_sg()
338 static inline void pdc20621_host_sg(u8 *buf, unsigned int portno, in pdc20621_host_sg() argument
347 (PDC_DIMM_DATA_STEP * portno); in pdc20621_host_sg()
354 (PDC_DIMM_WINDOW_STEP * portno) + in pdc20621_host_sg()
361 unsigned int portno) in pdc20621_ata_pkt() argument
368 (PDC_DIMM_WINDOW_STEP * portno) + in pdc20621_ata_pkt()
384 buf[i++] = portno + 1; /* seq. id */ in pdc20621_ata_pkt()
413 unsigned int portno) in pdc20621_host_pkt() argument
[all …]
/drivers/pinctrl/
Dpinctrl-coh901.c646 int portno; in u300_gpio_probe() local
721 for (portno = 0 ; portno < U300_GPIO_NUM_PORTS; portno++) { in u300_gpio_probe()
722 struct u300_gpio_port *port = &gpio->ports[portno]; in u300_gpio_probe()
724 snprintf(port->name, 8, "gpio%d", portno); in u300_gpio_probe()
725 port->number = portno; in u300_gpio_probe()
728 port->irq = platform_get_irq(pdev, portno); in u300_gpio_probe()
736 writel(0x0, gpio->base + portno * gpio->stride + ifr); in u300_gpio_probe()
738 dev_dbg(gpio->dev, "initialized %d GPIO ports\n", portno); in u300_gpio_probe()
/drivers/net/ethernet/cirrus/
Dmac89x0.c141 readreg_io(struct net_device *dev, int portno) in readreg_io() argument
143 nubus_writew(swab16(portno), dev->base_addr + ADD_PORT); in readreg_io()
148 writereg_io(struct net_device *dev, int portno, int value) in writereg_io() argument
150 nubus_writew(swab16(portno), dev->base_addr + ADD_PORT); in writereg_io()
156 readreg(struct net_device *dev, int portno) in readreg() argument
158 return swab16(nubus_readw(dev->mem_start + portno)); in readreg()
162 writereg(struct net_device *dev, int portno, int value) in writereg() argument
164 nubus_writew(swab16(value), dev->mem_start + portno); in writereg()
Dcs89x0.c194 static void readwords(struct net_local *lp, int portno, void *buf, int length) in readwords() argument
201 tmp16 = ioread16(lp->virt_addr + portno); in readwords()
207 static void writewords(struct net_local *lp, int portno, void *buf, int length) in writewords() argument
216 iowrite16(tmp16, lp->virt_addr + portno); in writewords()
/drivers/s390/net/
Dlcs.h210 __u8 portno; member
222 __u8 portno; member
238 __u8 portno; member
332 __s16 portno; member
Dqeth_core_sys.c114 return sprintf(buf, "%i\n", card->info.portno); in qeth_dev_portno_show()
122 unsigned int portno, limit; in qeth_dev_portno_store() local
135 portno = simple_strtoul(buf, &tmp, 16); in qeth_dev_portno_store()
136 if (portno > QETH_MAX_PORTNO) { in qeth_dev_portno_store()
141 if (portno > limit) { in qeth_dev_portno_store()
145 card->info.portno = portno; in qeth_dev_portno_store()
151 static DEVICE_ATTR(portno, 0644, qeth_dev_portno_show, qeth_dev_portno_store);
Dlcs.c967 cmd->cmd.lcs_std_cmd.portno = card->portno; in lcs_send_lanstat()
986 cmd->cmd.lcs_std_cmd.portno = card->portno; in lcs_send_stoplan()
998 card->portno = cmd->cmd.lcs_std_cmd.portno; in __lcs_send_startlan_cb()
1013 cmd->cmd.lcs_std_cmd.portno = card->portno; in lcs_send_startlan()
1033 cmd->cmd.lcs_qipassist.portno = card->portno; in lcs_send_setipm()
1057 cmd->cmd.lcs_qipassist.portno = card->portno; in lcs_send_delipm()
1093 cmd->cmd.lcs_qipassist.portno = card->portno; in lcs_check_multicast_support()
1596 header->slot = card->portno; in __lcs_start_xmit()
1656 if (card->portno != LCS_INVALID_PORT_NO) { in lcs_startlan()
1663 card->portno = i; in lcs_startlan()
[all …]
Dqeth_core.h671 int portno; member
Dqeth_core_main.c1843 tmp = ((__u8)card->info.portno) | 0x80; in qeth_idx_activate_channel()
2310 (__u8) card->info.portno; in qeth_ulp_enable()
2892 cmd->hdr.rel_adapter_no = (__u8) card->info.portno; in qeth_fill_ipacmd_header()
/drivers/media/pci/cx23885/
Dcx23885-core.c683 struct cx23885_tsport *port, int portno) in cx23885_init_tsport() argument
685 dprintk(1, "%s(portno=%d)\n", __func__, portno); in cx23885_init_tsport()
695 port->nr = portno; in cx23885_init_tsport()
709 switch (portno) { in cx23885_init_tsport()
/drivers/tty/serial/
Dsc16is7xx.c591 static void sc16is7xx_port_irq(struct sc16is7xx_port *s, int portno) in sc16is7xx_port_irq() argument
593 struct uart_port *port = &s->p[portno].port; in sc16is7xx_port_irq()
Dmax310x.c683 static void max310x_port_irq(struct max310x_port *s, int portno) in max310x_port_irq() argument
685 struct uart_port *port = &s->p[portno].port; in max310x_port_irq()