Searched refs:reset_data (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/drivers/clk/sunxi/ |
D | clk-sun4i-display.c | 32 struct reset_data { struct 41 static inline struct reset_data *rcdev_to_reset_data(struct reset_controller_dev *rcdev) in rcdev_to_reset_data() argument 43 return container_of(rcdev, struct reset_data, rcdev); in rcdev_to_reset_data() 49 struct reset_data *data = rcdev_to_reset_data(rcdev); in sun4i_a10_display_assert() 66 struct reset_data *data = rcdev_to_reset_data(rcdev); in sun4i_a10_display_deassert() 83 struct reset_data *data = rcdev_to_reset_data(rcdev); in sun4i_a10_display_status() 106 struct reset_data *reset_data; in sun4i_a10_display_init() local 178 reset_data = kzalloc(sizeof(*reset_data), GFP_KERNEL); in sun4i_a10_display_init() 179 if (!reset_data) in sun4i_a10_display_init() 182 reset_data->reg = reg; in sun4i_a10_display_init() [all …]
|
D | clk-a10-ve.c | 90 struct ve_reset_data *reset_data; in sun4i_ve_clk_setup() local 132 reset_data = kzalloc(sizeof(*reset_data), GFP_KERNEL); in sun4i_ve_clk_setup() 133 if (!reset_data) in sun4i_ve_clk_setup() 136 reset_data->reg = reg; in sun4i_ve_clk_setup() 137 reset_data->lock = &ve_lock; in sun4i_ve_clk_setup() 138 reset_data->rcdev.nr_resets = 1; in sun4i_ve_clk_setup() 139 reset_data->rcdev.ops = &sunxi_ve_reset_ops; in sun4i_ve_clk_setup() 140 reset_data->rcdev.of_node = node; in sun4i_ve_clk_setup() 141 reset_data->rcdev.of_xlate = sunxi_ve_of_xlate; in sun4i_ve_clk_setup() 142 reset_data->rcdev.of_reset_n_cells = 0; in sun4i_ve_clk_setup() [all …]
|
D | clk-usb.c | 93 struct usb_reset_data *reset_data; in sunxi_usb_clk_setup() local 144 reset_data = kzalloc(sizeof(*reset_data), GFP_KERNEL); in sunxi_usb_clk_setup() 145 if (!reset_data) in sunxi_usb_clk_setup() 149 reset_data->clk = of_clk_get(node, 0); in sunxi_usb_clk_setup() 150 if (IS_ERR(reset_data->clk)) { in sunxi_usb_clk_setup() 152 kfree(reset_data); in sunxi_usb_clk_setup() 157 reset_data->reg = reg; in sunxi_usb_clk_setup() 158 reset_data->lock = lock; in sunxi_usb_clk_setup() 159 reset_data->rcdev.nr_resets = __fls(data->reset_mask) + 1; in sunxi_usb_clk_setup() 160 reset_data->rcdev.ops = &sunxi_usb_reset_ops; in sunxi_usb_clk_setup() [all …]
|
/Linux-v6.1/drivers/crypto/qat/qat_common/ |
D | adf_aer.c | 88 struct adf_reset_dev_data *reset_data = in adf_device_reset_worker() local 90 struct adf_accel_dev *accel_dev = reset_data->accel_dev; in adf_device_reset_worker() 98 kfree(reset_data); in adf_device_reset_worker() 106 if (reset_data->mode == ADF_DEV_RESET_SYNC) in adf_device_reset_worker() 107 complete(&reset_data->compl); in adf_device_reset_worker() 109 kfree(reset_data); in adf_device_reset_worker() 115 struct adf_reset_dev_data *reset_data; in adf_dev_aer_schedule_reset() local 122 reset_data = kzalloc(sizeof(*reset_data), GFP_KERNEL); in adf_dev_aer_schedule_reset() 123 if (!reset_data) in adf_dev_aer_schedule_reset() 125 reset_data->accel_dev = accel_dev; in adf_dev_aer_schedule_reset() [all …]
|
/Linux-v6.1/drivers/clk/stm32/ |
D | reset-stm32.c | 106 struct stm32_reset_data *reset_data = NULL; in stm32_rcc_reset_init() local 110 reset_data = kzalloc(sizeof(*reset_data), GFP_KERNEL); in stm32_rcc_reset_init() 111 if (!reset_data) in stm32_rcc_reset_init() 114 spin_lock_init(&reset_data->lock); in stm32_rcc_reset_init() 115 reset_data->membase = base; in stm32_rcc_reset_init() 116 reset_data->rcdev.owner = THIS_MODULE; in stm32_rcc_reset_init() 117 reset_data->rcdev.ops = &stm32_reset_ops; in stm32_rcc_reset_init() 118 reset_data->rcdev.of_node = dev_of_node(dev); in stm32_rcc_reset_init() 119 reset_data->rcdev.nr_resets = STM32_RESET_ID_MASK; in stm32_rcc_reset_init() 120 reset_data->clear_offset = data->clear_offset; in stm32_rcc_reset_init() [all …]
|
/Linux-v6.1/drivers/reset/ |
D | reset-intel-gw.c | 160 struct intel_reset_data *reset_data; in intel_reset_restart_handler() local 162 reset_data = container_of(nb, struct intel_reset_data, restart_nb); in intel_reset_restart_handler() 163 intel_assert_device(&reset_data->rcdev, reset_data->reboot_id); in intel_reset_restart_handler()
|
/Linux-v6.1/drivers/clk/ |
D | clk-stm32mp1.c | 2286 struct stm32_reset_data *reset_data = NULL; in stm32_rcc_reset_init() local 2288 reset_data = kzalloc(sizeof(*reset_data), GFP_KERNEL); in stm32_rcc_reset_init() 2289 if (!reset_data) in stm32_rcc_reset_init() 2292 spin_lock_init(&reset_data->lock); in stm32_rcc_reset_init() 2293 reset_data->membase = base; in stm32_rcc_reset_init() 2294 reset_data->rcdev.owner = THIS_MODULE; in stm32_rcc_reset_init() 2295 reset_data->rcdev.ops = &stm32_reset_ops; in stm32_rcc_reset_init() 2296 reset_data->rcdev.of_node = dev_of_node(dev); in stm32_rcc_reset_init() 2297 reset_data->rcdev.nr_resets = STM32_RESET_ID_MASK; in stm32_rcc_reset_init() 2298 reset_data->clear_offset = data->clear_offset; in stm32_rcc_reset_init() [all …]
|