/drivers/media/usb/pvrusb2/ |
D | pvrusb2-debugifc.c | 116 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 …]
|
D | pvrusb2-sysfs.c | 290 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 …]
|
D | pvrusb2-hdw.c | 4673 char *buf,unsigned int acnt) in print_input_mask() argument 4680 acnt-tcnt, in print_input_mask() 4701 char *buf,unsigned int acnt) in pvr2_hdw_report_unlocked() argument 4706 buf,acnt, in pvr2_hdw_report_unlocked() 4718 buf,acnt, in pvr2_hdw_report_unlocked() 4727 buf,acnt, in pvr2_hdw_report_unlocked() 4755 buf,acnt, in pvr2_hdw_report_unlocked() 4763 acnt, in pvr2_hdw_report_unlocked() 4768 acnt-tcnt); in pvr2_hdw_report_unlocked() 4771 acnt-tcnt, in pvr2_hdw_report_unlocked() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/gr/ |
D | ctxnv50.c | 1891 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 …]
|
/drivers/dma/ti/ |
D | edma.c | 955 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 …]
|
/drivers/scsi/lpfc/ |
D | lpfc_attr.c | 1996 uint32_t cnt, acnt; in lpfc_used_rpi_show() local 1998 if (lpfc_get_hba_info(phba, NULL, NULL, &cnt, &acnt, NULL, NULL)) in lpfc_used_rpi_show() 1999 return scnprintf(buf, PAGE_SIZE, "%d\n", (cnt - acnt)); in lpfc_used_rpi_show() 2052 uint32_t cnt, acnt; in lpfc_used_xri_show() local 2054 if (lpfc_get_hba_info(phba, &cnt, &acnt, NULL, NULL, NULL, NULL)) in lpfc_used_xri_show() 2055 return scnprintf(buf, PAGE_SIZE, "%d\n", (cnt - acnt)); in lpfc_used_xri_show() 2108 uint32_t cnt, acnt; in lpfc_used_vpi_show() local 2110 if (lpfc_get_hba_info(phba, NULL, NULL, NULL, NULL, &cnt, &acnt)) in lpfc_used_vpi_show() 2111 return scnprintf(buf, PAGE_SIZE, "%d\n", (cnt - acnt)); in lpfc_used_vpi_show()
|