Searched refs:pcnt (Results 1 – 9 of 9) sorted by relevance
/drivers/mtd/maps/ |
D | pmcmsp-flash.c | 57 int pcnt; in init_msp_flash() local 95 for (pcnt = 0; (env = prom_getenv(part_name)); pcnt++) in init_msp_flash() 96 part_name[7] = '0' + pcnt + 1; in init_msp_flash() 98 if (pcnt == 0) { in init_msp_flash() 104 msp_parts[i] = kcalloc(pcnt, sizeof(struct mtd_partition), in init_msp_flash() 149 for (j = 0; j < pcnt; j++) { in init_msp_flash() 174 mtd_device_register(msp_flash[i], msp_parts[i], pcnt); in init_msp_flash()
|
/drivers/media/usb/pvrusb2/ |
D | pvrusb2-eeprom.c | 41 unsigned pcnt,tcnt; in pvr2_eeprom_fetch() local 77 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_eeprom_fetch() 78 pcnt = 16; in pvr2_eeprom_fetch() 79 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_eeprom_fetch() 87 msg[1].len = pcnt; in pvr2_eeprom_fetch()
|
D | pvrusb2-hdw.c | 3334 unsigned pcnt,tcnt; in pvr2_full_eeprom_fetch() local 3370 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_full_eeprom_fetch() 3371 pcnt = 16; in pvr2_full_eeprom_fetch() 3372 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_full_eeprom_fetch() 3380 msg[1].len = pcnt; in pvr2_full_eeprom_fetch()
|
/drivers/staging/kpc2000/kpc_dma/ |
D | fileops.c | 46 unsigned int pcnt; in kpc_dma_transfer() local 130 pcnt = count_parts_for_sge(sg); in kpc_dma_transfer() 131 for (p = 0 ; p < pcnt ; p++) { in kpc_dma_transfer() 135 if (p != pcnt - 1) in kpc_dma_transfer() 145 if (i == acd->mapped_entry_count - 1 && p == pcnt - 1) in kpc_dma_transfer() 157 if (i == acd->mapped_entry_count - 1 && p == pcnt - 1) in kpc_dma_transfer() 163 if (i == acd->mapped_entry_count - 1 && p == pcnt - 1) in kpc_dma_transfer()
|
/drivers/ntb/test/ |
D | ntb_perf.c | 192 int pcnt; member 318 for (*pidx = 0; *pidx < perf->pcnt; (*pidx)++) { in perf_spad_cmd_recv() 489 for (pidx = 0; pidx < perf->pcnt; pidx++) { in perf_link_event() 662 if (ntb_peer_mw_count(perf->ntb) < perf->pcnt) { in perf_init_service() 678 mask = GENMASK_ULL(perf->pcnt, 0); in perf_init_service() 679 if (ntb_spad_count(perf->ntb) >= PERF_SPAD_CNT(perf->pcnt) && in perf_init_service() 755 for (pidx = 0; pidx < perf->pcnt; pidx++) in perf_disable_service() 758 for (pidx = 0; pidx < perf->pcnt; pidx++) in perf_disable_service() 761 for (pidx = 0; pidx < perf->pcnt; pidx++) { in perf_disable_service() 1214 for (pidx = 0; pidx < perf->pcnt; pidx++) { in perf_dbgfs_read_info() [all …]
|
D | ntb_pingpong.c | 295 int pidx, lport, pcnt; in pp_init_flds() local 299 pcnt = ntb_peer_port_count(pp->ntb); in pp_init_flds() 300 for (pidx = 0; pidx < pcnt; pidx++) { in pp_init_flds() 307 pp->nmask = GENMASK_ULL(pcnt - 1, pidx); in pp_init_flds()
|
/drivers/s390/net/ |
D | qeth_core_sys.c | 121 limit = (card->ssqd.pcnt ? card->ssqd.pcnt - 1 : card->ssqd.pcnt); in qeth_dev_portno_store()
|
/drivers/net/ethernet/pasemi/ |
D | pasemi_mac.c | 629 unsigned int reg, pcnt; in pasemi_mac_restart_rx_intr() local 634 pcnt = *rx->chan.status & PAS_STATUS_PCNT_M; in pasemi_mac_restart_rx_intr() 636 reg = PAS_IOB_DMA_RXCH_RESET_PCNT(pcnt) | PAS_IOB_DMA_RXCH_RESET_PINTC; in pasemi_mac_restart_rx_intr() 646 unsigned int reg, pcnt; in pasemi_mac_restart_tx_intr() local 649 pcnt = *tx_ring(mac)->chan.status & PAS_STATUS_PCNT_M; in pasemi_mac_restart_tx_intr() 651 reg = PAS_IOB_DMA_TXCH_RESET_PCNT(pcnt) | PAS_IOB_DMA_TXCH_RESET_PINTC; in pasemi_mac_restart_tx_intr()
|
/drivers/gpu/drm/msm/dsi/phy/ |
D | dsi_phy.c | 27 s32 ui, s32 coeff, s32 pcnt) in dsi_dphy_timing_calc_clk_zero() argument 37 clk_z = linear_inter(2 * tmin, tmin, pcnt, 0, true); in dsi_dphy_timing_calc_clk_zero() 40 clk_z = linear_inter(tmax, tmin, pcnt, 0, true); in dsi_dphy_timing_calc_clk_zero()
|