/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_wol.c | 84 MCDI_IN_SET_DWORD(req, WOL_FILTER_RESET_IN_MASK, in efx_wol_filter_clear() 128 MCDI_IN_SET_DWORD(req, WOL_FILTER_SET_IN_FILTER_MODE, in efx_wol_filter_add() 130 MCDI_IN_SET_DWORD(req, WOL_FILTER_SET_IN_WOL_TYPE, in efx_wol_filter_add() 142 MCDI_IN_SET_DWORD(req, WOL_FILTER_SET_IN_FILTER_MODE, in efx_wol_filter_add() 144 MCDI_IN_SET_DWORD(req, WOL_FILTER_SET_IN_WOL_TYPE, in efx_wol_filter_add() 180 MCDI_IN_SET_DWORD(req, WOL_FILTER_SET_IN_BITMAP_LEN, in efx_wol_filter_add() 186 MCDI_IN_SET_DWORD(req, WOL_FILTER_SET_IN_FILTER_MODE, in efx_wol_filter_add() 188 MCDI_IN_SET_DWORD(req, WOL_FILTER_SET_IN_WOL_TYPE, in efx_wol_filter_add() 246 MCDI_IN_SET_DWORD(req, WOL_FILTER_REMOVE_IN_FILTER_ID, filter_id); in efx_wol_filter_remove() 291 MCDI_IN_SET_DWORD(req, ADD_LIGHTSOUT_OFFLOAD_IN_PROTOCOL, in efx_lightsout_offload_add() [all …]
|
H A D | ef10_rx.c | 69 MCDI_IN_SET_DWORD(req, INIT_RXQ_IN_SIZE, size); in efx_mcdi_init_rxq() 70 MCDI_IN_SET_DWORD(req, INIT_RXQ_IN_TARGET_EVQ, target_evq); in efx_mcdi_init_rxq() 71 MCDI_IN_SET_DWORD(req, INIT_RXQ_IN_LABEL, label); in efx_mcdi_init_rxq() 72 MCDI_IN_SET_DWORD(req, INIT_RXQ_IN_INSTANCE, instance); in efx_mcdi_init_rxq() 80 MCDI_IN_SET_DWORD(req, INIT_RXQ_IN_OWNER_ID, 0); in efx_mcdi_init_rxq() 81 MCDI_IN_SET_DWORD(req, INIT_RXQ_IN_PORT_ID, EVB_PORT_ID_ASSIGNED); in efx_mcdi_init_rxq() 127 MCDI_IN_SET_DWORD(req, FINI_RXQ_IN_INSTANCE, instance); in efx_mcdi_fini_rxq() 183 MCDI_IN_SET_DWORD(req, RSS_CONTEXT_ALLOC_IN_UPSTREAM_PORT_ID, in efx_mcdi_rss_context_alloc() 185 MCDI_IN_SET_DWORD(req, RSS_CONTEXT_ALLOC_IN_TYPE, context_type); in efx_mcdi_rss_context_alloc() 187 MCDI_IN_SET_DWORD(req, RSS_CONTEXT_ALLOC_IN_NUM_QUEUES, num_queues); in efx_mcdi_rss_context_alloc() [all …]
|
H A D | efx_nvram.c | 565 MCDI_IN_SET_DWORD(req, NVRAM_METADATA_IN_TYPE, partn); 656 MCDI_IN_SET_DWORD(req, NVRAM_INFO_IN_TYPE, partn); in efx_mcdi_nvram_info() 713 MCDI_IN_SET_DWORD(req, NVRAM_UPDATE_START_IN_TYPE, partn); in efx_mcdi_nvram_update_start() 756 MCDI_IN_SET_DWORD(req, NVRAM_READ_IN_V2_TYPE, partn); in efx_mcdi_nvram_read() 757 MCDI_IN_SET_DWORD(req, NVRAM_READ_IN_V2_OFFSET, offset); in efx_mcdi_nvram_read() 758 MCDI_IN_SET_DWORD(req, NVRAM_READ_IN_V2_LENGTH, size); in efx_mcdi_nvram_read() 759 MCDI_IN_SET_DWORD(req, NVRAM_READ_IN_V2_MODE, mode); in efx_mcdi_nvram_read() 806 MCDI_IN_SET_DWORD(req, NVRAM_ERASE_IN_TYPE, partn); in efx_mcdi_nvram_erase() 807 MCDI_IN_SET_DWORD(req, NVRAM_ERASE_IN_OFFSET, offset); in efx_mcdi_nvram_erase() 808 MCDI_IN_SET_DWORD(req, NVRAM_ERASE_IN_LENGTH, size); in efx_mcdi_nvram_erase() [all …]
|
H A D | ef10_ev.c | 119 MCDI_IN_SET_DWORD(req, INIT_EVQ_IN_SIZE, nevs); in efx_mcdi_init_evq() 120 MCDI_IN_SET_DWORD(req, INIT_EVQ_IN_INSTANCE, instance); in efx_mcdi_init_evq() 121 MCDI_IN_SET_DWORD(req, INIT_EVQ_IN_IRQ_NUM, irq); in efx_mcdi_init_evq() 142 MCDI_IN_SET_DWORD(req, INIT_EVQ_IN_TMR_MODE, in efx_mcdi_init_evq() 144 MCDI_IN_SET_DWORD(req, INIT_EVQ_IN_TMR_LOAD, 0); in efx_mcdi_init_evq() 145 MCDI_IN_SET_DWORD(req, INIT_EVQ_IN_TMR_RELOAD, 0); in efx_mcdi_init_evq() 147 MCDI_IN_SET_DWORD(req, INIT_EVQ_IN_COUNT_MODE, in efx_mcdi_init_evq() 149 MCDI_IN_SET_DWORD(req, INIT_EVQ_IN_COUNT_THRSHLD, 0); in efx_mcdi_init_evq() 207 MCDI_IN_SET_DWORD(req, FINI_EVQ_IN_INSTANCE, instance); in efx_mcdi_fini_evq() 365 MCDI_IN_SET_DWORD(req, DRIVER_EVENT_IN_EVQ, evq); in efx_mcdi_driver_event() [all …]
|
H A D | ef10_phy.c | 315 MCDI_IN_SET_DWORD(req, SET_LINK_IN_LOOPBACK_MODE, in ef10_phy_reconfigure() 334 MCDI_IN_SET_DWORD(req, SET_LINK_IN_LOOPBACK_MODE, MC_CMD_LOOPBACK_NONE); in ef10_phy_reconfigure() 337 MCDI_IN_SET_DWORD(req, SET_LINK_IN_LOOPBACK_SPEED, speed); in ef10_phy_reconfigure() 340 MCDI_IN_SET_DWORD(req, SET_LINK_IN_FLAGS, epp->ep_phy_flags); in ef10_phy_reconfigure() 342 MCDI_IN_SET_DWORD(req, SET_LINK_IN_FLAGS, 0); in ef10_phy_reconfigure() 376 MCDI_IN_SET_DWORD(req, SET_ID_LED_IN_STATE, led_mode); in ef10_phy_reconfigure() 378 MCDI_IN_SET_DWORD(req, SET_ID_LED_IN_STATE, MC_CMD_LED_DEFAULT); in ef10_phy_reconfigure()
|
H A D | ef10_filter.c | 199 MCDI_IN_SET_DWORD(req, FILTER_OP_IN_HANDLE_LO, in efx_mcdi_filter_op_add() 201 MCDI_IN_SET_DWORD(req, FILTER_OP_IN_HANDLE_HI, in efx_mcdi_filter_op_add() 206 MCDI_IN_SET_DWORD(req, FILTER_OP_IN_OP, filter_op); in efx_mcdi_filter_op_add() 230 MCDI_IN_SET_DWORD(req, FILTER_OP_IN_PORT_ID, in efx_mcdi_filter_op_add() 232 MCDI_IN_SET_DWORD(req, FILTER_OP_IN_MATCH_FIELDS, in efx_mcdi_filter_op_add() 234 MCDI_IN_SET_DWORD(req, FILTER_OP_IN_RX_DEST, in efx_mcdi_filter_op_add() 236 MCDI_IN_SET_DWORD(req, FILTER_OP_IN_RX_QUEUE, in efx_mcdi_filter_op_add() 239 MCDI_IN_SET_DWORD(req, FILTER_OP_IN_RX_CONTEXT, in efx_mcdi_filter_op_add() 242 MCDI_IN_SET_DWORD(req, FILTER_OP_IN_RX_MODE, in efx_mcdi_filter_op_add() 246 MCDI_IN_SET_DWORD(req, FILTER_OP_IN_TX_DEST, in efx_mcdi_filter_op_add() [all …]
|
H A D | siena_phy.c | 301 MCDI_IN_SET_DWORD(req, SET_LINK_IN_LOOPBACK_MODE, in siena_phy_reconfigure() 317 MCDI_IN_SET_DWORD(req, SET_LINK_IN_LOOPBACK_MODE, MC_CMD_LOOPBACK_NONE); in siena_phy_reconfigure() 320 MCDI_IN_SET_DWORD(req, SET_LINK_IN_LOOPBACK_SPEED, speed); in siena_phy_reconfigure() 323 MCDI_IN_SET_DWORD(req, SET_LINK_IN_FLAGS, epp->ep_phy_flags); in siena_phy_reconfigure() 325 MCDI_IN_SET_DWORD(req, SET_LINK_IN_FLAGS, 0); in siena_phy_reconfigure() 359 MCDI_IN_SET_DWORD(req, SET_ID_LED_IN_STATE, led_mode); in siena_phy_reconfigure() 361 MCDI_IN_SET_DWORD(req, SET_ID_LED_IN_STATE, MC_CMD_LED_DEFAULT); in siena_phy_reconfigure() 566 MCDI_IN_SET_DWORD(req, PHY_STATS_IN_DMA_ADDR_LO, in siena_phy_stats_update() 568 MCDI_IN_SET_DWORD(req, PHY_STATS_IN_DMA_ADDR_HI, in siena_phy_stats_update()
|
H A D | efx_mcdi.c | 1032 MCDI_IN_SET_DWORD(req, REBOOT_IN_FLAGS, in efx_mcdi_do_reboot() 1105 MCDI_IN_SET_DWORD(req, GET_ASSERTS_IN_CLEAR, 1); in efx_mcdi_read_assertion() 1196 MCDI_IN_SET_DWORD(req, DRV_ATTACH_IN_NEW_STATE, attach ? 1 : 0); in efx_mcdi_drv_attach() 1197 MCDI_IN_SET_DWORD(req, DRV_ATTACH_IN_UPDATE, 1); in efx_mcdi_drv_attach() 1198 MCDI_IN_SET_DWORD(req, DRV_ATTACH_IN_FIRMWARE_ID, MC_CMD_FW_DONT_CARE); in efx_mcdi_drv_attach() 1640 MCDI_IN_SET_DWORD(req, START_BIST_IN_TYPE, MC_CMD_PHY_BIST); in efx_mcdi_bist_start() 1643 MCDI_IN_SET_DWORD(req, START_BIST_IN_TYPE, in efx_mcdi_bist_start() 1647 MCDI_IN_SET_DWORD(req, START_BIST_IN_TYPE, in efx_mcdi_bist_start() 1651 MCDI_IN_SET_DWORD(req, START_BIST_IN_TYPE, in efx_mcdi_bist_start() 1655 MCDI_IN_SET_DWORD(req, START_BIST_IN_TYPE, in efx_mcdi_bist_start() [all …]
|
H A D | ef10_tx.c | 82 MCDI_IN_SET_DWORD(req, INIT_TXQ_IN_SIZE, size); in efx_mcdi_init_txq() 83 MCDI_IN_SET_DWORD(req, INIT_TXQ_IN_TARGET_EVQ, target_evq); in efx_mcdi_init_txq() 84 MCDI_IN_SET_DWORD(req, INIT_TXQ_IN_LABEL, label); in efx_mcdi_init_txq() 85 MCDI_IN_SET_DWORD(req, INIT_TXQ_IN_INSTANCE, instance); in efx_mcdi_init_txq() 98 MCDI_IN_SET_DWORD(req, INIT_TXQ_IN_OWNER_ID, 0); in efx_mcdi_init_txq() 99 MCDI_IN_SET_DWORD(req, INIT_TXQ_IN_PORT_ID, EVB_PORT_ID_ASSIGNED); in efx_mcdi_init_txq() 147 MCDI_IN_SET_DWORD(req, FINI_TXQ_IN_INSTANCE, instance); in efx_mcdi_fini_txq()
|
H A D | mcdi_mon.c | 327 MCDI_IN_SET_DWORD(req, READ_SENSORS_EXT_IN_DMA_ADDR_LO, addr_lo); in efx_mcdi_read_sensors() 328 MCDI_IN_SET_DWORD(req, READ_SENSORS_EXT_IN_DMA_ADDR_HI, addr_hi); in efx_mcdi_read_sensors() 329 MCDI_IN_SET_DWORD(req, READ_SENSORS_EXT_IN_LENGTH, size); in efx_mcdi_read_sensors() 358 MCDI_IN_SET_DWORD(req, SENSOR_INFO_EXT_IN_PAGE, page++); in efx_mcdi_sensor_info_npages() 403 MCDI_IN_SET_DWORD(req, SENSOR_INFO_EXT_IN_PAGE, page); in efx_mcdi_sensor_info()
|
H A D | ef10_mac.c | 113 MCDI_IN_SET_DWORD(req, VADAPTOR_SET_MAC_IN_UPSTREAM_PORT_ID, in efx_mcdi_vadapter_set_mac() 180 MCDI_IN_SET_DWORD(req, SET_MAC_EXT_IN_MTU, mtu); in efx_mcdi_mtu_set() 247 MCDI_IN_SET_DWORD(req, SET_MAC_IN_MTU, epp->ep_mac_pdu); in ef10_mac_reconfigure() 248 MCDI_IN_SET_DWORD(req, SET_MAC_IN_DRAIN, epp->ep_mac_drain ? 1 : 0); in ef10_mac_reconfigure() 271 MCDI_IN_SET_DWORD(req, SET_MAC_IN_FCNTL, MC_CMD_FCNTL_AUTO); in ef10_mac_reconfigure()
|
H A D | ef10_nic.c | 154 MCDI_IN_SET_DWORD(req, VADAPTOR_ALLOC_IN_UPSTREAM_PORT_ID, port_id); in efx_mcdi_vadaptor_alloc() 191 MCDI_IN_SET_DWORD(req, VADAPTOR_FREE_IN_UPSTREAM_PORT_ID, port_id); in efx_mcdi_vadaptor_free() 286 MCDI_IN_SET_DWORD(req, VPORT_GET_MAC_ADDRESSES_IN_VPORT_ID, 501 MCDI_IN_SET_DWORD(req, ALLOC_VIS_IN_MIN_VI_COUNT, min_vi_count); in efx_mcdi_alloc_vis() 502 MCDI_IN_SET_DWORD(req, ALLOC_VIS_IN_MAX_VI_COUNT, max_vi_count); in efx_mcdi_alloc_vis() 636 MCDI_IN_SET_DWORD(req, FREE_PIOBUF_IN_PIOBUF_HANDLE, handle); in efx_mcdi_free_piobuf() 671 MCDI_IN_SET_DWORD(req, LINK_PIOBUF_IN_PIOBUF_HANDLE, handle); in efx_mcdi_link_piobuf() 672 MCDI_IN_SET_DWORD(req, LINK_PIOBUF_IN_TXQ_INSTANCE, vi_index); in efx_mcdi_link_piobuf() 706 MCDI_IN_SET_DWORD(req, UNLINK_PIOBUF_IN_TXQ_INSTANCE, vi_index); in efx_mcdi_unlink_piobuf()
|
H A D | efx_lic.c | 355 MCDI_IN_SET_DWORD(req, FC_IN_LICENSE_OP, in efx_mcdi_fc_license_update_license() 399 MCDI_IN_SET_DWORD(req, FC_IN_LICENSE_OP, in efx_mcdi_fc_license_get_key_stats() 731 MCDI_IN_SET_DWORD(req, GET_LICENSED_APP_STATE_IN_APP_ID, in efx_mcdi_licensed_app_state() 782 MCDI_IN_SET_DWORD(req, LICENSING_IN_OP, in efx_mcdi_licensing_update_licenses() 826 MCDI_IN_SET_DWORD(req, LICENSING_IN_OP, in efx_mcdi_licensing_get_key_stats() 889 MCDI_IN_SET_DWORD(req, LICENSING_V3_IN_OP, in efx_mcdi_licensing_v3_update_licenses() 926 MCDI_IN_SET_DWORD(req, LICENSING_V3_IN_OP, in efx_mcdi_licensing_v3_report_license() 990 MCDI_IN_SET_DWORD(req, GET_LICENSED_V3_APP_STATE_IN_APP_ID_LO, in efx_mcdi_licensing_v3_app_state() 992 MCDI_IN_SET_DWORD(req, GET_LICENSED_V3_APP_STATE_IN_APP_ID_HI, in efx_mcdi_licensing_v3_app_state()
|
H A D | siena_mac.c | 109 MCDI_IN_SET_DWORD(req, SET_MAC_IN_MTU, epp->ep_mac_pdu); in siena_mac_reconfigure() 110 MCDI_IN_SET_DWORD(req, SET_MAC_IN_DRAIN, epp->ep_mac_drain ? 1 : 0); in siena_mac_reconfigure() 127 MCDI_IN_SET_DWORD(req, SET_MAC_IN_FCNTL, fcntl); in siena_mac_reconfigure()
|
H A D | ef10_intr.c | 97 MCDI_IN_SET_DWORD(req, TRIGGER_INTERRUPT_IN_INTR_LEVEL, level); in efx_mcdi_trigger_interrupt()
|
H A D | efx_mcdi.h | 251 #define MCDI_IN_SET_DWORD(_emr, _ofst, _value) \ macro
|