Lines Matching refs:CPU_TO_LE16

355 		cmd->param0 |= CPU_TO_LE16(ICE_AQC_GET_PHY_RQM);  in ice_aq_get_phy_caps()
357 cmd->param0 |= CPU_TO_LE16(report_mode); in ice_aq_get_phy_caps()
668 resp->cmd_flags = CPU_TO_LE16(cmd_flags); in ice_aq_get_link_info()
706 li->lse_ena = !!(resp->cmd_flags & CPU_TO_LE16(ICE_AQ_LSE_IS_ENABLED)); in ice_aq_get_link_info()
763 cmd->tx_tmr_value = CPU_TO_LE16(tx_timer_val); in ice_fill_tx_timer_and_fc_thresh()
769 cmd->fc_refresh_threshold = CPU_TO_LE16(fc_thres_val); in ice_fill_tx_timer_and_fc_thresh()
795 cmd->max_frame_size = CPU_TO_LE16(max_frame_size); in ice_aq_set_mac_cfg()
1798 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD); in ice_aq_send_driver_ver()
1876 cmd_resp->res_id = CPU_TO_LE16(res); in ice_aq_req_res()
1877 cmd_resp->access_type = CPU_TO_LE16(access); in ice_aq_req_res()
1945 cmd->res_id = CPU_TO_LE16(res); in ice_aq_release_res()
2070 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD); in ice_aq_alloc_free_res()
2072 cmd->num_entries = CPU_TO_LE16(num_entries); in ice_aq_alloc_free_res()
2098 buf->num_elems = CPU_TO_LE16(num); in ice_alloc_hw_res()
2099 buf->res_type = CPU_TO_LE16(type | ICE_AQC_RES_TYPE_FLAG_DEDICATED | in ice_alloc_hw_res()
2102 buf->res_type |= CPU_TO_LE16(ICE_AQC_RES_TYPE_FLAG_SCAN_BOTTOM); in ice_alloc_hw_res()
2136 buf->num_elems = CPU_TO_LE16(num); in ice_free_hw_res()
2137 buf->res_type = CPU_TO_LE16(type); in ice_free_hw_res()
2965 cmd->bad_frame_vsi = CPU_TO_LE16(bad_frame_vsi); in ice_aq_set_port_params()
2972 cmd->cmd_flags = CPU_TO_LE16(cmd_flags); in ice_aq_set_port_params()
3207 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD); in ice_aq_set_phy_cfg()
3740 cmd->event_mask = CPU_TO_LE16(mask); in ice_aq_set_event_mask()
3824 desc.flags = CPU_TO_LE16(ICE_AQ_FLAG_RD); in ice_aq_sff_eeprom()
3827 cmd->i2c_bus_addr = CPU_TO_LE16(((bus_addr >> 1) & in ice_aq_sff_eeprom()
3832 cmd->i2c_mem_addr = CPU_TO_LE16(mem_addr & 0xff); in ice_aq_sff_eeprom()
3833 cmd->eeprom_page = CPU_TO_LE16((u16)page << ICE_AQC_SFF_EEPROM_PAGE_S); in ice_aq_sff_eeprom()
3835 cmd->i2c_bus_addr |= CPU_TO_LE16(ICE_AQC_SFF_IS_WRITE); in ice_aq_sff_eeprom()
3946 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD); in __ice_aq_get_set_rss_lut()
3951 cmd_resp->vsi_id = CPU_TO_LE16(((vsi_id << in __ice_aq_get_set_rss_lut()
4007 cmd_resp->flags = CPU_TO_LE16(flags); in __ice_aq_get_set_rss_lut()
4062 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD); in __ice_aq_get_set_rss_key()
4067 cmd_resp->vsi_id = CPU_TO_LE16(((vsi_id << in __ice_aq_get_set_rss_key()
4165 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD); in ice_aq_add_lan_txq()
4209 cmd->vmvf_and_timeout = CPU_TO_LE16((5 << ICE_AQC_Q_DIS_TIMEOUT_S) & in ice_aq_dis_lan_txq()
4216 CPU_TO_LE16(vmvf_num & ICE_AQC_Q_DIS_VMVF_NUM_M); in ice_aq_dis_lan_txq()
4222 CPU_TO_LE16((vmvf_num + hw->func_caps.vf_base_id) & in ice_aq_dis_lan_txq()
4239 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD); in ice_aq_dis_lan_txq()
4311 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD); in ice_aq_move_recfg_lan_txq()
4418 dest_word &= ~(CPU_TO_LE16(mask)); /* get the bits not changing */ in ice_write_word()
4419 dest_word |= CPU_TO_LE16(src_word); /* add in the new bits */ in ice_write_word()
4604 cmd->table_id = CPU_TO_LE16(table_id); in ice_aq_get_internal_data()
4686 src_word &= ~(CPU_TO_LE16(mask)); in ice_read_word()
4931 CPU_TO_LE16(ICE_SCHED_DFLT_RL_PROF_ID); in ice_ena_vsi_txq()
4933 CPU_TO_LE16(ICE_SCHED_DFLT_BW_WT); in ice_ena_vsi_txq()
4935 CPU_TO_LE16(ICE_SCHED_DFLT_RL_PROF_ID); in ice_ena_vsi_txq()
4937 CPU_TO_LE16(ICE_SCHED_DFLT_BW_WT); in ice_ena_vsi_txq()
5032 qg_list->q_id[0] = CPU_TO_LE16(q_ids[i]); in ice_dis_vsi_txq()
5636 cmd->i2c_bus_addr = CPU_TO_LE16(bus_addr); in ice_aq_read_i2c()
5686 cmd->i2c_bus_addr = CPU_TO_LE16(bus_addr); in ice_aq_write_i2c()
6025 desc.flags |= CPU_TO_LE16((u16)ICE_AQ_FLAG_RD); in ice_aq_set_lldp_mib()
6026 desc.datalen = CPU_TO_LE16(buf_size); in ice_aq_set_lldp_mib()
6029 cmd->length = CPU_TO_LE16(buf_size); in ice_aq_set_lldp_mib()
6076 cmd->vsi_num = CPU_TO_LE16(vsi_num); in ice_lldp_fltr_add_remove()