Home
last modified time | relevance | path

Searched refs:ccnt (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-debugifc.c114 int ccnt; in pvr2_debugifc_print_info() local
117 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_info()
119 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_info()
120 ccnt = pvr2_hdw_state_report(hdw,buf,acnt); in pvr2_debugifc_print_info()
121 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_info()
131 int ccnt; in pvr2_debugifc_print_status() local
140 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_status()
148 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_status()
152 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_status()
158 ccnt = scnprintf( in pvr2_debugifc_print_status()
[all …]
H A Dpvrusb2-hdw.c2996 bcnt += ccnt; in pvr2_hdw_commit_setup()
3850 bcnt += ccnt; in pvr2_issue_simple_cmd()
3865 bcnt += ccnt; in pvr2_issue_simple_cmd()
3875 bcnt += ccnt; in pvr2_issue_simple_cmd()
4689 tcnt += ccnt; in print_input_mask()
4770 tcnt += ccnt; in pvr2_hdw_report_unlocked()
4778 tcnt += ccnt; in pvr2_hdw_report_unlocked()
4827 tcnt += ccnt; in pvr2_hdw_report_clients()
4865 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_hdw_state_report()
4868 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_hdw_state_report()
[all …]
H A Dpvrusb2-io.c119 unsigned int ccnt; in pvr2_buffer_remove() local
125 ccnt = bp->max_count; in pvr2_buffer_remove()
130 ccnt = bp->max_count; in pvr2_buffer_remove()
135 ccnt = bp->used_count; in pvr2_buffer_remove()
142 (*bcnt) -= ccnt; in pvr2_buffer_remove()
H A Dpvrusb2-sysfs.c193 unsigned int bcnt, ccnt, ecnt; in show_enum() local
199 PAGE_SIZE - bcnt, &ccnt); in show_enum()
200 if (!ccnt) continue; in show_enum()
201 bcnt += ccnt; in show_enum()
217 unsigned int bcnt, ccnt; in show_bits() local
225 PAGE_SIZE - bcnt, &ccnt); in show_bits()
226 bcnt += ccnt; in show_bits()
/linux/drivers/power/supply/
H A D88pm860x_battery.c111 struct ccnt { struct
148 static struct ccnt ccnt_data;
247 int *ccnt) in read_ccnt() argument
264 static int calc_ccnt(struct pm860x_battery_info *info, struct ccnt *ccnt) in calc_ccnt() argument
278 ccnt->pos += sum; in calc_ccnt()
289 ccnt->neg += sum; in calc_ccnt()
294 ccnt->spos += data; in calc_ccnt()
304 ccnt->total_chg = (int) ((ccnt->pos * 18236) >> 40); in calc_ccnt()
305 ccnt->total_dischg = (int) ((ccnt->neg * 18236) >> 40); in calc_ccnt()
311 static int clear_ccnt(struct pm860x_battery_info *info, struct ccnt *ccnt) in clear_ccnt() argument
[all …]
/linux/drivers/perf/
H A Darm-ni.c112 struct perf_event *ccnt; member
272 unsigned int ccnt; member
281 val->ccnt++; in arm_ni_val_count_event()
282 return val->ccnt <= 1; in arm_ni_val_count_event()
357 if (ccnt) in arm_ni_event_read()
364 if (!ccnt) in arm_ni_event_read()
406 if (cd->ccnt) in arm_ni_event_add()
409 cd->ccnt = event; in arm_ni_event_add()
440 cd->ccnt = NULL; in arm_ni_event_del()
453 if (!(WARN_ON(!cd->ccnt))) { in arm_ni_handle_irq()
[all …]
/linux/drivers/dma/ti/
H A Dedma.c147 u32 ccnt; member
271 .ccnt = 1,
764 edesc->pset[j].param.ccnt, in edma_execute()
904 int bcnt, ccnt, cidx; in edma_config_pset() local
930 ccnt = dma_length / acnt / (SZ_64K - 1); in edma_config_pset()
937 ccnt++; in edma_config_pset()
953 ccnt = dma_length / (acnt * bcnt); in edma_config_pset()
954 if (ccnt > (SZ_64K - 1)) { in edma_config_pset()
998 param->ccnt = ccnt; in edma_config_pset()
1281 param->ccnt = 1; in edma_prep_dma_interleaved()
[all …]
/linux/drivers/net/ethernet/
H A Djme.c1051 int i, j, ccnt, desccnt, mask = jme->rx_ring_mask; in jme_process_receive() local
1088 for (j = i, ccnt = desccnt ; ccnt-- ; ) { in jme_process_receive()
/linux/drivers/scsi/lpfc/
H A Dlpfc_init.c13349 int idx, ccnt; in lpfc_sli4_xri_exchange_busy_wait() local
13365 ccnt = 0; in lpfc_sli4_xri_exchange_busy_wait()
13370 ccnt++; in lpfc_sli4_xri_exchange_busy_wait()
13372 if (ccnt) in lpfc_sli4_xri_exchange_busy_wait()
13404 ccnt = 0; in lpfc_sli4_xri_exchange_busy_wait()
13410 ccnt++; in lpfc_sli4_xri_exchange_busy_wait()
13412 if (ccnt) in lpfc_sli4_xri_exchange_busy_wait()