Home
last modified time | relevance | path

Searched refs:pcnt (Results 1 – 6 of 6) sorted by relevance

/drivers/mtd/maps/
Dpmcmsp-flash.c57 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/
Dpvrusb2-eeprom.c55 unsigned pcnt,tcnt; in pvr2_eeprom_fetch() local
93 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_eeprom_fetch()
94 pcnt = 16; in pvr2_eeprom_fetch()
95 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_eeprom_fetch()
103 msg[1].len = pcnt; in pvr2_eeprom_fetch()
Dpvrusb2-hdw.c3381 unsigned pcnt,tcnt; in pvr2_full_eeprom_fetch() local
3419 for (tcnt = 0; tcnt < EEPROM_SIZE; tcnt += pcnt) { in pvr2_full_eeprom_fetch()
3420 pcnt = 16; in pvr2_full_eeprom_fetch()
3421 if (pcnt + tcnt > EEPROM_SIZE) pcnt = EEPROM_SIZE-tcnt; in pvr2_full_eeprom_fetch()
3429 msg[1].len = pcnt; in pvr2_full_eeprom_fetch()
/drivers/gpu/drm/msm/dsi/phy/
Ddsi_phy.c35 s32 ui, s32 coeff, s32 pcnt) in dsi_dphy_timing_calc_clk_zero() argument
45 clk_z = linear_inter(2 * tmin, tmin, pcnt, 0, true); in dsi_dphy_timing_calc_clk_zero()
48 clk_z = linear_inter(tmax, tmin, pcnt, 0, true); in dsi_dphy_timing_calc_clk_zero()
/drivers/s390/net/
Dqeth_core_sys.c140 limit = (card->ssqd.pcnt ? card->ssqd.pcnt - 1 : card->ssqd.pcnt); in qeth_dev_portno_store()
/drivers/net/ethernet/pasemi/
Dpasemi_mac.c676 unsigned int reg, pcnt; in pasemi_mac_restart_rx_intr() local
681 pcnt = *rx->chan.status & PAS_STATUS_PCNT_M; in pasemi_mac_restart_rx_intr()
683 reg = PAS_IOB_DMA_RXCH_RESET_PCNT(pcnt) | PAS_IOB_DMA_RXCH_RESET_PINTC; in pasemi_mac_restart_rx_intr()
693 unsigned int reg, pcnt; in pasemi_mac_restart_tx_intr() local
696 pcnt = *tx_ring(mac)->chan.status & PAS_STATUS_PCNT_M; in pasemi_mac_restart_tx_intr()
698 reg = PAS_IOB_DMA_TXCH_RESET_PCNT(pcnt) | PAS_IOB_DMA_TXCH_RESET_PINTC; in pasemi_mac_restart_tx_intr()