Searched refs:mask_index (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/arch/powerpc/mm/ |
D | slice.c | 153 int index, mask_index; in slice_mask_for_size() local 165 mask_index = i & 0x1; in slice_mask_for_size() 167 if (((hpsizes[index] >> (mask_index * 4)) & 0xf) == psize) in slice_mask_for_size() 198 int index, mask_index; in slice_convert() local 223 mask_index = i & 0x1; in slice_convert() 227 ~(0xf << (mask_index * 4))) | in slice_convert() 228 (((unsigned long)psize) << (mask_index * 4)); in slice_convert() 570 int index, mask_index; in get_slice_psize() local 580 mask_index = index & 0x1; in get_slice_psize() 581 return (hpsizes[index >> 1] >> (mask_index * 4)) & 0xf; in get_slice_psize() [all …]
|
D | hash_utils_64.c | 877 unsigned long index, mask_index; in get_paca_psize() local 886 mask_index = index & 0x1; in get_paca_psize() 887 return (hpsizes[index >> 1] >> (mask_index * 4)) & 0xF; in get_paca_psize()
|
/linux-4.4.14/arch/mips/include/asm/octeon/ |
D | cvmx-pip.h | 486 static inline void cvmx_pip_tag_mask_clear(uint64_t mask_index) in cvmx_pip_tag_mask_clear() argument 492 for (index = mask_index * 16; index < (mask_index + 1) * 16; index++) in cvmx_pip_tag_mask_clear() 511 static inline void cvmx_pip_tag_mask_set(uint64_t mask_index, uint64_t offset, in cvmx_pip_tag_mask_set() argument 516 uint64_t index = mask_index * 16 + offset / 8; in cvmx_pip_tag_mask_set()
|
/linux-4.4.14/drivers/net/wireless/ath/ath9k/ |
D | ar9003_phy.c | 394 int mask_index = 0; in ar9003_hw_spur_ofdm() local 425 mask_index = (freq_offset << 4) / 5; in ar9003_hw_spur_ofdm() 426 if (mask_index < 0) in ar9003_hw_spur_ofdm() 427 mask_index = mask_index - 1; in ar9003_hw_spur_ofdm() 429 mask_index = mask_index & 0x7f; in ar9003_hw_spur_ofdm() 438 AR_PHY_PILOT_SPUR_MASK_CF_PILOT_MASK_IDX_A, mask_index); in ar9003_hw_spur_ofdm() 440 AR_PHY_SPUR_MASK_A_CF_PUNC_MASK_IDX_A, mask_index); in ar9003_hw_spur_ofdm() 442 AR_PHY_CHAN_SPUR_MASK_CF_CHAN_MASK_IDX_A, mask_index); in ar9003_hw_spur_ofdm() 456 int mask_index = 0; in ar9003_hw_spur_ofdm_9565() local 458 mask_index = (freq_offset << 4) / 5; in ar9003_hw_spur_ofdm_9565() [all …]
|
/linux-4.4.14/drivers/net/usb/ |
D | lan78xx.c | 3060 int mask_index; in lan78xx_set_suspend() local 3086 for (mask_index = 0; mask_index < NUM_OF_WUF_CFG; mask_index++) in lan78xx_set_suspend() 3087 ret = lan78xx_write_reg(dev, WUF_CFG(mask_index), 0); in lan78xx_set_suspend() 3089 mask_index = 0; in lan78xx_set_suspend() 3116 ret = lan78xx_write_reg(dev, WUF_CFG(mask_index), in lan78xx_set_suspend() 3122 ret = lan78xx_write_reg(dev, WUF_MASK0(mask_index), 7); in lan78xx_set_suspend() 3123 ret = lan78xx_write_reg(dev, WUF_MASK1(mask_index), 0); in lan78xx_set_suspend() 3124 ret = lan78xx_write_reg(dev, WUF_MASK2(mask_index), 0); in lan78xx_set_suspend() 3125 ret = lan78xx_write_reg(dev, WUF_MASK3(mask_index), 0); in lan78xx_set_suspend() 3126 mask_index++; in lan78xx_set_suspend() [all …]
|
/linux-4.4.14/drivers/misc/altera-stapl/ |
D | altera.c | 2029 u32 mask_index; in altera_execute() local 2036 mask_index = stack[--stack_ptr]; in altera_execute() 2053 b = 1 + long_count - mask_index; in altera_execute() 2059 index2 = mask_index; in altera_execute() 2061 mask_index = mask_right; in altera_execute() 2073 if (mask[mask_index >> 3] & in altera_execute() 2074 (1 << (mask_index & 7))) { in altera_execute() 2087 ++mask_index; in altera_execute()
|