Home
last modified time | relevance | path

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

/linux/security/apparmor/
H A Dmatch.c23 #define base_idx(X) ((X) & 0xffffff) macro
179 if (base_idx(BASE_TABLE(dfa)[i]) < dfa->max_oob) { in verify_dfa()
188 if (base_idx(BASE_TABLE(dfa)[i]) + 255 >= trans_count) { in verify_dfa()
443 unsigned int pos = base_idx(b) + (C); \
628 pos = base_idx(base[state]) + equiv[(u8) *str++]; in aa_dfa_match_until()
639 pos = base_idx(base[state]) + (u8) *str++; in aa_dfa_match_until()
690 pos = base_idx(base[state]) + equiv[(u8) *str++]; in aa_dfa_matchn_until()
701 pos = base_idx(base[state]) + (u8) *str++; in aa_dfa_matchn_until()
774 pos = base_idx(base[state]) + equiv[(u8) *str++]; in leftmatch_fb()
793 pos = base_idx(base[state]) + (u8) *str++; in leftmatch_fb()
/linux/drivers/ntb/hw/intel/
H A Dntb_hw_gen4.c352 unsigned short base_idx, reg_val16; in intel_ntb4_mw_set_trans() local
396 base_idx = __ilog2_u64(size); in intel_ntb4_mw_set_trans()
399 base_idx = __ilog2_u64(mw_size); in intel_ntb4_mw_set_trans()
426 iowrite16(base_idx, mmio + idx_reg); in intel_ntb4_mw_set_trans()
428 if (reg_val16 != base_idx) { in intel_ntb4_mw_set_trans()
/linux/drivers/net/ethernet/intel/ice/
H A Dice.h935 #define ICE_FD_STAT_PF_IDX(base_idx) \ argument
936 ((base_idx) * ICE_FD_STAT_CTR_BLOCK_COUNT)
937 #define ICE_FD_SB_STAT_IDX(base_idx) ICE_FD_STAT_PF_IDX(base_idx) argument
939 #define ICE_FD_CH_STAT_IDX(base_idx) \ argument
940 (ICE_FD_STAT_PF_IDX(base_idx) + ICE_FD_STAT_CH)
H A Dice_ptp_hw.c6167 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
6179 *base_idx = E810T_CGU_INPUT_C827(phy_idx, ICE_RCLKA_PIN); in ice_get_cgu_rclk_pin_info()
6197 *base_idx = ZL_REF1P; in ice_get_cgu_rclk_pin_info()
6200 *base_idx = SI_REF1P; in ice_get_cgu_rclk_pin_info()
6209 *base_idx = 0; in ice_get_cgu_rclk_pin_info()
/linux/drivers/net/ethernet/chelsio/libcxgb/
H A Dlibcxgb_ppm.h137 unsigned int base_idx; member
249 return hw_idx - ppm->base_idx; in cxgbi_ppm_ddp_tag_get_idx()
H A 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/drivers/net/wireless/ath/ath12k/
H A Dpci.c544 u32 user_base_data = 0, base_vector = 0, base_idx; in ath12k_pci_ext_irq_config() local
549 base_idx = ATH12K_PCI_IRQ_CE0_OFFSET + CE_COUNT_MAX; in ath12k_pci_ext_irq_config()
590 irq_grp->irqs[0] = base_idx + i; in ath12k_pci_ext_irq_config()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_n.c23261 u16 base_idx[2], curr_gain[2]; in wlc_phy_get_tx_gain_nphy() local
23311 base_idx[0] = (read_phy_reg(pi, 0x1ed) >> 8) & 0x7f; in wlc_phy_get_tx_gain_nphy()
23312 base_idx[1] = (read_phy_reg(pi, 0x1ee) >> 8) & 0x7f; in wlc_phy_get_tx_gain_nphy()
23320 [base_idx[core_no]] in wlc_phy_get_tx_gain_nphy()
23324 [base_idx[core_no]] in wlc_phy_get_tx_gain_nphy()
23328 [base_idx[core_no]] in wlc_phy_get_tx_gain_nphy()
23332 [base_idx[core_no]] in wlc_phy_get_tx_gain_nphy()
23336 [base_idx[core_no]] in wlc_phy_get_tx_gain_nphy()
23341 [base_idx[core_no]] in wlc_phy_get_tx_gain_nphy()
23345 [base_idx[core_no]] in wlc_phy_get_tx_gain_nphy()
[all …]