/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
H A D | omap_hwmod.c | 218 int (*reset)(struct omap_hwmod *oh); 231 void (*enable_module)(struct omap_hwmod *oh); 232 int (*disable_module)(struct omap_hwmod *oh); 233 int (*wait_target_ready)(struct omap_hwmod *oh); 234 int (*assert_hardreset)(struct omap_hwmod *oh, 236 int (*deassert_hardreset)(struct omap_hwmod *oh, 238 int (*is_hardreset_asserted)(struct omap_hwmod *oh, 240 int (*init_clkdm)(struct omap_hwmod *oh); 241 void (*update_context_lost)(struct omap_hwmod *oh); 242 int (*get_context_lost)(struct omap_hwmod *oh); 270 _update_sysc_cache(struct omap_hwmod *oh) _update_sysc_cache() argument 295 _write_sysconfig(u32 v, struct omap_hwmod *oh) _write_sysconfig() argument 332 _set_master_standbymode(struct omap_hwmod *oh, u8 standbymode, u32 *v) _set_master_standbymode() argument 366 _set_slave_idlemode(struct omap_hwmod *oh, u8 idlemode, u32 *v) _set_slave_idlemode() argument 400 _set_clockactivity(struct omap_hwmod *oh, u8 clockact, u32 *v) _set_clockactivity() argument 431 _set_softreset(struct omap_hwmod *oh, u32 *v) _set_softreset() argument 459 _clear_softreset(struct omap_hwmod *oh, u32 *v) _clear_softreset() argument 491 _wait_softreset_complete(struct omap_hwmod *oh) _wait_softreset_complete() argument 525 _set_dmadisable(struct omap_hwmod *oh) _set_dmadisable() argument 569 _set_module_autoidle(struct omap_hwmod *oh, u8 autoidle, u32 *v) _set_module_autoidle() argument 600 _enable_wakeup(struct omap_hwmod *oh, u32 *v) _enable_wakeup() argument 626 _get_clkdm(struct omap_hwmod *oh) _get_clkdm() argument 654 _add_initiator_dep(struct omap_hwmod *oh, struct omap_hwmod *init_oh) _add_initiator_dep() argument 683 _del_initiator_dep(struct omap_hwmod *oh, struct omap_hwmod *init_oh) _del_initiator_dep() argument 761 _omap4_xlate_clkctrl(struct omap_hwmod *oh) _omap4_xlate_clkctrl() argument 771 _lookup_clkctrl_clk(struct omap_hwmod *oh) _lookup_clkctrl_clk() argument 821 _init_main_clk(struct omap_hwmod *oh) _init_main_clk() argument 870 _init_interface_clks(struct omap_hwmod *oh) _init_interface_clks() argument 909 _init_opt_clks(struct omap_hwmod *oh) _init_opt_clks() argument 939 _enable_optional_clocks(struct omap_hwmod *oh) _enable_optional_clocks() argument 954 _disable_optional_clocks(struct omap_hwmod *oh) _disable_optional_clocks() argument 976 _enable_clocks(struct omap_hwmod *oh) _enable_clocks() argument 1004 _omap4_clkctrl_managed_by_clkfwk(struct omap_hwmod *oh) _omap4_clkctrl_managed_by_clkfwk() argument 1016 _omap4_has_clkctrl_clock(struct omap_hwmod *oh) _omap4_has_clkctrl_clock() argument 1034 _disable_clocks(struct omap_hwmod *oh) _disable_clocks() argument 1065 _omap4_enable_module(struct omap_hwmod *oh) _omap4_enable_module() argument 1088 _omap4_wait_target_disable(struct omap_hwmod *oh) _omap4_wait_target_disable() argument 1119 _save_mpu_port_index(struct omap_hwmod *oh) _save_mpu_port_index() argument 1152 _find_mpu_rt_port(struct omap_hwmod *oh) _find_mpu_rt_port() argument 1171 _enable_sysc(struct omap_hwmod *oh) _enable_sysc() argument 1270 _idle_sysc(struct omap_hwmod *oh) _idle_sysc() argument 1322 _shutdown_sysc(struct omap_hwmod *oh) _shutdown_sysc() argument 1353 struct omap_hwmod *oh, *temp_oh; _lookup() local 1375 _init_clkdm(struct omap_hwmod *oh) _init_clkdm() argument 1405 _init_clocks(struct omap_hwmod *oh, struct device_node *np) _init_clocks() argument 1438 _lookup_hardreset(struct omap_hwmod *oh, const char *name, struct omap_hwmod_rst_info *ohri) _lookup_hardreset() argument 1472 _assert_hardreset(struct omap_hwmod *oh, const char *name) _assert_hardreset() argument 1505 _deassert_hardreset(struct omap_hwmod *oh, const char *name) _deassert_hardreset() argument 1573 _read_hardreset(struct omap_hwmod *oh, const char *name) _read_hardreset() argument 1601 _are_all_hardreset_lines_asserted(struct omap_hwmod *oh) _are_all_hardreset_lines_asserted() argument 1629 _are_any_hardreset_lines_asserted(struct omap_hwmod *oh) _are_any_hardreset_lines_asserted() argument 1648 _omap4_disable_module(struct omap_hwmod *oh) _omap4_disable_module() argument 1692 _ocp_softreset(struct omap_hwmod *oh) _ocp_softreset() argument 1786 _reset(struct omap_hwmod *oh) _reset() argument 1830 _omap4_update_context_lost(struct omap_hwmod *oh) _omap4_update_context_lost() argument 1852 _omap4_get_context_lost(struct omap_hwmod *oh) _omap4_get_context_lost() argument 1865 _enable(struct omap_hwmod *oh) _enable() argument 1962 _idle(struct omap_hwmod *oh) _idle() argument 2023 _shutdown(struct omap_hwmod *oh) _shutdown() argument 2080 of_dev_find_hwmod(struct device_node *np, struct omap_hwmod *oh) of_dev_find_hwmod() argument 2116 of_dev_hwmod_lookup(struct device_node *np, struct omap_hwmod *oh, int *index, struct device_node **found) of_dev_hwmod_lookup() argument 2163 omap_hwmod_fix_mpu_rt_idx(struct omap_hwmod *oh, struct device_node *np, struct resource *res) omap_hwmod_fix_mpu_rt_idx() argument 2191 omap_hwmod_parse_module_range(struct omap_hwmod *oh, struct device_node *np, struct resource *res) omap_hwmod_parse_module_range() argument 2272 _init_mpu_rt_base(struct omap_hwmod *oh, void *data, int index, struct device_node *np) _init_mpu_rt_base() argument 2318 parse_module_flags(struct omap_hwmod *oh, struct device_node *np) parse_module_flags() argument 2342 _init(struct omap_hwmod *oh, void *data) _init() argument 2397 _setup_iclk_autoidle(struct omap_hwmod *oh) _setup_iclk_autoidle() argument 2432 _setup_reset(struct omap_hwmod *oh) _setup_reset() argument 2493 _setup_postsetup(struct omap_hwmod *oh) _setup_postsetup() argument 2541 _setup(struct omap_hwmod *oh, void *data) _setup() argument 2593 _register(struct omap_hwmod *oh) _register() argument 2695 _omap2xxx_3xxx_wait_target_ready(struct omap_hwmod *oh) _omap2xxx_3xxx_wait_target_ready() argument 2722 _omap4_wait_target_ready(struct omap_hwmod *oh) _omap4_wait_target_ready() argument 2757 _omap2_assert_hardreset(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri) _omap2_assert_hardreset() argument 2775 _omap2_deassert_hardreset(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri) _omap2_deassert_hardreset() argument 2794 _omap2_is_hardreset_asserted(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri) _omap2_is_hardreset_asserted() argument 2813 _omap4_assert_hardreset(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri) _omap4_assert_hardreset() argument 2837 _omap4_deassert_hardreset(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri) _omap4_deassert_hardreset() argument 2866 _omap4_is_hardreset_asserted(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri) _omap4_is_hardreset_asserted() argument 2887 _omap4_disable_direct_prcm(struct omap_hwmod *oh) _omap4_disable_direct_prcm() argument 2909 _am33xx_deassert_hardreset(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri) _am33xx_deassert_hardreset() argument 2921 omap_hwmod_read(struct omap_hwmod *oh, u16 reg_offs) omap_hwmod_read() argument 2929 omap_hwmod_write(u32 v, struct omap_hwmod *oh, u16 reg_offs) omap_hwmod_write() argument 2946 omap_hwmod_softreset(struct omap_hwmod *oh) omap_hwmod_softreset() argument 2978 struct omap_hwmod *oh; omap_hwmod_lookup() local 3000 omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), void *data) omap_hwmod_for_each() argument 3063 _ensure_mpu_hwmod_is_setup(struct omap_hwmod *oh) _ensure_mpu_hwmod_is_setup() argument 3085 struct omap_hwmod *oh; omap_hwmod_setup_one() local 3157 omap_hwmod_init_regbits(struct device *dev, struct omap_hwmod *oh, const struct ti_sysc_module_data *data, struct sysc_regbits **sysc_fields) omap_hwmod_init_regbits() argument 3355 omap_hwmod_check_module(struct device *dev, struct omap_hwmod *oh, const struct ti_sysc_module_data *data, struct sysc_regbits *sysc_fields, s32 rev_offs, s32 sysc_offs, s32 syss_offs, u32 sysc_flags, u32 idlemodes) omap_hwmod_check_module() argument 3410 omap_hwmod_allocate_module(struct device *dev, struct omap_hwmod *oh, const struct ti_sysc_module_data *data, struct sysc_regbits *sysc_fields, struct clockdomain *clkdm, s32 rev_offs, s32 sysc_offs, s32 syss_offs, u32 sysc_flags, u32 idlemodes) omap_hwmod_allocate_module() argument 3509 omap_hwmod_init_reset_quirk(struct device *dev, struct omap_hwmod *oh, const struct ti_sysc_module_data *data, const struct omap_hwmod_reset *quirks, int quirks_sz) omap_hwmod_init_reset_quirk() argument 3528 omap_hwmod_init_reset_quirks(struct device *dev, struct omap_hwmod *oh, const struct ti_sysc_module_data *data) omap_hwmod_init_reset_quirks() argument 3554 struct omap_hwmod *oh; omap_hwmod_init_module() local 3649 struct omap_hwmod *oh; omap_hwmod_setup_earlycon_flags() local 3703 omap_hwmod_enable(struct omap_hwmod *oh) omap_hwmod_enable() argument 3725 omap_hwmod_idle(struct omap_hwmod *oh) omap_hwmod_idle() argument 3748 omap_hwmod_shutdown(struct omap_hwmod *oh) omap_hwmod_shutdown() argument 3778 omap_hwmod_get_pwrdm(struct omap_hwmod *oh) omap_hwmod_get_pwrdm() argument 3825 omap_hwmod_get_mpu_rt_va(struct omap_hwmod *oh) omap_hwmod_get_mpu_rt_va() argument 3856 omap_hwmod_assert_hardreset(struct omap_hwmod *oh, const char *name) omap_hwmod_assert_hardreset() argument 3883 omap_hwmod_deassert_hardreset(struct omap_hwmod *oh, const char *name) omap_hwmod_deassert_hardreset() argument 3910 omap_hwmod_for_each_by_class(const char *classname, int (*fn)(struct omap_hwmod *oh, void *user), void *user) omap_hwmod_for_each_by_class() argument 3952 omap_hwmod_set_postsetup_state(struct omap_hwmod *oh, u8 state) omap_hwmod_set_postsetup_state() argument 3992 omap_hwmod_get_context_loss_count(struct omap_hwmod *oh) omap_hwmod_get_context_loss_count() argument 4066 omap_hwmod_get_main_clk(struct omap_hwmod *oh) omap_hwmod_get_main_clk() argument [all...] |
H A D | wd_timer.c | 31 int omap2_wd_timer_disable(struct omap_hwmod *oh) in omap2_wd_timer_disable() argument 35 if (!oh) { in omap2_wd_timer_disable() 40 base = omap_hwmod_get_mpu_rt_va(oh); in omap2_wd_timer_disable() 43 oh->name, __func__); in omap2_wd_timer_disable() 61 * @oh: struct omap_hwmod * 75 int omap2_wd_timer_reset(struct omap_hwmod *oh) in omap2_wd_timer_reset() argument 80 omap_hwmod_softreset(oh); in omap2_wd_timer_reset() 83 omap_test_timeout((omap_hwmod_read(oh, in omap2_wd_timer_reset() 84 oh->class->sysc->syss_offs) in omap2_wd_timer_reset() 88 if (oh in omap2_wd_timer_reset() [all...] |
H A D | display.c | 286 struct omap_hwmod *oh; in dispc_disable_outputs() local 288 oh = omap_hwmod_lookup("dss_dispc"); in dispc_disable_outputs() 289 if (!oh) { in dispc_disable_outputs() 294 if (!oh->dev_attr) { in dispc_disable_outputs() 299 da = (struct omap_dss_dispc_dev_attr *)oh->dev_attr; in dispc_disable_outputs() 302 v = omap_hwmod_read(oh, DISPC_CONTROL); in dispc_disable_outputs() 308 v = omap_hwmod_read(oh, DISPC_CONTROL2); in dispc_disable_outputs() 314 v = omap_hwmod_read(oh, DISPC_CONTROL3); in dispc_disable_outputs() 346 omap_hwmod_write(irq_mask, oh, DISPC_IRQSTATUS); in dispc_disable_outputs() 349 v = omap_hwmod_read(oh, DISPC_CONTRO in dispc_disable_outputs() 379 omap_dss_reset(struct omap_hwmod *oh) omap_dss_reset() argument [all...] |
H A D | omap_hwmod_reset.c | 43 * @oh: struct omap_hwmod * 50 static void omap_rtc_wait_not_busy(struct omap_hwmod *oh) in omap_rtc_wait_not_busy() argument 55 omap_test_timeout(omap_hwmod_read(oh, OMAP_RTC_STATUS_REG) in omap_rtc_wait_not_busy() 62 * @oh: struct omap_hwmod * 69 void omap_hwmod_rtc_unlock(struct omap_hwmod *oh) in omap_hwmod_rtc_unlock() argument 74 omap_rtc_wait_not_busy(oh); in omap_hwmod_rtc_unlock() 75 omap_hwmod_write(OMAP_RTC_KICK0_VALUE, oh, OMAP_RTC_KICK0_REG); in omap_hwmod_rtc_unlock() 76 omap_hwmod_write(OMAP_RTC_KICK1_VALUE, oh, OMAP_RTC_KICK1_REG); in omap_hwmod_rtc_unlock() 82 * @oh: struct omap_hwmod * 89 void omap_hwmod_rtc_lock(struct omap_hwmod *oh) in omap_hwmod_rtc_lock() argument [all...] |
H A D | i2c.c | 25 * @oh: struct omap_hwmod * 36 int omap_i2c_reset(struct omap_hwmod *oh) in omap_i2c_reset() argument 48 v = omap_hwmod_read(oh, i2c_con); in omap_i2c_reset() 50 omap_hwmod_write(v, oh, i2c_con); in omap_i2c_reset() 53 omap_hwmod_softreset(oh); in omap_i2c_reset() 56 v = omap_hwmod_read(oh, i2c_con); in omap_i2c_reset() 58 omap_hwmod_write(v, oh, i2c_con); in omap_i2c_reset() 61 omap_test_timeout((omap_hwmod_read(oh, in omap_i2c_reset() 62 oh->class->sysc->syss_offs) in omap_i2c_reset() 68 __func__, oh in omap_i2c_reset() [all...] |
H A D | omap_hwmod.h | 526 int (*pre_shutdown)(struct omap_hwmod *oh); 527 int (*reset)(struct omap_hwmod *oh); 528 void (*lock)(struct omap_hwmod *oh); 529 void (*unlock)(struct omap_hwmod *oh); 613 int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), 617 int omap_hwmod_parse_module_range(struct omap_hwmod *oh, 628 int omap_hwmod_enable(struct omap_hwmod *oh); 629 int omap_hwmod_idle(struct omap_hwmod *oh); 630 int omap_hwmod_shutdown(struct omap_hwmod *oh); 632 int omap_hwmod_assert_hardreset(struct omap_hwmod *oh, cons [all...] |
H A D | hdq1w.c | 27 * @oh: struct omap_hwmod * 37 int omap_hdq1w_reset(struct omap_hwmod *oh) in omap_hdq1w_reset() argument 43 omap_hwmod_softreset(oh); in omap_hdq1w_reset() 46 v = omap_hwmod_read(oh, HDQ_CTRL_STATUS_OFFSET); in omap_hdq1w_reset() 48 omap_hwmod_write(v, oh, HDQ_CTRL_STATUS_OFFSET); in omap_hdq1w_reset() 51 omap_test_timeout((omap_hwmod_read(oh, in omap_hdq1w_reset() 52 oh->class->sysc->syss_offs) in omap_hdq1w_reset() 58 __func__, oh->name, MAX_MODULE_SOFTRESET_WAIT); in omap_hdq1w_reset() 61 oh->name, c); in omap_hdq1w_reset()
|
H A D | msdi.c | 37 * @oh: struct omap_hwmod * 45 int omap_msdi_reset(struct omap_hwmod *oh) in omap_msdi_reset() argument 51 omap_hwmod_softreset(oh); in omap_msdi_reset() 56 omap_hwmod_write(v, oh, MSDI_CON_OFFSET); in omap_msdi_reset() 59 omap_test_timeout((omap_hwmod_read(oh, oh->class->sysc->syss_offs) in omap_msdi_reset() 65 __func__, oh->name, MAX_MODULE_SOFTRESET_WAIT); in omap_msdi_reset() 68 oh->name, c); in omap_msdi_reset() 72 omap_hwmod_write(v, oh, MSDI_CON_OFFSET); in omap_msdi_reset()
|
H A D | omap_device.c | 93 * @oh: struct omap_hwmod *oh 109 struct omap_hwmod *oh) in _add_hwmod_clocks_clkdev() 113 _add_clkdev(od, "fck", oh->main_clk); in _add_hwmod_clocks_clkdev() 115 for (i = 0; i < oh->opt_clks_cnt; i++) in _add_hwmod_clocks_clkdev() 116 _add_clkdev(od, oh->opt_clks[i].role, oh->opt_clks[i].clk); in _add_hwmod_clocks_clkdev() 132 struct omap_hwmod *oh; in omap_device_build_from_dt() local 164 oh = omap_hwmod_lookup(oh_name); in omap_device_build_from_dt() 165 if (!oh) { in omap_device_build_from_dt() 108 _add_hwmod_clocks_clkdev(struct omap_device *od, struct omap_hwmod *oh) _add_hwmod_clocks_clkdev() argument 626 struct omap_hwmod *oh; omap_device_get_by_hwmod_name() local [all...] |
H A D | omap_hwmod_33xx_43xx_ipblock_data.c | 26 #define CLKCTRL(oh, clkctrl) ((oh).prcm.omap4.clkctrl_offs = (clkctrl)) 27 #define RSTCTRL(oh, rstctrl) ((oh).prcm.omap4.rstctrl_offs = (rstctrl)) 28 #define RSTST(oh, rstst) ((oh).prcm.omap4.rstst_offs = (rstst))
|
/kernel/linux/linux-6.6/arch/arm/mach-omap2/ |
H A D | omap_hwmod.c | 218 int (*reset)(struct omap_hwmod *oh); 231 void (*enable_module)(struct omap_hwmod *oh); 232 int (*disable_module)(struct omap_hwmod *oh); 233 int (*wait_target_ready)(struct omap_hwmod *oh); 234 int (*assert_hardreset)(struct omap_hwmod *oh, 236 int (*deassert_hardreset)(struct omap_hwmod *oh, 238 int (*is_hardreset_asserted)(struct omap_hwmod *oh, 240 int (*init_clkdm)(struct omap_hwmod *oh); 241 void (*update_context_lost)(struct omap_hwmod *oh); 242 int (*get_context_lost)(struct omap_hwmod *oh); 270 _update_sysc_cache(struct omap_hwmod *oh) _update_sysc_cache() argument 295 _write_sysconfig(u32 v, struct omap_hwmod *oh) _write_sysconfig() argument 332 _set_master_standbymode(struct omap_hwmod *oh, u8 standbymode, u32 *v) _set_master_standbymode() argument 366 _set_slave_idlemode(struct omap_hwmod *oh, u8 idlemode, u32 *v) _set_slave_idlemode() argument 400 _set_clockactivity(struct omap_hwmod *oh, u8 clockact, u32 *v) _set_clockactivity() argument 431 _set_softreset(struct omap_hwmod *oh, u32 *v) _set_softreset() argument 459 _clear_softreset(struct omap_hwmod *oh, u32 *v) _clear_softreset() argument 491 _wait_softreset_complete(struct omap_hwmod *oh) _wait_softreset_complete() argument 525 _set_dmadisable(struct omap_hwmod *oh) _set_dmadisable() argument 569 _set_module_autoidle(struct omap_hwmod *oh, u8 autoidle, u32 *v) _set_module_autoidle() argument 600 _enable_wakeup(struct omap_hwmod *oh, u32 *v) _enable_wakeup() argument 626 _get_clkdm(struct omap_hwmod *oh) _get_clkdm() argument 657 _add_initiator_dep(struct omap_hwmod *oh, struct omap_hwmod *init_oh) _add_initiator_dep() argument 686 _del_initiator_dep(struct omap_hwmod *oh, struct omap_hwmod *init_oh) _del_initiator_dep() argument 761 _omap4_xlate_clkctrl(struct omap_hwmod *oh) _omap4_xlate_clkctrl() argument 771 _lookup_clkctrl_clk(struct omap_hwmod *oh) _lookup_clkctrl_clk() argument 821 _init_main_clk(struct omap_hwmod *oh) _init_main_clk() argument 870 _init_interface_clks(struct omap_hwmod *oh) _init_interface_clks() argument 909 _init_opt_clks(struct omap_hwmod *oh) _init_opt_clks() argument 939 _enable_optional_clocks(struct omap_hwmod *oh) _enable_optional_clocks() argument 954 _disable_optional_clocks(struct omap_hwmod *oh) _disable_optional_clocks() argument 976 _enable_clocks(struct omap_hwmod *oh) _enable_clocks() argument 1004 _omap4_clkctrl_managed_by_clkfwk(struct omap_hwmod *oh) _omap4_clkctrl_managed_by_clkfwk() argument 1016 _omap4_has_clkctrl_clock(struct omap_hwmod *oh) _omap4_has_clkctrl_clock() argument 1034 _disable_clocks(struct omap_hwmod *oh) _disable_clocks() argument 1065 _omap4_enable_module(struct omap_hwmod *oh) _omap4_enable_module() argument 1088 _omap4_wait_target_disable(struct omap_hwmod *oh) _omap4_wait_target_disable() argument 1119 _save_mpu_port_index(struct omap_hwmod *oh) _save_mpu_port_index() argument 1152 _find_mpu_rt_port(struct omap_hwmod *oh) _find_mpu_rt_port() argument 1171 _enable_sysc(struct omap_hwmod *oh) _enable_sysc() argument 1270 _idle_sysc(struct omap_hwmod *oh) _idle_sysc() argument 1322 _shutdown_sysc(struct omap_hwmod *oh) _shutdown_sysc() argument 1353 struct omap_hwmod *oh, *temp_oh; _lookup() local 1375 _init_clkdm(struct omap_hwmod *oh) _init_clkdm() argument 1405 _init_clocks(struct omap_hwmod *oh, struct device_node *np) _init_clocks() argument 1438 _lookup_hardreset(struct omap_hwmod *oh, const char *name, struct omap_hwmod_rst_info *ohri) _lookup_hardreset() argument 1472 _assert_hardreset(struct omap_hwmod *oh, const char *name) _assert_hardreset() argument 1505 _deassert_hardreset(struct omap_hwmod *oh, const char *name) _deassert_hardreset() argument 1573 _read_hardreset(struct omap_hwmod *oh, const char *name) _read_hardreset() argument 1601 _are_all_hardreset_lines_asserted(struct omap_hwmod *oh) _are_all_hardreset_lines_asserted() argument 1629 _are_any_hardreset_lines_asserted(struct omap_hwmod *oh) _are_any_hardreset_lines_asserted() argument 1648 _omap4_disable_module(struct omap_hwmod *oh) _omap4_disable_module() argument 1692 _ocp_softreset(struct omap_hwmod *oh) _ocp_softreset() argument 1786 _reset(struct omap_hwmod *oh) _reset() argument 1830 _omap4_update_context_lost(struct omap_hwmod *oh) _omap4_update_context_lost() argument 1852 _omap4_get_context_lost(struct omap_hwmod *oh) _omap4_get_context_lost() argument 1865 _enable(struct omap_hwmod *oh) _enable() argument 1962 _idle(struct omap_hwmod *oh) _idle() argument 2023 _shutdown(struct omap_hwmod *oh) _shutdown() argument 2080 of_dev_find_hwmod(struct device_node *np, struct omap_hwmod *oh) of_dev_find_hwmod() argument 2116 of_dev_hwmod_lookup(struct device_node *np, struct omap_hwmod *oh, int *index, struct device_node **found) of_dev_hwmod_lookup() argument 2164 omap_hwmod_fix_mpu_rt_idx(struct omap_hwmod *oh, struct device_node *np, struct resource *res) omap_hwmod_fix_mpu_rt_idx() argument 2192 omap_hwmod_parse_module_range(struct omap_hwmod *oh, struct device_node *np, struct resource *res) omap_hwmod_parse_module_range() argument 2240 _init_mpu_rt_base(struct omap_hwmod *oh, void *data, int index, struct device_node *np) _init_mpu_rt_base() argument 2286 parse_module_flags(struct omap_hwmod *oh, struct device_node *np) parse_module_flags() argument 2310 _init(struct omap_hwmod *oh, void *data) _init() argument 2365 _setup_iclk_autoidle(struct omap_hwmod *oh) _setup_iclk_autoidle() argument 2400 _setup_reset(struct omap_hwmod *oh) _setup_reset() argument 2461 _setup_postsetup(struct omap_hwmod *oh) _setup_postsetup() argument 2509 _setup(struct omap_hwmod *oh, void *data) _setup() argument 2561 _register(struct omap_hwmod *oh) _register() argument 2663 _omap2xxx_3xxx_wait_target_ready(struct omap_hwmod *oh) _omap2xxx_3xxx_wait_target_ready() argument 2690 _omap4_wait_target_ready(struct omap_hwmod *oh) _omap4_wait_target_ready() argument 2725 _omap2_assert_hardreset(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri) _omap2_assert_hardreset() argument 2743 _omap2_deassert_hardreset(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri) _omap2_deassert_hardreset() argument 2762 _omap2_is_hardreset_asserted(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri) _omap2_is_hardreset_asserted() argument 2781 _omap4_assert_hardreset(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri) _omap4_assert_hardreset() argument 2805 _omap4_deassert_hardreset(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri) _omap4_deassert_hardreset() argument 2834 _omap4_is_hardreset_asserted(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri) _omap4_is_hardreset_asserted() argument 2855 _omap4_disable_direct_prcm(struct omap_hwmod *oh) _omap4_disable_direct_prcm() argument 2877 _am33xx_deassert_hardreset(struct omap_hwmod *oh, struct omap_hwmod_rst_info *ohri) _am33xx_deassert_hardreset() argument 2889 omap_hwmod_read(struct omap_hwmod *oh, u16 reg_offs) omap_hwmod_read() argument 2897 omap_hwmod_write(u32 v, struct omap_hwmod *oh, u16 reg_offs) omap_hwmod_write() argument 2914 omap_hwmod_softreset(struct omap_hwmod *oh) omap_hwmod_softreset() argument 2946 struct omap_hwmod *oh; omap_hwmod_lookup() local 2968 omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), void *data) omap_hwmod_for_each() argument 3033 _ensure_mpu_hwmod_is_setup(struct omap_hwmod *oh) _ensure_mpu_hwmod_is_setup() argument 3055 struct omap_hwmod *oh; omap_hwmod_setup_one() local 3127 omap_hwmod_init_regbits(struct device *dev, struct omap_hwmod *oh, const struct ti_sysc_module_data *data, struct sysc_regbits **sysc_fields) omap_hwmod_init_regbits() argument 3325 omap_hwmod_check_module(struct device *dev, struct omap_hwmod *oh, const struct ti_sysc_module_data *data, struct sysc_regbits *sysc_fields, s32 rev_offs, s32 sysc_offs, s32 syss_offs, u32 sysc_flags, u32 idlemodes) omap_hwmod_check_module() argument 3380 omap_hwmod_allocate_module(struct device *dev, struct omap_hwmod *oh, const struct ti_sysc_module_data *data, struct sysc_regbits *sysc_fields, struct clockdomain *clkdm, s32 rev_offs, s32 sysc_offs, s32 syss_offs, u32 sysc_flags, u32 idlemodes) omap_hwmod_allocate_module() argument 3475 omap_hwmod_init_reset_quirk(struct device *dev, struct omap_hwmod *oh, const struct ti_sysc_module_data *data, const struct omap_hwmod_reset *quirks, int quirks_sz) omap_hwmod_init_reset_quirk() argument 3494 omap_hwmod_init_reset_quirks(struct device *dev, struct omap_hwmod *oh, const struct ti_sysc_module_data *data) omap_hwmod_init_reset_quirks() argument 3516 struct omap_hwmod *oh; omap_hwmod_init_module() local 3611 struct omap_hwmod *oh; omap_hwmod_setup_earlycon_flags() local 3668 omap_hwmod_enable(struct omap_hwmod *oh) omap_hwmod_enable() argument 3690 omap_hwmod_idle(struct omap_hwmod *oh) omap_hwmod_idle() argument 3713 omap_hwmod_shutdown(struct omap_hwmod *oh) omap_hwmod_shutdown() argument 3741 omap_hwmod_get_mpu_rt_va(struct omap_hwmod *oh) omap_hwmod_get_mpu_rt_va() argument 3772 omap_hwmod_assert_hardreset(struct omap_hwmod *oh, const char *name) omap_hwmod_assert_hardreset() argument 3799 omap_hwmod_deassert_hardreset(struct omap_hwmod *oh, const char *name) omap_hwmod_deassert_hardreset() argument 3826 omap_hwmod_for_each_by_class(const char *classname, int (*fn)(struct omap_hwmod *oh, void *user), void *user) omap_hwmod_for_each_by_class() argument 3868 omap_hwmod_set_postsetup_state(struct omap_hwmod *oh, u8 state) omap_hwmod_set_postsetup_state() argument [all...] |
H A D | wd_timer.c | 31 int omap2_wd_timer_disable(struct omap_hwmod *oh) in omap2_wd_timer_disable() argument 35 if (!oh) { in omap2_wd_timer_disable() 40 base = omap_hwmod_get_mpu_rt_va(oh); in omap2_wd_timer_disable() 43 oh->name, __func__); in omap2_wd_timer_disable() 61 * @oh: struct omap_hwmod * 75 int omap2_wd_timer_reset(struct omap_hwmod *oh) in omap2_wd_timer_reset() argument 80 omap_hwmod_softreset(oh); in omap2_wd_timer_reset() 83 omap_test_timeout((omap_hwmod_read(oh, in omap2_wd_timer_reset() 84 oh->class->sysc->syss_offs) in omap2_wd_timer_reset() 88 if (oh in omap2_wd_timer_reset() [all...] |
H A D | display.c | 278 struct omap_hwmod *oh; in dispc_disable_outputs() local 280 oh = omap_hwmod_lookup("dss_dispc"); in dispc_disable_outputs() 281 if (!oh) { in dispc_disable_outputs() 286 if (!oh->dev_attr) { in dispc_disable_outputs() 291 da = (struct omap_dss_dispc_dev_attr *)oh->dev_attr; in dispc_disable_outputs() 294 v = omap_hwmod_read(oh, DISPC_CONTROL); in dispc_disable_outputs() 300 v = omap_hwmod_read(oh, DISPC_CONTROL2); in dispc_disable_outputs() 306 v = omap_hwmod_read(oh, DISPC_CONTROL3); in dispc_disable_outputs() 338 omap_hwmod_write(irq_mask, oh, DISPC_IRQSTATUS); in dispc_disable_outputs() 341 v = omap_hwmod_read(oh, DISPC_CONTRO in dispc_disable_outputs() 371 omap_dss_reset(struct omap_hwmod *oh) omap_dss_reset() argument [all...] |
H A D | i2c.c | 25 * @oh: struct omap_hwmod * 36 int omap_i2c_reset(struct omap_hwmod *oh) in omap_i2c_reset() argument 48 v = omap_hwmod_read(oh, i2c_con); in omap_i2c_reset() 50 omap_hwmod_write(v, oh, i2c_con); in omap_i2c_reset() 53 omap_hwmod_softreset(oh); in omap_i2c_reset() 56 v = omap_hwmod_read(oh, i2c_con); in omap_i2c_reset() 58 omap_hwmod_write(v, oh, i2c_con); in omap_i2c_reset() 61 omap_test_timeout((omap_hwmod_read(oh, in omap_i2c_reset() 62 oh->class->sysc->syss_offs) in omap_i2c_reset() 68 __func__, oh in omap_i2c_reset() [all...] |
H A D | hdq1w.c | 27 * @oh: struct omap_hwmod * 37 int omap_hdq1w_reset(struct omap_hwmod *oh) in omap_hdq1w_reset() argument 43 omap_hwmod_softreset(oh); in omap_hdq1w_reset() 46 v = omap_hwmod_read(oh, HDQ_CTRL_STATUS_OFFSET); in omap_hdq1w_reset() 48 omap_hwmod_write(v, oh, HDQ_CTRL_STATUS_OFFSET); in omap_hdq1w_reset() 51 omap_test_timeout((omap_hwmod_read(oh, in omap_hdq1w_reset() 52 oh->class->sysc->syss_offs) in omap_hdq1w_reset() 58 __func__, oh->name, MAX_MODULE_SOFTRESET_WAIT); in omap_hdq1w_reset() 61 oh->name, c); in omap_hdq1w_reset()
|
H A D | msdi.c | 37 * @oh: struct omap_hwmod * 45 int omap_msdi_reset(struct omap_hwmod *oh) in omap_msdi_reset() argument 51 omap_hwmod_softreset(oh); in omap_msdi_reset() 56 omap_hwmod_write(v, oh, MSDI_CON_OFFSET); in omap_msdi_reset() 59 omap_test_timeout((omap_hwmod_read(oh, oh->class->sysc->syss_offs) in omap_msdi_reset() 65 __func__, oh->name, MAX_MODULE_SOFTRESET_WAIT); in omap_msdi_reset() 68 oh->name, c); in omap_msdi_reset() 72 omap_hwmod_write(v, oh, MSDI_CON_OFFSET); in omap_msdi_reset()
|
H A D | omap_hwmod.h | 526 int (*pre_shutdown)(struct omap_hwmod *oh); 527 int (*reset)(struct omap_hwmod *oh); 528 void (*lock)(struct omap_hwmod *oh); 529 void (*unlock)(struct omap_hwmod *oh); 615 int omap_hwmod_for_each(int (*fn)(struct omap_hwmod *oh, void *data), 618 int omap_hwmod_parse_module_range(struct omap_hwmod *oh, 629 int omap_hwmod_enable(struct omap_hwmod *oh); 630 int omap_hwmod_idle(struct omap_hwmod *oh); 631 int omap_hwmod_shutdown(struct omap_hwmod *oh); 633 int omap_hwmod_assert_hardreset(struct omap_hwmod *oh, cons 654 omap_hwmod_for_each_by_class(const char *classname, int (*fn)(struct omap_hwmod *oh, void *user), void *user) omap_hwmod_for_each_by_class() argument [all...] |
/kernel/linux/linux-5.10/fs/lockd/ |
H A D | svcshare.c | 21 nlm_cmp_owner(struct nlm_share *share, struct xdr_netobj *oh) in nlm_cmp_owner() argument 23 return share->s_owner.len == oh->len in nlm_cmp_owner() 24 && !memcmp(share->s_owner.data, oh->data, oh->len); in nlm_cmp_owner() 32 struct xdr_netobj *oh = &argp->lock.oh; in nlmsvc_share_file() local 36 if (share->s_host == host && nlm_cmp_owner(share, oh)) in nlmsvc_share_file() 43 share = kmalloc(sizeof(*share) + oh->len, in nlmsvc_share_file() 50 memcpy(ohdata, oh->data, oh in nlmsvc_share_file() 73 struct xdr_netobj *oh = &argp->lock.oh; nlmsvc_unshare_file() local [all...] |
/kernel/linux/linux-6.6/fs/lockd/ |
H A D | svcshare.c | 21 nlm_cmp_owner(struct nlm_share *share, struct xdr_netobj *oh) in nlm_cmp_owner() argument 23 return share->s_owner.len == oh->len in nlm_cmp_owner() 24 && !memcmp(share->s_owner.data, oh->data, oh->len); in nlm_cmp_owner() 32 struct xdr_netobj *oh = &argp->lock.oh; in nlmsvc_share_file() local 36 if (share->s_host == host && nlm_cmp_owner(share, oh)) in nlmsvc_share_file() 43 share = kmalloc(sizeof(*share) + oh->len, in nlmsvc_share_file() 50 memcpy(ohdata, oh->data, oh in nlmsvc_share_file() 73 struct xdr_netobj *oh = &argp->lock.oh; nlmsvc_unshare_file() local [all...] |
H A D | trace.h | 59 __field(u32, oh) 69 __entry->oh = ~crc32_le(0xffffffff, lock->oh.data, lock->oh.len); 79 "addr=%pISpc oh=0x%08x svid=0x%08x fh=0x%08x start=%llu len=%llu status=%s", 80 __get_sockaddr(addr), __entry->oh, __entry->svid,
|
/kernel/linux/linux-5.10/include/uapi/linux/ |
H A D | coda.h | 312 struct coda_out_hdr oh; member 328 struct coda_out_hdr oh; member 378 struct coda_out_hdr oh; member 391 struct coda_out_hdr oh; member 432 struct coda_out_hdr oh; member 449 struct coda_out_hdr oh; member 501 struct coda_out_hdr oh; member 538 struct coda_out_hdr oh; member 561 struct coda_out_hdr oh; member 574 struct coda_out_hdr oh; member 581 struct coda_out_hdr oh; global() member 588 struct coda_out_hdr oh; global() member 595 struct coda_out_hdr oh; global() member 602 struct coda_out_hdr oh; global() member 615 struct coda_out_hdr oh; global() member 631 struct coda_out_hdr oh; global() member 641 struct coda_out_hdr oh; global() member 699 struct coda_out_hdr oh; /* NB: every struct below begins with an oh */ global() member [all...] |
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | coda.h | 312 struct coda_out_hdr oh; member 328 struct coda_out_hdr oh; member 378 struct coda_out_hdr oh; member 391 struct coda_out_hdr oh; member 432 struct coda_out_hdr oh; member 449 struct coda_out_hdr oh; member 501 struct coda_out_hdr oh; member 538 struct coda_out_hdr oh; member 561 struct coda_out_hdr oh; member 574 struct coda_out_hdr oh; member 581 struct coda_out_hdr oh; global() member 588 struct coda_out_hdr oh; global() member 595 struct coda_out_hdr oh; global() member 602 struct coda_out_hdr oh; global() member 615 struct coda_out_hdr oh; global() member 631 struct coda_out_hdr oh; global() member 641 struct coda_out_hdr oh; global() member 699 struct coda_out_hdr oh; /* NB: every struct below begins with an oh */ global() member [all...] |
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | coda.h | 207 struct coda_out_hdr oh; member 219 struct coda_out_hdr oh; member 256 struct coda_out_hdr oh; member 265 struct coda_out_hdr oh; member 293 struct coda_out_hdr oh; member 306 struct coda_out_hdr oh; member 344 struct coda_out_hdr oh; member 371 struct coda_out_hdr oh; member 387 struct coda_out_hdr oh; member 392 struct coda_out_hdr oh; member 396 struct coda_out_hdr oh; global() member 400 struct coda_out_hdr oh; global() member 404 struct coda_out_hdr oh; global() member 408 struct coda_out_hdr oh; global() member 418 struct coda_out_hdr oh; global() member 427 struct coda_out_hdr oh; global() member 434 struct coda_out_hdr oh; global() member 480 struct coda_out_hdr oh; global() member [all...] |
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/ |
H A D | coda.h | 207 struct coda_out_hdr oh; member 219 struct coda_out_hdr oh; member 256 struct coda_out_hdr oh; member 265 struct coda_out_hdr oh; member 293 struct coda_out_hdr oh; member 306 struct coda_out_hdr oh; member 344 struct coda_out_hdr oh; member 371 struct coda_out_hdr oh; member 387 struct coda_out_hdr oh; member 392 struct coda_out_hdr oh; member 396 struct coda_out_hdr oh; global() member 400 struct coda_out_hdr oh; global() member 404 struct coda_out_hdr oh; global() member 408 struct coda_out_hdr oh; global() member 418 struct coda_out_hdr oh; global() member 427 struct coda_out_hdr oh; global() member 434 struct coda_out_hdr oh; global() member 480 struct coda_out_hdr oh; global() member [all...] |
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/ |
H A D | coda.h | 196 struct coda_out_hdr oh; member 208 struct coda_out_hdr oh; member 245 struct coda_out_hdr oh; member 254 struct coda_out_hdr oh; member 282 struct coda_out_hdr oh; member 295 struct coda_out_hdr oh; member 333 struct coda_out_hdr oh; member 360 struct coda_out_hdr oh; member 376 struct coda_out_hdr oh; member 381 struct coda_out_hdr oh; member 385 struct coda_out_hdr oh; global() member 390 struct coda_out_hdr oh; global() member 395 struct coda_out_hdr oh; global() member 400 struct coda_out_hdr oh; global() member 410 struct coda_out_hdr oh; global() member 422 struct coda_out_hdr oh; global() member 429 struct coda_out_hdr oh; global() member 459 struct coda_out_hdr oh; global() member [all...] |