/kernel/linux/linux-5.10/arch/powerpc/mm/ |
D | slice.c | 190 int index, mask_index; in slice_convert() local 212 mask_index = i & 0x1; in slice_convert() 216 old_psize = (lpsizes[index] >> (mask_index * 4)) & 0xf; in slice_convert() 222 lpsizes[index] = (lpsizes[index] & ~(0xf << (mask_index * 4))) | in slice_convert() 223 (((unsigned long)psize) << (mask_index * 4)); in slice_convert() 231 mask_index = i & 0x1; in slice_convert() 235 old_psize = (hpsizes[index] >> (mask_index * 4)) & 0xf; in slice_convert() 241 hpsizes[index] = (hpsizes[index] & ~(0xf << (mask_index * 4))) | in slice_convert() 242 (((unsigned long)psize) << (mask_index * 4)); in slice_convert() 665 int index, mask_index; in get_slice_psize() local [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
D | ar9003_phy.c | 377 int mask_index = 0; in ar9003_hw_spur_ofdm() local 408 mask_index = (freq_offset << 4) / 5; in ar9003_hw_spur_ofdm() 409 if (mask_index < 0) in ar9003_hw_spur_ofdm() 410 mask_index = mask_index - 1; in ar9003_hw_spur_ofdm() 412 mask_index = mask_index & 0x7f; in ar9003_hw_spur_ofdm() 421 AR_PHY_PILOT_SPUR_MASK_CF_PILOT_MASK_IDX_A, mask_index); in ar9003_hw_spur_ofdm() 423 AR_PHY_SPUR_MASK_A_CF_PUNC_MASK_IDX_A, mask_index); in ar9003_hw_spur_ofdm() 425 AR_PHY_CHAN_SPUR_MASK_CF_CHAN_MASK_IDX_A, mask_index); in ar9003_hw_spur_ofdm() 439 int mask_index = 0; in ar9003_hw_spur_ofdm_9565() local 441 mask_index = (freq_offset << 4) / 5; in ar9003_hw_spur_ofdm_9565() [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/ |
D | lan743x_main.c | 2950 int mask_index; in lan743x_pm_set_wol() local 2956 for (mask_index = 0; mask_index < MAC_NUM_OF_WUF_CFG; mask_index++) in lan743x_pm_set_wol() 2957 lan743x_csr_write(adapter, MAC_WUF_CFG(mask_index), 0); in lan743x_pm_set_wol() 2969 mask_index = 0; in lan743x_pm_set_wol() 2997 lan743x_csr_write(adapter, MAC_WUF_CFG(mask_index), in lan743x_pm_set_wol() 3001 lan743x_csr_write(adapter, MAC_WUF_MASK0(mask_index), 7); in lan743x_pm_set_wol() 3002 lan743x_csr_write(adapter, MAC_WUF_MASK1(mask_index), 0); in lan743x_pm_set_wol() 3003 lan743x_csr_write(adapter, MAC_WUF_MASK2(mask_index), 0); in lan743x_pm_set_wol() 3004 lan743x_csr_write(adapter, MAC_WUF_MASK3(mask_index), 0); in lan743x_pm_set_wol() 3005 mask_index++; in lan743x_pm_set_wol() [all …]
|
/kernel/linux/linux-5.10/drivers/net/usb/ |
D | lan78xx.c | 3824 int mask_index; in lan78xx_set_suspend() local 3850 for (mask_index = 0; mask_index < NUM_OF_WUF_CFG; mask_index++) in lan78xx_set_suspend() 3851 ret = lan78xx_write_reg(dev, WUF_CFG(mask_index), 0); in lan78xx_set_suspend() 3853 mask_index = 0; in lan78xx_set_suspend() 3880 ret = lan78xx_write_reg(dev, WUF_CFG(mask_index), in lan78xx_set_suspend() 3886 ret = lan78xx_write_reg(dev, WUF_MASK0(mask_index), 7); in lan78xx_set_suspend() 3887 ret = lan78xx_write_reg(dev, WUF_MASK1(mask_index), 0); in lan78xx_set_suspend() 3888 ret = lan78xx_write_reg(dev, WUF_MASK2(mask_index), 0); in lan78xx_set_suspend() 3889 ret = lan78xx_write_reg(dev, WUF_MASK3(mask_index), 0); in lan78xx_set_suspend() 3890 mask_index++; in lan78xx_set_suspend() [all …]
|
/kernel/linux/linux-5.10/net/openvswitch/ |
D | flow_table.h | 27 u32 mask_index; member
|
D | flow_table.c | 802 u32 mask_index = 0; in ovs_flow_tbl_lookup_stats() local 806 &mask_index); in ovs_flow_tbl_lookup_stats() 827 n_cache_hit, &e->mask_index); in ovs_flow_tbl_lookup_stats() 841 &ce->mask_index); in ovs_flow_tbl_lookup_stats()
|
/kernel/linux/linux-5.10/drivers/misc/altera-stapl/ |
D | altera.c | 2015 u32 mask_index; in altera_execute() local 2022 mask_index = stack[--stack_ptr]; in altera_execute() 2039 b = 1 + long_count - mask_index; in altera_execute() 2045 index2 = mask_index; in altera_execute() 2047 mask_index = mask_right; in altera_execute() 2059 if (mask[mask_index >> 3] & in altera_execute() 2060 (1 << (mask_index & 7))) { in altera_execute() 2073 ++mask_index; in altera_execute()
|
/kernel/linux/linux-5.10/tools/power/x86/intel-speed-select/ |
D | isst-display.c | 56 int mask_index, bit_index; in printcpumask() local 61 mask_index = i / (sizeof(unsigned int) * 8); in printcpumask() 63 mask[mask_index] |= BIT(bit_index); in printcpumask()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
D | hash_utils.c | 1171 unsigned long index, mask_index; in get_paca_psize() local 1180 mask_index = index & 0x1; in get_paca_psize() 1181 return (psizes[index >> 1] >> (mask_index * 4)) & 0xF; in get_paca_psize()
|