Home
last modified time | relevance | path

Searched refs:pre (Results 1 - 25 of 154) sorted by relevance

1234567

/kernel/linux/linux-5.10/drivers/gpu/ipu-v3/
H A Dipu-pre.c118 struct ipu_pre *pre; in ipu_pre_lookup_by_phandle() local
121 list_for_each_entry(pre, &ipu_pre_list, list) { in ipu_pre_lookup_by_phandle()
122 if (pre_node == pre->dev->of_node) { in ipu_pre_lookup_by_phandle()
124 device_link_add(dev, pre->dev, in ipu_pre_lookup_by_phandle()
127 return pre; in ipu_pre_lookup_by_phandle()
137 int ipu_pre_get(struct ipu_pre *pre) in ipu_pre_get() argument
141 if (pre->in_use) in ipu_pre_get()
145 writel(0, pre->regs + IPU_PRE_CTRL); in ipu_pre_get()
152 writel(val, pre->regs + IPU_PRE_CTRL); in ipu_pre_get()
154 pre in ipu_pre_get()
158 ipu_pre_put(struct ipu_pre *pre) ipu_pre_put() argument
165 ipu_pre_configure(struct ipu_pre *pre, unsigned int width, unsigned int height, unsigned int stride, u32 format, uint64_t modifier, unsigned int bufaddr) ipu_pre_configure() argument
233 ipu_pre_update(struct ipu_pre *pre, unsigned int bufaddr) ipu_pre_update() argument
260 ipu_pre_update_pending(struct ipu_pre *pre) ipu_pre_update_pending() argument
266 ipu_pre_get_baddr(struct ipu_pre *pre) ipu_pre_get_baddr() argument
275 struct ipu_pre *pre; ipu_pre_probe() local
319 struct ipu_pre *pre = platform_get_drvdata(pdev); ipu_pre_remove() local
[all...]
H A Dipu-prv.h259 int ipu_pre_get(struct ipu_pre *pre);
260 void ipu_pre_put(struct ipu_pre *pre);
261 u32 ipu_pre_get_baddr(struct ipu_pre *pre);
262 void ipu_pre_configure(struct ipu_pre *pre, unsigned int width,
265 void ipu_pre_update(struct ipu_pre *pre, unsigned int bufaddr);
266 bool ipu_pre_update_pending(struct ipu_pre *pre);
/kernel/linux/linux-6.6/drivers/gpu/ipu-v3/
H A Dipu-pre.c118 struct ipu_pre *pre; in ipu_pre_lookup_by_phandle() local
121 list_for_each_entry(pre, &ipu_pre_list, list) { in ipu_pre_lookup_by_phandle()
122 if (pre_node == pre->dev->of_node) { in ipu_pre_lookup_by_phandle()
124 device_link_add(dev, pre->dev, in ipu_pre_lookup_by_phandle()
127 return pre; in ipu_pre_lookup_by_phandle()
137 int ipu_pre_get(struct ipu_pre *pre) in ipu_pre_get() argument
141 if (pre->in_use) in ipu_pre_get()
145 writel(0, pre->regs + IPU_PRE_CTRL); in ipu_pre_get()
152 writel(val, pre->regs + IPU_PRE_CTRL); in ipu_pre_get()
154 pre in ipu_pre_get()
158 ipu_pre_put(struct ipu_pre *pre) ipu_pre_put() argument
165 ipu_pre_configure(struct ipu_pre *pre, unsigned int width, unsigned int height, unsigned int stride, u32 format, uint64_t modifier, unsigned int bufaddr) ipu_pre_configure() argument
233 ipu_pre_update(struct ipu_pre *pre, unsigned int bufaddr) ipu_pre_update() argument
260 ipu_pre_update_pending(struct ipu_pre *pre) ipu_pre_update_pending() argument
266 ipu_pre_get_baddr(struct ipu_pre *pre) ipu_pre_get_baddr() argument
274 struct ipu_pre *pre; ipu_pre_probe() local
317 struct ipu_pre *pre = platform_get_drvdata(pdev); ipu_pre_remove() local
[all...]
H A Dipu-prv.h260 int ipu_pre_get(struct ipu_pre *pre);
261 void ipu_pre_put(struct ipu_pre *pre);
262 u32 ipu_pre_get_baddr(struct ipu_pre *pre);
263 void ipu_pre_configure(struct ipu_pre *pre, unsigned int width,
266 void ipu_pre_update(struct ipu_pre *pre, unsigned int bufaddr);
267 bool ipu_pre_update_pending(struct ipu_pre *pre);
/kernel/linux/linux-5.10/drivers/firmware/broadcom/
H A Dbcm47xx_sprom.c191 const char *pre = prefix; in bcm47xx_sprom_fill_auto() local
195 ENTRY(0xfffffffe, u16, pre, "devid", dev_id, 0, fallback); in bcm47xx_sprom_fill_auto()
197 ENTRY(0xfffffffe, u16, pre, "boardrev", board_rev, 0, true); in bcm47xx_sprom_fill_auto()
198 ENTRY(0xfffffffe, u32, pre, "boardflags", boardflags, 0, fb); in bcm47xx_sprom_fill_auto()
199 ENTRY(0xfffffff0, u32, pre, "boardflags2", boardflags2, 0, fb); in bcm47xx_sprom_fill_auto()
200 ENTRY(0xfffff800, u32, pre, "boardflags3", boardflags3, 0, fb); in bcm47xx_sprom_fill_auto()
201 ENTRY(0x00000002, u16, pre, "boardflags", boardflags_lo, 0, fb); in bcm47xx_sprom_fill_auto()
202 ENTRY(0xfffffffc, u16, pre, "boardtype", board_type, 0, true); in bcm47xx_sprom_fill_auto()
203 ENTRY(0xfffffffe, u16, pre, "boardnum", board_num, 0, fb); in bcm47xx_sprom_fill_auto()
204 ENTRY(0x00000002, u8, pre, "c in bcm47xx_sprom_fill_auto()
[all...]
/kernel/linux/linux-6.6/drivers/firmware/broadcom/
H A Dbcm47xx_sprom.c191 const char *pre = prefix; in bcm47xx_sprom_fill_auto() local
195 ENTRY(0xfffffffe, u16, pre, "devid", dev_id, 0, fallback); in bcm47xx_sprom_fill_auto()
197 ENTRY(0xfffffffe, u16, pre, "boardrev", board_rev, 0, true); in bcm47xx_sprom_fill_auto()
198 ENTRY(0xfffffffe, u32, pre, "boardflags", boardflags, 0, fb); in bcm47xx_sprom_fill_auto()
199 ENTRY(0xfffffff0, u32, pre, "boardflags2", boardflags2, 0, fb); in bcm47xx_sprom_fill_auto()
200 ENTRY(0xfffff800, u32, pre, "boardflags3", boardflags3, 0, fb); in bcm47xx_sprom_fill_auto()
201 ENTRY(0x00000002, u16, pre, "boardflags", boardflags_lo, 0, fb); in bcm47xx_sprom_fill_auto()
202 ENTRY(0xfffffffc, u16, pre, "boardtype", board_type, 0, true); in bcm47xx_sprom_fill_auto()
203 ENTRY(0xfffffffe, u16, pre, "boardnum", board_num, 0, fb); in bcm47xx_sprom_fill_auto()
204 ENTRY(0x00000002, u8, pre, "c in bcm47xx_sprom_fill_auto()
[all...]
/kernel/linux/linux-5.10/sound/pci/ctxfi/
H A Dctimap.c21 struct list_head *pos, *pre, *head; in input_mapper_add() local
42 pre = pos->prev; in input_mapper_add()
43 if (pre == head) in input_mapper_add()
44 pre = head->prev; in input_mapper_add()
48 pre = head->prev; in input_mapper_add()
53 pre_ent = list_entry(pre, struct imapper, list); in input_mapper_add()
67 struct list_head *next, *pre, *head; in input_mapper_delete() local
75 pre = (entry->list.prev == head) ? head->prev : entry->list.prev; in input_mapper_delete()
78 if (pre == &entry->list) { in input_mapper_delete()
86 pre_ent = list_entry(pre, struc in input_mapper_delete()
[all...]
H A Dctvmem.c78 struct list_head *pos, *pre; in put_vm_block() local
106 pre = pos->prev; in put_vm_block()
107 while (pre != &vm->unused) { in put_vm_block()
109 pre_ent = list_entry(pre, struct ct_vm_block, list); in put_vm_block()
116 pos = pre; in put_vm_block()
117 pre = pos->prev; in put_vm_block()
/kernel/linux/linux-6.6/sound/pci/ctxfi/
H A Dctimap.c21 struct list_head *pos, *pre, *head; in input_mapper_add() local
42 pre = pos->prev; in input_mapper_add()
43 if (pre == head) in input_mapper_add()
44 pre = head->prev; in input_mapper_add()
48 pre = head->prev; in input_mapper_add()
53 pre_ent = list_entry(pre, struct imapper, list); in input_mapper_add()
67 struct list_head *next, *pre, *head; in input_mapper_delete() local
75 pre = (entry->list.prev == head) ? head->prev : entry->list.prev; in input_mapper_delete()
78 if (pre == &entry->list) { in input_mapper_delete()
86 pre_ent = list_entry(pre, struc in input_mapper_delete()
[all...]
H A Dctvmem.c78 struct list_head *pos, *pre; in put_vm_block() local
106 pre = pos->prev; in put_vm_block()
107 while (pre != &vm->unused) { in put_vm_block()
109 pre_ent = list_entry(pre, struct ct_vm_block, list); in put_vm_block()
116 pos = pre; in put_vm_block()
117 pre = pos->prev; in put_vm_block()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gvt/
H A Dmmio_context.c393 static void switch_mocs(struct intel_vgpu *pre, struct intel_vgpu *next, in switch_mocs() argument
414 if (!pre && !gen9_render_mocs.initialized) in switch_mocs()
419 if (pre) in switch_mocs()
420 old_v = vgpu_vreg_t(pre, offset); in switch_mocs()
437 if (pre) in switch_mocs()
438 old_v = vgpu_vreg_t(pre, l3_offset); in switch_mocs()
467 static void switch_mmio(struct intel_vgpu *pre, in switch_mmio() argument
477 switch_mocs(pre, next, engine); in switch_mmio()
492 if (pre) { in switch_mmio()
493 vgpu_vreg_t(pre, mmi in switch_mmio()
552 intel_gvt_switch_mmio(struct intel_vgpu *pre, struct intel_vgpu *next, const struct intel_engine_cs *engine) intel_gvt_switch_mmio() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gvt/
H A Dmmio_context.c399 static void switch_mocs(struct intel_vgpu *pre, struct intel_vgpu *next, in switch_mocs() argument
420 if (!pre && !gen9_render_mocs.initialized) in switch_mocs()
425 if (pre) in switch_mocs()
426 old_v = vgpu_vreg_t(pre, offset); in switch_mocs()
443 if (pre) in switch_mocs()
444 old_v = vgpu_vreg_t(pre, l3_offset); in switch_mocs()
473 static void switch_mmio(struct intel_vgpu *pre, in switch_mmio() argument
483 switch_mocs(pre, next, engine); in switch_mmio()
498 if (pre) { in switch_mmio()
499 vgpu_vreg_t(pre, mmi in switch_mmio()
558 intel_gvt_switch_mmio(struct intel_vgpu *pre, struct intel_vgpu *next, const struct intel_engine_cs *engine) intel_gvt_switch_mmio() argument
[all...]
/kernel/linux/linux-5.10/fs/erofs/
H A Dutils.c84 struct erofs_workgroup *pre; in erofs_insert_workgroup() local
95 pre = __xa_cmpxchg(&sbi->managed_pslots, grp->index, in erofs_insert_workgroup()
97 if (pre) { in erofs_insert_workgroup()
98 if (xa_is_err(pre)) { in erofs_insert_workgroup()
99 pre = ERR_PTR(xa_err(pre)); in erofs_insert_workgroup()
100 } else if (erofs_workgroup_get(pre)) { in erofs_insert_workgroup()
107 grp = pre; in erofs_insert_workgroup()
/kernel/linux/linux-6.6/fs/erofs/
H A Dutils.c78 struct erofs_workgroup *pre; in erofs_insert_workgroup() local
83 pre = __xa_cmpxchg(&sbi->managed_pslots, grp->index, in erofs_insert_workgroup()
85 if (pre) { in erofs_insert_workgroup()
86 if (xa_is_err(pre)) { in erofs_insert_workgroup()
87 pre = ERR_PTR(xa_err(pre)); in erofs_insert_workgroup()
88 } else if (!erofs_workgroup_get(pre)) { in erofs_insert_workgroup()
94 grp = pre; in erofs_insert_workgroup()
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dparavirt_types.h492 pre, post, ...) \
500 asm volatile(pre \
510 asm volatile(pre \
523 #define __PVOP_CALL(rettype, op, pre, post, ...) \
525 EXTRA_CLOBBERS, pre, post, ##__VA_ARGS__)
527 #define __PVOP_CALLEESAVE(rettype, op, pre, post, ...) \
530 pre, post, ##__VA_ARGS__)
533 #define ____PVOP_VCALL(op, clbr, call_clbr, extra_clbr, pre, post, ...) \
537 asm volatile(pre \
547 #define __PVOP_VCALL(op, pre, pos
[all...]
/kernel/linux/linux-6.6/Documentation/
H A DMakefile43 @$(srctree)/scripts/sphinx-pre-install
101 @$(srctree)/scripts/sphinx-pre-install --version-check
115 @$(srctree)/scripts/sphinx-pre-install --version-check
127 @$(srctree)/scripts/sphinx-pre-install --version-check
139 @$(srctree)/scripts/sphinx-pre-install --version-check
149 @$(srctree)/scripts/sphinx-pre-install --version-check
153 @$(srctree)/scripts/sphinx-pre-install --version-check
/kernel/linux/linux-5.10/Documentation/
H A DMakefile41 @$(srctree)/scripts/sphinx-pre-install
90 @$(srctree)/scripts/sphinx-pre-install --version-check
97 @$(srctree)/scripts/sphinx-pre-install --version-check
109 @$(srctree)/scripts/sphinx-pre-install --version-check
119 @$(srctree)/scripts/sphinx-pre-install --version-check
123 @$(srctree)/scripts/sphinx-pre-install --version-check
/drivers/peripheral/user_auth/hdi_service/utils/src/
H A Dlinked_list.c61 LinkedListNode *pre = NULL; in RemoveNode() local
67 pre = node; in RemoveNode()
73 if (pre == NULL) { in RemoveNode()
76 pre->next = node->next; in RemoveNode()
/kernel/linux/linux-6.6/drivers/iio/adc/
H A Dqcom-vadc-common.c711 unsigned int pre; in qcom_adc5_prescaling_from_dt() local
713 for (pre = 0; pre < ARRAY_SIZE(adc5_prescale_ratios); pre++) in qcom_adc5_prescaling_from_dt()
714 if (adc5_prescale_ratios[pre].numerator == numerator && in qcom_adc5_prescaling_from_dt()
715 adc5_prescale_ratios[pre].denominator == denominator) in qcom_adc5_prescaling_from_dt()
718 if (pre == ARRAY_SIZE(adc5_prescale_ratios)) in qcom_adc5_prescaling_from_dt()
721 return pre; in qcom_adc5_prescaling_from_dt()
/drivers/peripheral/display/composer/vdi_base/src/
H A Dhdi_composer.cpp21 HdiComposer::HdiComposer(std::unique_ptr<HdiComposition> pre, std::unique_ptr<HdiComposition> post) in HdiComposer() argument
23 mPreComp = std::move(pre); in HdiComposer()
30 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("pre composition prepare failed")); in Prepare()
39 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("pre composition apply failed")); in Commit()
/drivers/peripheral/display/hal/default_standard/src/display_device/composer/
H A Dhdi_composer.cpp22 HdiComposer::HdiComposer(std::unique_ptr<HdiComposition> pre, std::unique_ptr<HdiComposition> post) in HdiComposer() argument
24 preComp_.emplace_back(std::move(pre)); in HdiComposer()
45 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("pre composition prepare failed")); in Prepare()
57 DISPLAY_CHK_RETURN((ret != DISPLAY_SUCCESS), DISPLAY_FAILURE, DISPLAY_LOGE("pre composition prepare failed")); in Commit()
/kernel/linux/linux-5.10/drivers/atm/
H A Dhorizon.c579 u32 pre; in make_rate() local
609 pre = DIV_ROUND_UP(br, c<<div); in make_rate()
611 if (!pre) in make_rate()
612 pre = 1; in make_rate()
615 pre = DIV_ROUND_CLOSEST(br, c<<div); in make_rate()
617 if (!pre) in make_rate()
618 pre = 1; in make_rate()
621 pre = br/(c<<div); in make_rate()
623 if (!pre) in make_rate()
626 PRINTD (DBG_QOS, "A: p=%u, d=%u", pre, di in make_rate()
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dltc2947-core.c999 u8 pre = 0, div, tbctl; in ltc2947_setup() local
1020 pre = 0; in ltc2947_setup()
1022 pre = 1; in ltc2947_setup()
1024 pre = 2; in ltc2947_setup()
1026 pre = 3; in ltc2947_setup()
1028 pre = 4; in ltc2947_setup()
1030 pre = 5; in ltc2947_setup()
1035 div = rate_hz / ((1 << pre) * 32768); in ltc2947_setup()
1036 tbctl = LTC2947_PRE(pre) | LTC2947_DIV(div); in ltc2947_setup()
1046 aux = (div + 1) * ((1 << pre) * 64160000 in ltc2947_setup()
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dltc2947-core.c992 u8 pre = 0, div, tbctl; in ltc2947_setup() local
1005 pre = 0; in ltc2947_setup()
1007 pre = 1; in ltc2947_setup()
1009 pre = 2; in ltc2947_setup()
1011 pre = 3; in ltc2947_setup()
1013 pre = 4; in ltc2947_setup()
1015 pre = 5; in ltc2947_setup()
1020 div = rate_hz / ((1 << pre) * 32768); in ltc2947_setup()
1021 tbctl = LTC2947_PRE(pre) | LTC2947_DIV(div); in ltc2947_setup()
1031 aux = (div + 1) * ((1 << pre) * 64160000 in ltc2947_setup()
[all...]
/drivers/hdf_core/framework/tools/hc-gen/src/
H A Dast.cpp319 auto pre = parent_->child_; in Separate() local
320 while (pre != nullptr) { in Separate()
321 if (pre->next_.get() == this) { in Separate()
322 pre->next_ = pre->next_->next_; // decref this in Separate()
326 pre = pre->next_; in Separate()

Completed in 20 milliseconds

1234567