Home
last modified time | relevance | path

Searched refs:data_count (Results 1 – 25 of 28) sorted by relevance

12

/linux/drivers/gpu/host1x/hw/
H A Ddebug_hw_1x06.c73 unsigned int data_count = 0; in host1x_debug_show_channel_fifo() local
117 if (!data_count) { in host1x_debug_show_channel_fifo()
120 data_count = show_channel_command(o, val, &payload); in host1x_debug_show_channel_fifo()
123 data_count > 1 ? ", " : "])\n"); in host1x_debug_show_channel_fifo()
124 data_count--; in host1x_debug_show_channel_fifo()
133 if (data_count) in host1x_debug_show_channel_fifo()
H A Ddebug_hw_1x01.c76 unsigned int data_count = 0; in host1x_debug_show_channel_fifo() local
108 if (!data_count) { in host1x_debug_show_channel_fifo()
110 data_count = show_channel_command(o, val, NULL); in host1x_debug_show_channel_fifo()
113 data_count > 1 ? ", " : "])\n"); in host1x_debug_show_channel_fifo()
114 data_count--; in host1x_debug_show_channel_fifo()
123 if (data_count) in host1x_debug_show_channel_fifo()
/linux/drivers/iio/temperature/
H A Dmax30208.c90 u8 data_count; in max30208_update_temp() local
107 data_count = ret; in max30208_update_temp()
109 data_count = 1; in max30208_update_temp()
111 while (data_count) { in max30208_update_temp()
116 data_count--; in max30208_update_temp()
/linux/sound/soc/sprd/
H A Dsprd-pcm-compress.c535 int avail_bytes, data_count = count; in sprd_platform_compr_copy() local
548 if (avail_bytes >= data_count) { in sprd_platform_compr_copy()
553 if (copy_from_user(dst, buf, data_count)) in sprd_platform_compr_copy()
556 stream->received_stage0 += data_count; in sprd_platform_compr_copy()
557 stream->copied_total += data_count; in sprd_platform_compr_copy()
569 data_count -= avail_bytes; in sprd_platform_compr_copy()
581 if (data_count < stream->compr_buffer.bytes - stream->stage1_pointer) { in sprd_platform_compr_copy()
582 if (copy_from_user(dst, buf, data_count)) in sprd_platform_compr_copy()
585 stream->stage1_pointer += data_count; in sprd_platform_compr_copy()
593 data_count - avail_bytes)) in sprd_platform_compr_copy()
[all …]
/linux/drivers/s390/cio/
H A Dfcx.c124 u64 data_count = 0; in calc_cbc_size() local
132 data_count += tidaw[i].count; in calc_cbc_size()
134 cbc_data = 4 + ALIGN(data_count, 4) - data_count; in calc_cbc_size()
136 data_count += cbc_data; in calc_cbc_size()
/linux/include/trace/events/
H A Dfirewire.h40 …d int generation, unsigned int scode, const u32 *header, const u32 *data, unsigned int data_count),
41 TP_ARGS(transaction, card_index, generation, scode, header, data, data_count),
48 __dynamic_array(u32, data, data_count)
109 …d int status, unsigned int timestamp, const u32 *header, const u32 *data, unsigned int data_count),
110 TP_ARGS(transaction, card_index, generation, scode, status, timestamp, header, data, data_count),
119 __dynamic_array(u32, data, data_count)
152 …d int generation, unsigned int scode, const u32 *header, const u32 *data, unsigned int data_count),
153 TP_ARGS(transaction, card_index, generation, scode, header, data, data_count)
162 …d int status, unsigned int timestamp, const u32 *header, const u32 *data, unsigned int data_count),
163 TP_ARGS(transaction, card_index, generation, scode, status, timestamp, header, data, data_count)
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_guc_log.c283 lfd.data_count = DIV_ROUND_UP(data_len, sizeof(u32)); in xe_guc_log_add_typed_payload()
287 len += lfd.data_count * sizeof(u32); in xe_guc_log_add_typed_payload()
339 lfd.data_count = DIV_ROUND_UP(section_len + info_len, sizeof(u32)); in xe_guc_log_add_os_id()
345 section_len = lfd.data_count * sizeof(u32) - section_len - info_len; in xe_guc_log_add_os_id()
349 len += lfd.data_count * sizeof(u32); in xe_guc_log_add_os_id()
358 for (i = 0; i < init->data_count;) { in xe_guc_log_loop_log_init()
480 lfd.data_count = DIV_ROUND_UP(data_len, sizeof(u32)); in xe_guc_log_add_log_event()
535 lfd.data_count = DIV_ROUND_UP(entry->buf_size, sizeof(u32)); in xe_guc_log_add_crash_dump()
/linux/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-debug.c152 u16 data_count[RKISP1_DEBUG_DATA_COUNT_BINS] = { }; in rkisp1_debug_input_status_show() local
170 data_count[data / RKISP1_DEBUG_DATA_COUNT_STEP]++; in rkisp1_debug_input_status_show()
184 for (i = 0; i < ARRAY_SIZE(data_count); ++i) in rkisp1_debug_input_status_show()
188 data_count[i]); in rkisp1_debug_input_status_show()
/linux/drivers/crypto/tegra/
H A Dtegra-se-aes.c211 unsigned int data_count, res_bits, i = 0, j; in tegra_aes_prep_cmd() local
216 data_count = rctx->len / AES_BLOCK_SIZE; in tegra_aes_prep_cmd()
224 data_count--; in tegra_aes_prep_cmd()
234 cpuvaddr[i++] = SE_LAST_BLOCK_VAL(data_count) | in tegra_aes_prep_cmd()
609 unsigned int data_count, res_bits, i = 0; in tegra_gmac_prep_cmd() local
613 data_count = (rctx->assoclen / AES_BLOCK_SIZE); in tegra_gmac_prep_cmd()
621 data_count--; in tegra_gmac_prep_cmd()
624 cpuvaddr[i++] = SE_LAST_BLOCK_VAL(data_count) | in tegra_gmac_prep_cmd()
649 unsigned int data_count, res_bits, i = 0, j; in tegra_gcm_crypt_prep_cmd() local
653 data_count = (rctx->cryptlen / AES_BLOCK_SIZE); in tegra_gcm_crypt_prep_cmd()
[all …]
/linux/drivers/interconnect/qcom/
H A Dicc-rpmh.c150 size_t data_count; in qcom_icc_bcm_init() local
164 data = cmd_db_read_aux_data(bcm->name, &data_count); in qcom_icc_bcm_init()
170 if (!data_count) { in qcom_icc_bcm_init()
/linux/block/partitions/
H A Dmac.h20 __be32 data_count; /* number of data blocks */ member
/linux/drivers/gpu/drm/amd/display/dmub/inc/
H A Ddmub_cmd.h7230 uint32_t data_count; in dmub_rb_num_outstanding() local
7233 data_count = rb->wrpt - rb->rptr; in dmub_rb_num_outstanding()
7235 data_count = rb->capacity - (rb->rptr - rb->wrpt); in dmub_rb_num_outstanding()
7237 return data_count / DMUB_RB_CMD_SIZE; in dmub_rb_num_outstanding()
7248 uint32_t data_count; in dmub_rb_num_free() local
7251 data_count = rb->wrpt - rb->rptr; in dmub_rb_num_free()
7253 data_count = rb->capacity - (rb->rptr - rb->wrpt); in dmub_rb_num_free()
7256 data_count += DMUB_RB_CMD_SIZE; in dmub_rb_num_free()
7258 return (rb->capacity - data_count) / DMUB_RB_CMD_SIZE; in dmub_rb_num_free()
7270 uint32_t data_count; in dmub_rb_full() local
[all …]
/linux/drivers/infiniband/ulp/iser/
H A Diser_initiator.c499 task->data_count, DMA_TO_DEVICE); in iser_send_control()
501 memcpy(desc->req, task->data, task->data_count); in iser_send_control()
504 task->data_count, DMA_TO_DEVICE); in iser_send_control()
507 tx_dsg->length = task->data_count; in iser_send_control()
H A Discsi_iser.c292 hdr.itt, r2t->data_count); in iscsi_iser_task_xmit_unsol_data()
301 r2t->sent += r2t->data_count; in iscsi_iser_task_xmit_unsol_data()
/linux/include/scsi/
H A Dlibiscsi.h93 int data_count; /* DATA-Out payload progress */ member
119 unsigned data_count; member
/linux/drivers/scsi/
H A Dlibiscsi_tcp.c996 return conn->session->tt->init_pdu(task, 0, task->data_count); in iscsi_tcp_task_init()
1096 r2t->data_offset + r2t->sent, r2t->data_count); in iscsi_tcp_task_xmit()
1099 r2t->data_count); in iscsi_tcp_task_xmit()
1105 r2t->sent += r2t->data_count; in iscsi_tcp_task_xmit()
H A DFlashPoint.c5376 unsigned long data_count; in FPT_hostDataXferRestart() local
5385 data_count = 0; /*Running count of SG xfer counts. */ in FPT_hostDataXferRestart()
5388 while (data_count < currSCCB->Sccb_ATC) { in FPT_hostDataXferRestart()
5393 data_count += segp->segbytes; in FPT_hostDataXferRestart()
5396 if (data_count == currSCCB->Sccb_ATC) { in FPT_hostDataXferRestart()
5404 data_count - currSCCB->Sccb_ATC; in FPT_hostDataXferRestart()
/linux/drivers/tty/serial/
H A Dicom.c881 unsigned long data_count; in icom_write() local
893 data_count = kfifo_out_peek(&tport->xmit_fifo, icom_port->xmit_buf, in icom_write()
896 if (data_count) { in icom_write()
900 cpu_to_le16(data_count); in icom_write()
910 trace(icom_port, "WRITE_START", data_count); in icom_write()
915 return data_count; in icom_write()
/linux/drivers/scsi/qla4xxx/
H A Dql4_iocb.c413 sizeof(struct iscsi_hdr), task->data, task->data_count); in qla4xxx_send_passthru0()
420 cpu_to_le32(task->data_count + in qla4xxx_send_passthru0()
/linux/drivers/net/ethernet/dec/tulip/
H A Dxircom_cb.c1007 u8 tuple, data_id, data_count; in read_mac_address() local
1016 data_count = xr32(CSR9); in read_mac_address()
1017 if ((tuple == 0x22) && (data_id == 0x04) && (data_count == 0x06)) { in read_mac_address()
/linux/drivers/media/dvb-frontends/
H A Dmxl5xx.c845 u32 data_count = 0; in write_fw_segment() local
856 size = orig_size = (((u32)(data_count + block_size)) > total_size) ? in write_fw_segment()
857 (total_size - data_count) : block_size; in write_fw_segment()
868 data_count += size; in write_fw_segment()
871 } while (data_count < total_size); in write_fw_segment()
/linux/drivers/scsi/bnx2i/
H A Dbnx2i_iscsi.c1196 bnx2i_conn->gen_pdu.req_buf_size = task->data_count; in bnx2i_mtask_xmit()
1200 ADD_STATS_64(hba, tx_bytes, task->data_count); in bnx2i_mtask_xmit()
1202 if (task->data_count) { in bnx2i_mtask_xmit()
1204 task->data_count); in bnx2i_mtask_xmit()
1206 bnx2i_conn->gen_pdu.req_buf + task->data_count; in bnx2i_mtask_xmit()
/linux/drivers/scsi/qedi/
H A Dqedi_iscsi.c818 qedi_conn->gen_pdu.req_buf_size = task->data_count; in qedi_mtask_xmit()
820 if (task->data_count) { in qedi_mtask_xmit()
822 task->data_count); in qedi_mtask_xmit()
824 qedi_conn->gen_pdu.req_buf + task->data_count; in qedi_mtask_xmit()
/linux/drivers/memstick/core/
H A Dmspro_block.c603 .data_count = cpu_to_be16((uint16_t)(length / msb->page_size)), in h_mspro_block_setup_cmd()
800 .data_count = 0, in mspro_block_set_interface()
/linux/drivers/md/
H A Draid5-cache.c1865 int data_count = 0; in r5l_recovery_replay_one_stripe() local
1872 data_count++; in r5l_recovery_replay_one_stripe()
1880 if (data_count == 0) in r5l_recovery_replay_one_stripe()

12