Searched refs:addr_shift (Results 1 – 17 of 17) sorted by relevance
/linux-6.6.21/drivers/net/phy/ |
D | spi_ks8995.c | 109 int addr_shift; member 119 .addr_shift = 0, 127 .addr_shift = 0, 135 .addr_shift = 1, 191 result <<= ks->chip->addr_width + ks->chip->addr_shift; in create_spi_cmd() 193 result |= address << ks->chip->addr_shift; in create_spi_cmd()
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb3/ |
D | mc5.c | 125 int addr_shift) in init_mask_data_array() argument 145 if (mc5_write(adap, data_array_base + (i << addr_shift), in init_mask_data_array() 156 if (mc5_write(adap, mask_array_base + (i << addr_shift), in init_mask_data_array()
|
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_mdio.c | 286 value |= (phyaddr << priv->hw->mii.addr_shift) in stmmac_mdio_read_c22() 326 value |= (phyaddr << priv->hw->mii.addr_shift) in stmmac_mdio_read_c45() 385 value |= (phyaddr << priv->hw->mii.addr_shift) in stmmac_mdio_write_c22() 426 value |= (phyaddr << priv->hw->mii.addr_shift) in stmmac_mdio_write_c45()
|
D | dwmac100_core.c | 185 mac->mii.addr_shift = 11; in dwmac100_setup()
|
D | common.h | 575 unsigned int addr_shift; /* MII address shift */ member
|
D | dwmac1000_core.c | 549 mac->mii.addr_shift = 11; in dwmac1000_setup()
|
D | dwxgmac2_core.c | 1705 mac->mii.addr_shift = 16; in dwxgmac2_setup() 1742 mac->mii.addr_shift = 16; in dwxlgmac2_setup()
|
D | dwmac-sun8i.c | 1112 mac->mii.addr_shift = 12; in sun8i_dwmac_setup()
|
D | dwmac4_core.c | 1336 mac->mii.addr_shift = 21; in dwmac4_setup()
|
/linux-6.6.21/include/linux/iio/adc/ |
D | ad_sigma_delta.h | 59 unsigned int addr_shift; member
|
/linux-6.6.21/drivers/iio/adc/ |
D | ad_sigma_delta.c | 70 data[0] = (reg << sigma_delta->info->addr_shift) | sigma_delta->comm; in ad_sd_write_reg() 120 data[0] = reg << sigma_delta->info->addr_shift; in ad_sd_read_reg_raw()
|
D | ad7791.c | 254 .addr_shift = 4,
|
D | ad7793.c | 207 .addr_shift = 3,
|
D | ad7124.c | 563 .addr_shift = 0,
|
D | ad7192.c | 333 .addr_shift = 3,
|
/linux-6.6.21/drivers/edac/ |
D | amd64_edac.c | 376 u8 addr_shift; in get_cs_base_and_mask() local 383 addr_shift = 4; in get_cs_base_and_mask() 409 addr_shift = 8; in get_cs_base_and_mask() 419 *base = (csbase & base_bits) << addr_shift; in get_cs_base_and_mask() 423 *mask &= ~(mask_bits << addr_shift); in get_cs_base_and_mask() 425 *mask |= (csmask & mask_bits) << addr_shift; in get_cs_base_and_mask()
|
/linux-6.6.21/drivers/net/ethernet/marvell/ |
D | mv643xx_eth.c | 2916 int addr_shift = 5 * mp->port_num; in phy_addr_set() local 2920 data &= ~(0x1f << addr_shift); in phy_addr_set() 2921 data |= (phy_addr & 0x1f) << addr_shift; in phy_addr_set()
|