Searched refs:CPU_TO_LE16 (Results 1 – 7 of 7) sorted by relevance
436 desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF); in i40e_aq_get_set_rss_lut()437 desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_RD); in i40e_aq_get_set_rss_lut()440 CPU_TO_LE16((u16)((vsi_id << in i40e_aq_get_set_rss_lut()443 cmd_resp->vsi_id |= CPU_TO_LE16((u16)I40E_AQC_SET_RSS_LUT_VSI_VALID); in i40e_aq_get_set_rss_lut()446 cmd_resp->flags |= CPU_TO_LE16((u16) in i40e_aq_get_set_rss_lut()451 cmd_resp->flags |= CPU_TO_LE16((u16) in i40e_aq_get_set_rss_lut()522 desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_BUF); in i40e_aq_get_set_rss_key()523 desc.flags |= CPU_TO_LE16((u16)I40E_AQ_FLAG_RD); in i40e_aq_get_set_rss_key()526 CPU_TO_LE16((u16)((vsi_id << in i40e_aq_get_set_rss_key()529 cmd_resp->vsi_id |= CPU_TO_LE16((u16)I40E_AQC_SET_RSS_KEY_VSI_VALID); in i40e_aq_get_set_rss_key()[all …]
178 desc->flags = CPU_TO_LE16(I40E_AQ_FLAG_BUF); in i40e_alloc_arq_bufs()180 desc->flags |= CPU_TO_LE16(I40E_AQ_FLAG_LB); in i40e_alloc_arq_bufs()185 desc->datalen = CPU_TO_LE16((u16)bi->size); in i40e_alloc_arq_bufs()810 desc->flags &= ~CPU_TO_LE16(details->flags_dis); in i40e_asq_send_command()811 desc->flags |= CPU_TO_LE16(details->flags_ena); in i40e_asq_send_command()858 desc_on_ring->datalen = CPU_TO_LE16(buff_size); in i40e_asq_send_command()957 desc->opcode = CPU_TO_LE16(opcode); in i40e_fill_default_direct_cmd_desc()958 desc->flags = CPU_TO_LE16(I40E_AQ_FLAG_SI); in i40e_fill_default_direct_cmd_desc()1040 desc->flags = CPU_TO_LE16(I40E_AQ_FLAG_BUF); in i40e_clean_arq_element()1042 desc->flags |= CPU_TO_LE16(I40E_AQ_FLAG_LB); in i40e_clean_arq_element()[all …]
831 dest_word &= ~(CPU_TO_LE16(mask)); /* get the bits not changing */ in i40e_write_word()832 dest_word |= CPU_TO_LE16(src_word); /* add in the new bits */ in i40e_write_word()1009 src_word &= ~(CPU_TO_LE16(mask)); in i40e_read_word()
586 *((__le16 *)data) = CPU_TO_LE16(*((u16 *)data)); in __i40e_write_nvm_word()616 le_word_ptr[i] = CPU_TO_LE16(word_ptr[i]); in __i40e_write_nvm_buffer()728 le_sum = CPU_TO_LE16(checksum); in i40e_update_nvm_checksum()
53 #define CPU_TO_LE16(x) swap16(x) macro58 #define CPU_TO_LE16(x) (x)64 #define LE16_TO_CPU(x) CPU_TO_LE16(x)
500 (CPU_TO_LE16(wav->fmt_tag) != 1) || in open_wav_read_stream()501 (CPU_TO_LE16(wav->n_channels) != 2) || in open_wav_read_stream()503 (CPU_TO_LE16(wav->bits_per_sample) != 16) || in open_wav_read_stream()
67 #define CPU_TO_LE16(o) LE_16(o) macro