Lines Matching refs:le16_to_cpu
36 copy_len = min(le16_to_cpu(buf->size), le16_to_cpu(resp->size)); in lbs_cmd_copyback()
133 priv->regioncode = (le16_to_cpu(cmd.regioncode) >> 8) & 0xFF; in lbs_update_hw_spec()
135 priv->regioncode = le16_to_cpu(cmd.regioncode) & 0xFF; in lbs_update_hw_spec()
209 le16_to_cpu(cmd_config.hdr.size), in lbs_host_sleep_cfg()
295 le16_to_cpu(cmd.error), le16_to_cpu(cmd.offset), in lbs_cmd_802_11_sleep_params()
296 le16_to_cpu(cmd.stabletime), cmd.calcontrol, in lbs_cmd_802_11_sleep_params()
299 sp->sp_error = le16_to_cpu(cmd.error); in lbs_cmd_802_11_sleep_params()
300 sp->sp_offset = le16_to_cpu(cmd.offset); in lbs_cmd_802_11_sleep_params()
301 sp->sp_stabletime = le16_to_cpu(cmd.stabletime); in lbs_cmd_802_11_sleep_params()
304 sp->sp_reserved = le16_to_cpu(cmd.reserved); in lbs_cmd_802_11_sleep_params()
468 le16_to_cpu(cmd.oid), le16_to_cpu(cmd.bufsize), val); in lbs_set_snmp_mib()
502 switch (le16_to_cpu(cmd.bufsize)) { in lbs_get_snmp_mib()
507 *out_val = le16_to_cpu(*((__le16 *)(&cmd.value))); in lbs_get_snmp_mib()
511 oid, le16_to_cpu(cmd.bufsize)); in lbs_get_snmp_mib()
544 *curlevel = le16_to_cpu(cmd.curlevel); in lbs_get_tx_power()
637 ret = le16_to_cpu(cmd.channel); in lbs_get_channel()
688 priv->channel = (uint8_t) le16_to_cpu(cmd.channel); in lbs_set_channel()
723 *nf = CAL_NF(le16_to_cpu(cmd.nf)); in lbs_get_rssi()
724 *rssi = CAL_RSSI(le16_to_cpu(cmd.n_or_snr), le16_to_cpu(cmd.nf)); in lbs_get_rssi()
841 le16_to_cpu(domain->header.len)); in lbs_set_11d_domain_info()
959 if (le16_to_cpu(cmdnode->cmdbuf->command) == CMD_802_11_PS_MODE) { in lbs_queue_cmd()
968 if (le16_to_cpu(cmdnode->cmdbuf->command) == CMD_802_11_WAKEUP_CONFIRM) in lbs_queue_cmd()
981 le16_to_cpu(cmdnode->cmdbuf->command)); in lbs_queue_cmd()
1007 cmdsize = le16_to_cpu(cmd->size); in lbs_submit_command()
1008 command = le16_to_cpu(cmd->command); in lbs_submit_command()
1015 command, le16_to_cpu(cmd->seqnum), cmdsize); in lbs_submit_command()
1343 if (is_command_allowed_in_ps(le16_to_cpu(cmd->command))) { in lbs_execute_next_command()
1348 le16_to_cpu(cmd->command), in lbs_execute_next_command()
1355 le16_to_cpu(cmd->command), priv->psstate); in lbs_execute_next_command()
1424 le16_to_cpu(cmd->command)); in lbs_execute_next_command()