Lines Matching defs:drv

252 static bool cpr_is_allowed(struct cpr_drv *drv)  in cpr_is_allowed()
257 static void cpr_write(struct cpr_drv *drv, u32 offset, u32 value) in cpr_write()
262 static u32 cpr_read(struct cpr_drv *drv, u32 offset) in cpr_read()
268 cpr_masked_write(struct cpr_drv *drv, u32 offset, u32 mask, u32 value) in cpr_masked_write()
278 static void cpr_irq_clr(struct cpr_drv *drv) in cpr_irq_clr()
283 static void cpr_irq_clr_nack(struct cpr_drv *drv) in cpr_irq_clr_nack()
289 static void cpr_irq_clr_ack(struct cpr_drv *drv) in cpr_irq_clr_ack()
295 static void cpr_irq_set(struct cpr_drv *drv, u32 int_bits) in cpr_irq_set()
300 static void cpr_ctl_modify(struct cpr_drv *drv, u32 mask, u32 value) in cpr_ctl_modify()
305 static void cpr_ctl_enable(struct cpr_drv *drv, struct corner *corner) in cpr_ctl_enable()
328 static void cpr_ctl_disable(struct cpr_drv *drv) in cpr_ctl_disable()
342 static bool cpr_ctl_is_enabled(struct cpr_drv *drv) in cpr_ctl_is_enabled()
350 static bool cpr_ctl_is_busy(struct cpr_drv *drv) in cpr_ctl_is_busy()
358 static void cpr_corner_save(struct cpr_drv *drv, struct corner *corner) in cpr_corner_save()
364 static void cpr_corner_restore(struct cpr_drv *drv, struct corner *corner) in cpr_corner_restore()
408 static int cpr_pre_voltage(struct cpr_drv *drv, in cpr_pre_voltage()
420 static int cpr_post_voltage(struct cpr_drv *drv, in cpr_post_voltage()
432 static int cpr_scale_voltage(struct cpr_drv *drv, struct corner *corner, in cpr_scale_voltage()
456 static unsigned int cpr_get_cur_perf_state(struct cpr_drv *drv) in cpr_get_cur_perf_state()
461 static int cpr_scale(struct cpr_drv *drv, enum voltage_change_dir dir) in cpr_scale()
591 struct cpr_drv *drv = dev; in cpr_irq_handler() local
645 static int cpr_enable(struct cpr_drv *drv) in cpr_enable()
666 static int cpr_disable(struct cpr_drv *drv) in cpr_disable()
680 static int cpr_config(struct cpr_drv *drv) in cpr_config()
748 struct cpr_drv *drv = container_of(domain, struct cpr_drv, pd); in cpr_set_performance_state() local
805 cpr_populate_ring_osc_idx(struct cpr_drv *drv) in cpr_populate_ring_osc_idx()
827 struct cpr_drv *drv) in cpr_read_fuse_uV()
848 static int cpr_fuse_corner_init(struct cpr_drv *drv) in cpr_fuse_corner_init()
957 struct cpr_drv *drv, in cpr_calculate_scaling()
1076 static int cpr_corner_init(struct cpr_drv *drv) in cpr_corner_init()
1227 static const struct cpr_fuse *cpr_get_fuses(struct cpr_drv *drv) in cpr_get_fuses()
1268 static void cpr_set_loop_allowed(struct cpr_drv *drv) in cpr_set_loop_allowed()
1273 static int cpr_init_parameters(struct cpr_drv *drv) in cpr_init_parameters()
1299 static int cpr_find_initial_corner(struct cpr_drv *drv) in cpr_find_initial_corner()
1436 struct cpr_drv *drv = container_of(domain, struct cpr_drv, pd); in cpr_power_off() local
1443 struct cpr_drv *drv = container_of(domain, struct cpr_drv, pd); in cpr_power_on() local
1451 struct cpr_drv *drv = container_of(domain, struct cpr_drv, pd); in cpr_pd_attach_dev() local
1561 struct cpr_drv *drv = s->private; in cpr_debug_info_show() local
1607 static void cpr_debugfs_init(struct cpr_drv *drv) in cpr_debugfs_init()
1618 struct cpr_drv *drv; in cpr_probe() local
1725 struct cpr_drv *drv = platform_get_drvdata(pdev); in cpr_remove() local