Searched refs:addr_shift (Results 1 – 8 of 8) sorted by relevance
141 int addr_shift) in init_mask_data_array() argument161 if (mc5_write(adap, data_array_base + (i << addr_shift), in init_mask_data_array()172 if (mc5_write(adap, mask_array_base + (i << addr_shift), in init_mask_data_array()
70 data[0] = (reg << sigma_delta->info->addr_shift) | sigma_delta->comm; in ad_sd_write_reg()122 data[0] = reg << sigma_delta->info->addr_shift; in ad_sd_read_reg_raw()
196 .addr_shift = 4,
208 .addr_shift = 3,
348 u8 addr_shift; in get_cs_base_and_mask() local355 addr_shift = 4; in get_cs_base_and_mask()381 addr_shift = 8; in get_cs_base_and_mask()391 *base = (csbase & base_bits) << addr_shift; in get_cs_base_and_mask()395 *mask &= ~(mask_bits << addr_shift); in get_cs_base_and_mask()397 *mask |= (csmask & mask_bits) << addr_shift; in get_cs_base_and_mask()
320 int addr_shift = 5 * pep->port_num; in ethernet_phy_set_addr() local323 reg_data &= ~(0x1f << addr_shift); in ethernet_phy_set_addr()324 reg_data |= (phy_addr & 0x1f) << addr_shift; in ethernet_phy_set_addr()
2849 int addr_shift = 5 * mp->port_num; in phy_addr_set() local2853 data &= ~(0x1f << addr_shift); in phy_addr_set()2854 data |= (phy_addr & 0x1f) << addr_shift; in phy_addr_set()
182 .addr_shift = 3,