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.c115 int ccnt; in pvr2_debugifc_print_info() local
116 ccnt = scnprintf(buf, acnt, "Driver hardware description: %s\n", in pvr2_debugifc_print_info()
118 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_info()
119 ccnt = scnprintf(buf,acnt,"Driver state info:\n"); in pvr2_debugifc_print_info()
120 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_info()
121 ccnt = pvr2_hdw_state_report(hdw,buf,acnt); in pvr2_debugifc_print_info()
122 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_info()
132 int ccnt; in pvr2_debugifc_print_status() local
139 ccnt = scnprintf(buf,acnt,"USB link speed: %s\n", in pvr2_debugifc_print_status()
141 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_status()
[all …]
H A Dpvrusb2-hdw.c2978 unsigned int bcnt,ccnt; in pvr2_hdw_commit_setup() local
2993 sizeof(buf)-bcnt,&ccnt); in pvr2_hdw_commit_setup()
2994 bcnt += ccnt; in pvr2_hdw_commit_setup()
3846 unsigned int ccnt,bcnt; in pvr2_issue_simple_cmd() local
3850 ccnt = scnprintf(tbuf+bcnt, in pvr2_issue_simple_cmd()
3853 bcnt += ccnt; in pvr2_issue_simple_cmd()
3856 ccnt = scnprintf(tbuf+bcnt, in pvr2_issue_simple_cmd()
3860 bcnt += ccnt; in pvr2_issue_simple_cmd()
3865 ccnt = scnprintf(tbuf+bcnt, in pvr2_issue_simple_cmd()
3868 bcnt += ccnt; in pvr2_issue_simple_cmd()
[all …]
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()
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()
/linux/drivers/power/supply/
H A D88pm860x_battery.c112 struct ccnt { struct
149 static struct ccnt ccnt_data;
248 int *ccnt) in read_ccnt() argument
259 *ccnt = ((buf[0] & 0xff) << 8) | (buf[1] & 0xff); in read_ccnt()
265 static int calc_ccnt(struct pm860x_battery_info *info, struct ccnt *ccnt) in calc_ccnt() argument
279 ccnt->pos += sum; in calc_ccnt()
290 ccnt->neg += sum; in calc_ccnt()
295 ccnt->spos += data; in calc_ccnt()
305 ccnt->total_chg = (int) ((ccnt->pos * 18236) >> 40); in calc_ccnt()
306 ccnt->total_dischg = (int) ((ccnt->neg * 18236) >> 40); in calc_ccnt()
[all …]
/linux/drivers/perf/
H A Darm-ni.c123 struct perf_event *ccnt; member
290 unsigned int ccnt; member
299 val->ccnt++; in arm_ni_val_count_event()
300 return val->ccnt <= 1; in arm_ni_val_count_event()
379 bool ccnt = hw->idx == NI_CCNT_IDX; in arm_ni_event_read() local
383 if (ccnt) in arm_ni_event_read()
390 if (!ccnt) in arm_ni_event_read()
432 if (cd->ccnt) in arm_ni_event_add()
437 cd->ccnt = event; in arm_ni_event_add()
470 cd->ccnt = NULL; in arm_ni_event_del()
[all …]
/linux/drivers/dma/ti/
H A Dedma.c148 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()
931 bcnt = dma_length / acnt - ccnt * (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()
[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.c13331 int idx, ccnt; in lpfc_sli4_xri_exchange_busy_wait() local
13347 ccnt = 0; in lpfc_sli4_xri_exchange_busy_wait()
13352 ccnt++; in lpfc_sli4_xri_exchange_busy_wait()
13354 if (ccnt) in lpfc_sli4_xri_exchange_busy_wait()
13386 ccnt = 0; in lpfc_sli4_xri_exchange_busy_wait()
13392 ccnt++; in lpfc_sli4_xri_exchange_busy_wait()
13394 if (ccnt) in lpfc_sli4_xri_exchange_busy_wait()