| /dpdk/drivers/bus/dpaa/base/qbman/ |
| H A D | bman_priv.h | 28 #define bm_isr_status_read(bm) __bm_isr_read(bm, bm_isr_status) argument 29 #define bm_isr_status_clear(bm, m) __bm_isr_write(bm, bm_isr_status, m) argument 30 #define bm_isr_enable_read(bm) __bm_isr_read(bm, bm_isr_enable) argument 31 #define bm_isr_enable_write(bm, v) __bm_isr_write(bm, bm_isr_enable, v) argument 32 #define bm_isr_disable_read(bm) __bm_isr_read(bm, bm_isr_disable) argument 33 #define bm_isr_disable_write(bm, v) __bm_isr_write(bm, bm_isr_disable, v) argument 34 #define bm_isr_inhibit(bm) __bm_isr_write(bm, bm_isr_inhibit, 1) argument 35 #define bm_isr_uninhibit(bm) __bm_isr_write(bm, bm_isr_inhibit, 0) argument
|
| H A D | bman.c | 148 pcfg = bm->config; in bman_destroy_portal() 149 bm_rcr_cce_update(&bm->p); in bman_destroy_portal() 150 bm_rcr_cce_update(&bm->p); in bman_destroy_portal() 152 free_irq(pcfg->irq, bm); in bman_destroy_portal() 154 kfree(bm->pools); in bman_destroy_portal() 155 bm_mc_finish(&bm->p); in bman_destroy_portal() 156 bm_rcr_finish(&bm->p); in bman_destroy_portal() 157 bm->config = NULL; in bman_destroy_portal() 163 struct bman_portal *bm = get_affine_portal(); in bman_destroy_affine_portal() local 166 pcfg = bm->config; in bman_destroy_affine_portal() [all …]
|
| H A D | bman.h | 39 #define __bm_in(bm, o) be32_to_cpu(__raw_readl((bm)->ci + (o))) argument 40 #define __bm_out(bm, o, val) __raw_writel(cpu_to_be32(val), \ argument 41 (bm)->ci + (o)) 46 #define __bm_cl_touch_ro(bm, o) dcbt_ro((bm)->ce + (o)) argument 47 #define __bm_cl_touch_rw(bm, o) dcbt_rw((bm)->ce + (o)) argument 48 #define __bm_cl_in(bm, o) be32_to_cpu(__raw_readl((bm)->ce + (o))) argument 49 #define __bm_cl_out(bm, o, val) \ argument 51 u32 *__tmpclout = (bm)->ce + (o); \ 55 #define __bm_cl_invalidate(bm, o) dccivac((bm)->ce + (o)) argument
|
| /dpdk/drivers/event/dlb2/pf/base/ |
| H A D | dlb2_osdep_bitmap.h | 44 struct dlb2_bitmap *bm; in dlb2_bitmap_alloc() local 53 bm = rte_malloc("DLB2_PF", in dlb2_bitmap_alloc() 57 if (bm == NULL) in dlb2_bitmap_alloc() 64 rte_free(bm); in dlb2_bitmap_alloc() 68 bm->map = rte_bitmap_init(len, mem, alloc_size); in dlb2_bitmap_alloc() 69 if (bm->map == NULL) { in dlb2_bitmap_alloc() 71 rte_free(bm); in dlb2_bitmap_alloc() 75 bm->len = len; in dlb2_bitmap_alloc() 77 *bitmap = bm; in dlb2_bitmap_alloc()
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_imem.c | 10 static void _imem_bst_bm_dump(struct ice_hw *hw, struct ice_bst_main *bm) in _imem_bst_bm_dump() argument 13 ice_info(hw, "\tal0 = %d\n", bm->al0); in _imem_bst_bm_dump() 14 ice_info(hw, "\tal1 = %d\n", bm->al1); in _imem_bst_bm_dump() 15 ice_info(hw, "\tal2 = %d\n", bm->al2); in _imem_bst_bm_dump() 16 ice_info(hw, "\tpg = %d\n", bm->pg); in _imem_bst_bm_dump() 94 static void _imem_bm_init(struct ice_bst_main *bm, u8 data) in _imem_bm_init() argument 96 bm->al0 = (data & 0x1) != 0; in _imem_bm_init() 97 bm->al1 = (data & 0x2) != 0; in _imem_bm_init() 98 bm->al2 = (data & 0x4) != 0; in _imem_bm_init() 99 bm->pg = (data & 0x8) != 0; in _imem_bm_init()
|
| H A D | ice_switch.c | 7558 ice_bitmap_t *bm) in ice_get_compat_fv_bitmap() argument 7590 ice_set_bit(ICE_PROFID_PPPOE_PAY, bm); in ice_get_compat_fv_bitmap() 7618 ice_set_bit(ICE_PROFID_IPV6_ESP, bm); in ice_get_compat_fv_bitmap() 7622 ice_set_bit(ICE_PROFID_IPV6_AH, bm); in ice_get_compat_fv_bitmap() 7630 ice_set_bit(ICE_PROFID_IPV6_NAT_T, bm); in ice_get_compat_fv_bitmap() 7651 ice_set_bit(ICE_PROFID_IPV4_ESP, bm); in ice_get_compat_fv_bitmap() 7654 ice_set_bit(ICE_PROFID_IPV4_AH, bm); in ice_get_compat_fv_bitmap() 7657 ice_set_bit(ICE_PROFID_IPV4_TCP, bm); in ice_get_compat_fv_bitmap() 7660 ice_set_bit(ICE_PROFID_IPV4_UDP, bm); in ice_get_compat_fv_bitmap() 7663 ice_set_bit(ICE_PROFID_IPV6_TCP, bm); in ice_get_compat_fv_bitmap() [all …]
|
| H A D | ice_flex_pipe.h | 35 ice_bitmap_t *bm); 40 ice_bitmap_t *bm, struct LIST_HEAD_TYPE *fv_list);
|
| H A D | ice_bitops.h | 412 ice_bitmap_hweight(ice_bitmap_t *bm, u16 size) in ice_bitmap_hweight() argument 417 while (size > (bit = ice_find_next_bit(bm, size, bit))) { in ice_bitmap_hweight()
|
| H A D | ice_vlan_mode.c | 43 arr[i] = LE32_TO_CPU(sect->entry[0].bm[i]); in ice_pkg_get_supported_vlan_mode()
|
| H A D | ice_flex_type.h | 1032 __le32 bm[ICE_META_INIT_DW_CNT]; member
|
| H A D | ice_flex_pipe.c | 1819 ice_bitmap_t *bm) in ice_get_sw_fv_bitmap() argument 1826 ice_zero_bitmap(bm, ICE_MAX_NUM_PROFILES); in ice_get_sw_fv_bitmap() 1842 ice_set_bit((u16)offset, bm); in ice_get_sw_fv_bitmap() 1864 ice_bitmap_t *bm, struct LIST_HEAD_TYPE *fv_list) in ice_get_sw_fv_list() argument 1892 if (!ice_is_bit_set(bm, (u16)offset)) in ice_get_sw_fv_list()
|