Home
last modified time | relevance | path

Searched refs:field_mask (Results 1 – 10 of 10) sorted by relevance

/drivers/net/ethernet/netronome/nfp/abm/
Dcls.c123 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()
/drivers/phy/socionext/
Dphy-uniphier-usb3ss.c82 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()
Dphy-uniphier-usb3hs.c179 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()
/drivers/net/ethernet/mellanox/mlx5/core/
Den_tc.c2764 u32 field_mask; member
2769 #define OFFLOAD(fw_field, field_bsize, field_mask, field, off, match_field) \ argument
2770 {MLX5_ACTION_IN_FIELD_OUT_ ## fw_field, field_bsize, field_mask, \
2877 unsigned long mask, field_mask; in offload_pedit_fields() local
2903 s_mask = *s_masks_p & f->field_mask; in offload_pedit_fields()
2904 a_mask = *a_masks_p & f->field_mask; in offload_pedit_fields()
2929 *s_masks_p &= ~f->field_mask; in offload_pedit_fields()
2935 if ((*(u32 *)vals_p & f->field_mask) == 0) in offload_pedit_fields()
2938 *a_masks_p &= ~f->field_mask; in offload_pedit_fields()
2974 field_mask = mask_to_le(f->field_mask, f->field_bsize); in offload_pedit_fields()
[all …]
/drivers/net/ethernet/marvell/octeontx2/af/
Dmbox.h691 u64 field_mask; member
Drvu_nix.c3425 if (req->fields[f] != (reg & req->field_mask)) in rvu_mbox_handler_nix_lso_format_cfg()
/drivers/media/usb/cx231xx/
Dcx231xx-core.c1778 u32 cx231xx_set_field(u32 field_mask, u32 data) in cx231xx_set_field() argument
1782 for (temp = field_mask; (temp & 1) == 0; temp >>= 1) in cx231xx_set_field()
Dcx231xx.h761 u32 cx231xx_set_field(u32 field_mask, u32 data);
/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-core.c1230 field_mask(MCP251XFD_OBJ_FLAGS_SEQ_MCP2517FD_MASK); in mcp251xfd_handle_tefif_one()
1232 field_mask(MCP251XFD_OBJ_FLAGS_SEQ_MCP2517FD_MASK); in mcp251xfd_handle_tefif_one()
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_common.c374 lso->field_mask = GENMASK(18, 0); in otx2_setup_udp_segmentation()