Searched refs:data_cnt (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/drivers/video/fbdev/exynos/
H A Dexynos_mipi_dsi_common.c108 unsigned int data_cnt = 0, payload = 0; exynos_mipi_dsi_long_data_wr() local
111 for (data_cnt = 0; data_cnt < data_size; data_cnt += 4) { exynos_mipi_dsi_long_data_wr()
116 if ((data_size - data_cnt) < 4) { exynos_mipi_dsi_long_data_wr()
117 if ((data_size - data_cnt) == 3) { exynos_mipi_dsi_long_data_wr()
118 payload = data0[data_cnt] | exynos_mipi_dsi_long_data_wr()
119 data0[data_cnt + 1] << 8 | exynos_mipi_dsi_long_data_wr()
120 data0[data_cnt + 2] << 16; exynos_mipi_dsi_long_data_wr()
122 payload, data0[data_cnt], exynos_mipi_dsi_long_data_wr()
123 data0[data_cnt + 1], exynos_mipi_dsi_long_data_wr()
124 data0[data_cnt + 2]); exynos_mipi_dsi_long_data_wr()
125 } else if ((data_size - data_cnt) == 2) { exynos_mipi_dsi_long_data_wr()
126 payload = data0[data_cnt] | exynos_mipi_dsi_long_data_wr()
127 data0[data_cnt + 1] << 8; exynos_mipi_dsi_long_data_wr()
130 data0[data_cnt], exynos_mipi_dsi_long_data_wr()
131 data0[data_cnt + 1]); exynos_mipi_dsi_long_data_wr()
132 } else if ((data_size - data_cnt) == 1) { exynos_mipi_dsi_long_data_wr()
133 payload = data0[data_cnt]; exynos_mipi_dsi_long_data_wr()
139 payload = data0[data_cnt] | exynos_mipi_dsi_long_data_wr()
140 data0[data_cnt + 1] << 8 | exynos_mipi_dsi_long_data_wr()
141 data0[data_cnt + 2] << 16 | exynos_mipi_dsi_long_data_wr()
142 data0[data_cnt + 3] << 24; exynos_mipi_dsi_long_data_wr()
146 payload, *(u8 *)(data0 + data_cnt), exynos_mipi_dsi_long_data_wr()
147 data0[data_cnt + 1], exynos_mipi_dsi_long_data_wr()
148 data0[data_cnt + 2], exynos_mipi_dsi_long_data_wr()
149 data0[data_cnt + 3]); exynos_mipi_dsi_long_data_wr()
/linux-4.1.27/drivers/scsi/
H A Dadvansys.c311 ASC_DCNT data_cnt; member in struct:asc_scsiq_1
1848 ADV_DCNT data_cnt; /* Data count. Ucode sets to residual. */ member in struct:adv_scsi_req_q
2608 (" data_addr 0x%lx, data_cnt %lu, sense_addr 0x%lx, sense_len %u,\n", asc_prt_asc_scsi_q()
2610 (ulong)le32_to_cpu(q->q1.data_cnt), asc_prt_asc_scsi_q()
2686 printk(" data_cnt %lu, sense_addr 0x%lx, sense_len %u,\n", asc_prt_adv_scsi_req_q()
2687 (ulong)le32_to_cpu(q->data_cnt), asc_prt_adv_scsi_req_q()
6198 resid_cnt = le32_to_cpu(scsiqp->data_cnt); adv_isr_callback()
6380 scsiq->data_cnt = 0L; AdvISR()
6915 * SG elements. The data_cnt and data_addr fields which AscIsrChipHalted()
7937 asc_scsi_q->q1.data_cnt = 0; asc_build_req()
8158 scsiqp->data_cnt = 0; adv_build_req()
8182 scsiqp->data_cnt = cpu_to_le32(scsi_bufflen(scp)); adv_build_req()
8373 saved_data_cnt = scsiq->q1.data_cnt; AscPutReadySgListQueue()
8375 scsiq->q1.data_cnt = (ASC_DCNT) sg_head->sg_list[0].bytes; AscPutReadySgListQueue()
8484 scsiq->q1.data_cnt = saved_data_cnt; AscPutReadySgListQueue()
8565 ASC_DCNT data_cnt; AscExeScsiQueue() local
8613 scsiq->q1.data_cnt = AscExeScsiQueue()
8624 data_cnt = 0; AscExeScsiQueue()
8626 data_cnt += AscExeScsiQueue()
8631 data_cnt = le32_to_cpu(scsiq->q1.data_cnt); AscExeScsiQueue()
8633 if (data_cnt != 0UL) { AscExeScsiQueue()
8634 if (data_cnt < 512UL) { AscExeScsiQueue()
8686 data_cnt = AscExeScsiQueue()
8691 data_cnt -= AscExeScsiQueue()
8697 cpu_to_le32(data_cnt); AscExeScsiQueue()
8731 le32_to_cpu(scsiq->q1.data_cnt); AscExeScsiQueue()
8740 data_cnt = AscExeScsiQueue()
8742 data_cnt); AscExeScsiQueue()
8743 if (((ushort)data_cnt & 0x01FF) AscExeScsiQueue()
8747 data_cnt -= (ASC_DCNT) AscExeScsiQueue()
8749 scsiq->q1.data_cnt = AscExeScsiQueue()
8751 (data_cnt); AscExeScsiQueue()
/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A Ddebug.c123 stats->data_cnt++; il_update_stats()
261 il->tx_stats.data_cnt); il_dbgfs_tx_stats_read()
322 il->rx_stats.data_cnt); il_dbgfs_rx_stats_read()
H A Dcommon.h1068 u32 data_cnt; member in struct:traffic_stats
/linux-4.1.27/fs/xfs/
H A Dxfs_log.c2219 int *data_cnt, xlog_write_copy_finish()
2230 xlog_state_finish_copy(log, iclog, *record_cnt, *data_cnt); xlog_write_copy_finish()
2232 *data_cnt = 0; xlog_write_copy_finish()
2241 xlog_state_finish_copy(log, iclog, *record_cnt, *data_cnt); xlog_write_copy_finish()
2243 *data_cnt = 0; xlog_write_copy_finish()
2316 int data_cnt = 0; xlog_write() local
2412 data_cnt += contwr ? copy_len : 0; xlog_write()
2415 &record_cnt, &data_cnt, xlog_write()
2455 xlog_state_finish_copy(log, iclog, record_cnt, data_cnt); xlog_write()
2214 xlog_write_copy_finish( struct xlog *log, struct xlog_in_core *iclog, uint flags, int *record_cnt, int *data_cnt, int *partial_copy, int *partial_copy_len, int log_offset, struct xlog_in_core **commit_iclog) xlog_write_copy_finish() argument
/linux-4.1.27/drivers/scsi/aic7xxx/
H A Daic7xxx_core.c4195 uint32_t data_cnt; ahc_handle_ign_wide_residue() local
4201 data_cnt = ahc_inl(ahc, SCB_RESIDUAL_DATACNT); ahc_handle_ign_wide_residue()
4209 data_cnt &= ~AHC_SG_LEN_MASK; ahc_handle_ign_wide_residue()
4214 data_cnt += 1; ahc_handle_ign_wide_residue()
4227 && sglen < (data_cnt & AHC_SG_LEN_MASK)) { ahc_handle_ign_wide_residue()
4235 data_cnt = 1 | (sglen & (~AHC_SG_LEN_MASK)); ahc_handle_ign_wide_residue()
4247 ahc_outl(ahc, SCB_RESIDUAL_DATACNT, data_cnt); ahc_handle_ign_wide_residue()
H A Daic79xx_core.c5729 uint32_t data_cnt; ahd_handle_ign_wide_residue() local
5735 data_cnt = ahd_inl_scbram(ahd, SCB_RESIDUAL_DATACNT); ahd_handle_ign_wide_residue()
5742 data_cnt &= ~AHD_SG_LEN_MASK; ahd_handle_ign_wide_residue()
5745 data_cnt += 1; ahd_handle_ign_wide_residue()
5760 && sglen < (data_cnt & AHD_SG_LEN_MASK)) { ahd_handle_ign_wide_residue()
5768 data_cnt = 1|(sglen&(~AHD_SG_LEN_MASK)); ahd_handle_ign_wide_residue()
5793 && sglen < (data_cnt & AHD_SG_LEN_MASK)) { ahd_handle_ign_wide_residue()
5801 data_cnt = 1|(sglen&(~AHD_SG_LEN_MASK)); ahd_handle_ign_wide_residue()
5826 ahd_outl(ahd, SCB_RESIDUAL_DATACNT, data_cnt); ahd_handle_ign_wide_residue()
5877 * Determine initial values for data_addr and data_cnt ahd_reinitialize_dataptrs()

Completed in 417 milliseconds