Searched refs:MCDI_PTR (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/net/ethernet/sfc/ |
D | mcdi.h | 204 #define MCDI_PTR(_buf, _field) \ macro 213 *MCDI_PTR(_buf, _field)) 216 le16_to_cpu(*(__force const __le16 *)MCDI_PTR(_buf, _field)))
|
D | mcdi_port.c | 62 memcpy(cfg->name, MCDI_PTR(outbuf, GET_PHY_CFG_OUT_NAME), in efx_mcdi_get_phy_cfg() 66 memcpy(cfg->revision, MCDI_PTR(outbuf, GET_PHY_CFG_OUT_REVISION), in efx_mcdi_get_phy_cfg() 825 ptr = MCDI_PTR(outbuf, POLL_BIST_OUT_SFT9001_CABLE_LENGTH_A); in efx_mcdi_bist() 961 memcpy(data, MCDI_PTR(outbuf, GET_PHY_MEDIA_INFO_OUT_DATA) + offset, in efx_mcdi_phy_get_module_eeprom_page() 1185 ether_addr_copy(MCDI_PTR(cmdbytes, SET_MAC_IN_ADDR), in efx_mcdi_set_mac()
|
D | mcdi.c | 1422 ver_words = (__le16 *)MCDI_PTR(outbuf, GET_VERSION_OUT_VERSION); in efx_mcdi_print_fwver() 1545 MCDI_PTR(outbuf, GET_BOARD_CFG_OUT_MAC_ADDR_BASE_PORT1) : in efx_mcdi_get_board_cfg() 1546 MCDI_PTR(outbuf, GET_BOARD_CFG_OUT_MAC_ADDR_BASE_PORT0)); in efx_mcdi_get_board_cfg() 1900 ether_addr_copy(MCDI_PTR(inbuf, WOL_FILTER_SET_IN_MAGIC_MAC), mac); in efx_mcdi_wol_filter_set() 2107 memcpy(buffer, MCDI_PTR(outbuf, NVRAM_READ_OUT_READ_BUFFER), length); in efx_mcdi_nvram_read() 2121 memcpy(MCDI_PTR(inbuf, NVRAM_WRITE_IN_WRITE_BUFFER), buffer, length); in efx_mcdi_nvram_write()
|
D | ef10.c | 478 MCDI_PTR(outbuf, GET_MAC_ADDRESSES_OUT_MAC_ADDR_BASE)); in efx_ef10_get_mac_address_pf() 505 MCDI_PTR(outbuf, VPORT_GET_MAC_ADDRESSES_OUT_MACADDR)); in efx_ef10_get_mac_address_vf() 1184 ether_addr_copy(MCDI_PTR(inbuf, VPORT_ADD_MAC_ADDRESS_IN_MACADDR), mac); in efx_ef10_vport_add_mac() 1196 ether_addr_copy(MCDI_PTR(inbuf, VPORT_DEL_MAC_ADDRESS_IN_MACADDR), mac); in efx_ef10_vport_del_mac() 2802 MCDI_PTR(tablebuf, in efx_ef10_populate_rss_table() 2816 MCDI_PTR(keybuf, RSS_CONTEXT_SET_KEY_IN_TOEPLITZ_KEY)[i] = key[i]; in efx_ef10_populate_rss_table() 2954 ctx->rx_indir_table[i] = MCDI_PTR(tablebuf, in efx_ef10_rx_pull_rss_context_config() 2970 ctx->rx_hash_key[i] = MCDI_PTR( in efx_ef10_rx_pull_rss_context_config() 3215 memcpy(MCDI_PTR(inbuf, DRIVER_EVENT_IN_DATA), &event.u64[0], in efx_ef10_rx_defer_refill() 3935 memcpy(MCDI_PTR(inbuf, DRIVER_EVENT_IN_DATA), &event.u64[0], in efx_ef10_ev_test_generate() [all …]
|
D | ef10_sriov.c | 481 ether_addr_copy(MCDI_PTR(inbuf, VPORT_DEL_MAC_ADDRESS_IN_MACADDR), mac); in efx_ef10_vport_del_vf_mac()
|
D | siena.c | 652 memcpy(MCDI_PTR(inbuf, SET_MCAST_HASH_IN_HASH0), in siena_mac_reconfigure()
|
D | ptp.c | 1098 MCDI_PTR(ptp_data->txbuf, in efx_ptp_xmit_skb_mc()
|