Home
last modified time | relevance | path

Searched refs:cmd_ptr (Results 1 – 10 of 10) sorted by relevance

/drivers/net/wireless/mwifiex/
Dsta_cmd.c919 struct host_cmd_ds_command *cmd_ptr = cmd_buf; in mwifiex_sta_prepare_cmd() local
925 ret = mwifiex_cmd_get_hw_spec(priv, cmd_ptr); in mwifiex_sta_prepare_cmd()
928 ret = mwifiex_cmd_mac_control(priv, cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
932 ret = mwifiex_cmd_802_11_mac_address(priv, cmd_ptr, in mwifiex_sta_prepare_cmd()
936 ret = mwifiex_cmd_mac_multicast_adr(cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
940 ret = mwifiex_cmd_tx_rate_cfg(priv, cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
944 ret = mwifiex_cmd_tx_power_cfg(cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
948 ret = mwifiex_cmd_enh_power_mode(priv, cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
952 ret = mwifiex_cmd_802_11_hs_cfg(priv, cmd_ptr, cmd_action, in mwifiex_sta_prepare_cmd()
956 ret = mwifiex_cmd_802_11_scan(cmd_ptr, data_buf); in mwifiex_sta_prepare_cmd()
[all …]
Dcmdevt.c454 struct host_cmd_ds_command *cmd_ptr; in mwifiex_send_cmd_async() local
497 cmd_ptr = (struct host_cmd_ds_command *) (cmd_node->cmd_skb->data); in mwifiex_send_cmd_async()
498 cmd_ptr->command = cpu_to_le16(cmd_no); in mwifiex_send_cmd_async()
499 cmd_ptr->result = 0; in mwifiex_send_cmd_async()
504 cmd_oid, data_buf, cmd_ptr); in mwifiex_send_cmd_async()
506 ret = mwifiex_cmd_host_cmd(priv, cmd_ptr, data_buf); in mwifiex_send_cmd_async()
/drivers/i2c/busses/
Di2c-sirf.c71 u32 cmd_ptr; /* Current position in CMD buffer */ member
108 && (siic->cmd_ptr < SIRFSOC_I2C_CMD_BUF_MAX)) { in i2c_sirfsoc_queue_cmd()
114 siic->base + SIRFSOC_I2C_CMD(siic->cmd_ptr++)); in i2c_sirfsoc_queue_cmd()
120 while ((siic->cmd_ptr < SIRFSOC_I2C_CMD_BUF_MAX - 1) in i2c_sirfsoc_queue_cmd()
127 siic->base + SIRFSOC_I2C_CMD(siic->cmd_ptr++)); in i2c_sirfsoc_queue_cmd()
129 siic->base + SIRFSOC_I2C_CMD(siic->cmd_ptr++)); in i2c_sirfsoc_queue_cmd()
132 siic->cmd_ptr = 0; in i2c_sirfsoc_queue_cmd()
179 writel(regval, siic->base + SIRFSOC_I2C_CMD(siic->cmd_ptr++)); in i2c_sirfsoc_set_address()
185 writel(addr, siic->base + SIRFSOC_I2C_CMD(siic->cmd_ptr++)); in i2c_sirfsoc_set_address()
240 siic->cmd_ptr = 0; in i2c_sirfsoc_xfer()
/drivers/scsi/pm8001/
Dpm8001_ctl.c463 char *cmd_ptr, *filename_ptr; in pm8001_store_update_fw() local
470 cmd_ptr = kzalloc(count*2, GFP_KERNEL); in pm8001_store_update_fw()
472 if (!cmd_ptr) { in pm8001_store_update_fw()
477 filename_ptr = cmd_ptr + count; in pm8001_store_update_fw()
478 res = sscanf(buf, "%s %s", cmd_ptr, filename_ptr); in pm8001_store_update_fw()
486 cmd_ptr, strlen(cmd_ptr))) { in pm8001_store_update_fw()
528 kfree(cmd_ptr); in pm8001_store_update_fw()
/drivers/net/ethernet/sfc/
Dmcdi_mac.c80 efx_dword_t *cmd_ptr; in efx_mcdi_mac_stats() local
92 cmd_ptr = (efx_dword_t *)MCDI_PTR(inbuf, MAC_STATS_IN_CMD); in efx_mcdi_mac_stats()
93 EFX_POPULATE_DWORD_7(*cmd_ptr, in efx_mcdi_mac_stats()
/drivers/scsi/aic94xx/
Daic94xx_init.c359 char *cmd_ptr, *filename_ptr; in asd_store_update_bios() local
366 cmd_ptr = kzalloc(count*2, GFP_KERNEL); in asd_store_update_bios()
368 if (!cmd_ptr) { in asd_store_update_bios()
373 filename_ptr = cmd_ptr + count; in asd_store_update_bios()
374 res = sscanf(buf, "%s %s", cmd_ptr, filename_ptr); in asd_store_update_bios()
382 cmd_ptr, strlen(cmd_ptr))) { in asd_store_update_bios()
459 kfree(cmd_ptr); in asd_store_update_bios()
/drivers/scsi/
Dgdth.c1362 register gdth_cmd_str *cmd_ptr; in gdth_copy_command() local
1374 cmd_ptr = ha->pccb; in gdth_copy_command()
1391 writew((u16)cmd_ptr->Service, in gdth_copy_command()
1393 memcpy_toio(&dp2_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()
1398 writew((u16)cmd_ptr->Service, in gdth_copy_command()
1400 memcpy_toio(&dp6_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()
1405 writew((u16)cmd_ptr->Service, in gdth_copy_command()
1407 memcpy_toio(&dp6c_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()
1412 writew((u16)cmd_ptr->Service, in gdth_copy_command()
1414 memcpy_toio(&dp6m_ptr->u.ic.gdt_dpr_cmd[dp_offset],cmd_ptr,cp_count); in gdth_copy_command()
[all …]
/drivers/scsi/arm/
Dfas216.c365 static int cmd_ptr; variable
369 cmd_list[cmd_ptr].command = command; in fas216_cmd()
370 cmd_list[cmd_ptr].from = __builtin_return_address(0); in fas216_cmd()
372 cmd_ptr = (cmd_ptr + 1) & 7; in fas216_cmd()
395 i = cmd_ptr; in print_debug_list()
400 } while (i != cmd_ptr); in print_debug_list()
/drivers/tty/serial/
Dmsm_serial_hs.c870 static void msm_hs_dmov_tx_callback(struct msm_dmov_cmd *cmd_ptr, in msm_hs_dmov_tx_callback() argument
881 msm_uport = container_of(cmd_ptr, struct msm_hs_port, tx.xfer); in msm_hs_dmov_tx_callback()
900 static void msm_hs_dmov_rx_callback(struct msm_dmov_cmd *cmd_ptr, in msm_hs_dmov_rx_callback() argument
914 msm_uport = container_of(cmd_ptr, struct msm_hs_port, rx.xfer); in msm_hs_dmov_rx_callback()
/drivers/target/iscsi/
Discsi_target_util.c586 struct iscsi_cmd **cmd_ptr, in iscsit_find_cmd_for_recovery() argument
605 *cmd_ptr = cmd; in iscsit_find_cmd_for_recovery()
625 *cmd_ptr = cmd; in iscsit_find_cmd_for_recovery()