Home
last modified time | relevance | path

Searched refs:core (Results 1 - 25 of 5145) sorted by relevance

12345678910>>...206

/kernel/linux/linux-6.6/drivers/media/platform/amphion/
H A Dvpu_core.c29 void csr_writel(struct vpu_core *core, u32 reg, u32 val) in csr_writel() argument
31 writel(val, core->base + reg); in csr_writel()
34 u32 csr_readl(struct vpu_core *core, u32 reg) in csr_readl() argument
36 return readl(core->base + reg); in csr_readl()
39 static int vpu_core_load_firmware(struct vpu_core *core) in vpu_core_load_firmware() argument
44 if (!core->fw.virt) { in vpu_core_load_firmware()
45 dev_err(core->dev, "firmware buffer is not ready\n"); in vpu_core_load_firmware()
49 ret = request_firmware(&pfw, core->res->fwname, core->dev); in vpu_core_load_firmware()
50 dev_dbg(core in vpu_core_load_firmware()
75 vpu_core_boot_done(struct vpu_core *core) vpu_core_boot_done() argument
99 vpu_core_wait_boot_done(struct vpu_core *core) vpu_core_wait_boot_done() argument
111 vpu_core_boot(struct vpu_core *core, bool load) vpu_core_boot() argument
126 vpu_core_shutdown(struct vpu_core *core) vpu_core_shutdown() argument
131 vpu_core_restore(struct vpu_core *core) vpu_core_restore() argument
172 vpu_alloc_dma(struct vpu_core *core, struct vpu_buffer *buf) vpu_alloc_dma() argument
177 vpu_core_set_state(struct vpu_core *core, enum vpu_core_state state) vpu_core_set_state() argument
186 vpu_core_update_state(struct vpu_core *core) vpu_core_update_state() argument
201 struct vpu_core *core = NULL; vpu_core_find_proper_by_type() local
229 vpu_core_is_exist(struct vpu_dev *vpu, struct vpu_core *core) vpu_core_is_exist() argument
241 vpu_core_get_vpu(struct vpu_core *core) vpu_core_get_vpu() argument
250 vpu_core_register(struct device *dev, struct vpu_core *core) vpu_core_register() argument
295 vpu_core_put_vpu(struct vpu_core *core) vpu_core_put_vpu() argument
304 vpu_core_unregister(struct device *dev, struct vpu_core *core) vpu_core_unregister() argument
323 vpu_core_acquire_instance(struct vpu_core *core) vpu_core_acquire_instance() argument
336 vpu_core_release_instance(struct vpu_core *core, int id) vpu_core_release_instance() argument
366 struct vpu_core *core = NULL; vpu_request_core() local
400 vpu_release_core(struct vpu_core *core) vpu_release_core() argument
415 struct vpu_core *core; vpu_inst_register() local
465 struct vpu_core *core; vpu_inst_unregister() local
497 vpu_core_find_instance(struct vpu_core *core, u32 index) vpu_core_find_instance() argument
520 struct vpu_core *core = NULL; vpu_get_resource() local
542 vpu_core_parse_dt(struct vpu_core *core, struct device_node *np) vpu_core_parse_dt() argument
616 struct vpu_core *core; vpu_core_probe() local
717 struct vpu_core *core = platform_get_drvdata(pdev); vpu_core_remove() local
737 struct vpu_core *core = dev_get_drvdata(dev); vpu_core_runtime_resume() local
744 struct vpu_core *core = dev_get_drvdata(dev); vpu_core_runtime_suspend() local
750 vpu_core_cancel_work(struct vpu_core *core) vpu_core_cancel_work() argument
763 vpu_core_resume_work(struct vpu_core *core) vpu_core_resume_work() argument
779 struct vpu_core *core = dev_get_drvdata(dev); vpu_core_resume() local
806 struct vpu_core *core = dev_get_drvdata(dev); vpu_core_suspend() local
[all...]
/kernel/linux/linux-5.10/drivers/mfd/
H A Dsi476x-i2c.c21 #include <linux/mfd/si476x-core.h>
29 * @core: Core device structure
36 static int si476x_core_config_pinmux(struct si476x_core *core) in si476x_core_config_pinmux() argument
39 dev_dbg(&core->client->dev, "Configuring pinmux\n"); in si476x_core_config_pinmux()
40 err = si476x_core_cmd_dig_audio_pin_cfg(core, in si476x_core_config_pinmux()
41 core->pinmux.dclk, in si476x_core_config_pinmux()
42 core->pinmux.dfs, in si476x_core_config_pinmux()
43 core->pinmux.dout, in si476x_core_config_pinmux()
44 core->pinmux.xout); in si476x_core_config_pinmux()
46 dev_err(&core in si476x_core_config_pinmux()
98 si476x_core_schedule_polling_work(struct si476x_core *core) si476x_core_schedule_polling_work() argument
127 si476x_core_start(struct si476x_core *core, bool soft) si476x_core_start() argument
221 si476x_core_stop(struct si476x_core *core, bool soft) si476x_core_stop() argument
265 si476x_core_set_power_state(struct si476x_core *core, enum si476x_power_state next_state) si476x_core_set_power_state() argument
330 si476x_core_report_drainer_stop(struct si476x_core *core) si476x_core_report_drainer_stop() argument
343 si476x_core_start_rds_drainer_once(struct si476x_core *core) si476x_core_start_rds_drainer_once() argument
363 struct si476x_core *core = container_of(work, struct si476x_core, si476x_core_drain_rds_fifo() local
403 si476x_core_pronounce_dead(struct si476x_core *core) si476x_core_pronounce_dead() argument
434 si476x_core_i2c_xfer(struct si476x_core *core, enum si476x_i2c_type type, char *buf, int count) si476x_core_i2c_xfer() argument
466 si476x_core_get_status(struct si476x_core *core) si476x_core_get_status() argument
483 si476x_core_get_and_signal_status(struct si476x_core *core) si476x_core_get_and_signal_status() argument
517 struct si476x_core *core = SI476X_WORK_TO_CORE(work); si476x_core_poll_loop() local
527 struct si476x_core *core = dev; si476x_core_interrupt() local
552 si476x_core_fwver_to_revision(struct si476x_core *core, int func, int major, int minor1, int minor2) si476x_core_fwver_to_revision() argument
618 si476x_core_get_revision_info(struct si476x_core *core) si476x_core_get_revision_info() argument
644 si476x_core_has_am(struct si476x_core *core) si476x_core_has_am() argument
651 si476x_core_has_diversity(struct si476x_core *core) si476x_core_has_diversity() argument
657 si476x_core_is_a_secondary_tuner(struct si476x_core *core) si476x_core_is_a_secondary_tuner() argument
665 si476x_core_is_a_primary_tuner(struct si476x_core *core) si476x_core_is_a_primary_tuner() argument
673 si476x_core_is_in_am_receiver_mode(struct si476x_core *core) si476x_core_is_in_am_receiver_mode() argument
680 si476x_core_is_powered_up(struct si476x_core *core) si476x_core_is_powered_up() argument
690 struct si476x_core *core; si476x_core_probe() local
840 struct si476x_core *core = i2c_get_clientdata(client); si476x_core_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/mfd/
H A Dsi476x-i2c.c21 #include <linux/mfd/si476x-core.h>
29 * @core: Core device structure
36 static int si476x_core_config_pinmux(struct si476x_core *core) in si476x_core_config_pinmux() argument
39 dev_dbg(&core->client->dev, "Configuring pinmux\n"); in si476x_core_config_pinmux()
40 err = si476x_core_cmd_dig_audio_pin_cfg(core, in si476x_core_config_pinmux()
41 core->pinmux.dclk, in si476x_core_config_pinmux()
42 core->pinmux.dfs, in si476x_core_config_pinmux()
43 core->pinmux.dout, in si476x_core_config_pinmux()
44 core->pinmux.xout); in si476x_core_config_pinmux()
46 dev_err(&core in si476x_core_config_pinmux()
98 si476x_core_schedule_polling_work(struct si476x_core *core) si476x_core_schedule_polling_work() argument
127 si476x_core_start(struct si476x_core *core, bool soft) si476x_core_start() argument
221 si476x_core_stop(struct si476x_core *core, bool soft) si476x_core_stop() argument
265 si476x_core_set_power_state(struct si476x_core *core, enum si476x_power_state next_state) si476x_core_set_power_state() argument
330 si476x_core_report_drainer_stop(struct si476x_core *core) si476x_core_report_drainer_stop() argument
343 si476x_core_start_rds_drainer_once(struct si476x_core *core) si476x_core_start_rds_drainer_once() argument
363 struct si476x_core *core = container_of(work, struct si476x_core, si476x_core_drain_rds_fifo() local
403 si476x_core_pronounce_dead(struct si476x_core *core) si476x_core_pronounce_dead() argument
434 si476x_core_i2c_xfer(struct si476x_core *core, enum si476x_i2c_type type, char *buf, int count) si476x_core_i2c_xfer() argument
466 si476x_core_get_status(struct si476x_core *core) si476x_core_get_status() argument
483 si476x_core_get_and_signal_status(struct si476x_core *core) si476x_core_get_and_signal_status() argument
517 struct si476x_core *core = SI476X_WORK_TO_CORE(work); si476x_core_poll_loop() local
527 struct si476x_core *core = dev; si476x_core_interrupt() local
552 si476x_core_fwver_to_revision(struct si476x_core *core, int func, int major, int minor1, int minor2) si476x_core_fwver_to_revision() argument
618 si476x_core_get_revision_info(struct si476x_core *core) si476x_core_get_revision_info() argument
644 si476x_core_has_am(struct si476x_core *core) si476x_core_has_am() argument
651 si476x_core_has_diversity(struct si476x_core *core) si476x_core_has_diversity() argument
657 si476x_core_is_a_secondary_tuner(struct si476x_core *core) si476x_core_is_a_secondary_tuner() argument
665 si476x_core_is_a_primary_tuner(struct si476x_core *core) si476x_core_is_a_primary_tuner() argument
673 si476x_core_is_in_am_receiver_mode(struct si476x_core *core) si476x_core_is_in_am_receiver_mode() argument
680 si476x_core_is_powered_up(struct si476x_core *core) si476x_core_is_powered_up() argument
690 struct si476x_core *core; si476x_core_probe() local
840 struct si476x_core *core = i2c_get_clientdata(client); si476x_core_remove() local
[all...]
/kernel/linux/linux-6.6/drivers/clk/
H A Dclk.c50 struct clk_core *core; member
98 struct clk_core *core; member
109 static int clk_pm_runtime_get(struct clk_core *core) in clk_pm_runtime_get() argument
111 if (!core->rpm_enabled) in clk_pm_runtime_get()
114 return pm_runtime_resume_and_get(core->dev); in clk_pm_runtime_get()
117 static void clk_pm_runtime_put(struct clk_core *core) in clk_pm_runtime_put() argument
119 if (!core->rpm_enabled) in clk_pm_runtime_put()
122 pm_runtime_put_sync(core->dev); in clk_pm_runtime_put()
194 static bool clk_core_rate_is_protected(struct clk_core *core) in clk_core_rate_is_protected() argument
196 return core in clk_core_rate_is_protected()
199 clk_core_is_prepared(struct clk_core *core) clk_core_is_prepared() argument
218 clk_core_is_enabled(struct clk_core *core) clk_core_is_enabled() argument
298 __clk_lookup_subtree(const char *name, struct clk_core *core) __clk_lookup_subtree() argument
396 clk_core_get(struct clk_core *core, u8 p_index) clk_core_get() argument
427 clk_core_fill_parent_index(struct clk_core *core, u8 index) clk_core_fill_parent_index() argument
453 clk_core_get_parent_by_index(struct clk_core *core, u8 index) clk_core_get_parent_by_index() argument
481 clk_core_get_rate_nolock(struct clk_core *core) clk_core_get_rate_nolock() argument
503 clk_core_get_accuracy_no_lock(struct clk_core *core) clk_core_get_accuracy_no_lock() argument
560 clk_core_has_parent(struct clk_core *core, const struct clk_core *parent) clk_core_has_parent() argument
582 clk_core_forward_rate_req(struct clk_core *core, const struct clk_rate_request *old_req, struct clk_core *parent, struct clk_rate_request *req, unsigned long parent_rate) clk_core_forward_rate_req() argument
604 struct clk_core *core = hw->core; clk_core_determine_rate_no_reparent() local
645 struct clk_core *core = hw->core, *parent, *best_parent = NULL; clk_mux_determine_rate_flags() local
700 struct clk_core *core = clk_core_lookup(name); __clk_lookup() local
705 clk_core_get_boundaries(struct clk_core *core, unsigned long *min_rate, unsigned long *max_rate) clk_core_get_boundaries() argument
739 clk_core_check_boundaries(struct clk_core *core, unsigned long min_rate, unsigned long max_rate) clk_core_check_boundaries() argument
811 clk_core_rate_unprotect(struct clk_core *core) clk_core_rate_unprotect() argument
828 clk_core_rate_nuke_protect(struct clk_core *core) clk_core_rate_nuke_protect() argument
886 clk_core_rate_protect(struct clk_core *core) clk_core_rate_protect() argument
899 clk_core_rate_restore_protect(struct clk_core *core, int count) clk_core_rate_restore_protect() argument
945 clk_core_unprepare(struct clk_core *core) clk_core_unprepare() argument
978 clk_core_unprepare_lock(struct clk_core *core) clk_core_unprepare_lock() argument
1005 clk_core_prepare(struct clk_core *core) clk_core_prepare() argument
1054 clk_core_prepare_lock(struct clk_core *core) clk_core_prepare_lock() argument
1086 clk_core_disable(struct clk_core *core) clk_core_disable() argument
1113 clk_core_disable_lock(struct clk_core *core) clk_core_disable_lock() argument
1143 clk_core_enable(struct clk_core *core) clk_core_enable() argument
1179 clk_core_enable_lock(struct clk_core *core) clk_core_enable_lock() argument
1203 struct clk_core *core = hw->core; clk_gate_restore_context() local
1212 clk_core_save_context(struct clk_core *core) clk_core_save_context() argument
1229 clk_core_restore_context(struct clk_core *core) clk_core_restore_context() argument
1276 struct clk_core *core; clk_restore_context() local
1329 clk_core_prepare_enable(struct clk_core *core) clk_core_prepare_enable() argument
1344 clk_core_disable_unprepare(struct clk_core *core) clk_core_disable_unprepare() argument
1350 clk_unprepare_unused_subtree(struct clk_core *core) clk_unprepare_unused_subtree() argument
1380 clk_disable_unused_subtree(struct clk_core *core) clk_disable_unused_subtree() argument
1436 struct clk_core *core; clk_disable_unused() local
1465 clk_core_determine_round_nolock(struct clk_core *core, struct clk_rate_request *req) clk_core_determine_round_nolock() argument
1513 clk_core_init_rate_req(struct clk_core * const core, struct clk_rate_request *req, unsigned long rate) clk_core_init_rate_req() argument
1588 clk_core_can_round(struct clk_core * const core) clk_core_can_round() argument
1593 clk_core_round_rate_nolock(struct clk_core *core, struct clk_rate_request *req) clk_core_round_rate_nolock() argument
1739 __clk_notify(struct clk_core *core, unsigned long msg, unsigned long old_rate, unsigned long new_rate) __clk_notify() argument
1771 __clk_recalc_accuracies(struct clk_core *core) __clk_recalc_accuracies() argument
1791 clk_core_get_accuracy_recalc(struct clk_core *core) clk_core_get_accuracy_recalc() argument
1823 clk_recalc(struct clk_core *core, unsigned long parent_rate) clk_recalc() argument
1848 __clk_recalc_rates(struct clk_core *core, bool update_req, unsigned long msg) __clk_recalc_rates() argument
1877 clk_core_get_rate_recalc(struct clk_core *core) clk_core_get_rate_recalc() argument
1909 clk_fetch_parent_index(struct clk_core *core, struct clk_core *parent) clk_fetch_parent_index() argument
1973 clk_core_update_orphan_status(struct clk_core *core, bool is_orphan) clk_core_update_orphan_status() argument
1983 clk_reparent(struct clk_core *core, struct clk_core *new_parent) clk_reparent() argument
2009 __clk_set_parent_before(struct clk_core *core, struct clk_core *parent) __clk_set_parent_before() argument
2055 __clk_set_parent_after(struct clk_core *core, struct clk_core *parent, struct clk_core *old_parent) __clk_set_parent_after() argument
2075 __clk_set_parent(struct clk_core *core, struct clk_core *parent, u8 p_index) __clk_set_parent() argument
2121 __clk_speculate_rates(struct clk_core *core, unsigned long parent_rate) __clk_speculate_rates() argument
2152 clk_calc_subtree(struct clk_core *core, unsigned long new_rate, struct clk_core *new_parent, u8 p_index) clk_calc_subtree() argument
2175 clk_calc_new_rates(struct clk_core *core, unsigned long rate) clk_calc_new_rates() argument
2262 clk_propagate_rate_change(struct clk_core *core, unsigned long event) clk_propagate_rate_change() argument
2300 clk_change_rate(struct clk_core *core) clk_change_rate() argument
2389 clk_core_req_round_rate_nolock(struct clk_core *core, unsigned long req_rate) clk_core_req_round_rate_nolock() argument
2419 clk_core_set_rate_nolock(struct clk_core *core, unsigned long req_rate) clk_core_set_rate_nolock() argument
2714 __clk_init_parent(struct clk_core *core) __clk_init_parent() argument
2724 clk_core_reparent(struct clk_core *core, struct clk_core *new_parent) clk_core_reparent() argument
2760 clk_core_set_parent_nolock(struct clk_core *core, struct clk_core *parent) clk_core_set_parent_nolock() argument
2872 clk_core_set_phase_nolock(struct clk_core *core, int degrees) clk_core_set_phase_nolock() argument
2945 clk_core_get_phase(struct clk_core *core) clk_core_get_phase() argument
2983 clk_core_reset_duty_cycle_nolock(struct clk_core *core) clk_core_reset_duty_cycle_nolock() argument
2992 clk_core_update_duty_cycle_nolock(struct clk_core *core) clk_core_update_duty_cycle_nolock() argument
3017 clk_core_update_duty_cycle_parent_nolock(struct clk_core *core) clk_core_update_duty_cycle_parent_nolock() argument
3035 clk_core_set_duty_cycle_nolock(struct clk_core *core, struct clk_duty *duty) clk_core_set_duty_cycle_nolock() argument
3059 clk_core_set_duty_cycle_parent_nolock(struct clk_core *core, struct clk_duty *duty) clk_core_set_duty_cycle_parent_nolock() argument
3115 clk_core_get_scaled_duty_cycle(struct clk_core *core, unsigned int scale) clk_core_get_scaled_duty_cycle() argument
3323 struct clk_core *core = data; clk_rate_set() local
3337 struct clk_core *core = data; clk_prepare_enable_set() local
3350 struct clk_core *core = data; clk_prepare_enable_get() local
3366 struct clk_core *core = data; clk_rate_get() local
3399 struct clk_core *core = s->private; clk_flags_show() local
3418 possible_parent_show(struct seq_file *s, struct clk_core *core, unsigned int i, char terminator) possible_parent_show() argument
3457 struct clk_core *core = s->private; possible_parents_show() local
3471 struct clk_core *core = s->private; current_parent_show() local
3485 struct clk_core *core = s->private; current_parent_write() local
3518 struct clk_core *core = s->private; clk_duty_cycle_show() local
3529 struct clk_core *core = s->private; clk_min_rate_show() local
3543 struct clk_core *core = s->private; clk_max_rate_show() local
3555 clk_debug_create_one(struct clk_core *core, struct dentry *pdentry) clk_debug_create_one() argument
3607 clk_debug_register(struct clk_core *core) clk_debug_register() argument
3624 clk_debug_unregister(struct clk_core *core) clk_debug_unregister() argument
3644 struct clk_core *core; clk_debug_init() local
3686 clk_debug_register(struct clk_core *core) clk_debug_register() argument
3687 clk_debug_unregister(struct clk_core *core) clk_debug_unregister() argument
3740 __clk_core_init(struct clk_core *core) __clk_core_init() argument
3945 clk_core_link_consumer(struct clk_core *core, struct clk *clk) clk_core_link_consumer() argument
3970 alloc_clk(struct clk_core *core, const char *dev_id, const char *con_id) alloc_clk() argument
4016 struct clk_core *core; clk_hw_create_clk() local
4075 clk_core_populate_parent_map(struct clk_core *core, const struct clk_init_data *init) clk_core_populate_parent_map() argument
4137 clk_core_free_parent_map(struct clk_core *core) clk_core_free_parent_map() argument
4156 struct clk_core *core; __clk_register() local
4314 struct clk_core *core = container_of(ref, struct clk_core, ref); __clk_release() local
4380 clk_core_evict_parent_cache(struct clk_core *core) clk_core_evict_parent_cache() argument
[all...]
/kernel/linux/linux-5.10/drivers/clk/
H A Dclk.c54 struct clk_core *core; member
103 struct clk_core *core; member
114 static int clk_pm_runtime_get(struct clk_core *core) in clk_pm_runtime_get() argument
118 if (!core->rpm_enabled) in clk_pm_runtime_get()
121 ret = pm_runtime_get_sync(core->dev); in clk_pm_runtime_get()
123 pm_runtime_put_noidle(core->dev); in clk_pm_runtime_get()
129 static void clk_pm_runtime_put(struct clk_core *core) in clk_pm_runtime_put() argument
131 if (!core->rpm_enabled) in clk_pm_runtime_put()
134 pm_runtime_put_sync(core->dev); in clk_pm_runtime_put()
155 struct clk_core *core, *faile in clk_pm_runtime_get_all() local
200 struct clk_core *core; clk_pm_runtime_put_all() local
207 clk_pm_runtime_init(struct clk_core *core) clk_pm_runtime_init() argument
289 clk_core_rate_is_protected(struct clk_core *core) clk_core_rate_is_protected() argument
294 clk_core_is_prepared(struct clk_core *core) clk_core_is_prepared() argument
313 clk_core_is_enabled(struct clk_core *core) clk_core_is_enabled() argument
393 __clk_lookup_subtree(const char *name, struct clk_core *core) __clk_lookup_subtree() argument
491 clk_core_get(struct clk_core *core, u8 p_index) clk_core_get() argument
522 clk_core_fill_parent_index(struct clk_core *core, u8 index) clk_core_fill_parent_index() argument
547 clk_core_get_parent_by_index(struct clk_core *core, u8 index) clk_core_get_parent_by_index() argument
575 clk_core_get_rate_nolock(struct clk_core *core) clk_core_get_rate_nolock() argument
597 clk_core_get_accuracy_no_lock(struct clk_core *core) clk_core_get_accuracy_no_lock() argument
651 struct clk_core *core = hw->core, *parent, *best_parent = NULL; clk_mux_determine_rate_flags() local
713 struct clk_core *core = clk_core_lookup(name); __clk_lookup() local
718 clk_core_get_boundaries(struct clk_core *core, unsigned long *min_rate, unsigned long *max_rate) clk_core_get_boundaries() argument
736 clk_core_check_boundaries(struct clk_core *core, unsigned long min_rate, unsigned long max_rate) clk_core_check_boundaries() argument
789 clk_core_rate_unprotect(struct clk_core *core) clk_core_rate_unprotect() argument
806 clk_core_rate_nuke_protect(struct clk_core *core) clk_core_rate_nuke_protect() argument
864 clk_core_rate_protect(struct clk_core *core) clk_core_rate_protect() argument
877 clk_core_rate_restore_protect(struct clk_core *core, int count) clk_core_rate_restore_protect() argument
923 clk_core_unprepare(struct clk_core *core) clk_core_unprepare() argument
956 clk_core_unprepare_lock(struct clk_core *core) clk_core_unprepare_lock() argument
983 clk_core_prepare(struct clk_core *core) clk_core_prepare() argument
1032 clk_core_prepare_lock(struct clk_core *core) clk_core_prepare_lock() argument
1064 clk_core_disable(struct clk_core *core) clk_core_disable() argument
1091 clk_core_disable_lock(struct clk_core *core) clk_core_disable_lock() argument
1121 clk_core_enable(struct clk_core *core) clk_core_enable() argument
1157 clk_core_enable_lock(struct clk_core *core) clk_core_enable_lock() argument
1181 struct clk_core *core = hw->core; clk_gate_restore_context() local
1190 clk_core_save_context(struct clk_core *core) clk_core_save_context() argument
1207 clk_core_restore_context(struct clk_core *core) clk_core_restore_context() argument
1254 struct clk_core *core; clk_restore_context() local
1286 clk_core_prepare_enable(struct clk_core *core) clk_core_prepare_enable() argument
1301 clk_core_disable_unprepare(struct clk_core *core) clk_core_disable_unprepare() argument
1307 clk_unprepare_unused_subtree(struct clk_core *core) clk_unprepare_unused_subtree() argument
1332 clk_disable_unused_subtree(struct clk_core *core) clk_disable_unused_subtree() argument
1383 struct clk_core *core; clk_disable_unused() local
1422 clk_core_determine_round_nolock(struct clk_core *core, struct clk_rate_request *req) clk_core_determine_round_nolock() argument
1456 clk_core_init_rate_req(struct clk_core * const core, struct clk_rate_request *req) clk_core_init_rate_req() argument
1474 clk_core_can_round(struct clk_core * const core) clk_core_can_round() argument
1479 clk_core_round_rate_nolock(struct clk_core *core, struct clk_rate_request *req) clk_core_round_rate_nolock() argument
1602 __clk_notify(struct clk_core *core, unsigned long msg, unsigned long old_rate, unsigned long new_rate) __clk_notify() argument
1634 __clk_recalc_accuracies(struct clk_core *core) __clk_recalc_accuracies() argument
1654 clk_core_get_accuracy_recalc(struct clk_core *core) clk_core_get_accuracy_recalc() argument
1686 clk_recalc(struct clk_core *core, unsigned long parent_rate) clk_recalc() argument
1710 __clk_recalc_rates(struct clk_core *core, unsigned long msg) __clk_recalc_rates() argument
1736 clk_core_get_rate_recalc(struct clk_core *core) clk_core_get_rate_recalc() argument
1767 clk_fetch_parent_index(struct clk_core *core, struct clk_core *parent) clk_fetch_parent_index() argument
1831 clk_core_update_orphan_status(struct clk_core *core, bool is_orphan) clk_core_update_orphan_status() argument
1841 clk_reparent(struct clk_core *core, struct clk_core *new_parent) clk_reparent() argument
1867 __clk_set_parent_before(struct clk_core *core, struct clk_core *parent) __clk_set_parent_before() argument
1913 __clk_set_parent_after(struct clk_core *core, struct clk_core *parent, struct clk_core *old_parent) __clk_set_parent_after() argument
1933 __clk_set_parent(struct clk_core *core, struct clk_core *parent, u8 p_index) __clk_set_parent() argument
1978 __clk_speculate_rates(struct clk_core *core, unsigned long parent_rate) __clk_speculate_rates() argument
2009 clk_calc_subtree(struct clk_core *core, unsigned long new_rate, struct clk_core *new_parent, u8 p_index) clk_calc_subtree() argument
2032 clk_calc_new_rates(struct clk_core *core, unsigned long rate) clk_calc_new_rates() argument
2119 clk_propagate_rate_change(struct clk_core *core, unsigned long event) clk_propagate_rate_change() argument
2157 clk_change_rate(struct clk_core *core) clk_change_rate() argument
2254 clk_core_req_round_rate_nolock(struct clk_core *core, unsigned long req_rate) clk_core_req_round_rate_nolock() argument
2281 clk_core_set_rate_nolock(struct clk_core *core, unsigned long req_rate) clk_core_set_rate_nolock() argument
2553 __clk_init_parent(struct clk_core *core) __clk_init_parent() argument
2563 clk_core_reparent(struct clk_core *core, struct clk_core *new_parent) clk_core_reparent() argument
2591 struct clk_core *core, *parent_core; clk_has_parent() local
2613 clk_core_set_parent_nolock(struct clk_core *core, struct clk_core *parent) clk_core_set_parent_nolock() argument
2725 clk_core_set_phase_nolock(struct clk_core *core, int degrees) clk_core_set_phase_nolock() argument
2798 clk_core_get_phase(struct clk_core *core) clk_core_get_phase() argument
2836 clk_core_reset_duty_cycle_nolock(struct clk_core *core) clk_core_reset_duty_cycle_nolock() argument
2845 clk_core_update_duty_cycle_nolock(struct clk_core *core) clk_core_update_duty_cycle_nolock() argument
2870 clk_core_update_duty_cycle_parent_nolock(struct clk_core *core) clk_core_update_duty_cycle_parent_nolock() argument
2888 clk_core_set_duty_cycle_nolock(struct clk_core *core, struct clk_duty *duty) clk_core_set_duty_cycle_nolock() argument
2912 clk_core_set_duty_cycle_parent_nolock(struct clk_core *core, struct clk_duty *duty) clk_core_set_duty_cycle_parent_nolock() argument
2968 clk_core_get_scaled_duty_cycle(struct clk_core *core, unsigned int scale) clk_core_get_scaled_duty_cycle() argument
3167 struct clk_core *core = data; clk_rate_set() local
3181 struct clk_core *core = data; clk_prepare_enable_set() local
3194 struct clk_core *core = data; clk_prepare_enable_get() local
3210 struct clk_core *core = data; clk_rate_get() local
3240 struct clk_core *core = s->private; clk_flags_show() local
3259 possible_parent_show(struct seq_file *s, struct clk_core *core, unsigned int i, char terminator) possible_parent_show() argument
3298 struct clk_core *core = s->private; possible_parents_show() local
3312 struct clk_core *core = s->private; current_parent_show() local
3323 struct clk_core *core = s->private; clk_duty_cycle_show() local
3334 struct clk_core *core = s->private; clk_min_rate_show() local
3348 struct clk_core *core = s->private; clk_max_rate_show() local
3360 clk_debug_create_one(struct clk_core *core, struct dentry *pdentry) clk_debug_create_one() argument
3408 clk_debug_register(struct clk_core *core) clk_debug_register() argument
3425 clk_debug_unregister(struct clk_core *core) clk_debug_unregister() argument
3445 struct clk_core *core; clk_debug_init() local
3487 clk_debug_register(struct clk_core *core) clk_debug_register() argument
3488 clk_debug_unregister(struct clk_core *core) clk_debug_unregister() argument
3541 __clk_core_init(struct clk_core *core) __clk_core_init() argument
3744 clk_core_link_consumer(struct clk_core *core, struct clk *clk) clk_core_link_consumer() argument
3769 alloc_clk(struct clk_core *core, const char *dev_id, const char *con_id) alloc_clk() argument
3815 struct clk_core *core; clk_hw_create_clk() local
3855 clk_core_populate_parent_map(struct clk_core *core, const struct clk_init_data *init) clk_core_populate_parent_map() argument
3917 clk_core_free_parent_map(struct clk_core *core) clk_core_free_parent_map() argument
3935 struct clk_core *core = container_of(ref, struct clk_core, ref); __clk_release() local
3952 struct clk_core *core; __clk_register() local
4156 clk_core_evict_parent_cache(struct clk_core *core) clk_core_evict_parent_cache() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
H A Dpm_helpers.c17 #include "core.h"
24 static int core_clks_get(struct venus_core *core) in core_clks_get() argument
26 const struct venus_resources *res = core->res; in core_clks_get()
27 struct device *dev = core->dev; in core_clks_get()
31 core->clks[i] = devm_clk_get(dev, res->clks[i]); in core_clks_get()
32 if (IS_ERR(core->clks[i])) in core_clks_get()
33 return PTR_ERR(core->clks[i]); in core_clks_get()
39 static int core_clks_enable(struct venus_core *core) in core_clks_enable() argument
41 const struct venus_resources *res = core->res; in core_clks_enable()
46 ret = clk_prepare_enable(core in core_clks_enable()
59 core_clks_disable(struct venus_core *core) core_clks_disable() argument
68 core_clks_set_rate(struct venus_core *core, unsigned long freq) core_clks_set_rate() argument
87 vcodec_clks_get(struct venus_core *core, struct device *dev, struct clk **clks, const char * const *id) vcodec_clks_get() argument
104 vcodec_clks_enable(struct venus_core *core, struct clk **clks) vcodec_clks_enable() argument
124 vcodec_clks_disable(struct venus_core *core, struct clk **clks) vcodec_clks_disable() argument
145 load_per_type(struct venus_core *core, u32 session_type) load_per_type() argument
199 load_scale_bw(struct venus_core *core) load_scale_bw() argument
229 struct venus_core *core = inst->core; load_scale_v1() local
278 core_get_v1(struct venus_core *core) core_get_v1() argument
283 core_power_v1(struct venus_core *core, int on) core_power_v1() argument
302 vcodec_control_v3(struct venus_core *core, u32 session_type, bool enable) vcodec_control_v3() argument
319 struct venus_core *core = dev_get_drvdata(dev); vdec_get_v3() local
327 struct venus_core *core = dev_get_drvdata(dev); vdec_power_v3() local
344 struct venus_core *core = dev_get_drvdata(dev); venc_get_v3() local
352 struct venus_core *core = dev_get_drvdata(dev); venc_power_v3() local
377 vcodec_control_v4(struct venus_core *core, u32 coreid, bool enable) vcodec_control_v4() argument
408 poweroff_coreid(struct venus_core *core, unsigned int coreid_mask) poweroff_coreid() argument
447 poweron_coreid(struct venus_core *core, unsigned int coreid_mask) poweron_coreid() argument
495 struct venus_core *core = inst->core; min_loaded_core() local
540 struct venus_core *core = inst->core; decide_core() local
578 struct venus_core *core = inst->core; acquire_core() local
605 struct venus_core *core = inst->core; release_core() local
638 struct venus_core *core = inst->core; coreid_power_v4() local
663 struct venus_core *core = dev_get_drvdata(dev); vdec_get_v4() local
674 struct venus_core *core = dev_get_drvdata(dev); vdec_put_v4() local
686 struct venus_core *core = dev_get_drvdata(dev); vdec_power_v4() local
708 struct venus_core *core = dev_get_drvdata(dev); venc_get_v4() local
719 struct venus_core *core = dev_get_drvdata(dev); venc_put_v4() local
731 struct venus_core *core = dev_get_drvdata(dev); venc_power_v4() local
751 vcodec_domains_get(struct venus_core *core) vcodec_domains_get() argument
807 vcodec_domains_put(struct venus_core *core) vcodec_domains_put() argument
831 core_get_v4(struct venus_core *core) core_get_v4() argument
883 core_put_v4(struct venus_core *core) core_put_v4() argument
899 core_power_v4(struct venus_core *core, int on) core_power_v4() argument
956 struct venus_core *core = inst->core; load_scale_v4() local
[all...]
H A Dcore.c21 #include "core.h"
26 static void venus_event_notify(struct venus_core *core, u32 event) in venus_event_notify() argument
38 mutex_lock(&core->lock); in venus_event_notify()
39 core->sys_error = true; in venus_event_notify()
40 list_for_each_entry(inst, &core->instances, list) in venus_event_notify()
42 mutex_unlock(&core->lock); in venus_event_notify()
44 disable_irq_nosync(core->irq); in venus_event_notify()
45 schedule_delayed_work(&core->work, msecs_to_jiffies(10)); in venus_event_notify()
56 struct venus_core *core = in venus_sys_error_handler() local
62 ret = pm_runtime_get_sync(core in venus_sys_error_handler()
164 venus_enumerate_codecs(struct venus_core *core, u32 type) venus_enumerate_codecs() argument
214 venus_assign_register_offsets(struct venus_core *core) venus_assign_register_offsets() argument
226 struct venus_core *core; venus_probe() local
364 struct venus_core *core = platform_get_drvdata(pdev); venus_remove() local
399 struct venus_core *core = dev_get_drvdata(dev); venus_runtime_suspend() local
434 struct venus_core *core = dev_get_drvdata(dev); venus_runtime_resume() local
[all...]
/kernel/linux/linux-5.10/drivers/staging/media/meson/vdec/
H A Dvdec_1.c29 struct amvdec_core *core = sess->core; in vdec_1_load_firmware() local
30 struct device *dev = core->dev_dec; in vdec_1_load_firmware()
48 mc_addr = dma_alloc_coherent(core->dev, MC_SIZE, in vdec_1_load_firmware()
57 amvdec_write_dos(core, MPSR, 0); in vdec_1_load_firmware()
58 amvdec_write_dos(core, CPSR, 0); in vdec_1_load_firmware()
60 amvdec_clear_dos_bits(core, MDEC_PIC_DC_CTRL, BIT(31)); in vdec_1_load_firmware()
62 amvdec_write_dos(core, IMEM_DMA_ADR, mc_addr_map); in vdec_1_load_firmware()
63 amvdec_write_dos(core, IMEM_DMA_COUNT, MC_SIZE / 4); in vdec_1_load_firmware()
64 amvdec_write_dos(core, IMEM_DMA_CTR in vdec_1_load_firmware()
88 struct amvdec_core *core = sess->core; vdec_1_stbuf_power_up() local
117 struct amvdec_core *core = sess->core; vdec_1_conf_esparser() local
127 struct amvdec_core *core = sess->core; vdec_1_vififo_level() local
134 struct amvdec_core *core = sess->core; vdec_1_stop() local
172 struct amvdec_core *core = sess->core; vdec_1_start() local
[all...]
H A Dvdec_hevc.c29 struct amvdec_core *core = sess->core; in vdec_hevc_load_firmware() local
30 struct device *dev = core->dev_dec; in vdec_hevc_load_firmware()
50 mc_addr = dma_alloc_coherent(core->dev, MC_SIZE, &mc_addr_map, in vdec_hevc_load_firmware()
59 amvdec_write_dos(core, HEVC_MPSR, 0); in vdec_hevc_load_firmware()
60 amvdec_write_dos(core, HEVC_CPSR, 0); in vdec_hevc_load_firmware()
62 amvdec_write_dos(core, HEVC_IMEM_DMA_ADR, mc_addr_map); in vdec_hevc_load_firmware()
63 amvdec_write_dos(core, HEVC_IMEM_DMA_COUNT, MC_SIZE / 4); in vdec_hevc_load_firmware()
64 amvdec_write_dos(core, HEVC_IMEM_DMA_CTRL, (0x8000 | (7 << 16))); in vdec_hevc_load_firmware()
66 while (i && (readl(core in vdec_hevc_load_firmware()
82 struct amvdec_core *core = sess->core; vdec_hevc_stbuf_init() local
96 struct amvdec_core *core = sess->core; vdec_hevc_conf_esparser() local
115 struct amvdec_core *core = sess->core; vdec_hevc_stop() local
157 struct amvdec_core *core = sess->core; vdec_hevc_start() local
[all...]
/kernel/linux/linux-6.6/drivers/staging/media/meson/vdec/
H A Dvdec_1.c29 struct amvdec_core *core = sess->core; in vdec_1_load_firmware() local
30 struct device *dev = core->dev_dec; in vdec_1_load_firmware()
48 mc_addr = dma_alloc_coherent(core->dev, MC_SIZE, in vdec_1_load_firmware()
57 amvdec_write_dos(core, MPSR, 0); in vdec_1_load_firmware()
58 amvdec_write_dos(core, CPSR, 0); in vdec_1_load_firmware()
60 amvdec_clear_dos_bits(core, MDEC_PIC_DC_CTRL, BIT(31)); in vdec_1_load_firmware()
62 amvdec_write_dos(core, IMEM_DMA_ADR, mc_addr_map); in vdec_1_load_firmware()
63 amvdec_write_dos(core, IMEM_DMA_COUNT, MC_SIZE / 4); in vdec_1_load_firmware()
64 amvdec_write_dos(core, IMEM_DMA_CTR in vdec_1_load_firmware()
88 struct amvdec_core *core = sess->core; vdec_1_stbuf_power_up() local
117 struct amvdec_core *core = sess->core; vdec_1_conf_esparser() local
127 struct amvdec_core *core = sess->core; vdec_1_vififo_level() local
134 struct amvdec_core *core = sess->core; vdec_1_stop() local
172 struct amvdec_core *core = sess->core; vdec_1_start() local
[all...]
H A Dvdec_hevc.c29 struct amvdec_core *core = sess->core; in vdec_hevc_load_firmware() local
30 struct device *dev = core->dev_dec; in vdec_hevc_load_firmware()
50 mc_addr = dma_alloc_coherent(core->dev, MC_SIZE, &mc_addr_map, in vdec_hevc_load_firmware()
59 amvdec_write_dos(core, HEVC_MPSR, 0); in vdec_hevc_load_firmware()
60 amvdec_write_dos(core, HEVC_CPSR, 0); in vdec_hevc_load_firmware()
62 amvdec_write_dos(core, HEVC_IMEM_DMA_ADR, mc_addr_map); in vdec_hevc_load_firmware()
63 amvdec_write_dos(core, HEVC_IMEM_DMA_COUNT, MC_SIZE / 4); in vdec_hevc_load_firmware()
64 amvdec_write_dos(core, HEVC_IMEM_DMA_CTRL, (0x8000 | (7 << 16))); in vdec_hevc_load_firmware()
66 while (i && (readl(core in vdec_hevc_load_firmware()
82 struct amvdec_core *core = sess->core; vdec_hevc_stbuf_init() local
96 struct amvdec_core *core = sess->core; vdec_hevc_conf_esparser() local
115 struct amvdec_core *core = sess->core; vdec_hevc_stop() local
157 struct amvdec_core *core = sess->core; vdec_hevc_start() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
H A Dcore.c24 #include "core.h"
29 static void venus_coredump(struct venus_core *core) in venus_coredump() argument
37 dev = core->dev; in venus_coredump()
38 mem_phys = core->fw.mem_phys; in venus_coredump()
39 mem_size = core->fw.mem_size; in venus_coredump()
56 static void venus_event_notify(struct venus_core *core, u32 event) in venus_event_notify() argument
68 mutex_lock(&core->lock); in venus_event_notify()
69 set_bit(0, &core->sys_error); in venus_event_notify()
70 list_for_each_entry(inst, &core->instances, list) in venus_event_notify()
72 mutex_unlock(&core in venus_event_notify()
86 struct venus_core *core = venus_sys_error_handler() local
198 venus_enumerate_codecs(struct venus_core *core, u32 type) venus_enumerate_codecs() argument
248 venus_assign_register_offsets(struct venus_core *core) venus_assign_register_offsets() argument
271 struct venus_core *core = dev_id; venus_isr_thread() local
285 struct venus_core *core; venus_probe() local
422 struct venus_core *core = platform_get_drvdata(pdev); venus_remove() local
455 struct venus_core *core = platform_get_drvdata(pdev); venus_core_shutdown() local
465 struct venus_core *core = dev_get_drvdata(dev); venus_runtime_suspend() local
500 struct venus_core *core = dev_get_drvdata(dev); venus_runtime_resume() local
[all...]
H A Dhfi.c13 #include "core.h"
50 int hfi_core_init(struct venus_core *core) in hfi_core_init() argument
54 mutex_lock(&core->lock); in hfi_core_init()
56 if (core->state >= CORE_INIT) in hfi_core_init()
59 reinit_completion(&core->done); in hfi_core_init()
61 ret = core->ops->core_init(core); in hfi_core_init()
65 ret = wait_for_completion_timeout(&core->done, TIMEOUT); in hfi_core_init()
73 if (core->error != HFI_ERR_NONE) { in hfi_core_init()
78 core in hfi_core_init()
84 hfi_core_deinit(struct venus_core *core, bool blocking) hfi_core_deinit() argument
120 hfi_core_suspend(struct venus_core *core) hfi_core_suspend() argument
128 hfi_core_resume(struct venus_core *core, bool force) hfi_core_resume() argument
136 hfi_core_trigger_ssr(struct venus_core *core, u32 type) hfi_core_trigger_ssr() argument
141 hfi_core_ping(struct venus_core *core) hfi_core_ping() argument
180 struct venus_core *core = inst->core; hfi_session_create() local
216 struct venus_core *core = inst->core; hfi_session_init() local
254 struct venus_core *core = inst->core; hfi_session_destroy() local
351 struct venus_core *core = inst->core; hfi_session_continue() local
558 struct venus_core *core = dev_id; hfi_isr_thread() local
565 struct venus_core *core = dev; hfi_isr() local
570 hfi_create(struct venus_core *core, const struct hfi_core_ops *ops) hfi_create() argument
584 hfi_destroy(struct venus_core *core) hfi_destroy() argument
589 hfi_reinit(struct venus_core *core) hfi_reinit() argument
[all...]
H A Dpm_helpers.c18 #include "core.h"
26 static int core_clks_get(struct venus_core *core) in core_clks_get() argument
28 const struct venus_resources *res = core->res; in core_clks_get()
29 struct device *dev = core->dev; in core_clks_get()
33 core->clks[i] = devm_clk_get(dev, res->clks[i]); in core_clks_get()
34 if (IS_ERR(core->clks[i])) in core_clks_get()
35 return PTR_ERR(core->clks[i]); in core_clks_get()
41 static int core_clks_enable(struct venus_core *core) in core_clks_enable() argument
43 const struct venus_resources *res = core->res; in core_clks_enable()
44 const struct freq_tbl *freq_tbl = core in core_clks_enable()
75 core_clks_disable(struct venus_core *core) core_clks_disable() argument
84 core_clks_set_rate(struct venus_core *core, unsigned long freq) core_clks_set_rate() argument
103 vcodec_clks_get(struct venus_core *core, struct device *dev, struct clk **clks, const char * const *id) vcodec_clks_get() argument
120 vcodec_clks_enable(struct venus_core *core, struct clk **clks) vcodec_clks_enable() argument
140 vcodec_clks_disable(struct venus_core *core, struct clk **clks) vcodec_clks_disable() argument
161 load_per_type(struct venus_core *core, u32 session_type) load_per_type() argument
215 load_scale_bw(struct venus_core *core) load_scale_bw() argument
245 struct venus_core *core = inst->core; load_scale_v1() local
294 core_get_v1(struct venus_core *core) core_get_v1() argument
309 core_put_v1(struct venus_core *core) core_put_v1() argument
313 core_power_v1(struct venus_core *core, int on) core_power_v1() argument
333 vcodec_control_v3(struct venus_core *core, u32 session_type, bool enable) vcodec_control_v3() argument
350 struct venus_core *core = dev_get_drvdata(dev); vdec_get_v3() local
358 struct venus_core *core = dev_get_drvdata(dev); vdec_power_v3() local
375 struct venus_core *core = dev_get_drvdata(dev); venc_get_v3() local
383 struct venus_core *core = dev_get_drvdata(dev); venc_power_v3() local
409 vcodec_control_v4(struct venus_core *core, u32 coreid, bool enable) vcodec_control_v4() argument
443 poweroff_coreid(struct venus_core *core, unsigned int coreid_mask) poweroff_coreid() argument
482 poweron_coreid(struct venus_core *core, unsigned int coreid_mask) poweron_coreid() argument
552 move_core_to_power_save_mode(struct venus_core *core, u32 core_id) move_core_to_power_save_mode() argument
572 struct venus_core *core = inst->core; min_loaded_core() local
624 struct venus_core *core = inst->core; decide_core() local
684 struct venus_core *core = inst->core; acquire_core() local
711 struct venus_core *core = inst->core; release_core() local
744 struct venus_core *core = inst->core; coreid_power_v4() local
769 struct venus_core *core = dev_get_drvdata(dev); vdec_get_v4() local
780 struct venus_core *core = dev_get_drvdata(dev); vdec_put_v4() local
792 struct venus_core *core = dev_get_drvdata(dev); vdec_power_v4() local
814 struct venus_core *core = dev_get_drvdata(dev); venc_get_v4() local
825 struct venus_core *core = dev_get_drvdata(dev); venc_put_v4() local
837 struct venus_core *core = dev_get_drvdata(dev); venc_power_v4() local
857 vcodec_domains_get(struct venus_core *core) vcodec_domains_get() argument
908 vcodec_domains_put(struct venus_core *core) vcodec_domains_put() argument
930 core_resets_reset(struct venus_core *core) core_resets_reset() argument
954 core_resets_get(struct venus_core *core) core_resets_get() argument
976 core_get_v4(struct venus_core *core) core_get_v4() argument
1027 core_put_v4(struct venus_core *core) core_put_v4() argument
1035 core_power_v4(struct venus_core *core, int on) core_power_v4() argument
1112 struct venus_core *core = inst->core; load_scale_v4() local
[all...]
/kernel/linux/linux-5.10/drivers/bcma/
H A Dmain.c35 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in manuf_show() local
36 return sprintf(buf, "0x%03X\n", core->id.manuf); in manuf_show()
42 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in id_show() local
43 return sprintf(buf, "0x%03X\n", core->id.id); in id_show()
49 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in rev_show() local
50 return sprintf(buf, "0x%02X\n", core->id.rev); in rev_show()
56 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in class_show() local
57 return sprintf(buf, "0x%X\n", core->id.class); in class_show()
89 struct bcma_device *core; in bcma_find_core_unit() local
91 list_for_each_entry(core, in bcma_find_core_unit()
99 bcma_wait_value(struct bcma_device *core, u16 reg, u32 mask, u32 value, int timeout) bcma_wait_value() argument
120 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_release_core_dev() local
139 bcma_of_find_child_device(struct device *parent, struct bcma_device *core) bcma_of_find_child_device() argument
159 bcma_of_irq_parse(struct device *parent, struct bcma_device *core, struct of_phandle_args *out_irq, int num) bcma_of_irq_parse() argument
180 bcma_of_get_irq(struct device *parent, struct bcma_device *core, int num) bcma_of_get_irq() argument
199 bcma_of_fill_device(struct device *parent, struct bcma_device *core) bcma_of_fill_device() argument
213 bcma_core_irq(struct bcma_device *core, int num) bcma_core_irq() argument
237 bcma_prepare_core(struct bcma_bus *bus, struct bcma_device *core) bcma_prepare_core() argument
277 bcma_register_core(struct bcma_bus *bus, struct bcma_device *core) bcma_register_core() argument
292 struct bcma_device *core; bcma_register_devices() local
361 struct bcma_device *core, *tmp; bcma_unregister_cores() local
382 struct bcma_device *core; bcma_bus_register() local
501 struct bcma_device *core; bcma_bus_early_register() local
532 struct bcma_device *core; bcma_bus_suspend() local
547 struct bcma_device *core; bcma_bus_resume() local
586 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_bus_match() local
603 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_device_probe() local
619 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_device_remove() local
632 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_device_uevent() local
[all...]
H A Dcore.c12 static bool bcma_core_wait_value(struct bcma_device *core, u16 reg, u32 mask, in bcma_core_wait_value() argument
19 val = bcma_aread32(core, reg); in bcma_core_wait_value()
26 bcma_warn(core->bus, "Timeout waiting for register 0x%04X!\n", reg); in bcma_core_wait_value()
31 bool bcma_core_is_enabled(struct bcma_device *core) in bcma_core_is_enabled() argument
33 if ((bcma_aread32(core, BCMA_IOCTL) & (BCMA_IOCTL_CLK | BCMA_IOCTL_FGC)) in bcma_core_is_enabled()
36 if (bcma_aread32(core, BCMA_RESET_CTL) & BCMA_RESET_CTL_RESET) in bcma_core_is_enabled()
42 void bcma_core_disable(struct bcma_device *core, u32 flags) in bcma_core_disable() argument
44 if (bcma_aread32(core, BCMA_RESET_CTL) & BCMA_RESET_CTL_RESET) in bcma_core_disable()
47 bcma_core_wait_value(core, BCMA_RESET_ST, ~0, 0, 300); in bcma_core_disable()
49 bcma_awrite32(core, BCMA_RESET_CT in bcma_core_disable()
59 bcma_core_enable(struct bcma_device *core, u32 flags) bcma_core_enable() argument
78 bcma_core_set_clockmode(struct bcma_device *core, enum bcma_clkmode clkmode) bcma_core_set_clockmode() argument
109 bcma_core_pll_ctl(struct bcma_device *core, u32 req, u32 status, bool on) bcma_core_pll_ctl() argument
140 bcma_core_dma_translation(struct bcma_device *core) bcma_core_dma_translation() argument
[all...]
/kernel/linux/linux-6.6/drivers/bcma/
H A Dmain.c36 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in manuf_show() local
37 return sprintf(buf, "0x%03X\n", core->id.manuf); in manuf_show()
43 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in id_show() local
44 return sprintf(buf, "0x%03X\n", core->id.id); in id_show()
50 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in rev_show() local
51 return sprintf(buf, "0x%02X\n", core->id.rev); in rev_show()
57 struct bcma_device *core = container_of(dev, struct bcma_device, dev); in class_show() local
58 return sprintf(buf, "0x%X\n", core->id.class); in class_show()
90 struct bcma_device *core; in bcma_find_core_unit() local
92 list_for_each_entry(core, in bcma_find_core_unit()
100 bcma_wait_value(struct bcma_device *core, u16 reg, u32 mask, u32 value, int timeout) bcma_wait_value() argument
121 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_release_core_dev() local
140 bcma_of_find_child_device(struct device *parent, struct bcma_device *core) bcma_of_find_child_device() argument
160 bcma_of_irq_parse(struct device *parent, struct bcma_device *core, struct of_phandle_args *out_irq, int num) bcma_of_irq_parse() argument
181 bcma_of_get_irq(struct device *parent, struct bcma_device *core, int num) bcma_of_get_irq() argument
200 bcma_of_fill_device(struct device *parent, struct bcma_device *core) bcma_of_fill_device() argument
214 bcma_core_irq(struct bcma_device *core, int num) bcma_core_irq() argument
238 bcma_prepare_core(struct bcma_bus *bus, struct bcma_device *core) bcma_prepare_core() argument
278 bcma_register_core(struct bcma_bus *bus, struct bcma_device *core) bcma_register_core() argument
293 struct bcma_device *core; bcma_register_devices() local
364 struct bcma_device *core, *tmp; bcma_unregister_cores() local
385 struct bcma_device *core; bcma_bus_register() local
504 struct bcma_device *core; bcma_bus_early_register() local
535 struct bcma_device *core; bcma_bus_suspend() local
550 struct bcma_device *core; bcma_bus_resume() local
589 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_bus_match() local
606 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_device_probe() local
622 struct bcma_device *core = container_of(dev, struct bcma_device, dev); bcma_device_remove() local
633 const struct bcma_device *core = container_of_const(dev, struct bcma_device, dev); bcma_device_uevent() local
[all...]
/kernel/linux/linux-5.10/tools/perf/tests/
H A Dparse-events.c51 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_tracepoint()
53 TEST_ASSERT_VAL("wrong type", PERF_TYPE_TRACEPOINT == evsel->core.attr.type); in test__checkevent_tracepoint()
55 PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type); in test__checkevent_tracepoint()
56 TEST_ASSERT_VAL("wrong sample_period", 1 == evsel->core.attr.sample_period); in test__checkevent_tracepoint()
64 TEST_ASSERT_VAL("wrong number of entries", evlist->core.nr_entries > 1); in test__checkevent_tracepoint_multi()
69 PERF_TYPE_TRACEPOINT == evsel->core.attr.type); in test__checkevent_tracepoint_multi()
71 PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type); in test__checkevent_tracepoint_multi()
73 1 == evsel->core.attr.sample_period); in test__checkevent_tracepoint_multi()
82 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_raw()
83 TEST_ASSERT_VAL("wrong type", PERF_TYPE_RAW == evsel->core in test__checkevent_raw()
[all...]
/kernel/linux/linux-5.10/include/trace/events/
H A Dclk.h17 TP_PROTO(struct clk_core *core),
19 TP_ARGS(core),
22 __string( name, core->name )
26 __assign_str(name, core->name);
34 TP_PROTO(struct clk_core *core),
36 TP_ARGS(core)
41 TP_PROTO(struct clk_core *core),
43 TP_ARGS(core)
48 TP_PROTO(struct clk_core *core),
50 TP_ARGS(core)
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi4_cec.c68 static void hdmi_cec_received_msg(struct hdmi_core_data *core) in hdmi_cec_received_msg() argument
70 u32 cnt = hdmi_read_reg(core->base, HDMI_CEC_RX_COUNT) & 0xff; in hdmi_cec_received_msg()
83 msg.msg[0] = hdmi_read_reg(core->base, in hdmi_cec_received_msg()
85 msg.msg[1] = hdmi_read_reg(core->base, in hdmi_cec_received_msg()
91 hdmi_read_reg(core->base, reg); in hdmi_cec_received_msg()
94 cec_received_msg(core->adap, &msg); in hdmi_cec_received_msg()
97 hdmi_write_reg(core->base, HDMI_CEC_RX_CONTROL, 1); in hdmi_cec_received_msg()
99 while (hdmi_read_reg(core->base, HDMI_CEC_RX_CONTROL) & 1) in hdmi_cec_received_msg()
105 cnt = hdmi_read_reg(core->base, HDMI_CEC_RX_COUNT) & 0xff; in hdmi_cec_received_msg()
109 void hdmi4_cec_irq(struct hdmi_core_data *core) in hdmi4_cec_irq() argument
136 struct hdmi_core_data *core = cec_get_drvdata(adap); hdmi_cec_clear_tx_fifo() local
152 struct hdmi_core_data *core = cec_get_drvdata(adap); hdmi_cec_clear_rx_fifo() local
169 struct hdmi_core_data *core = cec_get_drvdata(adap); hdmi_cec_adap_enable() local
258 struct hdmi_core_data *core = cec_get_drvdata(adap); hdmi_cec_adap_log_addr() local
281 struct hdmi_core_data *core = cec_get_drvdata(adap); hdmi_cec_adap_transmit() local
332 hdmi4_cec_set_phys_addr(struct hdmi_core_data *core, u16 pa) hdmi4_cec_set_phys_addr() argument
337 hdmi4_cec_init(struct platform_device *pdev, struct hdmi_core_data *core, struct hdmi_wp_data *wp) hdmi4_cec_init() argument
362 hdmi4_cec_uninit(struct hdmi_core_data *core) hdmi4_cec_uninit() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi4_cec.c56 static void hdmi_cec_received_msg(struct hdmi_core_data *core) in hdmi_cec_received_msg() argument
58 u32 cnt = hdmi_read_reg(core->base, HDMI_CEC_RX_COUNT) & 0xff; in hdmi_cec_received_msg()
71 msg.msg[0] = hdmi_read_reg(core->base, in hdmi_cec_received_msg()
73 msg.msg[1] = hdmi_read_reg(core->base, in hdmi_cec_received_msg()
79 hdmi_read_reg(core->base, reg); in hdmi_cec_received_msg()
82 cec_received_msg(core->adap, &msg); in hdmi_cec_received_msg()
85 hdmi_write_reg(core->base, HDMI_CEC_RX_CONTROL, 1); in hdmi_cec_received_msg()
87 while (hdmi_read_reg(core->base, HDMI_CEC_RX_CONTROL) & 1) in hdmi_cec_received_msg()
93 cnt = hdmi_read_reg(core->base, HDMI_CEC_RX_COUNT) & 0xff; in hdmi_cec_received_msg()
97 void hdmi4_cec_irq(struct hdmi_core_data *core) in hdmi4_cec_irq() argument
124 struct hdmi_core_data *core = cec_get_drvdata(adap); hdmi_cec_clear_tx_fifo() local
140 struct hdmi_core_data *core = cec_get_drvdata(adap); hdmi_cec_clear_rx_fifo() local
157 struct hdmi_core_data *core = cec_get_drvdata(adap); hdmi_cec_adap_enable() local
246 struct hdmi_core_data *core = cec_get_drvdata(adap); hdmi_cec_adap_log_addr() local
269 struct hdmi_core_data *core = cec_get_drvdata(adap); hdmi_cec_adap_transmit() local
320 hdmi4_cec_set_phys_addr(struct hdmi_core_data *core, u16 pa) hdmi4_cec_set_phys_addr() argument
325 hdmi4_cec_init(struct platform_device *pdev, struct hdmi_core_data *core, struct hdmi_wp_data *wp) hdmi4_cec_init() argument
350 hdmi4_cec_uninit(struct hdmi_core_data *core) hdmi4_cec_uninit() argument
[all...]
/kernel/linux/linux-6.6/tools/perf/tests/
H A Dparse-events.c27 * opened once for each core PMU type. Otherwise fall back to the legacy in num_core_entries()
39 __u32 type = evsel->core.attr.type; in test_config()
40 __u64 config = evsel->core.attr.config; in test_config()
89 TEST_ASSERT_VAL("wrong number of entries", 1 == evlist->core.nr_entries); in test__checkevent_tracepoint()
91 TEST_ASSERT_VAL("wrong type", PERF_TYPE_TRACEPOINT == evsel->core.attr.type); in test__checkevent_tracepoint()
93 PERF_TP_SAMPLE_TYPE == evsel->core.attr.sample_type); in test__checkevent_tracepoint()
94 TEST_ASSERT_VAL("wrong sample_period", 1 == evsel->core.attr.sample_period); in test__checkevent_tracepoint()
102 TEST_ASSERT_VAL("wrong number of entries", evlist->core.nr_entries > 1); in test__checkevent_tracepoint_multi()
107 PERF_TYPE_TRACEPOINT == evsel->core.attr.type); in test__checkevent_tracepoint_multi()
109 PERF_TP_SAMPLE_TYPE == evsel->core in test__checkevent_tracepoint_multi()
[all...]
/kernel/linux/linux-5.10/drivers/clk/at91/
H A Dclk-sam9x60-pll.c40 struct sam9x60_pll_core core; member
46 struct sam9x60_pll_core core; member
51 #define to_sam9x60_frac(core) container_of(core, struct sam9x60_frac, core)
52 #define to_sam9x60_div(core) container_of(core, struct sam9x60_div, core)
71 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); in sam9x60_frac_pll_recalc_rate() local
72 struct sam9x60_frac *frac = to_sam9x60_frac(core); in sam9x60_frac_pll_recalc_rate()
80 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_frac_pll_prepare() local
146 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_frac_pll_unprepare() local
170 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_frac_pll_is_prepared() local
175 sam9x60_frac_pll_compute_mul_frac(struct sam9x60_pll_core *core, unsigned long rate, unsigned long parent_rate, bool update) sam9x60_frac_pll_compute_mul_frac() argument
219 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_frac_pll_round_rate() local
227 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_frac_pll_set_rate() local
243 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_div_pll_prepare() local
279 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_div_pll_unprepare() local
300 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_div_pll_is_prepared() local
319 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_div_pll_recalc_rate() local
325 sam9x60_div_pll_compute_div(struct sam9x60_pll_core *core, unsigned long *parent_rate, unsigned long rate) sam9x60_div_pll_compute_div() argument
371 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_div_pll_round_rate() local
379 struct sam9x60_pll_core *core = to_sam9x60_pll_core(hw); sam9x60_div_pll_set_rate() local
[all...]
/kernel/linux/linux-5.10/drivers/media/radio/
H A Dradio-wl1273.c12 #include <linux/mfd/wl1273-core.h>
77 struct wl1273_core *core; member
95 static int wl1273_fm_write_fw(struct wl1273_core *core, in wl1273_fm_write_fw() argument
98 struct i2c_client *client = core->client; in wl1273_fm_write_fw()
133 struct wl1273_core *core = radio->core; in wl1273_fm_rds() local
134 struct i2c_client *client = core->client; in wl1273_fm_rds()
154 if (core->mode != WL1273_MODE_RX) in wl1273_fm_rds()
157 r = core->read(core, WL1273_RDS_SYNC_GE in wl1273_fm_rds()
221 struct wl1273_core *core = radio->core; wl1273_fm_irq_thread_handler() local
336 struct wl1273_core *core = radio->core; wl1273_fm_set_tx_freq() local
396 struct wl1273_core *core = radio->core; wl1273_fm_set_rx_freq() local
455 struct wl1273_core *core = radio->core; wl1273_fm_get_freq() local
491 struct wl1273_core *core = radio->core; wl1273_fm_upload_firmware_patch() local
532 struct wl1273_core *core = radio->core; wl1273_fm_stop() local
558 struct wl1273_core *core = radio->core; wl1273_fm_start() local
665 struct wl1273_core *core = radio->core; wl1273_fm_suspend() local
689 struct wl1273_core *core = radio->core; wl1273_fm_set_mode() local
786 struct wl1273_core *core = radio->core; wl1273_fm_set_seek() local
875 struct wl1273_core *core = radio->core; wl1273_fm_get_tx_ctune() local
905 struct wl1273_core *core = radio->core; wl1273_fm_set_preemphasis() local
943 struct wl1273_core *core = radio->core; wl1273_fm_rds_on() local
964 struct wl1273_core *core = radio->core; wl1273_fm_rds_off() local
997 struct wl1273_core *core = radio->core; wl1273_fm_set_rds() local
1032 struct wl1273_core *core = radio->core; wl1273_fm_fops_write() local
1088 struct wl1273_core *core = radio->core; wl1273_fm_fops_poll() local
1111 struct wl1273_core *core = radio->core; wl1273_fm_fops_open() local
1143 struct wl1273_core *core = radio->core; wl1273_fm_fops_release() local
1179 struct wl1273_core *core = radio->core; wl1273_fm_fops_read() local
1321 struct wl1273_core *core = radio->core; wl1273_fm_set_tx_power() local
1349 struct wl1273_core *core = radio->core; wl1273_fm_tx_set_spacing() local
1376 struct wl1273_core *core = radio->core; wl1273_fm_g_volatile_ctrl() local
1413 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_s_ctrl() local
1500 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_g_tuner() local
1564 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_s_tuner() local
1626 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_g_frequency() local
1645 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_s_frequency() local
1687 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_s_hw_freq_seek() local
1723 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_s_modulator() local
1761 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_g_modulator() local
1802 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_log_status() local
1983 struct wl1273_core *core = radio->core; wl1273_fm_radio_remove() local
1999 struct wl1273_core **core = pdev->dev.platform_data; wl1273_fm_radio_probe() local
[all...]
/kernel/linux/linux-6.6/drivers/media/radio/
H A Dradio-wl1273.c12 #include <linux/mfd/wl1273-core.h>
77 struct wl1273_core *core; member
95 static int wl1273_fm_write_fw(struct wl1273_core *core, in wl1273_fm_write_fw() argument
98 struct i2c_client *client = core->client; in wl1273_fm_write_fw()
133 struct wl1273_core *core = radio->core; in wl1273_fm_rds() local
134 struct i2c_client *client = core->client; in wl1273_fm_rds()
154 if (core->mode != WL1273_MODE_RX) in wl1273_fm_rds()
157 r = core->read(core, WL1273_RDS_SYNC_GE in wl1273_fm_rds()
221 struct wl1273_core *core = radio->core; wl1273_fm_irq_thread_handler() local
336 struct wl1273_core *core = radio->core; wl1273_fm_set_tx_freq() local
396 struct wl1273_core *core = radio->core; wl1273_fm_set_rx_freq() local
455 struct wl1273_core *core = radio->core; wl1273_fm_get_freq() local
491 struct wl1273_core *core = radio->core; wl1273_fm_upload_firmware_patch() local
532 struct wl1273_core *core = radio->core; wl1273_fm_stop() local
558 struct wl1273_core *core = radio->core; wl1273_fm_start() local
665 struct wl1273_core *core = radio->core; wl1273_fm_suspend() local
689 struct wl1273_core *core = radio->core; wl1273_fm_set_mode() local
786 struct wl1273_core *core = radio->core; wl1273_fm_set_seek() local
875 struct wl1273_core *core = radio->core; wl1273_fm_get_tx_ctune() local
905 struct wl1273_core *core = radio->core; wl1273_fm_set_preemphasis() local
943 struct wl1273_core *core = radio->core; wl1273_fm_rds_on() local
964 struct wl1273_core *core = radio->core; wl1273_fm_rds_off() local
997 struct wl1273_core *core = radio->core; wl1273_fm_set_rds() local
1032 struct wl1273_core *core = radio->core; wl1273_fm_fops_write() local
1088 struct wl1273_core *core = radio->core; wl1273_fm_fops_poll() local
1111 struct wl1273_core *core = radio->core; wl1273_fm_fops_open() local
1143 struct wl1273_core *core = radio->core; wl1273_fm_fops_release() local
1179 struct wl1273_core *core = radio->core; wl1273_fm_fops_read() local
1321 struct wl1273_core *core = radio->core; wl1273_fm_set_tx_power() local
1349 struct wl1273_core *core = radio->core; wl1273_fm_tx_set_spacing() local
1376 struct wl1273_core *core = radio->core; wl1273_fm_g_volatile_ctrl() local
1413 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_s_ctrl() local
1500 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_g_tuner() local
1564 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_s_tuner() local
1626 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_g_frequency() local
1645 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_s_frequency() local
1687 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_s_hw_freq_seek() local
1723 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_s_modulator() local
1761 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_g_modulator() local
1802 struct wl1273_core *core = radio->core; wl1273_fm_vidioc_log_status() local
1983 struct wl1273_core *core = radio->core; wl1273_fm_radio_remove() local
1997 struct wl1273_core **core = pdev->dev.platform_data; wl1273_fm_radio_probe() local
[all...]

Completed in 21 milliseconds

12345678910>>...206