Searched refs:pindex (Results 1 – 6 of 6) sorted by relevance
/drivers/clk/sprd/ |
D | pll.c | 18 #define pindex(pll, member) \ macro 33 (cfg[pindex(pll, member)] & pmask(pll, member)) 75 index = pindex(pll, PLL_REFIN); in pll_get_refin() 165 index = pindex(pll, PLL_PREDIV); in _sprd_pll_set_rate() 171 index = pindex(pll, PLL_POSTDIV); in _sprd_pll_set_rate() 182 index = pindex(pll, PLL_DIV_S); in _sprd_pll_set_rate() 187 index = pindex(pll, PLL_SDM_EN); in _sprd_pll_set_rate() 193 index = pindex(pll, PLL_NINT); in _sprd_pll_set_rate() 199 index = pindex(pll, PLL_KINT); in _sprd_pll_set_rate() 211 index = pindex(pll, PLL_IBIAS); in _sprd_pll_set_rate()
|
/drivers/hwmon/pmbus/ |
D | adm1275.c | 494 int vindex = -1, voindex = -1, cindex = -1, pindex = -1; in adm1275_probe() local 589 pindex = 3; in adm1275_probe() 593 pindex = 4; in adm1275_probe() 619 pindex = 4; in adm1275_probe() 622 pindex = 5; in adm1275_probe() 625 pindex = 6; in adm1275_probe() 628 pindex = 7; in adm1275_probe() 673 pindex = (config & ADM1275_VRANGE) ? 3 : 4; in adm1275_probe() 690 pindex = 2; in adm1275_probe() 745 pindex = 7 + vindex * 4 + (cindex - 3); in adm1275_probe() [all …]
|
/drivers/scsi/lpfc/ |
D | lpfc_init.c | 2261 lpfc_fill_vpd(struct lpfc_hba *phba, uint8_t *vpd, int length, int *pindex) in lpfc_fill_vpd() argument 2267 if ((vpd[*pindex] == 'S') && (vpd[*pindex + 1] == 'N')) { in lpfc_fill_vpd() 2268 *pindex += 2; in lpfc_fill_vpd() 2269 i = vpd[*pindex]; in lpfc_fill_vpd() 2270 *pindex += 1; in lpfc_fill_vpd() 2274 phba->SerialNumber[j++] = vpd[(*pindex)++]; in lpfc_fill_vpd() 2280 } else if ((vpd[*pindex] == 'V') && (vpd[*pindex + 1] == '1')) { in lpfc_fill_vpd() 2282 *pindex += 2; in lpfc_fill_vpd() 2283 i = vpd[*pindex]; in lpfc_fill_vpd() 2284 *pindex += 1; in lpfc_fill_vpd() [all …]
|
/drivers/gpu/drm/msm/adreno/ |
D | a6xx_gmu.c | 1285 u8 pindex = 0, sindex = 0; in a6xx_gmu_rpmh_arc_votes_init() local 1291 pindex = j; in a6xx_gmu_rpmh_arc_votes_init() 1322 votes[i] = ((pri[pindex] & 0xffff) << 16) | in a6xx_gmu_rpmh_arc_votes_init() 1323 (sindex << 8) | pindex; in a6xx_gmu_rpmh_arc_votes_init()
|
/drivers/video/fbdev/aty/ |
D | radeon_base.c | 1163 u32 pindex; in radeon_setcolreg() local 1178 pindex = regno; in radeon_setcolreg() 1184 pindex = regno * 8; in radeon_setcolreg() 1195 OUTREG(PALETTE_INDEX, pindex>>1); in radeon_setcolreg() 1205 OUTREG(PALETTE_INDEX, pindex); in radeon_setcolreg()
|
/drivers/media/common/videobuf2/ |
D | videobuf2-core.c | 1954 int vb2_core_dqbuf(struct vb2_queue *q, unsigned int *pindex, void *pb, in vb2_core_dqbuf() argument 1980 if (pindex) in vb2_core_dqbuf() 1981 *pindex = vb->index; in vb2_core_dqbuf()
|