Searched refs:MCDI_STRUCT_PTR (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | mcdi.h | 208 #define MCDI_STRUCT_PTR(_buf, _field) \ macro 219 *(u8 *)MCDI_STRUCT_PTR(_buf, _field) = _value; \ 232 *MCDI_STRUCT_PTR(_buf, _field)) 241 *(__force __le16 *)MCDI_STRUCT_PTR(_buf, _field) = cpu_to_le16(_value);\ 248 le16_to_cpu(*(__force const __le16 *)MCDI_STRUCT_PTR(_buf, _field))) 258 *(__force __be16 *)MCDI_STRUCT_PTR(_buf, _field) = (_value); \ 272 *(__force __be32 *)MCDI_STRUCT_PTR(_buf, _field) = (_value); \
|
H A D | mae.c | 1507 memcpy(MCDI_STRUCT_PTR(match_crit, MAE_ENC_FIELD_PAIRS_ENC_SRC_IP6_BE), in efx_mae_register_encap_match() 1509 memset(MCDI_STRUCT_PTR(match_crit, MAE_ENC_FIELD_PAIRS_ENC_SRC_IP6_BE_MASK), in efx_mae_register_encap_match() 1511 memcpy(MCDI_STRUCT_PTR(match_crit, MAE_ENC_FIELD_PAIRS_ENC_DST_IP6_BE), in efx_mae_register_encap_match() 1513 memset(MCDI_STRUCT_PTR(match_crit, MAE_ENC_FIELD_PAIRS_ENC_DST_IP6_BE_MASK), in efx_mae_register_encap_match() 1605 memcpy(MCDI_STRUCT_PTR(match_crit, MAE_ENC_FIELD_PAIRS_ENC_ETH_SADDR_BE), in efx_mae_populate_lhs_match_criteria() 1607 memcpy(MCDI_STRUCT_PTR(match_crit, MAE_ENC_FIELD_PAIRS_ENC_ETH_SADDR_BE_MASK), in efx_mae_populate_lhs_match_criteria() 1609 memcpy(MCDI_STRUCT_PTR(match_crit, MAE_ENC_FIELD_PAIRS_ENC_ETH_DADDR_BE), in efx_mae_populate_lhs_match_criteria() 1611 memcpy(MCDI_STRUCT_PTR(match_crit, MAE_ENC_FIELD_PAIRS_ENC_ETH_DADDR_BE_MASK), in efx_mae_populate_lhs_match_criteria() 1642 memcpy(MCDI_STRUCT_PTR(match_crit, MAE_ENC_FIELD_PAIRS_ENC_SRC_IP6_BE), in efx_mae_populate_lhs_match_criteria() 1644 memcpy(MCDI_STRUCT_PTR(match_crit, MAE_ENC_FIELD_PAIRS_ENC_SRC_IP6_BE_MASK), in efx_mae_populate_lhs_match_criteria() [all …]
|