Home
last modified time | relevance | path

Searched refs:addr_shift (Results 1 – 17 of 17) sorted by relevance

/linux-5.19.10/drivers/net/phy/
Dspi_ks8995.c110 int addr_shift; member
120 .addr_shift = 0,
128 .addr_shift = 0,
136 .addr_shift = 1,
197 result <<= ks->chip->addr_width + ks->chip->addr_shift; in create_spi_cmd()
199 result |= address << ks->chip->addr_shift; in create_spi_cmd()
/linux-5.19.10/drivers/net/ethernet/chelsio/cxgb3/
Dmc5.c125 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-5.19.10/include/linux/iio/adc/
Dad_sigma_delta.h57 unsigned int addr_shift; member
/linux-5.19.10/drivers/net/ethernet/stmicro/stmmac/
Ddwmac100_core.c193 mac->mii.addr_shift = 11; in dwmac100_setup()
Dstmmac_mdio.c232 value |= (phyaddr << priv->hw->mii.addr_shift) in stmmac_mdio_read()
298 value |= (phyaddr << priv->hw->mii.addr_shift) in stmmac_mdio_write()
Dcommon.h504 unsigned int addr_shift; /* MII address shift */ member
Ddwmac1000_core.c557 mac->mii.addr_shift = 11; in dwmac1000_setup()
Ddwxgmac2_core.c1591 mac->mii.addr_shift = 16; in dwxgmac2_setup()
1628 mac->mii.addr_shift = 16; in dwxlgmac2_setup()
Ddwmac-sun8i.c1094 mac->mii.addr_shift = 12; in sun8i_dwmac_setup()
Ddwmac4_core.c1374 mac->mii.addr_shift = 21; in dwmac4_setup()
/linux-5.19.10/drivers/iio/adc/
Dad_sigma_delta.c70 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()
Dad7791.c254 .addr_shift = 4,
Dad7793.c207 .addr_shift = 3,
Dad7124.c563 .addr_shift = 0,
Dad7192.c333 .addr_shift = 3,
/linux-5.19.10/drivers/edac/
Damd64_edac.c404 u8 addr_shift; in get_cs_base_and_mask() local
411 addr_shift = 4; in get_cs_base_and_mask()
437 addr_shift = 8; in get_cs_base_and_mask()
447 *base = (csbase & base_bits) << addr_shift; in get_cs_base_and_mask()
451 *mask &= ~(mask_bits << addr_shift); in get_cs_base_and_mask()
453 *mask |= (csmask & mask_bits) << addr_shift; in get_cs_base_and_mask()
/linux-5.19.10/drivers/net/ethernet/marvell/
Dmv643xx_eth.c2912 int addr_shift = 5 * mp->port_num; in phy_addr_set() local
2916 data &= ~(0x1f << addr_shift); in phy_addr_set()
2917 data |= (phy_addr & 0x1f) << addr_shift; in phy_addr_set()