Lines Matching refs:sysc_fields
342 if (!oh->class->sysc->sysc_fields) { in _set_master_standbymode()
347 mstandby_shift = oh->class->sysc->sysc_fields->midle_shift; in _set_master_standbymode()
375 if (!oh->class->sysc->sysc_fields) { in _set_slave_idlemode()
380 sidle_shift = oh->class->sysc->sysc_fields->sidle_shift; in _set_slave_idlemode()
409 if (!oh->class->sysc->sysc_fields) { in _set_clockactivity()
414 clkact_shift = oh->class->sysc->sysc_fields->clkact_shift; in _set_clockactivity()
439 if (!oh->class->sysc->sysc_fields) { in _set_softreset()
444 softrst_mask = (0x1 << oh->class->sysc->sysc_fields->srst_shift); in _set_softreset()
467 if (!oh->class->sysc->sysc_fields) { in _clear_softreset()
474 softrst_mask = (0x1 << oh->class->sysc->sysc_fields->srst_shift); in _clear_softreset()
504 softrst_mask = (0x1 << sysc->sysc_fields->srst_shift); in _wait_softreset_complete()
534 if (!oh->class->sysc->sysc_fields) { in _set_dmadisable()
549 (0x1 << oh->class->sysc->sysc_fields->dmadisable_shift); in _set_dmadisable()
579 if (!oh->class->sysc->sysc_fields) { in _set_module_autoidle()
584 autoidle_shift = oh->class->sysc->sysc_fields->autoidle_shift; in _set_module_autoidle()
608 if (!oh->class->sysc->sysc_fields) { in _enable_wakeup()
614 *v |= 0x1 << oh->class->sysc->sysc_fields->enwkup_shift; in _enable_wakeup()
3091 struct sysc_regbits *sysc_fields) in omap_hwmod_check_sysc() argument
3097 sysc_fields->dmadisable_shift); in omap_hwmod_check_sysc()
3100 sysc_fields->midle_shift); in omap_hwmod_check_sysc()
3103 sysc_fields->sidle_shift); in omap_hwmod_check_sysc()
3106 sysc_fields->clkact_shift); in omap_hwmod_check_sysc()
3109 sysc_fields->enwkup_shift); in omap_hwmod_check_sysc()
3112 sysc_fields->srst_shift); in omap_hwmod_check_sysc()
3115 sysc_fields->autoidle_shift); in omap_hwmod_check_sysc()
3129 struct sysc_regbits **sysc_fields) in omap_hwmod_init_regbits() argument
3134 *sysc_fields = &omap_hwmod_sysc_type1; in omap_hwmod_init_regbits()
3137 *sysc_fields = &omap3_sham_sysc_fields; in omap_hwmod_init_regbits()
3140 *sysc_fields = &omap3xxx_aes_sysc_fields; in omap_hwmod_init_regbits()
3144 *sysc_fields = &omap_hwmod_sysc_type2; in omap_hwmod_init_regbits()
3147 *sysc_fields = &omap_hwmod_sysc_type3; in omap_hwmod_init_regbits()
3150 *sysc_fields = &omap34xx_sr_sysc_fields; in omap_hwmod_init_regbits()
3153 *sysc_fields = &omap36xx_sr_sysc_fields; in omap_hwmod_init_regbits()
3156 *sysc_fields = &omap36xx_sr_sysc_fields; in omap_hwmod_init_regbits()
3159 *sysc_fields = &omap_hwmod_sysc_type_mcasp; in omap_hwmod_init_regbits()
3162 *sysc_fields = &omap_hwmod_sysc_type_usb_host_fs; in omap_hwmod_init_regbits()
3165 *sysc_fields = NULL; in omap_hwmod_init_regbits()
3166 if (!oh->class->sysc->sysc_fields) in omap_hwmod_init_regbits()
3174 return omap_hwmod_check_sysc(dev, data, *sysc_fields); in omap_hwmod_init_regbits()
3328 struct sysc_regbits *sysc_fields, in omap_hwmod_check_module() argument
3336 if (oh->class->sysc->sysc_fields && in omap_hwmod_check_module()
3337 sysc_fields != oh->class->sysc->sysc_fields) in omap_hwmod_check_module()
3383 struct sysc_regbits *sysc_fields, in omap_hwmod_allocate_module() argument
3399 sysc->sysc_fields = sysc_fields; in omap_hwmod_allocate_module()
3518 struct sysc_regbits *sysc_fields; in omap_hwmod_init_module() local
3555 error = omap_hwmod_init_regbits(dev, oh, data, &sysc_fields); in omap_hwmod_init_module()
3589 error = omap_hwmod_check_module(dev, oh, data, sysc_fields, in omap_hwmod_init_module()
3595 return omap_hwmod_allocate_module(dev, oh, data, sysc_fields, in omap_hwmod_init_module()