Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/usb/pvrusb2/
H A Dpvrusb2-debugifc.c119 int ccnt; in pvr2_debugifc_print_info() local
122 bcnt += ccnt; acnt -= ccnt; buf += ccnt; 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
145 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_status()
153 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_status()
157 bcnt += ccnt; acnt -= ccnt; buf += ccnt; in pvr2_debugifc_print_status()
163 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()
/openbmc/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 …]
/openbmc/u-boot/arch/arm/include/asm/ti-common/
H A Dti-edma3.h67 u32 ccnt; member
83 int ccnt; member
117 int bcnt, int ccnt, u16 bcnt_rld,
/openbmc/u-boot/drivers/dma/
H A Dti-edma3.c252 int bcnt, int ccnt, u16 bcnt_rld, in edma3_set_transfer_params() argument
274 __raw_writel(0xffff & ccnt, &rg->ccnt); in edma3_set_transfer_params()
333 __raw_writel(0xffff & cfg->ccnt, &rg->ccnt); in edma3_slot_configure()
421 slot.ccnt = 1; in __edma3_transfer()
458 slot.ccnt = 1; in __edma3_transfer()
/openbmc/qemu/tests/qtest/
H A Dboot-serial-test.c200 int nbr = 0, pos = 0, ccnt; in check_guest_output() local
206 ccnt = 0; in check_guest_output()
207 while (ccnt++ < 512 && (nbr = read(fd, &ch, 1)) == 1) { in check_guest_output()
/openbmc/linux/drivers/staging/wlan-ng/
H A Dprism2fw.c148 static int mkimage(struct imgchunk *clist, unsigned int *ccnt);
491 static int mkimage(struct imgchunk *clist, unsigned int *ccnt) in mkimage() argument
505 *ccnt = 0; in mkimage()
515 (*ccnt)++; in mkimage()
516 currchunk = *ccnt - 1; in mkimage()
536 for (i = 0; i < *ccnt; i++) { in mkimage()
549 for (j = 0; j < *ccnt; j++) { in mkimage()
555 if (((unsigned int)j) >= (*ccnt)) { in mkimage()
/openbmc/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 …]
/openbmc/u-boot/arch/arm/mach-keystone/
H A Dddr3.c172 slot.ccnt = DDR3_EDMA_CCNT; in ddr3_reset_data()
/openbmc/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()
/openbmc/linux/drivers/scsi/lpfc/
H A Dlpfc_init.c13366 int idx, ccnt; in lpfc_sli4_xri_exchange_busy_wait() local
13382 ccnt = 0; in lpfc_sli4_xri_exchange_busy_wait()
13387 ccnt++; in lpfc_sli4_xri_exchange_busy_wait()
13389 if (ccnt) in lpfc_sli4_xri_exchange_busy_wait()
13421 ccnt = 0; in lpfc_sli4_xri_exchange_busy_wait()
13427 ccnt++; in lpfc_sli4_xri_exchange_busy_wait()
13429 if (ccnt) in lpfc_sli4_xri_exchange_busy_wait()