Home
last modified time | relevance | path

Searched refs:drive_data (Results 1 – 1 of 1) sorted by relevance

/trusted-firmware-a-3.7.0/drivers/st/clk/
Dclk-stm32-core.c112 struct stm32_clk_drive *drive_data = osc_data->drive; in clk_oscillator_set_drive() local
117 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()