/external/u-boot/drivers/mtd/spi/ |
D | sf.c | 13 const u8 *cmd, size_t cmd_len, in spi_flash_read_write() argument 23 ret = spi_xfer(spi, cmd_len * 8, cmd, NULL, flags); in spi_flash_read_write() 26 cmd_len, ret); in spi_flash_read_write() 39 size_t cmd_len, void *data, size_t data_len) in spi_flash_cmd_read() argument 41 return spi_flash_read_write(spi, cmd, cmd_len, NULL, data, data_len); in spi_flash_cmd_read() 49 int spi_flash_cmd_write(struct spi_slave *spi, const u8 *cmd, size_t cmd_len, in spi_flash_cmd_write() argument 52 return spi_flash_read_write(spi, cmd, cmd_len, data, NULL, data_len); in spi_flash_cmd_write()
|
D | sf_internal.h | 159 size_t cmd_len, void *data, size_t data_len); 165 int spi_flash_cmd_write(struct spi_slave *spi, const u8 *cmd, size_t cmd_len, 202 size_t cmd_len, const void *buf, size_t buf_len); 217 size_t cmd_len, void *data, size_t data_len);
|
D | spi_flash.c | 274 size_t cmd_len, const void *buf, size_t buf_len) in spi_flash_write_common() argument 295 ret = spi_flash_cmd_write(spi, cmd, cmd_len, buf, buf_len); in spi_flash_write_common() 432 size_t cmd_len, void *data, size_t data_len) in spi_flash_read_common() argument 443 ret = spi_flash_cmd_read(spi, cmd, cmd_len, data, data_len); in spi_flash_read_common() 730 size_t actual, cmd_len; in sst_write_wp() local 753 cmd_len = 4; in sst_write_wp() 764 ret = spi_flash_cmd_write(spi, cmd, cmd_len, in sst_write_wp() 775 cmd_len = 1; in sst_write_wp()
|
/external/u-boot/drivers/spi/ |
D | fsl_espi.c | 22 size_t cmd_len; member 258 size_t cmd_len = fsl->cmd_len; in spi_xfer() local 266 cmd_len = fsl->cmd_len = data_len; in spi_xfer() 267 memcpy(cmd_buf, data_out, cmd_len); in spi_xfer() 275 buf_len = 2 * cmd_len + min(data_len, (size_t)max_tran_len); in spi_xfer() 276 len = cmd_len + data_len; in spi_xfer() 277 rx_offset = cmd_len; in spi_xfer() 283 memcpy(buffer, cmd_buf, cmd_len); in spi_xfer() 285 memcpy(buffer + cmd_len, data_out, data_len); in spi_xfer() 296 cmd_len = 0; in spi_xfer() [all …]
|
D | atcspi200_spi.c | 84 size_t cmd_len; member 124 ns->cmd_len = 0; in __atcspi200_spi_claim_bus() 144 if ((ns->din)&&(ns->cmd_len)) in __atcspi200_spi_start() 153 tc |= (ns->cmd_len+olen-1) << WCNT_OFFSET; in __atcspi200_spi_start() 161 for (i=0;i<ns->cmd_len;i++) in __atcspi200_spi_start() 199 size_t cmd_len = ns->cmd_len; in __atcspi200_spi_xfer() local 207 cmd_len = ns->cmd_len = data_len; in __atcspi200_spi_xfer() 208 memcpy(cmd_buf, data_out, cmd_len); in __atcspi200_spi_xfer() 225 cmd_len = ns->cmd_len = data_len; in __atcspi200_spi_xfer() 226 memcpy(cmd_buf, data_out, cmd_len); in __atcspi200_spi_xfer()
|
D | cadence_qspi.c | 200 priv->cmd_len = bitlen / 8; in cadence_spi_xfer() 201 memcpy(cmd_buf, dout, priv->cmd_len); in cadence_spi_xfer() 217 if (priv->cmd_len == 0) { in cadence_spi_xfer() 225 if (!CQSPI_IS_ADDR(priv->cmd_len)) in cadence_spi_xfer() 231 if (!CQSPI_IS_ADDR(priv->cmd_len)) in cadence_spi_xfer() 240 base, priv->cmd_len, cmd_buf, in cadence_spi_xfer() 246 priv->cmd_len, cmd_buf, in cadence_spi_xfer() 251 priv->cmd_len, dm_plat->mode, cmd_buf); in cadence_spi_xfer() 259 (plat, priv->cmd_len, cmd_buf); in cadence_spi_xfer() 273 priv->cmd_len = 0; in cadence_spi_xfer()
|
D | cadence_qspi.h | 10 #define CQSPI_IS_ADDR(cmd_len) (cmd_len > 1 ? 1 : 0) argument 37 size_t cmd_len; member
|
/external/strace/tests-mx32/ |
D | ioctl_sg_io_v3.c | 93 sg_io->cmd_len, in main() 136 sg_io->cmd_len, in main() 195 sg_io->cmd_len, in main() 245 sg_io->cmd_len, in main() 297 sg_io->cmd_len, in main() 345 sg_io->cmd_len, in main() 391 sg_io->cmd_len, in main()
|
/external/strace/tests/ |
D | ioctl_sg_io_v3.c | 93 sg_io->cmd_len, in main() 136 sg_io->cmd_len, in main() 195 sg_io->cmd_len, in main() 245 sg_io->cmd_len, in main() 297 sg_io->cmd_len, in main() 345 sg_io->cmd_len, in main() 391 sg_io->cmd_len, in main()
|
/external/strace/tests-m32/ |
D | ioctl_sg_io_v3.c | 93 sg_io->cmd_len, in main() 136 sg_io->cmd_len, in main() 195 sg_io->cmd_len, in main() 245 sg_io->cmd_len, in main() 297 sg_io->cmd_len, in main() 345 sg_io->cmd_len, in main() 391 sg_io->cmd_len, in main()
|
/external/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/ |
D | ltp_tbio.c | 88 if ((!inter->cmd_len) || (inter->cmd_len > rq->cmd_len)) { in send_request() 93 rq->cmd_len = inter->cmd_len; in send_request() 95 if (copy_from_user(rq->cmd, inter->cmd, inter->cmd_len)) in send_request() 98 if (*(rq->cmd + rq->cmd_len - 1)) { in send_request()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/scsi/scsi_dispatch_cmd_error/ |
D | format | 15 field:unsigned int cmd_len; offset:32; size:4; signed:0; 21 …_parse_cdb(p, __get_dynamic_array(cmnd), REC->cmd_len), __print_hex(__get_dynamic_array(cmnd), REC…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/scsi/scsi_dispatch_cmd_error/ |
D | format | 16 field:unsigned int cmd_len; offset:36; size:4; signed:0; 22 …_cdb(p, __get_dynamic_array(cmnd), REC->cmd_len), ftrace_print_hex_seq(p, __get_dynamic_array(cmnd…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/scsi/scsi_dispatch_cmd_error/ |
D | format | 15 field:unsigned int cmd_len; offset:32; size:4; signed:0; 21 …_parse_cdb(p, __get_dynamic_array(cmnd), REC->cmd_len), __print_hex(__get_dynamic_array(cmnd), REC…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/scsi/scsi_dispatch_cmd_start/ |
D | format | 14 field:unsigned int cmd_len; offset:28; size:4; signed:0; 20 …_parse_cdb(p, __get_dynamic_array(cmnd), REC->cmd_len), __print_hex(__get_dynamic_array(cmnd), REC…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/scsi/scsi_dispatch_cmd_start/ |
D | format | 15 field:unsigned int cmd_len; offset:32; size:4; signed:0; 21 …_cdb(p, __get_dynamic_array(cmnd), REC->cmd_len), ftrace_print_hex_seq(p, __get_dynamic_array(cmnd…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/scsi/scsi_dispatch_cmd_error/ |
D | format | 15 field:unsigned int cmd_len; offset:32; size:4; signed:0; 21 …_parse_cdb(p, __get_dynamic_array(cmnd), REC->cmd_len), __print_hex(__get_dynamic_array(cmnd), REC…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/scsi/scsi_dispatch_cmd_start/ |
D | format | 14 field:unsigned int cmd_len; offset:28; size:4; signed:0; 20 …_parse_cdb(p, __get_dynamic_array(cmnd), REC->cmd_len), __print_hex(__get_dynamic_array(cmnd), REC…
|
/external/ltp/testcases/kernel/device-drivers/tbio/tbio_user/ |
D | tbio.c | 164 bif.cmd_len = 6; in tbio_to_dev() 204 bif.cmd_len = 5; in tbio_from_dev() 250 bif.cmd_len = 6; in tbio_split_to_dev()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/scsi/scsi_dispatch_cmd_start/ |
D | format | 14 field:unsigned int cmd_len; offset:28; size:4; signed:0; 20 …_parse_cdb(p, __get_dynamic_array(cmnd), REC->cmd_len), __print_hex(__get_dynamic_array(cmnd), REC…
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_ctrl.c | 486 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, in wpa_ctrl_request() argument 501 _cmd_len = os_strlen(ctrl->cookie) + 1 + cmd_len; in wpa_ctrl_request() 510 os_memcpy(pos, cmd, cmd_len); in wpa_ctrl_request() 515 _cmd_len = cmd_len; in wpa_ctrl_request() 726 int wpa_ctrl_request(struct wpa_ctrl *ctrl, const char *cmd, size_t cmd_len, in wpa_ctrl_request() argument 733 if (!WriteFile(ctrl->pipe, cmd, cmd_len, &written, NULL)) in wpa_ctrl_request()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_priv.c | 631 size_t cmd_len; in wpa_priv_receive() local 652 cmd_len = res - sizeof(int); in wpa_priv_receive() 662 wpa_priv_cmd_scan(iface, cmd_buf, cmd_len); in wpa_priv_receive() 668 wpa_priv_cmd_associate(iface, cmd_buf, cmd_len); in wpa_priv_receive() 677 wpa_priv_cmd_set_key(iface, cmd_buf, cmd_len); in wpa_priv_receive() 684 cmd_buf, cmd_len); in wpa_priv_receive() 693 wpa_priv_cmd_l2_send(iface, &from, fromlen, cmd_buf, cmd_len); in wpa_priv_receive() 697 if (pos + cmd_len >= buf + sizeof(buf)) in wpa_priv_receive() 699 pos[cmd_len] = '\0'; in wpa_priv_receive() 703 wpa_priv_cmd_authenticate(iface, cmd_buf, cmd_len); in wpa_priv_receive()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/scsi/scsi_dispatch_cmd_timeout/ |
D | format | 15 field:unsigned int cmd_len; offset:32; size:4; signed:0; 21 …_parse_cdb(p, __get_dynamic_array(cmnd), REC->cmd_len), __print_hex(__get_dynamic_array(cmnd), REC…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/scsi/scsi_dispatch_cmd_done/ |
D | format | 15 field:unsigned int cmd_len; offset:32; size:4; signed:0; 21 …_parse_cdb(p, __get_dynamic_array(cmnd), REC->cmd_len), __print_hex(__get_dynamic_array(cmnd), REC…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/scsi/scsi_dispatch_cmd_timeout/ |
D | format | 15 field:unsigned int cmd_len; offset:32; size:4; signed:0; 21 …_parse_cdb(p, __get_dynamic_array(cmnd), REC->cmd_len), __print_hex(__get_dynamic_array(cmnd), REC…
|