Home
last modified time | relevance | path

Searched refs:data_buf (Results 1 – 25 of 44) sorted by relevance

12

/linux-3.4.99/drivers/firmware/google/
Dgsmi.c89 struct gsmi_buf *data_buf; /* generic data buffer */ member
309 .data_ptr = gsmi_dev.data_buf->address, in gsmi_get_variable()
330 memset(gsmi_dev.data_buf->start, 0, gsmi_dev.data_buf->length); in gsmi_get_variable()
349 gsmi_dev.data_buf->length); in gsmi_get_variable()
353 memcpy(data, gsmi_dev.data_buf->start, *data_size); in gsmi_get_variable()
431 .data_ptr = gsmi_dev.data_buf->address, in gsmi_set_variable()
455 memset(gsmi_dev.data_buf->start, 0, gsmi_dev.data_buf->length); in gsmi_set_variable()
456 memcpy(gsmi_dev.data_buf->start, data, data_size); in gsmi_set_variable()
484 .data_ptr = gsmi_dev.data_buf->address, in eventlog_write()
497 if (count > gsmi_dev.data_buf->length) in eventlog_write()
[all …]
/linux-3.4.99/drivers/net/wireless/mwifiex/
Dsta_cmdresp.c186 u32 *data_buf) in mwifiex_ret_802_11_snmp_mib() argument
198 if (data_buf) in mwifiex_ret_802_11_snmp_mib()
199 *data_buf = ul_temp; in mwifiex_ret_802_11_snmp_mib()
361 static int mwifiex_get_power_level(struct mwifiex_private *priv, void *data_buf) in mwifiex_get_power_level() argument
367 if (!data_buf) in mwifiex_get_power_level()
371 ((u8 *) data_buf + sizeof(struct host_cmd_ds_txpwr_cfg)); in mwifiex_get_power_level()
620 u16 *data_buf) in mwifiex_ret_802_11_rf_channel() argument
634 if (data_buf) in mwifiex_ret_802_11_rf_channel()
635 *data_buf = new_channel; in mwifiex_ret_802_11_rf_channel()
668 void *data_buf) in mwifiex_ret_reg_access() argument
[all …]
Dsta_cmd.c770 u16 cmd_action, void *data_buf) in mwifiex_cmd_reg_access() argument
772 struct mwifiex_ds_reg_rw *reg_rw = data_buf; in mwifiex_cmd_reg_access()
841 struct mwifiex_ds_read_eeprom *rd_eeprom = data_buf; in mwifiex_cmd_reg_access()
917 void *data_buf, void *cmd_buf) in mwifiex_sta_prepare_cmd() argument
929 data_buf); in mwifiex_sta_prepare_cmd()
937 data_buf); in mwifiex_sta_prepare_cmd()
941 data_buf); in mwifiex_sta_prepare_cmd()
945 data_buf); in mwifiex_sta_prepare_cmd()
949 (uint16_t)cmd_oid, data_buf); in mwifiex_sta_prepare_cmd()
953 (struct mwifiex_hs_config_param *) data_buf); in mwifiex_sta_prepare_cmd()
[all …]
D11n_rxreorder.h59 void *data_buf);
65 void *data_buf);
Dcmdevt.c39 u32 cmd_oid, void *data_buf) in mwifiex_init_cmd_node() argument
49 cmd_node->data_buf = data_buf; in mwifiex_init_cmd_node()
94 cmd_node->data_buf = NULL; in mwifiex_clean_cmd_node()
421 u16 cmd_action, u32 cmd_oid, void *data_buf) in mwifiex_send_cmd_sync() argument
429 data_buf); in mwifiex_send_cmd_sync()
449 u16 cmd_action, u32 cmd_oid, void *data_buf) in mwifiex_send_cmd_async() argument
487 mwifiex_init_cmd_node(priv, cmd_node, cmd_oid, data_buf); 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()
719 if (adapter->curr_cmd->data_buf) { in mwifiex_process_cmdresp()
[all …]
D11n_rxreorder.c298 int mwifiex_cmd_11n_addba_req(struct host_cmd_ds_command *cmd, void *data_buf) in mwifiex_cmd_11n_addba_req() argument
306 memcpy(add_ba_req, data_buf, sizeof(*add_ba_req)); in mwifiex_cmd_11n_addba_req()
369 int mwifiex_cmd_11n_delba(struct host_cmd_ds_command *cmd, void *data_buf) in mwifiex_cmd_11n_delba() argument
376 memcpy(del_ba, data_buf, sizeof(*del_ba)); in mwifiex_cmd_11n_delba()
Dmain.h514 void *data_buf; member
684 u16 cmd_action, u32 cmd_oid, void *data_buf);
687 u16 cmd_action, u32 cmd_oid, void *data_buf);
736 void *data_buf, void *cmd_buf);
/linux-3.4.99/drivers/mmc/core/
Dmmc_ops.c241 void *data_buf; in mmc_send_cxd_data() local
246 data_buf = kmalloc(len, GFP_KERNEL); in mmc_send_cxd_data()
247 if (data_buf == NULL) in mmc_send_cxd_data()
269 sg_init_one(&sg, data_buf, len); in mmc_send_cxd_data()
283 memcpy(buf, data_buf, len); in mmc_send_cxd_data()
284 kfree(data_buf); in mmc_send_cxd_data()
462 u8 *data_buf; in mmc_send_bus_test() local
471 data_buf = kmalloc(len, GFP_KERNEL); in mmc_send_bus_test()
472 if (!data_buf) in mmc_send_bus_test()
482 kfree(data_buf); in mmc_send_bus_test()
[all …]
Dsd_ops.c252 void *data_buf; in mmc_app_send_scr() local
267 data_buf = kmalloc(sizeof(card->raw_scr), GFP_KERNEL); in mmc_app_send_scr()
268 if (data_buf == NULL) in mmc_app_send_scr()
284 sg_init_one(&sg, data_buf, 8); in mmc_app_send_scr()
290 memcpy(scr, data_buf, sizeof(card->raw_scr)); in mmc_app_send_scr()
291 kfree(data_buf); in mmc_app_send_scr()
/linux-3.4.99/drivers/staging/media/lirc/
Dlirc_sasem.c109 unsigned char data_buf[SASEM_DATA_BUF_SZ]; /* user data member
368 int *data_buf = NULL; in vfd_write() local
390 data_buf = memdup_user(buf, n_bytes); in vfd_write()
391 if (IS_ERR(data_buf)) { in vfd_write()
392 retval = PTR_ERR(data_buf); in vfd_write()
396 memcpy(context->tx.data_buf, data_buf, n_bytes); in vfd_write()
400 context->tx.data_buf[i] = ' '; in vfd_write()
420 memcpy(context->usb_tx_buf, context->tx.data_buf, 8); in vfd_write()
424 context->tx.data_buf + 8, 8); in vfd_write()
434 context->tx.data_buf + 16, 8); in vfd_write()
[all …]
Dlirc_imon.c107 unsigned char data_buf[IMON_DATA_BUF_SZ]; /* user data buffer */ member
382 int *data_buf = NULL; in vfd_write() local
404 data_buf = memdup_user(buf, n_bytes); in vfd_write()
405 if (IS_ERR(data_buf)) { in vfd_write()
406 retval = PTR_ERR(data_buf); in vfd_write()
410 memcpy(context->tx.data_buf, data_buf, n_bytes); in vfd_write()
414 context->tx.data_buf[i] = ' '; in vfd_write()
417 context->tx.data_buf[i] = 0xFF; in vfd_write()
423 memcpy(context->usb_tx_buf, context->tx.data_buf + offset, 7); in vfd_write()
450 kfree(data_buf); in vfd_write()
/linux-3.4.99/drivers/mtd/nand/
Dmxc_nand.c164 uint8_t *data_buf; member
466 memcpy(host->data_buf, host->main_area0, 16); in send_read_id_v3()
482 memcpy(host->data_buf, host->main_area0, 16); in send_read_id_v1_v2()
486 host->data_buf[1] = host->data_buf[2]; in send_read_id_v1_v2()
487 host->data_buf[2] = host->data_buf[4]; in send_read_id_v1_v2()
488 host->data_buf[3] = host->data_buf[6]; in send_read_id_v1_v2()
489 host->data_buf[4] = host->data_buf[8]; in send_read_id_v1_v2()
490 host->data_buf[5] = host->data_buf[10]; in send_read_id_v1_v2()
620 ret = *(uint8_t *)(host->data_buf + host->buf_start); in mxc_nand_read_byte()
632 ret = *(uint16_t *)(host->data_buf + host->buf_start); in mxc_nand_read_word()
[all …]
/linux-3.4.99/arch/powerpc/platforms/pseries/
Ddlpar.c132 char *data_buf; in dlpar_configure_connector() local
140 data_buf = kzalloc(RTAS_DATA_BUF_SIZE, GFP_KERNEL); in dlpar_configure_connector()
141 if (!data_buf) in dlpar_configure_connector()
144 ccwa = (struct cc_workarea *)&data_buf[0]; in dlpar_configure_connector()
155 memcpy(rtas_data_buf, data_buf, RTAS_DATA_BUF_SIZE); in dlpar_configure_connector()
157 memcpy(data_buf, rtas_data_buf, RTAS_DATA_BUF_SIZE); in dlpar_configure_connector()
221 kfree(data_buf); in dlpar_configure_connector()
/linux-3.4.99/drivers/misc/carma/
Dcarma-fpga.c142 struct data_buf { struct
181 struct data_buf *inflight;
192 struct data_buf *buf;
216 static void data_free_buffer(struct data_buf *buf) in data_free_buffer()
236 static struct data_buf *data_alloc_buffer(const size_t bytes) in data_alloc_buffer()
239 struct data_buf *buf; in data_alloc_buffer()
280 struct data_buf *buf, *tmp; in data_free_buffers()
321 struct data_buf *buf; in data_alloc_buffers()
626 static int data_submit_dma(struct fpga_device *priv, struct data_buf *buf) in data_submit_dma()
696 struct data_buf *buf; in data_irq()
[all …]
/linux-3.4.99/drivers/staging/rts5139/
Dsd_cprm.h39 u8 rsp_code, u32 arg, u32 data_len, void *data_buf,
44 void *data_buf, unsigned int buf_len, int use_sg);
Dsd_cprm.c376 void *data_buf, unsigned int buf_len, int use_sg) argument
473 rts51x_access_sglist(buf, min_len, (void *)data_buf,
476 memcpy(data_buf, buf, min_len);
514 data_buf, buf_len, use_sg, NULL,
595 void *data_buf, unsigned int buf_len, int use_sg) argument
690 rts51x_access_sglist(buf, data_len, (void *)data_buf,
693 memcpy(buf, data_buf, data_len);
786 data_buf, buf_len, use_sg, NULL,
/linux-3.4.99/drivers/macintosh/
Dsmu.c125 ((u8 *)cmd->data_buf)[0], ((u8 *)cmd->data_buf)[1], in smu_start_cmd()
126 ((u8 *)cmd->data_buf)[2], ((u8 *)cmd->data_buf)[3], in smu_start_cmd()
127 ((u8 *)cmd->data_buf)[4], ((u8 *)cmd->data_buf)[5], in smu_start_cmd()
128 ((u8 *)cmd->data_buf)[6], ((u8 *)cmd->data_buf)[7]); in smu_start_cmd()
133 memcpy(smu->cmd_buf->data, cmd->data_buf, cmd->data_len); in smu_start_cmd()
307 cmd->data_buf = scmd->buffer; in smu_queue_simple()
814 scmd->data_buf = cmd->pdata; in smu_i2c_low_completion()
836 cmd->scmd.data_buf = (u8 *)(char *)&cmd->info; in smu_queue_i2c()
920 cmd.data_buf = params; in smu_read_datablock()
1159 pp->cmd.data_buf = pp->buffer; in smu_write()
/linux-3.4.99/drivers/isdn/hardware/eicon/
Dcapimain.c60 void **data_buf) in diva_os_alloc_message_buffer() argument
64 *data_buf = skb_put(dmb, size); in diva_os_alloc_message_buffer()
/linux-3.4.99/drivers/infiniband/ulp/iser/
Diser_initiator.c268 struct iser_data_buf *data_buf; in iser_send_command() local
280 data_buf = &iser_task->data[ISER_DIR_IN]; in iser_send_command()
282 data_buf = &iser_task->data[ISER_DIR_OUT]; in iser_send_command()
285 data_buf->buf = scsi_sglist(sc); in iser_send_command()
286 data_buf->size = scsi_sg_count(sc); in iser_send_command()
289 data_buf->data_len = scsi_bufflen(sc); in iser_send_command()
/linux-3.4.99/drivers/scsi/
Dsd_dif.c58 void *buf = bix->data_buf; in sd_dif_type1_generate()
85 void *buf = bix->data_buf; in sd_dif_type1_verify()
193 void *buf = bix->data_buf; in sd_dif_type3_generate()
218 void *buf = bix->data_buf; in sd_dif_type3_verify()
Dscsi_netlink.c626 char *data_buf, u32 data_len) in scsi_nl_send_vendor_msg() argument
661 memcpy(&msg[1], data_buf, data_len); in scsi_nl_send_vendor_msg()
/linux-3.4.99/include/scsi/
Dscsi_netlink.h142 char *data_buf, u32 data_len);
/linux-3.4.99/drivers/ide/
Dide-taskfile.c476 u8 *data_buf = NULL; in ide_taskfile_ioctl() local
597 data_buf = outbuf; in ide_taskfile_ioctl()
615 data_buf = inbuf; in ide_taskfile_ioctl()
638 err = ide_raw_taskfile(drive, &cmd, data_buf, nsect); in ide_taskfile_ioctl()
/linux-3.4.99/drivers/media/video/
Dtcm825x.c267 u8 reg_buf, data_buf = 0; in tcm825x_read_reg() local
279 msg[1].buf = &data_buf; in tcm825x_read_reg()
286 return data_buf; in tcm825x_read_reg()
/linux-3.4.99/arch/powerpc/include/asm/
Dsmu.h397 void *data_buf; /* data buffer */ member

12