/drivers/net/ethernet/sfc/siena/ |
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_common.c | 42 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()
|
D | mcdi.c | 1432 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()
|
D | siena.c | 657 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()
|
/drivers/net/ethernet/sfc/ |
D | mcdi.h | 202 #define MCDI_PTR(_buf, _field) \ macro 223 *MCDI_PTR(_buf, _field)) 226 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() 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()
|
D | mcdi.c | 1427 ver_words = (__le16 *)MCDI_PTR(outbuf, GET_VERSION_OUT_VERSION); in efx_mcdi_print_fwver() 1546 MCDI_PTR(outbuf, GET_BOARD_CFG_OUT_MAC_ADDR_BASE_PORT1) : in efx_mcdi_get_board_cfg() 1547 MCDI_PTR(outbuf, GET_BOARD_CFG_OUT_MAC_ADDR_BASE_PORT0)); in efx_mcdi_get_board_cfg() 1644 memcpy(nvram_types, MCDI_PTR(outbuf, NVRAM_PARTITIONS_OUT_TYPE_ID), in efx_new_mcdi_nvram_types() 1961 ether_addr_copy(MCDI_PTR(inbuf, WOL_FILTER_SET_IN_MAGIC_MAC), mac); in efx_mcdi_wol_filter_set() 2220 memcpy(buffer, MCDI_PTR(outbuf, NVRAM_READ_OUT_READ_BUFFER), length); in efx_mcdi_nvram_read() 2234 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() 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()
|
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() 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()
|
D | ef100_nic.c | 149 MCDI_PTR(outbuf, GET_MAC_ADDRESSES_OUT_MAC_ADDR_BASE)); in ef100_get_mac_address() 696 memcpy(MCDI_PTR(inbuf, DRIVER_EVENT_IN_DATA), &event.u64[0], in efx_ef100_ev_test_generate()
|
D | ef10_sriov.c | 479 ether_addr_copy(MCDI_PTR(inbuf, VPORT_DEL_MAC_ADDRESS_IN_MACADDR), mac); in efx_ef10_vport_del_vf_mac()
|
D | ptp.c | 1159 MCDI_PTR(ptp_data->txbuf, in efx_ptp_xmit_skb_mc()
|