Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/drivers/hwmon/pmbus/
Dadm1275.c475 int vindex = -1, voindex = -1, cindex = -1, pindex = -1; in adm1275_probe() local
570 pindex = 3; in adm1275_probe()
574 pindex = 4; in adm1275_probe()
600 pindex = 4; in adm1275_probe()
603 pindex = 5; in adm1275_probe()
606 pindex = 6; in adm1275_probe()
609 pindex = 7; in adm1275_probe()
663 pindex = (config & ADM1275_VRANGE) ? 3 : 4; in adm1275_probe()
680 pindex = 2; in adm1275_probe()
745 pindex = 7 + vindex * 4 + (cindex - 3); in adm1275_probe()
[all …]
/linux-6.1.9/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.1.9/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.1.9/mm/
Dpage_alloc.c742 static inline int pindex_to_order(unsigned int pindex) in pindex_to_order() argument
744 int order = pindex / MIGRATE_PCPTYPES; in pindex_to_order()
747 if (pindex == NR_LOWORDER_PCP_LISTS) in pindex_to_order()
1548 int pindex) in free_pcppages_bulk() argument
1563 pindex = pindex - 1; in free_pcppages_bulk()
1575 if (++pindex > max_pindex) in free_pcppages_bulk()
1576 pindex = min_pindex; in free_pcppages_bulk()
1577 list = &pcp->lists[pindex]; in free_pcppages_bulk()
1581 if (pindex == max_pindex) in free_pcppages_bulk()
1583 if (pindex == min_pindex) in free_pcppages_bulk()
[all …]
/linux-6.1.9/drivers/scsi/lpfc/
Dlpfc_init.c2261 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 …]
/linux-6.1.9/drivers/gpu/drm/msm/adreno/
Da6xx_gmu.c1285 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()
/linux-6.1.9/include/media/
Dvideobuf2-core.h882 int vb2_core_dqbuf(struct vb2_queue *q, unsigned int *pindex, void *pb,
/linux-6.1.9/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.1.9/drivers/media/common/videobuf2/
Dvideobuf2-core.c1954 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()
/linux-6.1.9/kernel/trace/
Dtrace.c8843 unsigned int *pindex) in get_tr_index() argument
8845 *pindex = *(unsigned char *)data; in get_tr_index()
8847 *ptr = container_of(data - *pindex, struct trace_array, in get_tr_index()