Home
last modified time | relevance | path

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

/drivers/usb/host/
Dohci-s3c2410.c94 int portno; in ohci_s3c2410_hub_status_data() local
105 for (portno = 0; portno < 2; port++, portno++) { in ohci_s3c2410_hub_status_data()
109 "oc change on port %d\n", portno); in ohci_s3c2410_hub_status_data()
114 buf[0] |= 1<<(portno+1); in ohci_s3c2410_hub_status_data()
282 int portno; in s3c2410_hcd_oc() local
292 for (portno = 0; portno < 2; port++, portno++) { in s3c2410_hcd_oc()
293 if (port_oc & (1<<portno) && in s3c2410_hcd_oc()
300 s3c2410_usb_set_power(info, portno+1, 0); in s3c2410_hcd_oc()
/drivers/ata/
Dsata_sx4.c319 unsigned int portno, in pdc20621_ata_sg() argument
328 (PDC_DIMM_DATA_STEP * portno); in pdc20621_ata_sg()
335 (PDC_DIMM_WINDOW_STEP * portno) + in pdc20621_ata_sg()
341 unsigned int portno, in pdc20621_host_sg() argument
350 (PDC_DIMM_DATA_STEP * portno); in pdc20621_host_sg()
357 (PDC_DIMM_WINDOW_STEP * portno) + in pdc20621_host_sg()
364 unsigned int portno) in pdc20621_ata_pkt() argument
371 (PDC_DIMM_WINDOW_STEP * portno) + in pdc20621_ata_pkt()
387 buf[i++] = portno + 1; /* seq. id */ in pdc20621_ata_pkt()
416 unsigned int portno) in pdc20621_host_pkt() argument
[all …]
/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.c350 readword(unsigned long base_addr, int portno) in readword() argument
352 return __raw_readw(base_addr + (portno << 1)); in readword()
356 writeword(unsigned long base_addr, int portno, u16 value) in writeword() argument
358 __raw_writew(value, base_addr + (portno << 1)); in writeword()
362 readword(unsigned long base_addr, int portno) in readword() argument
364 return __raw_readl(base_addr + (portno << 1)); in readword()
368 writeword(unsigned long base_addr, int portno, u16 value) in writeword() argument
370 __raw_writel(value, base_addr + (portno << 1)); in writeword()
374 readword(unsigned long base_addr, int portno) in readword() argument
376 return inw(base_addr + portno); in readword()
[all …]
/drivers/s390/net/
Dlcs.h216 __u8 portno; member
228 __u8 portno; member
244 __u8 portno; member
338 __s16 portno; member
Dqeth_core_sys.c116 return sprintf(buf, "%i\n", card->info.portno); in qeth_dev_portno_show()
124 unsigned int portno, limit; in qeth_dev_portno_store() local
137 portno = simple_strtoul(buf, &tmp, 16); in qeth_dev_portno_store()
138 if (portno > QETH_MAX_PORTNO) { in qeth_dev_portno_store()
143 if (portno > limit) { in qeth_dev_portno_store()
147 card->info.portno = portno; in qeth_dev_portno_store()
153 static DEVICE_ATTR(portno, 0644, qeth_dev_portno_show, qeth_dev_portno_store);
Dlcs.c968 cmd->cmd.lcs_std_cmd.portno = card->portno; in lcs_send_lanstat()
987 cmd->cmd.lcs_std_cmd.portno = card->portno; in lcs_send_stoplan()
999 card->portno = cmd->cmd.lcs_std_cmd.portno; in __lcs_send_startlan_cb()
1014 cmd->cmd.lcs_std_cmd.portno = card->portno; in lcs_send_startlan()
1034 cmd->cmd.lcs_qipassist.portno = card->portno; in lcs_send_setipm()
1058 cmd->cmd.lcs_qipassist.portno = card->portno; in lcs_send_delipm()
1094 cmd->cmd.lcs_qipassist.portno = card->portno; in lcs_check_multicast_support()
1600 header->slot = card->portno; in __lcs_start_xmit()
1666 if (card->portno != LCS_INVALID_PORT_NO) { in lcs_startlan()
1673 card->portno = i; in lcs_startlan()
[all …]
Dqeth_core.h656 int portno; member
Dqeth_core_main.c1787 tmp = ((__u8)card->info.portno) | 0x80; in qeth_idx_activate_channel()
2253 (__u8) card->info.portno; in qeth_ulp_enable()
2793 cmd->hdr.rel_adapter_no = (__u8) card->info.portno; in qeth_fill_ipacmd_header()
/drivers/pinctrl/
Dpinctrl-coh901.c748 int portno; in u300_gpio_probe() local
846 for (portno = 0 ; portno < plat->ports; portno++) { in u300_gpio_probe()
856 snprintf(port->name, 8, "gpio%d", portno); in u300_gpio_probe()
857 port->number = portno; in u300_gpio_probe()
871 int irqno = gpio->irq_base + (portno << 3) + i; in u300_gpio_probe()
882 writel(0x0, gpio->base + portno * gpio->stride + ifr); in u300_gpio_probe()
886 dev_dbg(gpio->dev, "initialized %d GPIO ports\n", portno); in u300_gpio_probe()
/drivers/media/video/cx23885/
Dcx23885-core.c707 struct cx23885_tsport *port, int portno) in cx23885_init_tsport() argument
709 dprintk(1, "%s(portno=%d)\n", __func__, portno); in cx23885_init_tsport()
719 port->nr = portno; in cx23885_init_tsport()
738 switch (portno) { in cx23885_init_tsport()