Home
last modified time | relevance | path

Searched refs:port_offset (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/ti/
Dcpsw_ale.c846 int offset, port_offset; member
855 .port_offset = 0,
863 .port_offset = 0,
871 .port_offset = 0,
879 .port_offset = 0,
887 .port_offset = 0,
895 .port_offset = 0,
903 .port_offset = 0,
911 .port_offset = 0,
919 .port_offset = 0,
[all …]
/drivers/char/
Dpc8736x_gpio.c71 static int port_offset[] = { 0, 4, 8, 10 }; /* non-uniform offsets ! */ variable
159 val = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_IN); in pc8736x_gpio_get()
164 minor, pc8736x_gpio_base + port_offset[port] + PORT_IN, bit, in pc8736x_gpio_get()
177 curval = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set()
180 pc8736x_gpio_base + port_offset[port] + PORT_OUT, in pc8736x_gpio_set()
188 outb_p(val, pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set()
190 curval = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_OUT); in pc8736x_gpio_set()
191 val = inb_p(pc8736x_gpio_base + port_offset[port] + PORT_IN); in pc8736x_gpio_set()
248 = inb_p(pc8736x_gpio_base + port_offset[port] in pc8736x_init_shadow()
/drivers/gpio/
Dgpio-zevio.c61 unsigned port_offset) in zevio_gpio_port_get() argument
64 return readl(IOMEM(c->chip.regs + section_offset + port_offset)); in zevio_gpio_port_get()
68 unsigned port_offset, u32 val) in zevio_gpio_port_set() argument
71 writel(val, IOMEM(c->chip.regs + section_offset + port_offset)); in zevio_gpio_port_set()
/drivers/staging/comedi/drivers/
Dni_65xx.c423 int port_offset; in ni_65xx_dio_insn_bits() local
425 for (port_offset = NI_65XX_CHAN_TO_PORT(base_chan); in ni_65xx_dio_insn_bits()
426 port_offset <= last_port_offset; port_offset++) { in ni_65xx_dio_insn_bits()
427 unsigned int port = base_port + port_offset; in ni_65xx_dio_insn_bits()
428 int base_port_channel = NI_65XX_PORT_TO_CHAN(port_offset); in ni_65xx_dio_insn_bits()
/drivers/fpga/
Ddfl-fme-pr.c379 u64 fme_cap, port_offset; in pr_mgmt_init() local
403 port_offset = readq(fme_hdr + FME_HDR_PORT_OFST(i)); in pr_mgmt_init()
404 if (!(port_offset & FME_PORT_OFST_IMP)) in pr_mgmt_init()
/drivers/usb/host/
Dehci-fsl.c199 unsigned int port_offset) in ehci_fsl_setup_phy() argument
212 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
289 ehci_writel(ehci, portsc, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
Dxhci-mem.c2237 u32 temp, port_offset, port_count; in xhci_add_in_port() local
2280 port_offset = XHCI_EXT_PORT_OFF(temp); in xhci_add_in_port()
2285 addr, port_offset, port_count, major_revision); in xhci_add_in_port()
2287 if (port_offset == 0 || (port_offset + port_count - 1) > num_ports) in xhci_add_in_port()
2349 port_offset--; in xhci_add_in_port()
2350 for (i = port_offset; i < (port_offset + port_count); i++) { in xhci_add_in_port()
Dxhci.c4567 u32 port_offset, port_count; in xhci_check_usb2_port_capability() local
4573 port_offset = XHCI_EXT_PORT_OFF(xhci->ext_caps[i]) - 1; in xhci_check_usb2_port_capability()
4575 if (port >= port_offset && in xhci_check_usb2_port_capability()
4576 port < port_offset + port_count) in xhci_check_usb2_port_capability()
/drivers/usb/early/
Dxhci-dbc.c369 u32 val, port_offset, port_count; in xdbc_reset_debug_port() local
382 port_offset = XHCI_EXT_PORT_OFF(val); in xdbc_reset_debug_port()
385 xdbc_do_reset_debug_port(port_offset, port_count); in xdbc_reset_debug_port()