Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/clk/sunxi/
Dclk-sun4i-display.c32 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 …]
Dclk-a10-ve.c90 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 …]
Dclk-usb.c93 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 …]
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
Dadf_aer.c88 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 …]
/kernel/linux/linux-5.10/drivers/reset/
Dreset-intel-gw.c160 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()
/kernel/linux/linux-5.10/arch/mips/netlogic/common/
Dsmp.c259 u32 *reset_data; in nlm_wakeup_secondary_cpus() local
266 reset_data = nlm_get_boot_data(BOOT_THREAD_MODE); in nlm_wakeup_secondary_cpus()
267 *reset_data = threadmode; in nlm_wakeup_secondary_cpus()