/linux-6.6.21/drivers/staging/vt6655/ |
D | power.c | 55 iowrite16(C_PWBT, priv->port_offset + MAC_REG_PWBT); in PSvEnablePowerSaving() 58 iowrite16(wAID, priv->port_offset + MAC_REG_AIDATIM); in PSvEnablePowerSaving() 62 vt6655_mac_reg_bits_on(priv->port_offset, MAC_REG_PSCFG, PSCFG_AUTOSLEEP); in PSvEnablePowerSaving() 65 vt6655_mac_reg_bits_on(priv->port_offset, MAC_REG_TFTCTL, TFTCTL_HWUTSF); in PSvEnablePowerSaving() 69 vt6655_mac_reg_bits_off(priv->port_offset, MAC_REG_PSCTL, PSCTL_ALBCN); in PSvEnablePowerSaving() 71 vt6655_mac_reg_bits_on(priv->port_offset, MAC_REG_PSCTL, PSCTL_LNBCN); in PSvEnablePowerSaving() 74 vt6655_mac_reg_bits_on(priv->port_offset, MAC_REG_PSCTL, PSCTL_ALBCN); in PSvEnablePowerSaving() 78 vt6655_mac_reg_bits_on(priv->port_offset, MAC_REG_PSCTL, PSCTL_PSEN); in PSvEnablePowerSaving() 101 vt6655_mac_reg_bits_off(priv->port_offset, MAC_REG_PSCFG, PSCFG_AUTOSLEEP); in PSvDisablePowerSaving() 104 vt6655_mac_reg_bits_off(priv->port_offset, MAC_REG_TFTCTL, TFTCTL_HWUTSF); in PSvDisablePowerSaving() [all …]
|
D | card.c | 195 vt6655_mac_set_bb_type(priv->port_offset, BB_TYPE_11A); in CARDbSetPhyParameter() 202 vt6655_mac_set_bb_type(priv->port_offset, BB_TYPE_11B); in CARDbSetPhyParameter() 209 vt6655_mac_set_bb_type(priv->port_offset, BB_TYPE_11G); in CARDbSetPhyParameter() 247 iowrite8(priv->bySIFS, priv->port_offset + MAC_REG_SIFS); in CARDbSetPhyParameter() 251 iowrite8(priv->byDIFS, priv->port_offset + MAC_REG_DIFS); in CARDbSetPhyParameter() 255 iowrite8(priv->byEIFS, priv->port_offset + MAC_REG_EIFS); in CARDbSetPhyParameter() 259 iowrite8(priv->bySlot, priv->port_offset + MAC_REG_SLOT); in CARDbSetPhyParameter() 265 iowrite8(priv->byCWMaxMin, priv->port_offset + MAC_REG_CWMAXMIN0); in CARDbSetPhyParameter() 303 iowrite32((u32)qwTSFOffset, priv->port_offset + MAC_REG_TSFOFST); in CARDbUpdateTSF() 304 iowrite32((u32)(qwTSFOffset >> 32), priv->port_offset + MAC_REG_TSFOFST + 4); in CARDbUpdateTSF() [all …]
|
D | device_main.c | 290 priv->local_id = ioread8(priv->port_offset + MAC_REG_LOCALID); in device_init_registers() 294 SROMvReadAllContents(priv->port_offset, priv->abyEEPROM); in device_init_registers() 303 byValue = SROMbyReadEmbedded(priv->port_offset, EEP_OFS_ANTENNA); in device_init_registers() 363 priv->byCCKPwr = SROMbyReadEmbedded(priv->port_offset, EEP_OFS_PWR_CCK); in device_init_registers() 364 priv->byOFDMPwrG = SROMbyReadEmbedded(priv->port_offset, in device_init_registers() 370 SROMbyReadEmbedded(priv->port_offset, in device_init_registers() 376 SROMbyReadEmbedded(priv->port_offset, in device_init_registers() 394 SROMbyReadEmbedded(priv->port_offset, in device_init_registers() 398 SROMbyReadEmbedded(priv->port_offset, in device_init_registers() 403 VT6655_MAC_SELECT_PAGE1(priv->port_offset); in device_init_registers() [all …]
|
D | mac.c | 100 void __iomem *io_base = priv->port_offset; in vt6655_mac_is_reg_bits_off() 121 void __iomem *io_base = priv->port_offset; in vt6655_mac_set_short_retry_limit() 143 void __iomem *io_base = priv->port_offset; in MACvSetLongRetryLimit() 164 void __iomem *io_base = priv->port_offset; in vt6655_mac_set_loopback_mode() 186 void __iomem *io_base = priv->port_offset; in vt6655_mac_save_context() 216 void __iomem *io_base = priv->port_offset; in vt6655_mac_restore_context() 267 void __iomem *io_base = priv->port_offset; in MACbSoftwareReset() 327 void __iomem *io_base = priv->port_offset; in vt6655_mac_safe_rx_off() 381 void __iomem *io_base = priv->port_offset; in vt6655_mac_safe_tx_off() 437 void __iomem *io_base = priv->port_offset; in vt6655_mac_safe_stop() [all …]
|
D | channel.c | 97 vt6655_mac_reg_bits_on(priv->port_offset, MAC_REG_MACCR, MACCR_CLRNAV); in set_channel() 119 VT6655_MAC_SELECT_PAGE1(priv->port_offset); in set_channel() 121 iowrite8(priv->byCurPwr, priv->port_offset + MAC_REG_PWRCCK); in set_channel() 123 iowrite8(priv->byCurPwr, priv->port_offset + MAC_REG_PWROFDM); in set_channel() 124 VT6655_MAC_SELECT_PAGE0(priv->port_offset); in set_channel()
|
D | rf.c | 170 void __iomem *iobase = priv->port_offset; in IFRFbWriteEmbedded() 203 void __iomem *iobase = priv->port_offset; in RFbAL2230Init() 248 void __iomem *iobase = priv->port_offset; in RFbAL2230SelectChannel() 347 void __iomem *iobase = priv->port_offset; in rf_write_wake_prog_syn()
|
D | baseband.c | 1907 void __iomem *iobase = priv->port_offset; in bb_read_embedded() 1950 void __iomem *iobase = priv->port_offset; in bb_write_embedded() 1994 void __iomem *iobase = priv->port_offset; in bb_vt3253_init()
|
D | device.h | 127 void __iomem *port_offset; member
|
D | rxtx.c | 1423 iowrite32((u32)priv->tx_beacon_dma, priv->port_offset + MAC_REG_BCNDMAPTR); in vnt_beacon_xmit() 1425 iowrite16(priv->wBCNBufLen, priv->port_offset + MAC_REG_BCNDMACTL + 2); in vnt_beacon_xmit() 1427 vt6655_mac_reg_bits_on(priv->port_offset, MAC_REG_TCR, TCR_AUTOBCNTX); in vnt_beacon_xmit() 1429 iowrite8(BEACON_READY, priv->port_offset + MAC_REG_BCNDMACTL); in vnt_beacon_xmit() 1453 iowrite8(TFTCTL_TSFCNTRST, priv->port_offset + MAC_REG_TFTCTL); in vnt_beacon_enable() 1455 iowrite8(TFTCTL_TSFCNTREN, priv->port_offset + MAC_REG_TFTCTL); in vnt_beacon_enable()
|
/linux-6.6.21/drivers/net/ethernet/ti/ |
D | cpsw_ale.c | 877 int offset, port_offset; member 886 .port_offset = 0, 894 .port_offset = 0, 902 .port_offset = 0, 910 .port_offset = 0, 918 .port_offset = 0, 926 .port_offset = 0, 934 .port_offset = 0, 942 .port_offset = 0, 950 .port_offset = 0, [all …]
|
/linux-6.6.21/drivers/char/ |
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() 248 = inb_p(pc8736x_gpio_base + port_offset[port] in pc8736x_init_shadow()
|
/linux-6.6.21/drivers/gpio/ |
D | gpio-zevio.c | 63 unsigned port_offset) in zevio_gpio_port_get() argument 66 return readl(IOMEM(c->regs + section_offset + port_offset)); in zevio_gpio_port_get() 70 unsigned port_offset, u32 val) in zevio_gpio_port_set() argument 73 writel(val, IOMEM(c->regs + section_offset + port_offset)); in zevio_gpio_port_set()
|
/linux-6.6.21/drivers/comedi/drivers/ |
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()
|
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()
|
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-6.6.21/drivers/pinctrl/renesas/ |
D | pinctrl-rzg2l.c | 528 u32 port_offset; in rzg2l_pinctrl_pinconf_get() local 536 port_offset = RZG2L_SINGLE_PIN_GET_PORT_OFFSET(*pin_data); in rzg2l_pinctrl_pinconf_get() 541 port_offset = RZG2L_PIN_ID_TO_PORT_OFFSET(_pin); in rzg2l_pinctrl_pinconf_get() 552 arg = rzg2l_read_pin_config(pctrl, IEN(port_offset), bit, IEN_MASK); in rzg2l_pinctrl_pinconf_get() 582 index = rzg2l_read_pin_config(pctrl, IOLH(port_offset), bit, IOLH_MASK); in rzg2l_pinctrl_pinconf_get() 593 index = rzg2l_read_pin_config(pctrl, IOLH(port_offset), bit, IOLH_MASK); in rzg2l_pinctrl_pinconf_get() 618 u32 port_offset; in rzg2l_pinctrl_pinconf_set() local 627 port_offset = RZG2L_SINGLE_PIN_GET_PORT_OFFSET(*pin_data); in rzg2l_pinctrl_pinconf_set() 632 port_offset = RZG2L_PIN_ID_TO_PORT_OFFSET(_pin); in rzg2l_pinctrl_pinconf_set() 649 rzg2l_rmw_pin_config(pctrl, IEN(port_offset), bit, IEN_MASK, !!arg); in rzg2l_pinctrl_pinconf_set() [all …]
|
/linux-6.6.21/arch/mips/sgi-ip27/ |
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-6.6.21/net/ipv6/ |
D | inet6_hashtables.c | 341 u64 port_offset = 0; in inet6_hash_connect() local 344 port_offset = inet6_sk_port_offset(sk); in inet6_hash_connect() 345 return __inet_hash_connect(death_row, sk, port_offset, in inet6_hash_connect()
|
/linux-6.6.21/drivers/fpga/ |
D | dfl-fme-pr.c | 379 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()
|
/linux-6.6.21/net/ipv4/ |
D | inet_hashtables.c | 1001 struct sock *sk, u64 port_offset, in __inet_hash_connect() argument 1035 index = port_offset & (INET_TABLE_PERTURB_SIZE - 1); in __inet_hash_connect() 1037 offset = READ_ONCE(table_perturb[index]) + (port_offset >> 32); in __inet_hash_connect() 1170 u64 port_offset = 0; in inet_hash_connect() local 1173 port_offset = inet_sk_port_offset(sk); in inet_hash_connect() 1174 return __inet_hash_connect(death_row, sk, port_offset, in inet_hash_connect()
|
/linux-6.6.21/drivers/usb/host/ |
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()
|
D | xhci-mem.c | 1959 u32 temp, port_offset, port_count; in xhci_add_in_port() local 2001 port_offset = XHCI_EXT_PORT_OFF(temp); in xhci_add_in_port() 2005 addr, port_offset, port_count, major_revision); in xhci_add_in_port() 2007 if (port_offset == 0 || (port_offset + port_count - 1) > num_ports) in xhci_add_in_port() 2069 port_offset--; in xhci_add_in_port() 2070 for (i = port_offset; i < (port_offset + port_count); i++) { in xhci_add_in_port()
|
/linux-6.6.21/drivers/usb/cdns3/ |
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-6.6.21/drivers/usb/early/ |
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-6.6.21/include/net/ |
D | inet_hashtables.h | 534 struct sock *sk, u64 port_offset,
|