Searched refs:drive_data (Results 1 – 1 of 1) sorted by relevance
112 struct stm32_clk_drive *drive_data = osc_data->drive; in clk_oscillator_set_drive() local117 if (drive_data == NULL) { in clk_oscillator_set_drive()121 address = priv->base + drive_data->offset; in clk_oscillator_set_drive()123 mask = (BIT(drive_data->drv_width) - 1U) << drive_data->drv_shift; in clk_oscillator_set_drive()129 value = (mmio_read_32(address) & mask) >> drive_data->drv_shift; in clk_oscillator_set_drive()138 mmio_clrsetbits_32(address, mask, value << drive_data->drv_shift); in clk_oscillator_set_drive()