Lines Matching refs:mxge_send_cmd

145 static int mxge_send_cmd(mxge_softc_t *sc, uint32_t cmd, mxge_cmd_t *data);
487 status = mxge_send_cmd(sc, test_type, &cmd); in mxge_dma_test()
497 status = mxge_send_cmd(sc, test_type, &cmd); in mxge_dma_test()
508 status = mxge_send_cmd(sc, test_type, &cmd); in mxge_dma_test()
810 mxge_send_cmd(mxge_softc_t *sc, uint32_t cmd, mxge_cmd_t *data) in mxge_send_cmd() function
1027 status = mxge_send_cmd(sc, MXGEFW_SET_MAC_ADDRESS, &cmd); in mxge_update_mac_address()
1038 status = mxge_send_cmd(sc, MXGEFW_ENABLE_FLOW_CONTROL, in mxge_change_pause()
1041 status = mxge_send_cmd(sc, MXGEFW_DISABLE_FLOW_CONTROL, in mxge_change_pause()
1062 status = mxge_send_cmd(sc, MXGEFW_ENABLE_PROMISC, in mxge_change_promisc()
1065 status = mxge_send_cmd(sc, MXGEFW_DISABLE_PROMISC, in mxge_change_promisc()
1091 ctx->error = mxge_send_cmd(ctx->sc, MXGEFW_JOIN_MULTICAST_GROUP, &cmd); in mxge_add_maddr()
1109 err = mxge_send_cmd(sc, MXGEFW_ENABLE_ALLMULTI, &cmd); in mxge_set_multicast_list()
1125 err = mxge_send_cmd(sc, MXGEFW_LEAVE_ALL_MULTICAST_GROUPS, &cmd); in mxge_set_multicast_list()
1145 err = mxge_send_cmd(sc, MXGEFW_DISABLE_ALLMULTI, &cmd); in mxge_set_multicast_list()
1164 status = mxge_send_cmd(sc, MXGEFW_CMD_ALWAYS_USE_N_BIG_BUFFERS, in mxge_max_mtu()
1185 status = mxge_send_cmd(sc, MXGEFW_CMD_RESET, &cmd); in mxge_reset()
1195 status = mxge_send_cmd(sc, MXGEFW_CMD_SET_INTRQ_SIZE, &cmd); in mxge_reset()
1210 status = mxge_send_cmd(sc, MXGEFW_CMD_GET_MAX_RSS_QUEUES, in mxge_reset()
1224 status = mxge_send_cmd(sc, MXGEFW_CMD_ENABLE_RSS_QUEUES, in mxge_reset()
1241 status |= mxge_send_cmd(sc, in mxge_reset()
1247 status |= mxge_send_cmd(sc, in mxge_reset()
1252 status |= mxge_send_cmd(sc, MXGEFW_CMD_GET_IRQ_ACK_OFFSET, &cmd); in mxge_reset()
1255 status |= mxge_send_cmd(sc, MXGEFW_CMD_GET_IRQ_DEASSERT_OFFSET, in mxge_reset()
1300 if (mxge_send_cmd(sc, MXGEFW_CMD_SET_THROTTLE_FACTOR, in mxge_reset()
1332 err = mxge_send_cmd(sc, MXGEFW_CMD_SET_THROTTLE_FACTOR, &cmd); in mxge_change_throttle()
2905 err = mxge_send_cmd(sc, MXGEFW_CMD_I2C_READ, &cmd); in mxge_media_probe()
2918 err = mxge_send_cmd(sc, MXGEFW_CMD_I2C_BYTE, &cmd); in mxge_media_probe()
2922 err = mxge_send_cmd(sc, MXGEFW_CMD_I2C_BYTE, &cmd); in mxge_media_probe()
3339 err = mxge_send_cmd(sc, MXGEFW_CMD_GET_SEND_RING_SIZE, &cmd); in mxge_alloc_rings()
3412 err = mxge_send_cmd(sc, MXGEFW_CMD_GET_SEND_OFFSET, &cmd); in mxge_slice_open()
3421 err |= mxge_send_cmd(sc, in mxge_slice_open()
3426 err |= mxge_send_cmd(sc, MXGEFW_CMD_GET_BIG_RX_OFFSET, &cmd); in mxge_slice_open()
3487 err = mxge_send_cmd(sc, MXGEFW_CMD_SET_RSS_TABLE_SIZE, in mxge_open()
3490 err |= mxge_send_cmd(sc, MXGEFW_CMD_GET_RSS_TABLE_OFFSET, in mxge_open()
3505 err = mxge_send_cmd(sc, MXGEFW_CMD_SET_RSS_ENABLE, &cmd); in mxge_open()
3515 err = mxge_send_cmd(sc, MXGEFW_CMD_ALWAYS_USE_N_BIG_BUFFERS, in mxge_open()
3529 err = mxge_send_cmd(sc, MXGEFW_CMD_SET_MTU, &cmd); in mxge_open()
3531 err |= mxge_send_cmd(sc, MXGEFW_CMD_SET_SMALL_BUFFER_SIZE, in mxge_open()
3534 err |= mxge_send_cmd(sc, MXGEFW_CMD_SET_BIG_BUFFER_SIZE, &cmd); in mxge_open()
3550 err |= mxge_send_cmd(sc, MXGEFW_CMD_SET_STATS_DMA_V2, &cmd); in mxge_open()
3558 err = mxge_send_cmd(sc, in mxge_open()
3582 err = mxge_send_cmd(sc, MXGEFW_CMD_ETHERNET_UP, &cmd); in mxge_open()
3619 err = mxge_send_cmd(sc, MXGEFW_CMD_ETHERNET_DOWN, &cmd); in mxge_close()
3980 err = mxge_send_cmd(sc, MXGEFW_CMD_I2C_READ, &cmd); in mxge_fetch_i2c()
3986 err = mxge_send_cmd(sc, MXGEFW_CMD_I2C_BYTE, &cmd); in mxge_fetch_i2c()
3989 err = mxge_send_cmd(sc, MXGEFW_CMD_I2C_BYTE, &cmd); in mxge_fetch_i2c()
4254 err = mxge_send_cmd(sc, MXGEFW_CMD_GET_RX_RING_SIZE, &cmd); in mxge_alloc_slices()
4342 status = mxge_send_cmd(sc, MXGEFW_CMD_RESET, &cmd); in mxge_slice_probe()
4349 status = mxge_send_cmd(sc, MXGEFW_CMD_GET_RX_RING_SIZE, &cmd); in mxge_slice_probe()
4358 status = mxge_send_cmd(sc, MXGEFW_CMD_SET_INTRQ_SIZE, &cmd); in mxge_slice_probe()
4365 status = mxge_send_cmd(sc, MXGEFW_CMD_GET_MAX_RSS_QUEUES, &cmd); in mxge_slice_probe()
4753 if (!mxge_send_cmd(sc, MXGEFW_CMD_GET_MAX_TSO6_HDR_SIZE, &cmd)) { in mxge_attach()