Searched refs:addr_shift (Results 1 – 17 of 17) sorted by relevance
/linux/drivers/net/phy/ |
A D | spi_ks8995.c | 110 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/drivers/net/ethernet/chelsio/cxgb3/ |
A 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/include/linux/iio/adc/ |
A D | ad_sigma_delta.h | 51 unsigned int addr_shift; member
|
/linux/drivers/iio/adc/ |
A D | ad_sigma_delta.c | 69 data[0] = (reg << sigma_delta->info->addr_shift) | sigma_delta->comm; in ad_sd_write_reg() 119 data[0] = reg << sigma_delta->info->addr_shift; in ad_sd_read_reg_raw()
|
A D | ad7791.c | 254 .addr_shift = 4,
|
A D | ad7793.c | 207 .addr_shift = 3,
|
A D | ad7124.c | 520 .addr_shift = 0,
|
A D | ad7192.c | 294 .addr_shift = 3,
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | dwmac100_core.c | 193 mac->mii.addr_shift = 11; in dwmac100_setup()
|
A D | stmmac_mdio.c | 238 value |= (phyaddr << priv->hw->mii.addr_shift) in stmmac_mdio_read() 306 value |= (phyaddr << priv->hw->mii.addr_shift) in stmmac_mdio_write()
|
A D | common.h | 503 unsigned int addr_shift; /* MII address shift */ member
|
A D | dwmac1000_core.c | 557 mac->mii.addr_shift = 11; in dwmac1000_setup()
|
A D | dwxgmac2_core.c | 1591 mac->mii.addr_shift = 16; in dwxgmac2_setup() 1628 mac->mii.addr_shift = 16; in dwxlgmac2_setup()
|
A D | dwmac-sun8i.c | 1104 mac->mii.addr_shift = 12; in sun8i_dwmac_setup()
|
A D | dwmac4_core.c | 1367 mac->mii.addr_shift = 21; in dwmac4_setup()
|
/linux/drivers/edac/ |
A D | amd64_edac.c | 389 u8 addr_shift; in get_cs_base_and_mask() local 396 addr_shift = 4; in get_cs_base_and_mask() 422 addr_shift = 8; in get_cs_base_and_mask() 432 *base = (csbase & base_bits) << addr_shift; in get_cs_base_and_mask() 436 *mask &= ~(mask_bits << addr_shift); in get_cs_base_and_mask() 438 *mask |= (csmask & mask_bits) << addr_shift; in get_cs_base_and_mask()
|
/linux/drivers/net/ethernet/marvell/ |
A D | mv643xx_eth.c | 2904 int addr_shift = 5 * mp->port_num; in phy_addr_set() local 2908 data &= ~(0x1f << addr_shift); in phy_addr_set() 2909 data |= (phy_addr & 0x1f) << addr_shift; in phy_addr_set()
|
Completed in 47 milliseconds