Home
last modified time | relevance | path

Searched refs:base_idx (Results 1 – 12 of 12) sorted by relevance

/linux-6.12.1/security/apparmor/
Dmatch.c22 #define base_idx(X) ((X) & 0xffffff) macro
177 if (base_idx(BASE_TABLE(dfa)[i]) < dfa->max_oob) { in verify_dfa()
186 if (base_idx(BASE_TABLE(dfa)[i]) + 255 >= trans_count) { in verify_dfa()
368 unsigned int pos = base_idx(b) + (C); \
540 pos = base_idx(base[state]) + equiv[(u8) *str++]; in aa_dfa_match_until()
551 pos = base_idx(base[state]) + (u8) *str++; in aa_dfa_match_until()
602 pos = base_idx(base[state]) + equiv[(u8) *str++]; in aa_dfa_matchn_until()
613 pos = base_idx(base[state]) + (u8) *str++; in aa_dfa_matchn_until()
685 pos = base_idx(base[state]) + equiv[(u8) *str++]; in leftmatch_fb()
704 pos = base_idx(base[state]) + (u8) *str++; in leftmatch_fb()
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice.h884 #define ICE_FD_STAT_PF_IDX(base_idx) \ argument
885 ((base_idx) * ICE_FD_STAT_CTR_BLOCK_COUNT)
886 #define ICE_FD_SB_STAT_IDX(base_idx) ICE_FD_STAT_PF_IDX(base_idx) argument
888 #define ICE_FD_CH_STAT_IDX(base_idx) \ argument
889 (ICE_FD_STAT_PF_IDX(base_idx) + ICE_FD_STAT_CH)
Dice_ptp_hw.h416 int ice_get_cgu_rclk_pin_info(struct ice_hw *hw, u8 *base_idx, u8 *pin_num);
Dice_ptp_hw.c6141 int ice_get_cgu_rclk_pin_info(struct ice_hw *hw, u8 *base_idx, u8 *pin_num) in ice_get_cgu_rclk_pin_info() argument
6153 *base_idx = E810T_CGU_INPUT_C827(phy_idx, ICE_RCLKA_PIN); in ice_get_cgu_rclk_pin_info()
6171 *base_idx = ZL_REF1P; in ice_get_cgu_rclk_pin_info()
6174 *base_idx = SI_REF1P; in ice_get_cgu_rclk_pin_info()
/linux-6.12.1/drivers/ntb/hw/intel/
Dntb_hw_gen4.c342 unsigned short base_idx, reg_val16; in intel_ntb4_mw_set_trans() local
386 base_idx = __ilog2_u64(size); in intel_ntb4_mw_set_trans()
389 base_idx = __ilog2_u64(mw_size); in intel_ntb4_mw_set_trans()
416 iowrite16(base_idx, mmio + idx_reg); in intel_ntb4_mw_set_trans()
418 if (reg_val16 != base_idx) { in intel_ntb4_mw_set_trans()
/linux-6.12.1/drivers/net/ethernet/chelsio/libcxgb/
Dlibcxgb_ppm.h137 unsigned int base_idx; member
249 return hw_idx - ppm->base_idx; in cxgbi_ppm_ddp_tag_get_idx()
Dlibcxgb_ppm.c275 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()
/linux-6.12.1/arch/powerpc/mm/book3s64/
Dhash_utils.c604 int idx, base_idx; in htab_dt_scan_page_sizes() local
607 base_idx = get_idx_from_shift(base_shift); in htab_dt_scan_page_sizes()
608 if (base_idx < 0) { in htab_dt_scan_page_sizes()
613 def = &mmu_psize_defs[base_idx]; in htab_dt_scan_page_sizes()
614 if (base_idx == MMU_PAGE_16M) in htab_dt_scan_page_sizes()
627 if (base_idx == MMU_PAGE_4K || base_idx == MMU_PAGE_64K) in htab_dt_scan_page_sizes()
/linux-6.12.1/drivers/net/wireless/ath/ath12k/
Dpci.c566 u32 user_base_data = 0, base_vector = 0, base_idx; in ath12k_pci_ext_irq_config() local
569 base_idx = ATH12K_PCI_IRQ_CE0_OFFSET + CE_COUNT_MAX; in ath12k_pci_ext_irq_config()
603 irq_grp->irqs[0] = base_idx + i; in ath12k_pci_ext_irq_config()
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/
Dphy.c2229 u8 base_idx, rate_idx; in rtw_phy_tx_power_by_rate_config_by_path() local
2233 base_idx = rates[size - 3]; in rtw_phy_tx_power_by_rate_config_by_path()
2235 base_idx = rates[size - 1]; in rtw_phy_tx_power_by_rate_config_by_path()
2236 base_2g = hal->tx_pwr_by_rate_offset_2g[path][base_idx]; in rtw_phy_tx_power_by_rate_config_by_path()
2237 base_5g = hal->tx_pwr_by_rate_offset_5g[path][base_idx]; in rtw_phy_tx_power_by_rate_config_by_path()
/linux-6.12.1/drivers/soc/ti/
Dknav_qmss_queue.c1741 int size, id, base_idx; in knav_queue_init_queues() local
1759 base_idx = idx; in knav_queue_init_queues()
1768 knav_queue_idx_to_inst(kdev, base_idx); in knav_queue_init_queues()
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_n.c23267 u16 base_idx[2], curr_gain[2]; in wlc_phy_get_tx_gain_nphy() local
23317 base_idx[0] = (read_phy_reg(pi, 0x1ed) >> 8) & 0x7f; in wlc_phy_get_tx_gain_nphy()
23318 base_idx[1] = (read_phy_reg(pi, 0x1ee) >> 8) & 0x7f; in wlc_phy_get_tx_gain_nphy()
23326 [base_idx[core_no]] 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()
23347 [base_idx[core_no]] in wlc_phy_get_tx_gain_nphy()
23351 [base_idx[core_no]] in wlc_phy_get_tx_gain_nphy()
[all …]