Searched refs:get_clock_rate (Results 1 – 3 of 3) sorted by relevance
19 struct bcm2835_mbox_tag_get_clock_rate get_clock_rate; member77 BCM2835_MBOX_INIT_TAG(&msg_clk->get_clock_rate, GET_CLOCK_RATE); in bcm2835_get_mmc_clock()78 msg_clk->get_clock_rate.body.req.clock_id = clock_id; in bcm2835_get_mmc_clock()86 return msg_clk->get_clock_rate.body.resp.rate_hz; in bcm2835_get_mmc_clock()
34 static int get_clock_rate(u32 data, unsigned int *rate) in get_clock_rate() function56 return get_clock_rate(be32_to_cpu(reg), rate); in snd_motu_protocol_v2_get_clock_rate()180 err = get_clock_rate(*data, &rate); in switch_fetching_mode_spartan()
60 struct bcm2835_mbox_tag_get_clock_rate get_clock_rate; member