/openbmc/linux/arch/powerpc/mm/book3s64/ |
H A 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() 667 int index, mask_index; in get_slice_psize() local [all …]
|
H A D | hash_utils.c | 1332 unsigned long index, mask_index; in get_paca_psize() local 1341 mask_index = index & 0x1; in get_paca_psize() 1342 return (psizes[index >> 1] >> (mask_index * 4)) & 0xF; in get_paca_psize()
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A 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()
|
/openbmc/linux/drivers/net/wireless/ath/ath9k/ |
H A 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 …]
|
/openbmc/linux/drivers/net/ethernet/microchip/ |
H A D | lan743x_main.c | 3521 int mask_index; in lan743x_pm_set_wol() local 3528 for (mask_index = 0; mask_index < MAC_NUM_OF_WUF_CFG; mask_index++) in lan743x_pm_set_wol() 3529 lan743x_csr_write(adapter, MAC_WUF_CFG(mask_index), 0); in lan743x_pm_set_wol() 3541 mask_index = 0; in lan743x_pm_set_wol() 3568 lan743x_csr_write(adapter, MAC_WUF_CFG(mask_index), in lan743x_pm_set_wol() 3572 lan743x_csr_write(adapter, MAC_WUF_MASK0(mask_index), 7); in lan743x_pm_set_wol() 3573 lan743x_csr_write(adapter, MAC_WUF_MASK1(mask_index), 0); in lan743x_pm_set_wol() 3574 lan743x_csr_write(adapter, MAC_WUF_MASK2(mask_index), 0); in lan743x_pm_set_wol() 3575 lan743x_csr_write(adapter, MAC_WUF_MASK3(mask_index), 0); in lan743x_pm_set_wol() 3576 mask_index++; in lan743x_pm_set_wol() [all …]
|
/openbmc/linux/drivers/net/usb/ |
H A D | lan78xx.c | 4589 int mask_index; in lan78xx_set_suspend() local 4623 for (mask_index = 0; mask_index < NUM_OF_WUF_CFG; mask_index++) { in lan78xx_set_suspend() 4624 ret = lan78xx_write_reg(dev, WUF_CFG(mask_index), 0); in lan78xx_set_suspend() 4629 mask_index = 0; in lan78xx_set_suspend() 4656 ret = lan78xx_write_reg(dev, WUF_CFG(mask_index), in lan78xx_set_suspend() 4664 ret = lan78xx_write_reg(dev, WUF_MASK0(mask_index), 7); in lan78xx_set_suspend() 4667 ret = lan78xx_write_reg(dev, WUF_MASK1(mask_index), 0); in lan78xx_set_suspend() 4670 ret = lan78xx_write_reg(dev, WUF_MASK2(mask_index), 0); in lan78xx_set_suspend() 4673 ret = lan78xx_write_reg(dev, WUF_MASK3(mask_index), 0); in lan78xx_set_suspend() 4677 mask_index++; in lan78xx_set_suspend() [all …]
|
/openbmc/linux/drivers/misc/altera-stapl/ |
H A D | altera.c | 1991 u32 mask_index; in altera_execute() local 1998 mask_index = stack[--stack_ptr]; in altera_execute() 2015 b = 1 + long_count - mask_index; in altera_execute() 2021 index2 = mask_index; in altera_execute() 2023 mask_index = mask_right; in altera_execute() 2035 if (mask[mask_index >> 3] & in altera_execute() 2036 (1 << (mask_index & 7))) { in altera_execute() 2049 ++mask_index; in altera_execute()
|
/openbmc/linux/net/openvswitch/ |
H A D | flow_table.h | 27 u32 mask_index; member
|
H A D | flow_table.c | 803 u32 mask_index = 0; in ovs_flow_tbl_lookup_stats() local 807 &mask_index); in ovs_flow_tbl_lookup_stats() 828 n_cache_hit, &e->mask_index); in ovs_flow_tbl_lookup_stats() 842 &ce->mask_index); in ovs_flow_tbl_lookup_stats()
|
/openbmc/linux/tools/power/x86/intel-speed-select/ |
H A 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()
|