Home
last modified time | relevance | path

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

/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-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()
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()
/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 …]
/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()
/drivers/dma/ti/
Dedma.c148 u32 ccnt; member
272 .ccnt = 1,
773 edesc->pset[j].param.ccnt, in edma_execute()
913 int bcnt, ccnt, cidx; in edma_config_pset() local
939 ccnt = dma_length / acnt / (SZ_64K - 1); in edma_config_pset()
940 bcnt = dma_length / acnt - ccnt * (SZ_64K - 1); in edma_config_pset()
946 ccnt++; in edma_config_pset()
962 ccnt = dma_length / (acnt * bcnt); in edma_config_pset()
963 if (ccnt > (SZ_64K - 1)) { in edma_config_pset()
1007 param->ccnt = ccnt; in edma_config_pset()
[all …]
/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()
/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()
/drivers/scsi/lpfc/
Dlpfc_init.c13390 int idx, ccnt; in lpfc_sli4_xri_exchange_busy_wait() local
13406 ccnt = 0; in lpfc_sli4_xri_exchange_busy_wait()
13411 ccnt++; in lpfc_sli4_xri_exchange_busy_wait()
13413 if (ccnt) in lpfc_sli4_xri_exchange_busy_wait()
13445 ccnt = 0; in lpfc_sli4_xri_exchange_busy_wait()
13451 ccnt++; in lpfc_sli4_xri_exchange_busy_wait()
13453 if (ccnt) in lpfc_sli4_xri_exchange_busy_wait()