Home
last modified time | relevance | path

Searched refs:device (Results 4676 - 4700 of 29412) sorted by relevance

1...<<181182183184185186187188189190>>...1177

/kernel/linux/linux-6.6/drivers/rtc/
H A Drtc-88pm80x.c42 struct device *dev;
59 static int pm80x_rtc_alarm_irq_enable(struct device *dev, unsigned int enabled) in pm80x_rtc_alarm_irq_enable()
99 static int pm80x_rtc_read_time(struct device *dev, struct rtc_time *tm) in pm80x_rtc_read_time()
120 static int pm80x_rtc_set_time(struct device *dev, struct rtc_time *tm) in pm80x_rtc_set_time()
144 static int pm80x_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in pm80x_rtc_read_alarm()
170 static int pm80x_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in pm80x_rtc_set_alarm()
226 static int pm80x_rtc_suspend(struct device *dev) in pm80x_rtc_suspend()
231 static int pm80x_rtc_resume(struct device *dev) in pm80x_rtc_resume()
H A Drtc-cros-ec.c22 * @cros_ec: Pointer to EC device
23 * @rtc: Pointer to RTC device
77 static int cros_ec_rtc_read_time(struct device *dev, struct rtc_time *tm) in cros_ec_rtc_read_time()
96 static int cros_ec_rtc_set_time(struct device *dev, struct rtc_time *tm) in cros_ec_rtc_set_time()
113 static int cros_ec_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in cros_ec_rtc_read_alarm()
143 static int cros_ec_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in cros_ec_rtc_set_alarm()
199 static int cros_ec_rtc_alarm_irq_enable(struct device *dev, in cros_ec_rtc_alarm_irq_enable()
290 static int cros_ec_rtc_suspend(struct device *dev) in cros_ec_rtc_suspend()
301 static int cros_ec_rtc_resume(struct device *dev) in cros_ec_rtc_resume()
385 struct device *de in cros_ec_rtc_remove()
[all...]
H A Drtc-da9055.c125 static int da9055_rtc_read_time(struct device *dev, struct rtc_time *rtc_tm) in da9055_rtc_read_time()
159 static int da9055_rtc_set_time(struct device *dev, struct rtc_time *tm) in da9055_rtc_set_time()
176 static int da9055_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in da9055_rtc_read_alarm()
192 static int da9055_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in da9055_rtc_set_alarm()
211 static int da9055_rtc_alarm_irq_enable(struct device *dev, unsigned int enabled) in da9055_rtc_alarm_irq_enable()
318 static int da9055_rtc_suspend(struct device *dev) in da9055_rtc_suspend()
337 static int da9055_rtc_resume(struct device *dev) in da9055_rtc_resume()
356 static int da9055_rtc_freeze(struct device *dev) in da9055_rtc_freeze()
H A Drtc-rc5t583.c38 static int rc5t583_rtc_alarm_irq_enable(struct device *dev, unsigned enabled) in rc5t583_rtc_alarm_irq_enable()
59 static int rc5t583_rtc_read_time(struct device *dev, struct rtc_time *tm) in rc5t583_rtc_read_time()
83 static int rc5t583_rtc_set_time(struct device *dev, struct rtc_time *tm) in rc5t583_rtc_set_time()
107 static int rc5t583_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alm) in rc5t583_rtc_read_alarm()
139 static int rc5t583_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alm) in rc5t583_rtc_set_alarm()
170 struct device *dev = rtc; in rc5t583_rtc_interrupt()
254 dev_err(&pdev->dev, "RTC device register: err %d\n", ret); in rc5t583_rtc_probe()
273 static int rc5t583_rtc_suspend(struct device *dev) in rc5t583_rtc_suspend()
285 static int rc5t583_rtc_resume(struct device *dev) in rc5t583_rtc_resume()
H A Drtc-sa1100.c94 static int sa1100_rtc_alarm_irq_enable(struct device *dev, unsigned int enabled) in sa1100_rtc_alarm_irq_enable()
110 static int sa1100_rtc_read_time(struct device *dev, struct rtc_time *tm) in sa1100_rtc_read_time()
118 static int sa1100_rtc_set_time(struct device *dev, struct rtc_time *tm) in sa1100_rtc_set_time()
127 static int sa1100_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in sa1100_rtc_read_alarm()
138 static int sa1100_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in sa1100_rtc_set_alarm()
155 static int sa1100_rtc_proc(struct device *dev, struct seq_file *seq) in sa1100_rtc_proc()
313 static int sa1100_rtc_suspend(struct device *dev) in sa1100_rtc_suspend()
321 static int sa1100_rtc_resume(struct device *dev) in sa1100_rtc_resume()
H A Drtc-stmp3xxx.c65 * @dev: the parent device of the watchdog (= the RTC)
71 * platform_device for the watchdog driver as a child of the RTC device.
77 static void stmp3xxx_wdt_set_timeout(struct device *dev, u32 timeout) in stmp3xxx_wdt_set_timeout()
147 static int stmp3xxx_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm) in stmp3xxx_rtc_gettime()
160 static int stmp3xxx_rtc_settime(struct device *dev, struct rtc_time *rtc_tm) in stmp3xxx_rtc_settime()
184 static int stmp3xxx_alarm_irq_enable(struct device *dev, unsigned int enabled) in stmp3xxx_alarm_irq_enable()
206 static int stmp3xxx_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alm) in stmp3xxx_rtc_read_alarm()
214 static int stmp3xxx_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alm) in stmp3xxx_rtc_set_alarm()
274 dev_err(&pdev->dev, "no device onboard\n"); in stmp3xxx_rtc_probe()
305 * frequency can be overridden in the device tre in stmp3xxx_rtc_probe()
[all...]
H A Drtc-wm831x.c118 static int wm831x_rtc_readtime(struct device *dev, struct rtc_time *tm) in wm831x_rtc_readtime()
168 static int wm831x_rtc_settime(struct device *dev, struct rtc_time *tm) in wm831x_rtc_settime()
230 static int wm831x_rtc_readalarm(struct device *dev, struct rtc_wkalrm *alrm) in wm831x_rtc_readalarm()
278 static int wm831x_rtc_setalarm(struct device *dev, struct rtc_wkalrm *alrm) in wm831x_rtc_setalarm()
317 static int wm831x_rtc_alarm_irq_enable(struct device *dev, in wm831x_rtc_alarm_irq_enable()
347 static int wm831x_rtc_suspend(struct device *dev) in wm831x_rtc_suspend()
368 static int wm831x_rtc_resume(struct device *dev) in wm831x_rtc_resume()
383 static int wm831x_rtc_freeze(struct device *dev) in wm831x_rtc_freeze()
/kernel/linux/linux-6.6/drivers/soc/sunxi/
H A Dsunxi_sram.c105 static struct device *sram_dev;
224 int sunxi_sram_claim(struct device *dev) in sunxi_sram_claim()
228 unsigned int device; in sunxi_sram_claim() local
240 sram_data = sunxi_sram_of_parse(dev->of_node, &device); in sunxi_sram_claim()
257 writel(val | ((device << sram_data->offset) & mask), in sunxi_sram_claim()
267 void sunxi_sram_release(struct device *dev) in sunxi_sram_release()
316 static bool sunxi_sram_regmap_accessible_reg(struct device *dev, in sunxi_sram_regmap_accessible_reg()
344 struct device *dev = &pdev->dev; in sunxi_sram_probe()
/kernel/linux/linux-6.6/drivers/staging/fieldbus/anybuss/
H A Darcx-anybus.c40 struct device *class_dev;
88 static void export_reset_0(struct device *dev, bool assert) in export_reset_0()
95 static void export_reset_1(struct device *dev, bool assert) in export_reset_1()
131 struct device *dev = &pdev->dev; in create_parallel_regmap()
164 static ssize_t version_show(struct device *dev, in version_show()
173 static ssize_t design_number_show(struct device *dev, in design_number_show()
197 static void controller_device_release(struct device *dev) in controller_device_release()
227 struct device *dev = &pdev->dev; in controller_probe()
/kernel/linux/linux-6.6/drivers/power/supply/
H A Dgpio-charger.c7 #include <linux/device.h>
26 struct device *dev;
138 static enum power_supply_type gpio_charger_get_type(struct device *dev) in gpio_charger_get_type()
165 static int gpio_charger_get_irq(struct device *dev, void *dev_id, in gpio_charger_get_irq()
185 static int init_charge_current_limit(struct device *dev, in init_charge_current_limit()
253 struct device *dev = &pdev->dev; in gpio_charger_probe()
274 * This will fetch a GPIO descriptor from device tree, ACPI or in gpio_charger_probe()
354 static int gpio_charger_suspend(struct device *dev) in gpio_charger_suspend()
365 static int gpio_charger_resume(struct device *dev) in gpio_charger_resume()
/kernel/linux/linux-6.6/drivers/usb/dwc3/
H A Ddwc3-imx8mp.c52 struct device *dev;
65 struct device *dev = dwc3_imx->dev; in imx8mp_configure_glue()
149 struct device *dev = &pdev->dev; in dwc3_imx8mp_probe()
156 dev_err(dev, "device node not found\n"); in dwc3_imx8mp_probe()
237 dev_err(dev, "failed to get dwc3 platform device\n"); in dwc3_imx8mp_probe()
273 struct device *dev = &pdev->dev; in dwc3_imx8mp_remove()
334 static int __maybe_unused dwc3_imx8mp_pm_suspend(struct device *dev) in dwc3_imx8mp_pm_suspend()
352 static int __maybe_unused dwc3_imx8mp_pm_resume(struct device *dev) in dwc3_imx8mp_pm_resume()
380 static int __maybe_unused dwc3_imx8mp_runtime_suspend(struct device *dev) in dwc3_imx8mp_runtime_suspend()
389 static int __maybe_unused dwc3_imx8mp_runtime_resume(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/usb/misc/
H A Dcytherm.c31 /* Structure to hold all of our device specific stuff */
33 struct usb_device *udev; /* save off the usb device pointer */
34 struct usb_interface *interface; /* the interface for this device */
49 /* Send a vendor command to device */
67 static ssize_t brightness_show(struct device *dev, struct device_attribute *attr, char *buf) in brightness_show()
75 static ssize_t brightness_store(struct device *dev, struct device_attribute *attr, const char *buf, in brightness_store()
116 static ssize_t temp_show(struct device *dev, struct device_attribute *attr, char *buf) in temp_show()
153 static ssize_t button_show(struct device *dev, struct device_attribute *attr, char *buf) in button_show()
183 static ssize_t port0_show(struct device *dev, struct device_attribute *attr, char *buf) in port0_show()
207 static ssize_t port0_store(struct device *de
[all...]
H A Dusb3503.c46 struct device *dev;
58 struct device *dev = hub->dev; in usb3503_connect()
112 struct device *dev = hub->dev; in usb3503_switch_mode()
164 struct device *dev = hub->dev; in usb3503_probe()
362 static int __maybe_unused usb3503_i2c_suspend(struct device *dev) in usb3503_i2c_suspend()
369 static int __maybe_unused usb3503_i2c_resume(struct device *dev) in usb3503_i2c_resume()
376 static int __maybe_unused usb3503_platform_suspend(struct device *dev) in usb3503_platform_suspend()
381 static int __maybe_unused usb3503_platform_resume(struct device *dev) in usb3503_platform_resume()
/kernel/linux/linux-6.6/drivers/block/
H A Dz2ram.c3 ** as a block device, to be used as a RAM disk or swap space
145 int device = disk->first_minor; in z2_open() local
152 if (current_device != -1 && current_device != device) { in z2_open()
164 if (device >= Z2MINOR_MEMLIST1 && device <= Z2MINOR_MEMLIST4) { in z2_open()
165 int index = device - Z2MINOR_MEMLIST1 + 1; in z2_open()
210 switch (device) { in z2_open()
276 current_device = device; in z2_open()
278 set_capacity(z2ram_gendisk[device], z2ram_size >> 9); in z2_open()
/kernel/linux/linux-6.6/drivers/clk/
H A Dclk-fixed-factor.c67 static void devm_clk_hw_register_fixed_factor_release(struct device *dev, void *res) in devm_clk_hw_register_fixed_factor_release()
80 __clk_hw_register_fixed_factor(struct device *dev, struct device_node *np, in __clk_hw_register_fixed_factor()
140 * @dev: device that is registering this clock
150 struct clk_hw *devm_clk_hw_register_fixed_factor_index(struct device *dev, in devm_clk_hw_register_fixed_factor_index()
162 * @dev: device that is registering this clock
172 struct clk_hw *devm_clk_hw_register_fixed_factor_parent_hw(struct device *dev, in devm_clk_hw_register_fixed_factor_parent_hw()
181 struct clk_hw *clk_hw_register_fixed_factor_parent_hw(struct device *dev, in clk_hw_register_fixed_factor_parent_hw()
191 struct clk_hw *clk_hw_register_fixed_factor(struct device *dev, in clk_hw_register_fixed_factor()
200 struct clk *clk_register_fixed_factor(struct device *dev, const char *name, in clk_register_fixed_factor()
238 struct clk_hw *devm_clk_hw_register_fixed_factor(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/bus/
H A Dbt1-apb.c14 #include <linux/device.h>
39 * @dev: Pointer to the device structure.
41 * @res: No-device error injection memory region.
49 struct device *dev;
128 struct device *dev = &pdev->dev; in bt1_apb_create_data()
263 static ssize_t count_show(struct device *dev, struct device_attribute *attr, in count_show()
272 static ssize_t timeout_show(struct device *dev, struct device_attribute *attr, in timeout_show()
289 static ssize_t timeout_store(struct device *dev, in timeout_store()
310 static ssize_t inject_error_show(struct device *dev, in inject_error_show()
316 static ssize_t inject_error_store(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/base/
H A Dplatform-msi.c9 #include <linux/device.h>
24 struct device *dev;
36 * Convert an msi_desc to a globaly unique identifier (per-device
143 static int platform_msi_alloc_priv_data(struct device *dev, unsigned int nvec, in platform_msi_alloc_priv_data()
150 * Limit the number of interrupts to 2048 per device. Should we in platform_msi_alloc_priv_data()
189 static void platform_msi_free_priv_data(struct device *dev) in platform_msi_free_priv_data()
200 * @dev: The device for which to allocate interrupts
207 int platform_msi_domain_alloc_irqs(struct device *dev, unsigned int nvec, in platform_msi_domain_alloc_irqs()
226 * @dev: The device for which to free interrupts
228 void platform_msi_domain_free_irqs(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/crypto/caam/
H A Dcaamrng.c36 /* rng per-device context */
39 struct device *jrdev;
40 struct device *ctrldev;
57 static void caam_rng_done(struct device *jrdev, u32 *desc, u32 err, in caam_rng_done()
84 static int caam_rng_read_one(struct device *jrdev, in caam_rng_read_one()
181 struct device *dev = ctx->ctrldev; in test_len()
258 int caam_rng_init(struct device *ctrldev);
260 void caam_rng_exit(struct device *ctrldev) in caam_rng_exit()
265 int caam_rng_init(struct device *ctrldev) in caam_rng_init()
H A Derror.c220 static int report_ccb_status(struct device *jrdev, const u32 status, in report_ccb_status()
267 static int report_jump_status(struct device *jrdev, const u32 status, in report_jump_status()
276 static int report_deco_status(struct device *jrdev, const u32 status, in report_deco_status()
307 static int report_qi_status(struct device *qidev, const u32 status, in report_qi_status()
330 static int report_jr_status(struct device *jrdev, const u32 status, in report_jr_status()
339 static int report_cond_code_status(struct device *jrdev, const u32 status, in report_cond_code_status()
348 int caam_strstatus(struct device *jrdev, u32 status, bool qi_v2) in caam_strstatus()
351 int (*report_ssed)(struct device *jrdev, const u32 status, in caam_strstatus()
/kernel/linux/linux-6.6/drivers/cpuidle/
H A Dcpuidle-psci.c34 struct device *dev;
57 struct device *pd_dev = data->dev; in __psci_enter_domain_idle_state()
104 struct device *pd_dev = __this_cpu_read(psci_cpuidle_data.dev); in psci_idle_cpuhp_up()
114 struct device *pd_dev = __this_cpu_read(psci_cpuidle_data.dev); in psci_idle_cpuhp_down()
128 struct device *dev; in psci_idle_syscore_switch()
244 static int psci_dt_cpu_init_idle(struct device *dev, struct cpuidle_driver *drv, in psci_dt_cpu_init_idle()
286 static int psci_cpu_init_idle(struct device *dev, struct cpuidle_driver *drv, in psci_cpu_init_idle()
318 static int psci_idle_init_cpu(struct device *dev, int cpu) in psci_idle_init_cpu()
/kernel/linux/linux-6.6/drivers/devfreq/
H A Dimx8m-ddrc.c8 #include <linux/device.h>
128 static int imx8m_ddrc_set_freq(struct device *dev, struct imx8m_ddrc_freq *freq) in imx8m_ddrc_set_freq()
230 static int imx8m_ddrc_target(struct device *dev, unsigned long *freq, u32 flags) in imx8m_ddrc_target()
274 static int imx8m_ddrc_get_cur_freq(struct device *dev, unsigned long *freq) in imx8m_ddrc_get_cur_freq()
283 static int imx8m_ddrc_init_freq_info(struct device *dev) in imx8m_ddrc_init_freq_info()
329 static int imx8m_ddrc_check_opps(struct device *dev) in imx8m_ddrc_check_opps()
361 static void imx8m_ddrc_exit(struct device *dev) in imx8m_ddrc_exit()
368 struct device *dev = &pdev->dev; in imx8m_ddrc_probe()
429 dev_err(dev, "failed to add devfreq device: %d\n", ret); in imx8m_ddrc_probe()
/kernel/linux/linux-6.6/drivers/dma/
H A Dacpi-dma.c12 #include <linux/device.h>
29 * acpi_dma_parse_resource_group - match device and parse resource group
31 * @adev: ACPI device to match with
34 * In order to match a device from DSDT table to the corresponding CSRT device
73 /* Match device by MMIO */ in acpi_dma_parse_resource_group()
87 /* Match device by Linux vIRQ */ in acpi_dma_parse_resource_group()
116 * @adev: ACPI device to match with
161 * @dev: struct device of DMA controller
173 int acpi_dma_controller_register(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/net/ipa/
H A Dipa_power.c8 #include <linux/device.h>
55 * @dev: IPA device pointer
64 struct device *dev;
144 static int ipa_runtime_suspend(struct device *dev) in ipa_runtime_suspend()
160 static int ipa_runtime_resume(struct device *dev) in ipa_runtime_resume()
178 static int ipa_suspend(struct device *dev) in ipa_suspend()
198 static int ipa_resume(struct device *dev) in ipa_resume()
237 * network device transmit queue.
359 ipa_power_init(struct device *dev, const struct ipa_power_data *data) in ipa_power_init()
418 struct device *de in ipa_power_exit()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/mdp/
H A Dmtk_mdp_core.c9 #include <linux/device.h>
56 struct device *dev = &mdp->pdev->dev; in mtk_mdp_clock_on()
65 struct device *dev = &mdp->pdev->dev; in mtk_mdp_clock_off()
108 struct device *dev = &pdev->dev; in mtk_mdp_probe()
130 dev_warn(dev, "device tree is out of date\n"); in mtk_mdp_probe()
185 dev_err(&pdev->dev, "Failed to register v4l2 device\n"); in mtk_mdp_probe()
192 v4l2_err(&mdp->v4l2_dev, "Failed to init mem2mem device\n"); in mtk_mdp_probe()
260 static int __maybe_unused mtk_mdp_pm_suspend(struct device *dev) in mtk_mdp_pm_suspend()
269 static int __maybe_unused mtk_mdp_pm_resume(struct device *dev) in mtk_mdp_pm_resume()
278 static int __maybe_unused mtk_mdp_suspend(struct device *de
[all...]
/kernel/linux/linux-6.6/drivers/pci/controller/
H A Dpcie-hisi-error.c62 struct device *dev;
111 struct device *dev = &pdev->dev; in hisi_pcie_port_reset()
146 struct device *device = &dev->dev; in hisi_pcie_port_do_recovery() local
147 acpi_handle root_handle = ACPI_HANDLE(device); in hisi_pcie_port_do_recovery()
166 dev_info(device, "Fail to get root port %04x:%02x:%02x.%d device\n", in hisi_pcie_port_do_recovery()
197 struct device *dev = &pdev->dev; in hisi_pcie_handle_error()
255 struct device *dev; in hisi_pcie_notify_error()

Completed in 26 milliseconds

1...<<181182183184185186187188189190>>...1177