Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/usb/pvrusb2/
Dpvrusb2-debugifc.c119 int ccnt; in pvr2_debugifc_print_info() local
120 ccnt = scnprintf(buf, acnt, "Driver hardware description: %s\n", in pvr2_debugifc_print_info()
122 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_info()
123 ccnt = scnprintf(buf,acnt,"Driver state info:\n"); in pvr2_debugifc_print_info()
124 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_info()
125 ccnt = pvr2_hdw_state_report(hdw,buf,acnt); in pvr2_debugifc_print_info()
126 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_info()
136 int ccnt; in pvr2_debugifc_print_status() local
143 ccnt = scnprintf(buf,acnt,"USB link speed: %s\n", in pvr2_debugifc_print_status()
145 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_status()
[all …]
Dpvrusb2-hdw.c2980 unsigned int bcnt,ccnt; in pvr2_hdw_commit_setup() local
2995 sizeof(buf)-bcnt,&ccnt); in pvr2_hdw_commit_setup()
2996 bcnt += ccnt; in pvr2_hdw_commit_setup()
3841 unsigned int ccnt,bcnt; in pvr2_issue_simple_cmd() local
3845 ccnt = scnprintf(tbuf+bcnt, in pvr2_issue_simple_cmd()
3848 bcnt += ccnt; in pvr2_issue_simple_cmd()
3851 ccnt = scnprintf(tbuf+bcnt, in pvr2_issue_simple_cmd()
3855 bcnt += ccnt; in pvr2_issue_simple_cmd()
3860 ccnt = scnprintf(tbuf+bcnt, in pvr2_issue_simple_cmd()
3863 bcnt += ccnt; in pvr2_issue_simple_cmd()
[all …]
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()
Dpvrusb2-sysfs.c197 unsigned int bcnt, ccnt, ecnt; in show_enum() local
203 PAGE_SIZE - bcnt, &ccnt); in show_enum()
204 if (!ccnt) continue; in show_enum()
205 bcnt += ccnt; in show_enum()
221 unsigned int bcnt, ccnt; in show_bits() local
229 PAGE_SIZE - bcnt, &ccnt); in show_bits()
230 bcnt += ccnt; in show_bits()
/linux-5.19.10/drivers/power/supply/
D88pm860x_battery.c111 struct ccnt { struct
148 static struct ccnt ccnt_data;
247 int *ccnt) in read_ccnt() argument
258 *ccnt = ((buf[0] & 0xff) << 8) | (buf[1] & 0xff); in read_ccnt()
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()
[all …]
/linux-5.19.10/drivers/staging/wlan-ng/
Dprism2fw.c169 static int mkimage(struct imgchunk *clist, unsigned int *ccnt);
512 static int mkimage(struct imgchunk *clist, unsigned int *ccnt) in mkimage() argument
526 *ccnt = 0; in mkimage()
536 (*ccnt)++; in mkimage()
537 currchunk = *ccnt - 1; in mkimage()
557 for (i = 0; i < *ccnt; i++) { in mkimage()
570 for (j = 0; j < *ccnt; j++) { in mkimage()
576 if (((unsigned int)j) >= (*ccnt)) { in mkimage()
/linux-5.19.10/drivers/mmc/host/
Ds3cmci.h65 unsigned int ccnt, dcnt; member
Ds3cmci.c186 host->ccnt, (stop ? " (STOP)" : ""), in prepare_dbgmsg()
1103 host->ccnt++; in s3cmci_send_request()
/linux-5.19.10/drivers/dma/ti/
Dedma.c156 u32 ccnt; member
280 .ccnt = 1,
821 edesc->pset[j].param.ccnt, in edma_execute()
961 int bcnt, ccnt, cidx; in edma_config_pset() local
987 ccnt = dma_length / acnt / (SZ_64K - 1); in edma_config_pset()
988 bcnt = dma_length / acnt - ccnt * (SZ_64K - 1); in edma_config_pset()
994 ccnt++; in edma_config_pset()
1010 ccnt = dma_length / (acnt * bcnt); in edma_config_pset()
1011 if (ccnt > (SZ_64K - 1)) { in edma_config_pset()
1055 param->ccnt = ccnt; in edma_config_pset()
[all …]
/linux-5.19.10/drivers/net/ethernet/
Djme.c1053 int i, j, ccnt, desccnt, mask = jme->rx_ring_mask; in jme_process_receive() local
1090 for (j = i, ccnt = desccnt ; ccnt-- ; ) { in jme_process_receive()
/linux-5.19.10/drivers/scsi/lpfc/
Dlpfc_init.c13362 int idx, ccnt; in lpfc_sli4_xri_exchange_busy_wait() local
13378 ccnt = 0; in lpfc_sli4_xri_exchange_busy_wait()
13383 ccnt++; in lpfc_sli4_xri_exchange_busy_wait()
13385 if (ccnt) in lpfc_sli4_xri_exchange_busy_wait()
13417 ccnt = 0; in lpfc_sli4_xri_exchange_busy_wait()
13423 ccnt++; in lpfc_sli4_xri_exchange_busy_wait()
13425 if (ccnt) in lpfc_sli4_xri_exchange_busy_wait()