Lines Matching refs:CPU_TO_LE16

538 		cmd->param0 |= CPU_TO_LE16(ICE_AQC_GET_PHY_RQM);  in ice_aq_get_phy_caps()
540 cmd->param0 |= CPU_TO_LE16(report_mode); in ice_aq_get_phy_caps()
626 buf.sto.txrx_equa_reqs.data_in = CPU_TO_LE16(data_in); in ice_aq_get_phy_equalization()
628 CPU_TO_LE16(op_code | (serdes_num & 0xF)); in ice_aq_get_phy_equalization()
632 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_BUF | ICE_AQ_FLAG_RD | in ice_aq_get_phy_equalization()
634 desc.datalen = CPU_TO_LE16(sizeof(struct ice_aqc_dnl_call)); in ice_aq_get_phy_equalization()
635 cmd->activity_id = CPU_TO_LE16(ICE_AQC_ACT_ID_DNL); in ice_aq_get_phy_equalization()
696 resp->cmd_flags = CPU_TO_LE16(cmd_flags); in ice_aq_get_link_info()
733 li->lse_ena = !!(resp->cmd_flags & CPU_TO_LE16(ICE_AQ_LSE_IS_ENABLED)); in ice_aq_get_link_info()
789 cmd->tx_tmr_value = CPU_TO_LE16(tx_timer_val); in ice_fill_tx_timer_and_fc_thresh()
799 cmd->tx_tmr_value = CPU_TO_LE16(tx_timer_val); in ice_fill_tx_timer_and_fc_thresh()
806 cmd->fc_refresh_threshold = CPU_TO_LE16(fc_thres_val); in ice_fill_tx_timer_and_fc_thresh()
832 cmd->max_frame_size = CPU_TO_LE16(max_frame_size); in ice_aq_set_mac_cfg()
1808 msg.msg_addr_low = CPU_TO_LE16(in->msg_addr_low); in ice_sbq_rw_reg_lp()
1819 desc.flags = CPU_TO_LE16(flag); in ice_sbq_rw_reg_lp()
1820 desc.opcode = CPU_TO_LE16(ice_sbq_opc_neigh_dev_req); in ice_sbq_rw_reg_lp()
1821 desc.param0.cmd_len = CPU_TO_LE16(msg_len); in ice_sbq_rw_reg_lp()
2029 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD); in ice_aq_send_driver_ver()
2107 cmd_resp->res_id = CPU_TO_LE16(res); in ice_aq_req_res()
2108 cmd_resp->access_type = CPU_TO_LE16(access); in ice_aq_req_res()
2176 cmd->res_id = CPU_TO_LE16(res); in ice_aq_release_res()
2301 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD); in ice_aq_alloc_free_res()
2303 cmd->num_entries = CPU_TO_LE16(num_entries); in ice_aq_alloc_free_res()
2329 buf->num_elems = CPU_TO_LE16(num); in ice_alloc_hw_res()
2330 buf->res_type = CPU_TO_LE16(type | ICE_AQC_RES_TYPE_FLAG_DEDICATED | in ice_alloc_hw_res()
2333 buf->res_type |= CPU_TO_LE16(ICE_AQC_RES_TYPE_FLAG_SCAN_BOTTOM); in ice_alloc_hw_res()
2367 buf->num_elems = CPU_TO_LE16(num); in ice_free_hw_res()
2368 buf->res_type = CPU_TO_LE16(type); in ice_free_hw_res()
3375 cmd->bad_frame_vsi = CPU_TO_LE16(bad_frame_vsi); in ice_aq_set_port_params()
3382 cmd->cmd_flags = CPU_TO_LE16(cmd_flags); in ice_aq_set_port_params()
3627 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD); in ice_aq_set_phy_cfg()
4182 cmd->event_mask = CPU_TO_LE16(mask); in ice_aq_set_event_mask()
4266 desc.flags = CPU_TO_LE16(ICE_AQ_FLAG_RD); in ice_aq_sff_eeprom()
4269 cmd->i2c_bus_addr = CPU_TO_LE16(((bus_addr >> 1) & in ice_aq_sff_eeprom()
4274 cmd->i2c_mem_addr = CPU_TO_LE16(mem_addr & 0xff); in ice_aq_sff_eeprom()
4275 cmd->eeprom_page = CPU_TO_LE16((u16)page << ICE_AQC_SFF_EEPROM_PAGE_S); in ice_aq_sff_eeprom()
4277 cmd->i2c_bus_addr |= CPU_TO_LE16(ICE_AQC_SFF_IS_WRITE); in ice_aq_sff_eeprom()
4339 desc.datalen = CPU_TO_LE16(data_size); in ice_aq_read_topo_dev_nvm()
4443 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD); in __ice_aq_get_set_rss_lut()
4448 cmd_resp->vsi_id = CPU_TO_LE16(((vsi_id << in __ice_aq_get_set_rss_lut()
4459 cmd_resp->flags = CPU_TO_LE16(flags); in __ice_aq_get_set_rss_lut()
4512 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD); in __ice_aq_get_set_rss_key()
4517 cmd_resp->vsi_id = CPU_TO_LE16(((vsi_id << in __ice_aq_get_set_rss_key()
4615 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD); in ice_aq_add_lan_txq()
4659 cmd->vmvf_and_timeout = CPU_TO_LE16((5 << ICE_AQC_Q_DIS_TIMEOUT_S) & in ice_aq_dis_lan_txq()
4666 CPU_TO_LE16(vmvf_num & ICE_AQC_Q_DIS_VMVF_NUM_M); in ice_aq_dis_lan_txq()
4672 CPU_TO_LE16((vmvf_num + hw->func_caps.vf_base_id) & in ice_aq_dis_lan_txq()
4689 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD); in ice_aq_dis_lan_txq()
4761 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD); in ice_aq_move_recfg_lan_txq()
4834 desc.flags |= CPU_TO_LE16(ICE_AQ_FLAG_RD); in ice_aq_add_rdma_qsets()
4918 dest_word &= ~(CPU_TO_LE16(mask)); /* get the bits not changing */ in ice_write_word()
4919 dest_word |= CPU_TO_LE16(src_word); /* add in the new bits */ in ice_write_word()
5104 cmd->cluster_id = CPU_TO_LE16(cluster_id); in ice_aq_get_internal_data()
5105 cmd->table_id = CPU_TO_LE16(table_id); in ice_aq_get_internal_data()
5189 src_word &= CPU_TO_LE16(mask); in ice_read_word()
5434 CPU_TO_LE16(ICE_SCHED_DFLT_RL_PROF_ID); in ice_ena_vsi_txq()
5436 CPU_TO_LE16(ICE_SCHED_DFLT_BW_WT); in ice_ena_vsi_txq()
5438 CPU_TO_LE16(ICE_SCHED_DFLT_RL_PROF_ID); in ice_ena_vsi_txq()
5440 CPU_TO_LE16(ICE_SCHED_DFLT_BW_WT); in ice_ena_vsi_txq()
5535 qg_list->q_id[0] = CPU_TO_LE16(q_ids[i]); in ice_dis_vsi_txq()
5667 buf->num_qsets = CPU_TO_LE16(num_qsets); in ice_ena_vsi_rdma_qset()
5669 buf->rdma_qsets[i].tx_qset_id = CPU_TO_LE16(rdma_qset[i]); in ice_ena_vsi_rdma_qset()
5675 CPU_TO_LE16(ICE_SCHED_DFLT_RL_PROF_ID); in ice_ena_vsi_rdma_qset()
5677 CPU_TO_LE16(ICE_SCHED_DFLT_BW_WT); in ice_ena_vsi_rdma_qset()
5679 CPU_TO_LE16(ICE_SCHED_DFLT_RL_PROF_ID); in ice_ena_vsi_rdma_qset()
5681 CPU_TO_LE16(ICE_SCHED_DFLT_BW_WT); in ice_ena_vsi_rdma_qset()
5742 CPU_TO_LE16(q_id[i] | in ice_dis_vsi_rdma_qset()
6327 cmd->i2c_bus_addr = CPU_TO_LE16(bus_addr); in ice_aq_read_i2c()
6377 cmd->i2c_bus_addr = CPU_TO_LE16(bus_addr); in ice_aq_write_i2c()
6409 cmd->gpio_ctrl_handle = CPU_TO_LE16(gpio_ctrl_handle); in ice_aq_set_gpio()
6437 cmd->gpio_ctrl_handle = CPU_TO_LE16(gpio_ctrl_handle); in ice_aq_get_gpio()
6781 desc.flags |= CPU_TO_LE16((u16)ICE_AQ_FLAG_RD); in ice_aq_set_lldp_mib()
6782 desc.datalen = CPU_TO_LE16(buf_size); in ice_aq_set_lldp_mib()
6785 cmd->length = CPU_TO_LE16(buf_size); in ice_aq_set_lldp_mib()
6825 cmd->vsi_num = CPU_TO_LE16(vsi_num); in ice_lldp_fltr_add_remove()