Searched refs:MCDI_PTR (Results 1 – 9 of 9) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/ |
D | mcdi.h | 202 #define MCDI_PTR(_buf, _field) \ macro 211 *MCDI_PTR(_buf, _field)) 214 le16_to_cpu(*(__force const __le16 *)MCDI_PTR(_buf, _field)))
|
D | mcdi_port_common.c | 41 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() 799 ptr = MCDI_PTR(outbuf, POLL_BIST_OUT_SFT9001_CABLE_LENGTH_A); in efx_mcdi_bist() 934 memcpy(data, MCDI_PTR(outbuf, GET_PHY_MEDIA_INFO_OUT_DATA) + offset, in efx_mcdi_phy_get_module_eeprom_page() 1103 ether_addr_copy(MCDI_PTR(cmdbytes, SET_MAC_IN_ADDR), in efx_mcdi_set_mac()
|
D | mcdi.c | 1429 ver_words = (__le16 *)MCDI_PTR(outbuf, GET_VERSION_OUT_VERSION); in efx_mcdi_print_fwver() 1547 MCDI_PTR(outbuf, GET_BOARD_CFG_OUT_MAC_ADDR_BASE_PORT1) : in efx_mcdi_get_board_cfg() 1548 MCDI_PTR(outbuf, GET_BOARD_CFG_OUT_MAC_ADDR_BASE_PORT0)); in efx_mcdi_get_board_cfg() 1645 memcpy(nvram_types, MCDI_PTR(outbuf, NVRAM_PARTITIONS_OUT_TYPE_ID), in efx_new_mcdi_nvram_types() 1962 ether_addr_copy(MCDI_PTR(inbuf, WOL_FILTER_SET_IN_MAGIC_MAC), mac); in efx_mcdi_wol_filter_set() 2175 memcpy(buffer, MCDI_PTR(outbuf, NVRAM_READ_OUT_READ_BUFFER), length); in efx_mcdi_nvram_read() 2189 memcpy(MCDI_PTR(inbuf, NVRAM_WRITE_IN_WRITE_BUFFER), buffer, length); in efx_mcdi_nvram_write()
|
D | mcdi_filters.c | 118 memcpy(MCDI_PTR(inbuf, FILTER_OP_IN_ ## mcdi_field), \ in efx_mcdi_filter_push_prep_set_match_fields() 2007 MCDI_PTR(tablebuf, in efx_mcdi_filter_populate_rss_table() 2021 MCDI_PTR(keybuf, RSS_CONTEXT_SET_KEY_IN_TOEPLITZ_KEY)[i] = key[i]; in efx_mcdi_filter_populate_rss_table() 2159 ctx->rx_indir_table[i] = MCDI_PTR(tablebuf, in efx_mcdi_rx_pull_rss_context_config() 2175 ctx->rx_hash_key[i] = MCDI_PTR( in efx_mcdi_rx_pull_rss_context_config()
|
D | ef10.c | 341 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() 1047 ether_addr_copy(MCDI_PTR(inbuf, VPORT_ADD_MAC_ADDRESS_IN_MACADDR), mac); in efx_ef10_vport_add_mac() 1059 ether_addr_copy(MCDI_PTR(inbuf, VPORT_DEL_MAC_ADDRESS_IN_MACADDR), mac); in efx_ef10_vport_del_mac() 2594 memcpy(MCDI_PTR(inbuf, DRIVER_EVENT_IN_DATA), &event.u64[0], in efx_ef10_rx_defer_refill() 3163 memcpy(MCDI_PTR(inbuf, DRIVER_EVENT_IN_DATA), &event.u64[0], in efx_ef10_ev_test_generate() 3262 ether_addr_copy(MCDI_PTR(inbuf, VADAPTOR_SET_MAC_IN_MACADDR), in efx_ef10_set_mac_address()
|
D | ef100_nic.c | 145 MCDI_PTR(outbuf, GET_MAC_ADDRESSES_OUT_MAC_ADDR_BASE)); in ef100_get_mac_address() 655 memcpy(MCDI_PTR(inbuf, DRIVER_EVENT_IN_DATA), &event.u64[0], in efx_ef100_ev_test_generate()
|
D | ef10_sriov.c | 476 ether_addr_copy(MCDI_PTR(inbuf, VPORT_DEL_MAC_ADDRESS_IN_MACADDR), mac); in efx_ef10_vport_del_vf_mac()
|
D | siena.c | 654 memcpy(MCDI_PTR(inbuf, SET_MCAST_HASH_IN_HASH0), in siena_mac_reconfigure()
|
D | ptp.c | 1127 MCDI_PTR(ptp_data->txbuf, in efx_ptp_xmit_skb_mc()
|