Home
last modified time | relevance | path

Searched refs:pinst (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/kernel/
Dpadata.c170 struct padata_instance *pinst = ps->pinst; in padata_do_parallel() local
180 if (!(pinst->flags & PADATA_INIT) || pinst->flags & PADATA_INVALID) in padata_do_parallel()
198 if ((pinst->flags & PADATA_RESET)) in padata_do_parallel()
219 queue_work(pinst->parallel_wq, &pw->pw_work); in padata_do_parallel()
278 struct padata_instance *pinst = pd->ps->pinst; in padata_reorder() local
315 queue_work_on(cb_cpu, pinst->serial_wq, &squeue->work); in padata_reorder()
332 queue_work(pinst->serial_wq, &pd->reorder_work); in padata_reorder()
416 static int padata_setup_cpumasks(struct padata_instance *pinst) in padata_setup_cpumasks() argument
426 cpumask_copy(attrs->cpumask, pinst->cpumask.pcpu); in padata_setup_cpumasks()
427 err = apply_workqueue_attrs(pinst->parallel_wq, attrs); in padata_setup_cpumasks()
[all …]
/linux-6.1.9/include/linux/
Dpadata.h120 struct padata_instance *pinst; member
186 extern void padata_free(struct padata_instance *pinst);
187 extern struct padata_shell *padata_alloc_shell(struct padata_instance *pinst);
193 extern int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type,
/linux-6.1.9/crypto/
Dpcrypt.c307 static int pcrypt_sysfs_add(struct padata_instance *pinst, const char *name) in pcrypt_sysfs_add() argument
311 pinst->kobj.kset = pcrypt_kset; in pcrypt_sysfs_add()
312 ret = kobject_add(&pinst->kobj, NULL, "%s", name); in pcrypt_sysfs_add()
314 kobject_uevent(&pinst->kobj, KOBJ_ADD); in pcrypt_sysfs_add()
319 static int pcrypt_init_padata(struct padata_instance **pinst, const char *name) in pcrypt_init_padata() argument
323 *pinst = padata_alloc(name); in pcrypt_init_padata()
324 if (!*pinst) in pcrypt_init_padata()
327 ret = pcrypt_sysfs_add(*pinst, name); in pcrypt_init_padata()
329 padata_free(*pinst); in pcrypt_init_padata()
/linux-6.1.9/Documentation/translations/zh_CN/core-api/
Dpadata.rst44 struct padata_shell *padata_alloc_shell(struct padata_instance *pinst);
56 int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type,
136 void padata_free(struct padata_instance *pinst);
/linux-6.1.9/Documentation/core-api/
Dpadata.rst36 struct padata_shell *padata_alloc_shell(struct padata_instance *pinst);
48 int padata_set_cpumask(struct padata_instance *pinst, int cpumask_type,
151 void padata_free(struct padata_instance *pinst);
/linux-6.1.9/drivers/net/wireless/intel/iwlegacy/
D4965.c332 dma_addr_t pinst; in il4965_load_bsm() local
355 pinst = il->ucode_init.p_addr >> 4; in il4965_load_bsm()
360 il_wr_prph(il, BSM_DRAM_INST_PTR_REG, pinst); in il4965_load_bsm()
417 dma_addr_t pinst; in il4965_set_ucode_ptrs() local
421 pinst = il->ucode_code.p_addr >> 4; in il4965_set_ucode_ptrs()
425 il_wr_prph(il, BSM_DRAM_INST_PTR_REG, pinst); in il4965_set_ucode_ptrs()
D3945.c2560 dma_addr_t pinst; in il3945_load_bsm() local
2580 pinst = il->ucode_init.p_addr; in il3945_load_bsm()
2585 il_wr_prph(il, BSM_DRAM_INST_PTR_REG, pinst); in il3945_load_bsm()
D3945-mac.c2060 dma_addr_t pinst; in il3945_set_ucode_ptrs() local
2064 pinst = il->ucode_code.p_addr; in il3945_set_ucode_ptrs()
2068 il_wr_prph(il, BSM_DRAM_INST_PTR_REG, pinst); in il3945_set_ucode_ptrs()