Home
last modified time | relevance | path

Searched refs:MCDI_PTR (Results 1 – 16 of 16) sorted by relevance

/openbmc/linux/drivers/net/ethernet/sfc/
H A Defx_devlink.c114 ether_addr_copy(MCDI_PTR(inbuf, SET_CLIENT_MAC_ADDRESSES_IN_MAC_ADDRS), in efx_devlink_port_addr_set()
252 MCDI_PTR(outbuf, GET_VERSION_V2_OUT_BOARD_NAME)); in efx_devlink_info_running_v2()
267 ver.str = MCDI_PTR(outbuf, GET_VERSION_V2_OUT_BOARD_SERIAL); in efx_devlink_info_running_v2()
273 ver.dwords = (__le32 *)MCDI_PTR(outbuf, in efx_devlink_info_running_v2()
280 ver.str = MCDI_PTR(outbuf, GET_VERSION_V2_OUT_FPGA_EXTRA); in efx_devlink_info_running_v2()
291 ver.dwords = (__le32 *)MCDI_PTR(outbuf, in efx_devlink_info_running_v2()
314 ver.words = (__le16 *)MCDI_PTR(outbuf, GET_VERSION_V2_OUT_VERSION); in efx_devlink_info_running_v2()
322 MCDI_PTR(outbuf, GET_VERSION_V2_OUT_MCFW_BUILD_NAME)); in efx_devlink_info_running_v2()
329 ver.dwords = (__le32 *)MCDI_PTR(outbuf, in efx_devlink_info_running_v2()
364 ver.dwords = (__le32 *)MCDI_PTR(outbuf, in efx_devlink_info_running_v3()
[all …]
H A Dmcdi.h202 #define MCDI_PTR(_buf, _field) \ macro
229 *MCDI_PTR(_buf, _field))
236 *(__force __le16 *)MCDI_PTR(_buf, _field) = cpu_to_le16(_value);\
245 le16_to_cpu(*(__force const __le16 *)MCDI_PTR(_buf, _field)))
253 *(__force __be16 *)MCDI_PTR(_buf, _field) = (_value); \
H A Dmcdi_port_common.c41 memcpy(cfg->name, MCDI_PTR(outbuf, GET_PHY_CFG_OUT_NAME), in efx_mcdi_get_phy_cfg()
45 memcpy(cfg->revision, MCDI_PTR(outbuf, GET_PHY_CFG_OUT_REVISION), in efx_mcdi_get_phy_cfg()
797 ptr = MCDI_PTR(outbuf, POLL_BIST_OUT_SFT9001_CABLE_LENGTH_A); in efx_mcdi_bist()
932 memcpy(data, MCDI_PTR(outbuf, GET_PHY_MEDIA_INFO_OUT_DATA) + offset, in efx_mcdi_phy_get_module_eeprom_page()
1104 ether_addr_copy(MCDI_PTR(cmdbytes, SET_MAC_IN_ADDR), in efx_mcdi_set_mac()
H A Dmcdi.c1420 ver_words = (__le16 *)MCDI_PTR(outbuf, GET_VERSION_OUT_VERSION); in efx_mcdi_print_fwver()
1539 MCDI_PTR(outbuf, GET_BOARD_CFG_OUT_MAC_ADDR_BASE_PORT1) : in efx_mcdi_get_board_cfg()
1540 MCDI_PTR(outbuf, GET_BOARD_CFG_OUT_MAC_ADDR_BASE_PORT0)); in efx_mcdi_get_board_cfg()
1637 memcpy(nvram_types, MCDI_PTR(outbuf, NVRAM_PARTITIONS_OUT_TYPE_ID), in efx_new_mcdi_nvram_types()
1954 ether_addr_copy(MCDI_PTR(inbuf, WOL_FILTER_SET_IN_MAGIC_MAC), mac); in efx_mcdi_wol_filter_set()
2209 MCDI_PTR(outbuf, NVRAM_METADATA_OUT_DESCRIPTION), in efx_mcdi_nvram_metadata()
2285 memcpy(buffer, MCDI_PTR(outbuf, NVRAM_READ_OUT_READ_BUFFER), length); in efx_mcdi_nvram_read()
2299 memcpy(MCDI_PTR(inbuf, NVRAM_WRITE_IN_WRITE_BUFFER), buffer, length); in efx_mcdi_nvram_write()
H A Dmae.c969 memcpy(MCDI_PTR(inbuf, MAE_ENCAP_HEADER_ALLOC_IN_HDR_DATA), in efx_mae_allocate_encap_md()
998 memcpy(MCDI_PTR(inbuf, MAE_ENCAP_HEADER_UPDATE_IN_HDR_DATA), in efx_mae_update_encap_md()
1242 memcpy(MCDI_PTR(inbuf, MAE_MAC_ADDR_ALLOC_IN_MAC_ADDR), ped->h_addr, in efx_mae_allocate_pedit_mac()
1971 memcpy(MCDI_PTR(inbuf, TABLE_INSERT_IN_DATA), key, kw * sizeof(__le32)); in efx_mae_insert_ct()
1972 memcpy(MCDI_PTR(inbuf, TABLE_INSERT_IN_DATA) + kw * sizeof(__le32), in efx_mae_insert_ct()
2020 memcpy(MCDI_PTR(inbuf, TABLE_DELETE_IN_DATA), key, kw * sizeof(__le32)); in efx_mae_remove_ct()
H A Dmcdi_filters.c118 memcpy(MCDI_PTR(inbuf, FILTER_OP_IN_ ## mcdi_field), \ in efx_mcdi_filter_push_prep_set_match_fields()
2011 MCDI_PTR(tablebuf, in efx_mcdi_filter_populate_rss_table()
2025 MCDI_PTR(keybuf, RSS_CONTEXT_SET_KEY_IN_TOEPLITZ_KEY)[i] = key[i]; in efx_mcdi_filter_populate_rss_table()
2163 ctx->rx_indir_table[i] = MCDI_PTR(tablebuf, in efx_mcdi_rx_pull_rss_context_config()
2179 ctx->rx_hash_key[i] = MCDI_PTR( in efx_mcdi_rx_pull_rss_context_config()
H A Def10.c341 MCDI_PTR(outbuf, GET_MAC_ADDRESSES_OUT_MAC_ADDR_BASE)); in efx_ef10_get_mac_address_pf()
368 MCDI_PTR(outbuf, VPORT_GET_MAC_ADDRESSES_OUT_MACADDR)); in efx_ef10_get_mac_address_vf()
1046 ether_addr_copy(MCDI_PTR(inbuf, VPORT_ADD_MAC_ADDRESS_IN_MACADDR), mac); in efx_ef10_vport_add_mac()
1058 ether_addr_copy(MCDI_PTR(inbuf, VPORT_DEL_MAC_ADDRESS_IN_MACADDR), mac); in efx_ef10_vport_del_mac()
2641 memcpy(MCDI_PTR(inbuf, DRIVER_EVENT_IN_DATA), &event.u64[0], in efx_ef10_rx_defer_refill()
3221 memcpy(MCDI_PTR(inbuf, DRIVER_EVENT_IN_DATA), &event.u64[0], in efx_ef10_ev_test_generate()
3339 ether_addr_copy(MCDI_PTR(inbuf, VADAPTOR_SET_MAC_IN_MACADDR), in efx_ef10_set_mac_address()
H A Def100_nic.c152 MCDI_PTR(outbuf, GET_CLIENT_MAC_ADDRESSES_OUT_MAC_ADDRS)); in ef100_get_mac_address()
706 memcpy(MCDI_PTR(inbuf, DRIVER_EVENT_IN_DATA), &event.u64[0], in efx_ef100_ev_test_generate()
H A Def10_sriov.c479 ether_addr_copy(MCDI_PTR(inbuf, VPORT_DEL_MAC_ADDRESS_IN_MACADDR), mac); in efx_ef10_vport_del_vf_mac()
H A Dptp.c1139 MCDI_PTR(ptp_data->txbuf, in efx_ptp_xmit_skb_mc()
/openbmc/linux/drivers/cdx/controller/
H A Dmcdi.h210 #define MCDI_PTR(_buf, _field) \ macro
220 *MCDI_PTR(_buf, _field))
223 le16_to_cpu(*(__force const __le16 *)MCDI_PTR(_buf, _field)))
/openbmc/linux/drivers/net/ethernet/sfc/siena/
H A Dmcdi.h204 #define MCDI_PTR(_buf, _field) \ macro
213 *MCDI_PTR(_buf, _field))
216 le16_to_cpu(*(__force const __le16 *)MCDI_PTR(_buf, _field)))
H A Dmcdi_port_common.c42 memcpy(cfg->name, MCDI_PTR(outbuf, GET_PHY_CFG_OUT_NAME), in efx_mcdi_get_phy_cfg()
46 memcpy(cfg->revision, MCDI_PTR(outbuf, GET_PHY_CFG_OUT_REVISION), in efx_mcdi_get_phy_cfg()
803 ptr = MCDI_PTR(outbuf, POLL_BIST_OUT_SFT9001_CABLE_LENGTH_A); in efx_mcdi_bist()
940 memcpy(data, MCDI_PTR(outbuf, GET_PHY_MEDIA_INFO_OUT_DATA) + offset, in efx_mcdi_phy_get_module_eeprom_page()
1110 ether_addr_copy(MCDI_PTR(cmdbytes, SET_MAC_IN_ADDR), in efx_siena_mcdi_set_mac()
H A Dmcdi.c1432 ver_words = (__le16 *)MCDI_PTR(outbuf, GET_VERSION_OUT_VERSION); in efx_siena_mcdi_print_fwver()
1551 MCDI_PTR(outbuf, GET_BOARD_CFG_OUT_MAC_ADDR_BASE_PORT1) : in efx_siena_mcdi_get_board_cfg()
1552 MCDI_PTR(outbuf, GET_BOARD_CFG_OUT_MAC_ADDR_BASE_PORT0)); in efx_siena_mcdi_get_board_cfg()
1906 ether_addr_copy(MCDI_PTR(inbuf, WOL_FILTER_SET_IN_MAGIC_MAC), mac); in efx_mcdi_wol_filter_set()
2060 memcpy(buffer, MCDI_PTR(outbuf, NVRAM_READ_OUT_READ_BUFFER), length); in efx_mcdi_nvram_read()
2074 memcpy(MCDI_PTR(inbuf, NVRAM_WRITE_IN_WRITE_BUFFER), buffer, length); in efx_mcdi_nvram_write()
H A Dsiena.c657 memcpy(MCDI_PTR(inbuf, SET_MCAST_HASH_IN_HASH0), in siena_mac_reconfigure()
H A Dptp.c1127 MCDI_PTR(ptp_data->txbuf, in efx_ptp_xmit_skb_mc()