Searched refs:atmel_tc (Results 1 – 4 of 4) sorted by relevance
44 struct atmel_tc *atmel_tc_alloc(unsigned block) in atmel_tc_alloc()46 struct atmel_tc *tc; in atmel_tc_alloc()74 void atmel_tc_free(struct atmel_tc *tc) in atmel_tc_free()109 struct atmel_tc *tc; in tc_probe()121 tc = devm_kzalloc(&pdev->dev, sizeof(struct atmel_tc), GFP_KERNEL); in tc_probe()182 struct atmel_tc *tc = platform_get_drvdata(pdev); in tc_shutdown()
68 struct atmel_tc { struct80 extern struct atmel_tc *atmel_tc_alloc(unsigned block); argument81 extern void atmel_tc_free(struct atmel_tc *tc);
51 struct atmel_tc *tc;77 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_request()134 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_free()145 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_disable()204 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_enable()291 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_config()383 struct atmel_tc *tc; in atmel_tcb_pwm_probe()
256 static int __init setup_clkevents(struct atmel_tc *tc, int divisor_idx) in setup_clkevents()304 static int __init setup_clkevents(struct atmel_tc *tc, int divisor_idx) in setup_clkevents()312 static void __init tcb_setup_dual_chan(struct atmel_tc *tc, int mck_divisor_idx) in tcb_setup_dual_chan()340 static void __init tcb_setup_single_chan(struct atmel_tc *tc, int mck_divisor_idx) in tcb_setup_single_chan()376 struct atmel_tc tc; in tcb_clksrc_init()