/linux/drivers/char/ |
H A D | pc8736x_gpio.c | 71 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() 247 = inb_p(pc8736x_gpio_base + port_offset[port] in pc8736x_init_shadow()
|
/linux/drivers/net/ethernet/ti/ |
H A D | cpsw_ale.c | 910 int offset, port_offset; member 919 .port_offset = 0, 927 .port_offset = 0, 935 .port_offset = 0, 943 .port_offset = 0, 951 .port_offset = 0, 959 .port_offset = 0, 967 .port_offset = 0, 975 .port_offset = 0, 983 .port_offset [all...] |
/linux/drivers/gpio/ |
H A D | gpio-zevio.c | 64 unsigned port_offset) in zevio_gpio_port_get() argument 67 return readl(IOMEM(c->regs + section_offset + port_offset)); in zevio_gpio_port_get() 71 unsigned port_offset, u32 val) in zevio_gpio_port_set() argument 74 writel(val, IOMEM(c->regs + section_offset + port_offset)); in zevio_gpio_port_set()
|
/linux/drivers/comedi/drivers/ |
H A D | ni_65xx.c | 422 int port_offset; in ni_65xx_dio_insn_bits() local 424 for (port_offset = NI_65XX_CHAN_TO_PORT(base_chan); in ni_65xx_dio_insn_bits() 425 port_offset <= last_port_offset; port_offset++) { in ni_65xx_dio_insn_bits() 426 unsigned int port = base_port + port_offset; in ni_65xx_dio_insn_bits() 427 int base_port_channel = NI_65XX_PORT_TO_CHAN(port_offset); in ni_65xx_dio_insn_bits()
|
H A D | adl_pci7x3x.c | 126 unsigned long port_offset; member 135 unsigned long reg = sd_priv->port_offset; in process_irq() 284 unsigned long reg = (unsigned long)sd_priv->port_offset; in adl_pci7x3x_dirq_insn_bits() 480 sd_priv->port_offset = PCI7X3X_DIO_REG; in adl_pci7x3x_auto_attach()
|
H A D | adv_pci_dio.c | 233 unsigned long port_offset; member 242 unsigned long reg = sd_priv->port_offset; in process_irq() 398 unsigned long reg = (unsigned long)sd_priv->port_offset; in pci_dio_insn_bits_dirq_b() 694 sd_priv->port_offset = d->addr; in pci_dio_auto_attach()
|
/linux/arch/mips/sgi-ip27/ |
H A D | ip27-memory.c | 78 router_a->rou_port[port].port_offset); in router_recurse() 125 router->rou_port[port].port_offset); in compute_node_distance() 218 router->rou_port[port].port_offset); in dump_topology()
|
/linux/drivers/fpga/ |
H A D | dfl-fme-pr.c | 378 u64 fme_cap, port_offset; in pr_mgmt_init() local 401 port_offset = readq(fme_hdr + FME_HDR_PORT_OFST(i)); in pr_mgmt_init() 402 if (!(port_offset & FME_PORT_OFST_IMP)) in pr_mgmt_init()
|
/linux/net/ipv6/ |
H A D | inet6_hashtables.c | 360 u64 port_offset = 0; in inet6_hash_connect() local 364 port_offset = inet6_sk_port_offset(sk); in inet6_hash_connect() 368 return __inet_hash_connect(death_row, sk, port_offset, hash_port0, in inet6_hash_connect()
|
/linux/drivers/usb/host/ |
H A D | ehci-fsl.c | 193 unsigned int port_offset) in ehci_fsl_setup_phy() argument 206 portsc = ehci_readl(ehci, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy() 283 ehci_writel(ehci, portsc, &ehci->regs->port_status[port_offset]); in ehci_fsl_setup_phy()
|
H A D | xhci-mem.c | 2025 u32 temp, port_offset, port_count; in xhci_add_in_port() local 2067 port_offset = XHCI_EXT_PORT_OFF(temp); in xhci_add_in_port() 2071 addr, port_offset, port_count, major_revision); in xhci_add_in_port() 2073 if (port_offset == 0 || (port_offset + port_count - 1) > num_ports) in xhci_add_in_port() 2132 port_offset--; in xhci_add_in_port() 2133 for (i = port_offset; i < (port_offset + port_count); i++) { in xhci_add_in_port()
|
/linux/drivers/usb/cdns3/ |
H A D | cdnsp-mem.c | 1126 u32 temp, port_offset, port_count; in cdnsp_add_in_port() local 1134 port_offset = CDNSP_EXT_PORT_OFF(temp); in cdnsp_add_in_port() 1137 trace_cdnsp_port_info(addr, port_offset, port_count, port->maj_rev); in cdnsp_add_in_port() 1139 port->port_num = port_offset; in cdnsp_add_in_port()
|
/linux/drivers/usb/early/ |
H A D | xhci-dbc.c | 369 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()
|
/linux/arch/mips/include/asm/sn/ |
H A D | klconfig.h | 591 klconf_off_t port_offset; member
|