Lines Matching refs:iod
172 struct vc7_iod_data *iod; member
379 map->src.iod = &vc7->clk_iod[0]; in vc7_get_bank_clk()
383 map->src.iod = &vc7->clk_iod[1]; in vc7_get_bank_clk()
400 map->src.iod = &vc7->clk_iod[1]; in vc7_get_bank_clk()
437 map->src.iod = &vc7->clk_iod[2]; in vc7_get_bank_clk()
463 map->src.iod = &vc7->clk_iod[2]; in vc7_get_bank_clk()
467 map->src.iod = &vc7->clk_iod[3]; in vc7_get_bank_clk()
490 map->src.iod = &vc7->clk_iod[2]; in vc7_get_bank_clk()
494 map->src.iod = &vc7->clk_iod[3]; in vc7_get_bank_clk()
961 struct vc7_iod_data *iod = container_of(hw, struct vc7_iod_data, hw); in vc7_iod_recalc_rate() local
962 struct vc7_driver_data *vc7 = iod->vc7; in vc7_iod_recalc_rate()
966 err = vc7_read_iod(vc7, iod->num); in vc7_iod_recalc_rate()
973 iod_rate = div64_u64(parent_rate, iod->iod_int); in vc7_iod_recalc_rate()
975 pr_debug("%s - %s: iod_int: %u\n", __func__, clk_hw_get_name(hw), iod->iod_int); in vc7_iod_recalc_rate()
983 struct vc7_iod_data *iod = container_of(hw, struct vc7_iod_data, hw); in vc7_iod_round_rate() local
989 vc7_calc_iod_divider(rate, *parent_rate, &iod->iod_int); in vc7_iod_round_rate()
990 iod_rate = div64_u64(*parent_rate, iod->iod_int); in vc7_iod_round_rate()
992 pr_debug("%s - %s: iod_int: %u\n", __func__, clk_hw_get_name(hw), iod->iod_int); in vc7_iod_round_rate()
1000 struct vc7_iod_data *iod = container_of(hw, struct vc7_iod_data, hw); in vc7_iod_set_rate() local
1001 struct vc7_driver_data *vc7 = iod->vc7; in vc7_iod_set_rate()
1014 vc7_write_iod(vc7, iod->num); in vc7_iod_set_rate()
1016 iod_rate = div64_u64(parent_rate, iod->iod_int); in vc7_iod_set_rate()
1018 pr_debug("%s - %s: iod_int: %u\n", __func__, clk_hw_get_name(hw), iod->iod_int); in vc7_iod_set_rate()
1202 parent_names[0] = clk_hw_get_name(&bank_src_map.src.iod->hw); in vc7_probe()