Lines Matching refs:desc
99 struct ice_aq_desc desc;
101 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_clear_pf_cfg);
103 return ice_aq_send_cmd(hw, &desc, NULL, 0, NULL);
127 struct ice_aq_desc desc;
132 cmd = &desc.params.mac_read;
137 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_manage_mac_read);
139 status = ice_aq_send_cmd(hw, &desc, buf, buf_size, cd);
182 struct ice_aq_desc desc;
186 cmd = &desc.params.get_phy;
192 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_get_phy_caps);
198 status = ice_aq_send_cmd(hw, &desc, pcaps, pcaps_size, cd);
253 struct ice_aq_desc desc;
255 cmd = &desc.params.get_link_topo;
257 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_get_link_topo);
265 return ice_aq_send_cmd(pi->hw, &desc, NULL, 0, cd);
423 struct ice_aq_desc desc;
437 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_get_link_status);
439 resp = &desc.params.get_link_status;
443 status = ice_aq_send_cmd(hw, &desc, &link_data, sizeof(link_data), cd);
554 struct ice_aq_desc desc;
556 cmd = &desc.params.set_mac_cfg;
561 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_set_mac_cfg);
567 return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
1369 * @desc: descriptor describing the command
1377 ice_aq_send_cmd(struct ice_hw *hw, struct ice_aq_desc *desc, void *buf,
1380 return ice_sq_send_cmd(hw, &hw->adminq, desc, buf, buf_size, cd);
1393 struct ice_aq_desc desc;
1396 resp = &desc.params.get_ver;
1398 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_get_ver);
1400 status = ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
1430 struct ice_aq_desc desc;
1433 cmd = &desc.params.driver_ver;
1438 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_driver_ver);
1440 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD);
1451 return ice_aq_send_cmd(hw, &desc, dv->driver_string, len, cd);
1465 struct ice_aq_desc desc;
1467 cmd = &desc.params.q_shutdown;
1469 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_q_shutdown);
1474 return ice_aq_send_cmd(hw, &desc, NULL, 0, NULL);
1509 struct ice_aq_desc desc;
1514 cmd_resp = &desc.params.res_owner;
1516 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_req_res);
1524 status = ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
1579 struct ice_aq_desc desc;
1583 cmd = &desc.params.res_owner;
1585 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_release_res);
1590 return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
1698 struct ice_aq_desc desc;
1702 cmd = &desc.params.sw_res_ctrl;
1710 ice_fill_dflt_direct_cmd_desc(&desc, opc);
1712 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD);
1716 return ice_aq_send_cmd(hw, &desc, buf, buf_size, cd);
2311 struct ice_aq_desc desc;
2314 cmd = &desc.params.get_cap;
2320 ice_fill_dflt_direct_cmd_desc(&desc, opc);
2321 status = ice_aq_send_cmd(hw, &desc, buf, buf_size, cd);
2489 struct ice_aq_desc desc;
2491 cmd = &desc.params.mac_write;
2492 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_manage_mac_write);
2497 return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
2508 struct ice_aq_desc desc;
2510 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_clear_pxe_mode);
2511 desc.params.clear_pxe.rx_cnt = ICE_AQC_CLEAR_PXE_RX_CNT;
2513 return ice_aq_send_cmd(hw, &desc, NULL, 0, NULL);
2548 struct ice_aq_desc desc;
2551 cmd = &desc.params.set_port_params;
2553 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_set_port_params);
2563 return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
2758 struct ice_aq_desc desc;
2772 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_set_phy_cfg);
2773 desc.params.set_phy.lport_num = pi->lport;
2774 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD);
2789 status = ice_aq_send_cmd(hw, &desc, cfg, sizeof(*cfg), cd);
3277 struct ice_aq_desc desc;
3279 cmd = &desc.params.restart_an;
3281 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_restart_an);
3290 return ice_aq_send_cmd(pi->hw, &desc, NULL, 0, cd);
3307 struct ice_aq_desc desc;
3309 cmd = &desc.params.set_event_mask;
3311 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_set_event_mask);
3316 return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
3331 struct ice_aq_desc desc;
3333 cmd = &desc.params.set_mac_lb;
3335 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_set_mac_lb);
3339 return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
3356 struct ice_aq_desc desc;
3358 cmd = &desc.params.set_port_id_led;
3360 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_set_port_id_led);
3367 return ice_aq_send_cmd(hw, &desc, NULL, 0, cd);
3391 struct ice_aq_desc desc;
3397 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_sff_eeprom);
3398 cmd = &desc.params.read_write_sff_param;
3399 desc.flags = CPU_TO_LE16(ICE_AQ_FLAG_RD);
3412 status = ice_aq_send_cmd(hw, &desc, data, length, cd);
3429 struct ice_aq_desc desc;
3447 cmd_resp = &desc.params.get_set_rss_lut;
3450 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_set_rss_lut);
3451 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD);
3453 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_get_rss_lut);
3513 status = ice_aq_send_cmd(hw, &desc, lut, lut_size, NULL);
3561 struct ice_aq_desc desc;
3563 cmd_resp = &desc.params.get_set_rss_key;
3566 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_set_rss_key);
3567 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD);
3569 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_get_rss_key);
3577 return ice_aq_send_cmd(hw, &desc, key, key_size, NULL);
3646 struct ice_aq_desc desc;
3651 cmd = &desc.params.add_txqs;
3653 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_add_txqs);
3670 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD);
3674 return ice_aq_send_cmd(hw, &desc, qg_list, buf_size, cd);
3697 struct ice_aq_desc desc;
3702 cmd = &desc.params.dis_txqs;
3703 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_dis_txqs);
3744 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD);
3762 status = ice_aq_send_cmd(hw, &desc, qg_list, buf_size, cd);
3800 struct ice_aq_desc desc;
3803 cmd = &desc.params.move_txqs;
3804 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_move_recfg_txqs);
3816 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD);
3834 status = ice_aq_send_cmd(hw, &desc, buf, buf_size, cd);
4792 struct ice_aq_desc desc;
4795 cmd = &desc.params.read_write_alt_direct;
4797 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_write_alt_direct);
4803 status = ice_aq_send_cmd(hw, &desc, NULL, 0, NULL);
4825 struct ice_aq_desc desc;
4828 cmd = &desc.params.read_write_alt_direct;
4833 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_read_alt_direct);
4837 status = ice_aq_send_cmd(hw, &desc, NULL, 0, NULL);
4861 struct ice_aq_desc desc;
4864 cmd = &desc.params.done_alt_write;
4869 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_done_alt_write);
4872 status = ice_aq_send_cmd(hw, &desc, NULL, 0, NULL);
4889 struct ice_aq_desc desc;
4892 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_clear_port_alt_write);
4894 status = ice_aq_send_cmd(hw, &desc, NULL, 0, NULL);
5185 struct ice_aq_desc desc;
5187 cmd = &desc.params.lldp_set_mib;
5192 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_lldp_set_local_mib);
5194 desc.flags |= CPU_TO_LE16((u16)ICE_AQ_FLAG_RD);
5195 desc.datalen = CPU_TO_LE16(buf_size);
5200 return ice_aq_send_cmd(hw, &desc, buf, buf_size, cd);
5234 struct ice_aq_desc desc;
5236 cmd = &desc.params.lldp_filter_ctrl;
5238 ice_fill_dflt_direct_cmd_desc(&desc, ice_aqc_opc_lldp_filter_ctrl);
5247 return ice_aq_send_cmd(hw, &desc, NULL, 0, NULL);