Home
last modified time | relevance | path

Searched refs:data_count (Results 1 – 25 of 36) 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()
H A Ddebug_hw.c165 unsigned int data_count = 0, i; in show_gather() local
191 if (!data_count) { in show_gather()
193 data_count = show_channel_command(o, val, &payload); in show_gather()
196 data_count > 1 ? ", " : "])\n"); in show_gather()
197 data_count--; in show_gather()
/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()
610 unsigned int data_count, res_bits, i = 0; in tegra_gmac_prep_cmd() local
614 data_count = (rctx->assoclen / AES_BLOCK_SIZE); in tegra_gmac_prep_cmd()
622 data_count--; in tegra_gmac_prep_cmd()
625 cpuvaddr[i++] = SE_LAST_BLOCK_VAL(data_count) | in tegra_gmac_prep_cmd()
650 unsigned int data_count, res_bits, i = 0, j; in tegra_gcm_crypt_prep_cmd() local
654 data_count = (rctx->cryptlen / AES_BLOCK_SIZE); in tegra_gcm_crypt_prep_cmd()
[all …]
/linux/drivers/scsi/
H A Daha152x.c2005 int fifodata, data_count; in datai_run() local
2044 data_count = fifodata > acp->this_residual ? in datai_run()
2046 fifodata -= data_count; in datai_run()
2048 if (data_count & 1) { in datai_run()
2056 if (data_count > 1) { in datai_run()
2057 data_count >>= 1; in datai_run()
2058 insw(DATAPORT, acp->ptr, data_count); in datai_run()
2059 acp->ptr += 2 * data_count; in datai_run()
2060 acp->this_residual -= 2 * data_count; in datai_run()
2061 DATA_LEN += 2 * data_count; in datai_run()
[all …]
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()
/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/include/linux/
H A Dmemstick.h99 __be16 data_count; member
121 unsigned short data_count; member
/linux/fs/smb/client/
H A Dcifssmb.c2355 __u16 data_count; in CIFSSMBPosixLock() local
2364 data_count = le16_to_cpu(pSMBr->t2.DataCount); in CIFSSMBPosixLock()
2365 if (data_count < sizeof(struct cifs_posix_lock)) { in CIFSSMBPosixLock()
2367 data_count, sizeof(struct cifs_posix_lock)); in CIFSSMBPosixLock()
2966 __u32 data_offset, data_count, len; in cifs_query_reparse_point() local
3026 data_count = le32_to_cpu(io_rsp->DataCount); in cifs_query_reparse_point()
3028 !data_count || data_count > 2048) { in cifs_query_reparse_point()
3030 get_bcc(&io_rsp->hdr), data_count); in cifs_query_reparse_point()
3046 if (data_count != le16_to_cpu(io_rsp->ReturnedDataLen)) { in cifs_query_reparse_point()
3048 data_count, le16_to_cpu(io_rsp->ReturnedDataLen)); in cifs_query_reparse_point()
[all …]
/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()
/linux/include/scsi/
H A Dlibiscsi.h93 int data_count; /* DATA-Out payload progress */ member
119 unsigned data_count; member
/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/fs/smb/server/
H A Dvfs.h48 int data_count; member
/linux/drivers/media/pci/cx18/
H A Dcx18-av-vbi.c53 u8 data_count; member
/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()

12