Searched refs:base_idx (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/security/apparmor/ |
D | match.c | 22 #define base_idx(X) ((X) & 0xffffff) macro 221 if (base_idx(BASE_TABLE(dfa)[i]) < dfa->max_oob) { in verify_dfa() 230 if (base_idx(BASE_TABLE(dfa)[i]) + 255 >= trans_count) { in verify_dfa() 412 unsigned int pos = base_idx(b) + (C); \ 586 pos = base_idx(base[state]) + equiv[(u8) *str++]; in aa_dfa_match_until() 597 pos = base_idx(base[state]) + (u8) *str++; in aa_dfa_match_until() 648 pos = base_idx(base[state]) + equiv[(u8) *str++]; in aa_dfa_matchn_until() 659 pos = base_idx(base[state]) + (u8) *str++; in aa_dfa_matchn_until() 731 pos = base_idx(base[state]) + equiv[(u8) *str++]; in leftmatch_fb() 750 pos = base_idx(base[state]) + (u8) *str++; in leftmatch_fb()
|
/kernel/linux/linux-5.10/drivers/ntb/hw/intel/ |
D | ntb_hw_gen4.c | 325 unsigned short base_idx, reg_val16; in intel_ntb4_mw_set_trans() local 369 base_idx = __ilog2_u64(size); in intel_ntb4_mw_set_trans() 372 base_idx = __ilog2_u64(mw_size); in intel_ntb4_mw_set_trans() 399 iowrite16(base_idx, mmio + idx_reg); in intel_ntb4_mw_set_trans() 401 if (reg_val16 != base_idx) { in intel_ntb4_mw_set_trans()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/ |
D | ice.h | 559 #define ICE_FD_STAT_PF_IDX(base_idx) \ argument 560 ((base_idx) * ICE_FD_STAT_CTR_BLOCK_COUNT) 561 #define ICE_FD_SB_STAT_IDX(base_idx) ICE_FD_STAT_PF_IDX(base_idx) argument
|
D | ice_arfs.c | 600 int base_idx, i; in ice_set_cpu_rx_rmap() local 618 base_idx = vsi->base_vector; in ice_set_cpu_rx_rmap() 621 pf->msix_entries[base_idx + i].vector)) { in ice_set_cpu_rx_rmap()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/libcxgb/ |
D | libcxgb_ppm.h | 137 unsigned int base_idx; member 249 return hw_idx - ppm->base_idx; in cxgbi_ppm_ddp_tag_get_idx()
|
D | libcxgb_ppm.c | 275 hwidx = ppm->base_idx + idx; in cxgbi_ppm_ppods_reserve() 480 ppm->base_idx = start > llimit ? in cxgbi_ppm_init() 504 ndev->name, ppm_pp, ppm, ppm->base_idx, ppm->ppmax, PAGE_SIZE, in cxgbi_ppm_init()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
D | hash_utils.c | 465 int idx, base_idx; in htab_dt_scan_page_sizes() local 468 base_idx = get_idx_from_shift(base_shift); in htab_dt_scan_page_sizes() 469 if (base_idx < 0) { in htab_dt_scan_page_sizes() 474 def = &mmu_psize_defs[base_idx]; in htab_dt_scan_page_sizes() 475 if (base_idx == MMU_PAGE_16M) in htab_dt_scan_page_sizes() 488 if (base_idx == MMU_PAGE_4K || base_idx == MMU_PAGE_64K) in htab_dt_scan_page_sizes()
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
D | phy.c | 1934 u8 base_idx, rate_idx; in rtw_phy_tx_power_by_rate_config_by_path() local 1938 base_idx = rates[size - 3]; in rtw_phy_tx_power_by_rate_config_by_path() 1940 base_idx = rates[size - 1]; in rtw_phy_tx_power_by_rate_config_by_path() 1941 base_2g = hal->tx_pwr_by_rate_offset_2g[path][base_idx]; in rtw_phy_tx_power_by_rate_config_by_path() 1942 base_5g = hal->tx_pwr_by_rate_offset_5g[path][base_idx]; in rtw_phy_tx_power_by_rate_config_by_path()
|
/kernel/linux/linux-5.10/drivers/soc/ti/ |
D | knav_qmss_queue.c | 1707 int size, id, base_idx; in knav_queue_init_queues() local 1725 base_idx = idx; in knav_queue_init_queues() 1734 knav_queue_idx_to_inst(kdev, base_idx); in knav_queue_init_queues()
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_n.c | 23271 u16 base_idx[2], curr_gain[2]; in wlc_phy_get_tx_gain_nphy() local 23321 base_idx[0] = (read_phy_reg(pi, 0x1ed) >> 8) & 0x7f; in wlc_phy_get_tx_gain_nphy() 23322 base_idx[1] = (read_phy_reg(pi, 0x1ee) >> 8) & 0x7f; in wlc_phy_get_tx_gain_nphy() 23330 [base_idx[core_no]] in wlc_phy_get_tx_gain_nphy() 23334 [base_idx[core_no]] in wlc_phy_get_tx_gain_nphy() 23338 [base_idx[core_no]] in wlc_phy_get_tx_gain_nphy() 23342 [base_idx[core_no]] in wlc_phy_get_tx_gain_nphy() 23346 [base_idx[core_no]] in wlc_phy_get_tx_gain_nphy() 23351 [base_idx[core_no]] in wlc_phy_get_tx_gain_nphy() 23355 [base_idx[core_no]] in wlc_phy_get_tx_gain_nphy() [all …]
|