Searched refs:bit_shift (Results 1 – 12 of 12) sorted by relevance
169 hdlc->bit_shift = 8; in isdnhdlc_decode()171 hdlc->bit_shift--; in isdnhdlc_decode()184 hdlc->bit_shift = 8; in isdnhdlc_decode()197 hdlc->bit_shift--; in isdnhdlc_decode()207 hdlc->bit_shift--; in isdnhdlc_decode()221 hdlc->bit_shift--; in isdnhdlc_decode()278 hdlc->bit_shift--; in isdnhdlc_decode()297 hdlc->bit_shift--; in isdnhdlc_decode()452 hdlc->bit_shift--; in isdnhdlc_encode()536 hdlc->bit_shift--; in isdnhdlc_encode()[all …]
20 int bit_shift; member
781 u8 bit_shift = 0; in igc_hash_mc_addr() local789 while (hash_mask >> bit_shift != 0xFF) in igc_hash_mc_addr()790 bit_shift++; in igc_hash_mc_addr()822 bit_shift += 1; in igc_hash_mc_addr()825 bit_shift += 2; in igc_hash_mc_addr()828 bit_shift += 4; in igc_hash_mc_addr()832 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in igc_hash_mc_addr()833 (((u16)mc_addr[5]) << bit_shift))); in igc_hash_mc_addr()
37 unsigned int bit_shift; member49 unsigned int mask = BIT(rmobile_pd->bit_shift); in rmobile_pd_power_down()74 unsigned int val, mask = BIT(rmobile_pd->bit_shift); in __rmobile_pd_power_up()256 if (pd->bit_shift == ~0) { in rmobile_setup_pm_domain()285 pd->bit_shift = idx; in rmobile_add_pm_domains()
178 u8 bit_shift = 0; in e1000_hash_mc_addr_vf() local186 while (hash_mask >> bit_shift != 0xFF) in e1000_hash_mc_addr_vf()187 bit_shift++; in e1000_hash_mc_addr_vf()189 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr_vf()190 (((u16)mc_addr[5]) << bit_shift))); in e1000_hash_mc_addr_vf()
429 u8 bit_shift = 1; in igb_hash_mc_addr() local437 while (hash_mask >> bit_shift != 0xFF && bit_shift < 4) in igb_hash_mc_addr()438 bit_shift++; in igb_hash_mc_addr()470 bit_shift += 1; in igb_hash_mc_addr()473 bit_shift += 2; in igb_hash_mc_addr()476 bit_shift += 4; in igb_hash_mc_addr()480 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in igb_hash_mc_addr()481 (((u16) mc_addr[5]) << bit_shift))); in igb_hash_mc_addr()
247 u8 bit_shift = 0; in e1000_hash_mc_addr() local255 while (hash_mask >> bit_shift != 0xFF) in e1000_hash_mc_addr()256 bit_shift++; in e1000_hash_mc_addr()288 bit_shift += 1; in e1000_hash_mc_addr()291 bit_shift += 2; in e1000_hash_mc_addr()294 bit_shift += 4; in e1000_hash_mc_addr()298 hash_value = hash_mask & (((mc_addr[4] >> (8 - bit_shift)) | in e1000_hash_mc_addr()299 (((u16)mc_addr[5]) << bit_shift))); in e1000_hash_mc_addr()
106 u8 bit_shift; member116 u8 bit_shift; member127 u8 bit_shift; member
234 mux->shift = setup->bit_shift; in ti_clk_build_component_mux()
1390 unsigned int bit_shift = offset % 8; in __extract() local1391 int bits_to_copy = 8 - bit_shift; in __extract()1396 value |= ((u32)report[idx] >> bit_shift) << bit_nr; in __extract()1400 bit_shift = 0; in __extract()1432 unsigned int bit_shift = offset % 8; in __implement() local1433 int bits_to_set = 8 - bit_shift; in __implement()1436 report[idx] &= ~(0xff << bit_shift); in __implement()1437 report[idx] |= value << bit_shift; in __implement()1441 bit_shift = 0; in __implement()1448 report[idx] &= ~(bit_mask << bit_shift); in __implement()[all …]
932 u8 original_value, bit_shift = 0; in halbtc_bitmask_write_1byte() local941 bit_shift = i; in halbtc_bitmask_write_1byte()943 ((data << bit_shift) & bit_mask); in halbtc_bitmask_write_1byte()
1019 u8 bit_shift; in rtw89_phy_write_rf_a() local1038 bit_shift = __ffs(mask); in rtw89_phy_write_rf_a()1039 data = (data << bit_shift) & RFREG_MASK; in rtw89_phy_write_rf_a()
Completed in 46 milliseconds