/linux-6.1.9/include/rdma/ |
D | iba.h | 56 #define _IBA_SET(field_struct, field_offset, field_mask, num_bits, ptr, value) \ argument 59 _iba_set##num_bits((void *)_ptr + (field_offset), field_mask, \ 60 FIELD_PREP(field_mask, value)); \ 84 #define _IBA_GET(field_struct, field_offset, field_mask, num_bits, ptr) \ argument 88 field_mask, _iba_get##num_bits((const void *)_ptr + \
|
/linux-6.1.9/include/linux/ |
D | bitfield.h | 142 static __always_inline u64 field_mask(u64 field) in field_mask() function 146 #define field_max(field) ((typeof(field))field_mask(field)) 150 if (__builtin_constant_p(v) && (v & ~field_mask(field))) \ 152 return to((v & field_mask(field)) * field_multiplier(field)); \
|
/linux-6.1.9/drivers/net/ethernet/netronome/nfp/abm/ |
D | cls.c | 123 u32 field_mask; in nfp_abm_update_band_map() local 128 field_mask = (1 << bits_per_prio) - 1; in nfp_abm_update_band_map() 144 *word &= ~(field_mask << offset); in nfp_abm_update_band_map()
|
/linux-6.1.9/drivers/phy/socionext/ |
D | phy-uniphier-usb3ss.c | 82 u8 field_mask = GENMASK(p->field.msb, p->field.lsb); in uniphier_u3ssphy_set_param() local 92 val &= ~field_mask; in uniphier_u3ssphy_set_param() 93 data = field_mask & (p->value << p->field.lsb); in uniphier_u3ssphy_set_param()
|
D | phy-uniphier-usb3hs.c | 179 u32 field_mask = GENMASK(p->field.msb, p->field.lsb); in uniphier_u3hsphy_set_param() local 193 val &= ~FIELD_PREP(HSPHY_CFG1_DAT_MASK, field_mask); in uniphier_u3hsphy_set_param() 194 data = field_mask & (p->value << p->field.lsb); in uniphier_u3hsphy_set_param()
|
/linux-6.1.9/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd-tef.c | 103 field_mask(MCP251XFD_OBJ_FLAGS_SEQ_MCP2517FD_MASK); in mcp251xfd_handle_tefif_one() 105 field_mask(MCP251XFD_OBJ_FLAGS_SEQ_MCP2517FD_MASK); in mcp251xfd_handle_tefif_one()
|
/linux-6.1.9/drivers/net/ethernet/intel/ice/ |
D | ice_protocol_type.h | 266 u16 field_mask[ICE_MAX_CHAIN_WORDS]; member
|
D | ice_switch.c | 2250 lkup_exts->field_mask[fv_word_idx] = in ice_get_recp_frm_fw() 4623 u16 *cr = recp[i].lkup_exts.field_mask; in ice_find_recp() 4624 u16 *de = lkup_exts->field_mask; in ice_find_recp() 4728 lkup_exts->field_mask[word] = in ice_fill_valid_words() 4784 grp->mask[grp->n_val_pairs] = lkup_exts->field_mask[j]; in ice_create_first_fit_recp_def() 5233 memcpy(rm->word_masks, lkup_exts->field_mask, in ice_create_recipe_group() 5283 lkup_exts->field_mask[word] = mask; in ice_add_special_words() 5295 lkup_exts->field_mask[word] = in ice_add_special_words()
|
/linux-6.1.9/arch/arm64/kvm/vgic/ |
D | vgic-mmio.h | 222 u64 vgic_sanitise_field(u64 reg, u64 field_mask, int field_shift,
|
D | vgic-mmio-v3.c | 422 u64 vgic_sanitise_field(u64 reg, u64 field_mask, int field_shift, in vgic_sanitise_field() argument 425 u64 field = (reg & field_mask) >> field_shift; in vgic_sanitise_field() 428 return (reg & ~field_mask) | field; in vgic_sanitise_field()
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_tc.c | 3031 u32 field_mask; member 3036 #define OFFLOAD(fw_field, field_bsize, field_mask, field, off, match_field) \ argument 3037 {MLX5_ACTION_IN_FIELD_OUT_ ## fw_field, field_bsize, field_mask, \ 3143 unsigned long mask, field_mask; in offload_pedit_fields() local 3168 s_mask = *s_masks_p & f->field_mask; in offload_pedit_fields() 3169 a_mask = *a_masks_p & f->field_mask; in offload_pedit_fields() 3196 *s_masks_p &= ~f->field_mask; in offload_pedit_fields() 3202 if ((*(u32 *)vals_p & f->field_mask) == 0) in offload_pedit_fields() 3205 *a_masks_p &= ~f->field_mask; in offload_pedit_fields() 3240 field_mask = mask_to_le(f->field_mask, f->field_bsize); in offload_pedit_fields() [all …]
|
/linux-6.1.9/drivers/media/usb/cx231xx/ |
D | cx231xx-core.c | 1774 u32 cx231xx_set_field(u32 field_mask, u32 data) in cx231xx_set_field() argument 1778 for (temp = field_mask; (temp & 1) == 0; temp >>= 1) in cx231xx_set_field()
|
D | cx231xx.h | 759 u32 cx231xx_set_field(u32 field_mask, u32 data);
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mbox.h | 1161 u64 field_mask; member
|
D | rvu_nix.c | 4694 if (req->fields[f] != (reg & req->field_mask)) in rvu_mbox_handler_nix_lso_format_cfg()
|
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_common.c | 419 lso->field_mask = GENMASK(18, 0); in otx2_setup_udp_segmentation()
|