Home
last modified time | relevance | path

Searched refs:acnt (Results 1 – 7 of 7) sorted by relevance

/linux-5.19.10/drivers/media/usb/pvrusb2/
Dpvrusb2-debugifc.c116 int pvr2_debugifc_print_info(struct pvr2_hdw *hdw,char *buf,unsigned int acnt) in pvr2_debugifc_print_info() argument
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()
133 char *buf,unsigned int acnt) in pvr2_debugifc_print_status() argument
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-sysfs.c290 unsigned int cnt,acnt; in pvr2_sysfs_add_control() local
360 acnt = 0; in pvr2_sysfs_add_control()
361 cip->attr_gen[acnt++] = &cip->attr_name.attr; in pvr2_sysfs_add_control()
362 cip->attr_gen[acnt++] = &cip->attr_type.attr; in pvr2_sysfs_add_control()
363 cip->attr_gen[acnt++] = &cip->attr_val.attr; in pvr2_sysfs_add_control()
364 cip->attr_gen[acnt++] = &cip->attr_def.attr; in pvr2_sysfs_add_control()
368 cip->attr_gen[acnt++] = &cip->attr_custom.attr; in pvr2_sysfs_add_control()
375 cip->attr_gen[acnt++] = &cip->attr_enum.attr; in pvr2_sysfs_add_control()
379 cip->attr_gen[acnt++] = &cip->attr_min.attr; in pvr2_sysfs_add_control()
380 cip->attr_gen[acnt++] = &cip->attr_max.attr; in pvr2_sysfs_add_control()
[all …]
Dpvrusb2-hdw.c4676 char *buf,unsigned int acnt) in print_input_mask() argument
4683 acnt-tcnt, in print_input_mask()
4704 char *buf,unsigned int acnt) in pvr2_hdw_report_unlocked() argument
4709 buf,acnt, in pvr2_hdw_report_unlocked()
4721 buf,acnt, in pvr2_hdw_report_unlocked()
4730 buf,acnt, in pvr2_hdw_report_unlocked()
4758 buf,acnt, in pvr2_hdw_report_unlocked()
4766 acnt, in pvr2_hdw_report_unlocked()
4771 acnt-tcnt); in pvr2_hdw_report_unlocked()
4774 acnt-tcnt, in pvr2_hdw_report_unlocked()
[all …]
/linux-5.19.10/arch/x86/kernel/cpu/
Daperfmperf.c29 u64 acnt; member
341 static void scale_freq_tick(u64 acnt, u64 mcnt) in scale_freq_tick() argument
348 if (check_shl_overflow(acnt, 2*SCHED_CAPACITY_SHIFT, &acnt)) in scale_freq_tick()
354 freq_scale = div64_u64(acnt, mcnt); in scale_freq_tick()
370 static inline void scale_freq_tick(u64 acnt, u64 mcnt) { } in scale_freq_tick() argument
376 u64 acnt, mcnt, aperf, mperf; in arch_scale_freq_tick() local
383 acnt = aperf - s->aperf; in arch_scale_freq_tick()
391 s->acnt = acnt; in arch_scale_freq_tick()
395 scale_freq_tick(acnt, mcnt); in arch_scale_freq_tick()
410 u64 acnt, mcnt; in arch_freq_get_on_cpu() local
[all …]
/linux-5.19.10/drivers/gpu/drm/nouveau/nvkm/engine/gr/
Dctxnv50.c1891 int acnt = 0x10, rep, i; in nv50_gr_construct_gene_vfetch() local
1894 acnt = 0x20; in nv50_gr_construct_gene_vfetch()
1905 xf_emit(ctx, (acnt/8)-1, 0); /* ffffffff VP_ATTR_EN */ in nv50_gr_construct_gene_vfetch()
1906 xf_emit(ctx, acnt/8, 0); /* ffffffff VTX_ATR_MASK_UNK0DD0 */ in nv50_gr_construct_gene_vfetch()
1944 xf_emit(ctx, (acnt/8)-1, 0); /* ffffffff VP_ATTR_EN */ in nv50_gr_construct_gene_vfetch()
1964 xf_emit(ctx, acnt, 0); /* 1 tesla UNK1000 */ in nv50_gr_construct_gene_vfetch()
1968 xf_emit(ctx, acnt, 0); /* ffffffff VERTEX_ARRAY_UNK90C */ in nv50_gr_construct_gene_vfetch()
1971 xf_emit(ctx, acnt, 0); /* ffffffff VERTEX_ARRAY_UNK90C */ in nv50_gr_construct_gene_vfetch()
1974 xf_emit(ctx, acnt, 0); /* RO */ in nv50_gr_construct_gene_vfetch()
1985 xf_emit(ctx, acnt, 0); /* 00003fff VERTEX_ARRAY_ATTRIB_OFFSET */ in nv50_gr_construct_gene_vfetch()
[all …]
/linux-5.19.10/drivers/dma/ti/
Dedma.c955 unsigned int acnt, unsigned int dma_length, in edma_config_pset() argument
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()
997 cidx = acnt; in edma_config_pset()
1010 ccnt = dma_length / (acnt * bcnt); in edma_config_pset()
1015 cidx = acnt * bcnt; in edma_config_pset()
1021 src_bidx = acnt; in edma_config_pset()
1029 dst_bidx = acnt; in edma_config_pset()
1033 src_bidx = acnt; in edma_config_pset()
1035 dst_bidx = acnt; in edma_config_pset()
[all …]
/linux-5.19.10/drivers/scsi/lpfc/
Dlpfc_attr.c2181 uint32_t cnt, acnt; in lpfc_used_rpi_show() local
2183 if (lpfc_get_hba_info(phba, NULL, NULL, &cnt, &acnt, NULL, NULL)) in lpfc_used_rpi_show()
2184 return scnprintf(buf, PAGE_SIZE, "%d\n", (cnt - acnt)); in lpfc_used_rpi_show()
2237 uint32_t cnt, acnt; in lpfc_used_xri_show() local
2239 if (lpfc_get_hba_info(phba, &cnt, &acnt, NULL, NULL, NULL, NULL)) in lpfc_used_xri_show()
2240 return scnprintf(buf, PAGE_SIZE, "%d\n", (cnt - acnt)); in lpfc_used_xri_show()
2293 uint32_t cnt, acnt; in lpfc_used_vpi_show() local
2295 if (lpfc_get_hba_info(phba, NULL, NULL, NULL, NULL, &cnt, &acnt)) in lpfc_used_vpi_show()
2296 return scnprintf(buf, PAGE_SIZE, "%d\n", (cnt - acnt)); in lpfc_used_vpi_show()