Home
last modified time | relevance | path

Searched refs:bm (Results 1 – 11 of 11) sorted by relevance

/dpdk/drivers/bus/dpaa/base/qbman/
H A Dbman_priv.h28 #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 Dbman.c148 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 Dbman.h39 #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 Ddlb2_osdep_bitmap.h44 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 Dice_imem.c10 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 Dice_switch.c7558 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 Dice_flex_pipe.h35 ice_bitmap_t *bm);
40 ice_bitmap_t *bm, struct LIST_HEAD_TYPE *fv_list);
H A Dice_bitops.h412 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 Dice_vlan_mode.c43 arr[i] = LE32_TO_CPU(sect->entry[0].bm[i]); in ice_pkg_get_supported_vlan_mode()
H A Dice_flex_type.h1032 __le32 bm[ICE_META_INIT_DW_CNT]; member
H A Dice_flex_pipe.c1819 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()