Home
last modified time | relevance | path

Searched refs:pindex (Results 1 – 11 of 11) sorted by relevance

/linux-6.6.21/drivers/clk/sprd/
Dpll.c18 #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()
/linux-6.6.21/drivers/hwmon/pmbus/
Dadm1275.c518 int vindex = -1, voindex = -1, cindex = -1, pindex = -1; in adm1275_probe() local
613 pindex = 3; in adm1275_probe()
617 pindex = 4; in adm1275_probe()
643 pindex = 4; in adm1275_probe()
646 pindex = 5; in adm1275_probe()
649 pindex = 6; in adm1275_probe()
652 pindex = 7; in adm1275_probe()
697 pindex = (config & ADM1275_VRANGE) ? 3 : 4; in adm1275_probe()
714 pindex = 2; in adm1275_probe()
769 pindex = 7 + vindex * 4 + (cindex - 3); in adm1275_probe()
[all …]
/linux-6.6.21/sound/aoa/soundbus/i2sbus/
Dcore.c118 int pindex, rc = -ENXIO; in i2sbus_get_and_fixup_rsrc() local
134 pindex = (index == aoa_resource_i2smmio) ? 0 : 1; in i2sbus_get_and_fixup_rsrc()
135 rc = of_address_to_resource(parent, pindex, res); in i2sbus_get_and_fixup_rsrc()
/linux-6.6.21/fs/nilfs2/
Dbtree.c1064 int pindex, level, ncmax, ncblk, ret; in nilfs_btree_prepare_insert() local
1094 pindex = path[level + 1].bp_index; in nilfs_btree_prepare_insert()
1097 if (pindex > 0) { in nilfs_btree_prepare_insert()
1098 sibptr = nilfs_btree_node_get_ptr(parent, pindex - 1, in nilfs_btree_prepare_insert()
1115 if (pindex < nilfs_btree_node_get_nchildren(parent) - 1) { in nilfs_btree_prepare_insert()
1116 sibptr = nilfs_btree_node_get_ptr(parent, pindex + 1, in nilfs_btree_prepare_insert()
1438 int pindex, dindex, level, ncmin, ncmax, ncblk, ret; in nilfs_btree_prepare_delete() local
1463 pindex = path[level + 1].bp_index; in nilfs_btree_prepare_delete()
1464 dindex = pindex; in nilfs_btree_prepare_delete()
1466 if (pindex > 0) { in nilfs_btree_prepare_delete()
[all …]
/linux-6.6.21/mm/
Dpage_alloc.c534 static inline int pindex_to_order(unsigned int pindex) in pindex_to_order() argument
536 int order = pindex / MIGRATE_PCPTYPES; in pindex_to_order()
539 if (pindex == NR_LOWORDER_PCP_LISTS) in pindex_to_order()
1185 int pindex) in free_pcppages_bulk() argument
1199 pindex = pindex - 1; in free_pcppages_bulk()
1210 if (++pindex > NR_PCP_LISTS - 1) in free_pcppages_bulk()
1211 pindex = 0; in free_pcppages_bulk()
1212 list = &pcp->lists[pindex]; in free_pcppages_bulk()
1215 order = pindex_to_order(pindex); in free_pcppages_bulk()
2372 int pindex; in free_unref_page_commit() local
[all …]
/linux-6.6.21/drivers/scsi/lpfc/
Dlpfc_init.c2263 lpfc_fill_vpd(struct lpfc_hba *phba, uint8_t *vpd, int length, int *pindex) in lpfc_fill_vpd() argument
2269 if ((vpd[*pindex] == 'S') && (vpd[*pindex + 1] == 'N')) { in lpfc_fill_vpd()
2270 *pindex += 2; in lpfc_fill_vpd()
2271 i = vpd[*pindex]; in lpfc_fill_vpd()
2272 *pindex += 1; in lpfc_fill_vpd()
2276 phba->SerialNumber[j++] = vpd[(*pindex)++]; in lpfc_fill_vpd()
2282 } else if ((vpd[*pindex] == 'V') && (vpd[*pindex + 1] == '1')) { in lpfc_fill_vpd()
2284 *pindex += 2; in lpfc_fill_vpd()
2285 i = vpd[*pindex]; in lpfc_fill_vpd()
2286 *pindex += 1; in lpfc_fill_vpd()
[all …]
/linux-6.6.21/drivers/gpu/drm/msm/adreno/
Da6xx_gmu.c1255 u8 pindex = 0, sindex = 0; in a6xx_gmu_rpmh_arc_votes_init() local
1261 pindex = j; in a6xx_gmu_rpmh_arc_votes_init()
1292 votes[i] = ((pri[pindex] & 0xffff) << 16) | in a6xx_gmu_rpmh_arc_votes_init()
1293 (sindex << 8) | pindex; in a6xx_gmu_rpmh_arc_votes_init()
/linux-6.6.21/include/media/
Dvideobuf2-core.h896 int vb2_core_dqbuf(struct vb2_queue *q, unsigned int *pindex, void *pb,
/linux-6.6.21/drivers/video/fbdev/aty/
Dradeon_base.c1163 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()
/linux-6.6.21/drivers/media/common/videobuf2/
Dvideobuf2-core.c1940 int vb2_core_dqbuf(struct vb2_queue *q, unsigned int *pindex, void *pb, in vb2_core_dqbuf() argument
1966 if (pindex) in vb2_core_dqbuf()
1967 *pindex = vb->index; in vb2_core_dqbuf()
/linux-6.6.21/kernel/trace/
Dtrace.c9047 unsigned int *pindex) in get_tr_index() argument
9049 *pindex = *(unsigned char *)data; in get_tr_index()
9051 *ptr = container_of(data - *pindex, struct trace_array, in get_tr_index()