Searched refs:atmel_tc (Results 1 – 4 of 4) sorted by relevance
43 struct atmel_tc *atmel_tc_alloc(unsigned block) in atmel_tc_alloc()45 struct atmel_tc *tc; in atmel_tc_alloc()73 void atmel_tc_free(struct atmel_tc *tc) in atmel_tc_free()108 struct atmel_tc *tc; in tc_probe()118 tc = devm_kzalloc(&pdev->dev, sizeof(struct atmel_tc), GFP_KERNEL); in tc_probe()176 struct atmel_tc *tc = platform_get_drvdata(pdev); in tc_shutdown()
63 struct atmel_tc { struct74 extern struct atmel_tc *atmel_tc_alloc(unsigned block); argument75 extern void atmel_tc_free(struct atmel_tc *tc);
43 struct atmel_tc *tc;68 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_request()125 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_free()136 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_disable()192 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_enable()278 struct atmel_tc *tc = tcbpwmc->tc; in atmel_tcb_pwm_config()370 struct atmel_tc *tc; in atmel_tcb_pwm_probe()
181 static int __init setup_clkevents(struct atmel_tc *tc, int clk32k_divisor_idx) in setup_clkevents()213 static int __init setup_clkevents(struct atmel_tc *tc, int clk32k_divisor_idx) in setup_clkevents()221 static void __init tcb_setup_dual_chan(struct atmel_tc *tc, int mck_divisor_idx) in tcb_setup_dual_chan()249 static void __init tcb_setup_single_chan(struct atmel_tc *tc, int mck_divisor_idx) in tcb_setup_single_chan()269 struct atmel_tc *tc; in tcb_clksrc_init()