/kernel/linux/linux-5.10/drivers/xen/ |
H A D | xen-balloon.c | 58 static struct device balloon_dev; 60 static int register_balloon(struct device *dev); 137 static ssize_t show_##name(struct device *dev, \ 155 static ssize_t show_target_kb(struct device *dev, struct device_attribute *attr, in show_target_kb() 161 static ssize_t store_target_kb(struct device *dev, in store_target_kb() 183 static ssize_t show_target(struct device *dev, struct device_attribute *attr, in show_target() 191 static ssize_t store_target(struct device *dev, in store_target() 251 static int register_balloon(struct device *dev) in register_balloon()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
H A D | power.c | 43 * @dev: our device 51 /* FIXME: Move APM/OSPM base into relevant device code */ in gma_power_init() 67 * @dev: device to end for 79 * @dev: our DRM device 120 * @pdev: PCI device 122 * Perform the suspend processing on our PCI device state 149 * @dev: our PCI device 151 * Perform the resume processing on our PCI device state - rewrite 152 * register state and re-enable the PCI device 181 * @pdev: our PCI device [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/dcss/ |
H A D | dcss-dev.h | 61 struct device *dev; 93 struct dcss_dev *dcss_drv_dev_to_dcss(struct device *dev); 94 struct drm_device *dcss_drv_dev_to_drm(struct device *dev); 95 struct dcss_dev *dcss_dev_create(struct device *dev, bool hdmi_output); 97 int dcss_dev_runtime_suspend(struct device *dev); 98 int dcss_dev_runtime_resume(struct device *dev); 99 int dcss_dev_suspend(struct device *dev); 100 int dcss_dev_resume(struct device *dev);
|
/kernel/linux/linux-5.10/drivers/greybus/ |
H A D | bundle.c | 12 static ssize_t bundle_class_show(struct device *dev, in bundle_class_show() 21 static ssize_t bundle_id_show(struct device *dev, in bundle_id_show() 30 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show() 41 static ssize_t state_store(struct device *dev, struct device_attribute *attr, in state_store() 80 static void gb_bundle_release(struct device *dev) in gb_bundle_release() 108 static int gb_bundle_suspend(struct device *dev) in gb_bundle_suspend() 135 static int gb_bundle_resume(struct device *dev) in gb_bundle_resume() 156 static int gb_bundle_idle(struct device *dev) in gb_bundle_idle()
|
/kernel/linux/linux-5.10/drivers/media/rc/ |
H A D | gpio-ir-recv.c | 25 struct device *pmdev; 33 struct device *pmdev = gpio_dev->pmdev; in gpio_ir_recv_irq() 62 struct device *dev = &pdev->dev; in gpio_ir_recv_probe() 115 dev_err(dev, "failed to register rc device (%d)\n", rc); in gpio_ir_recv_probe() 138 struct device *pmdev = gpio_dev->pmdev; in gpio_ir_recv_remove() 153 static int gpio_ir_recv_suspend(struct device *dev) in gpio_ir_recv_suspend() 165 static int gpio_ir_recv_resume(struct device *dev) in gpio_ir_recv_resume() 177 static int gpio_ir_recv_runtime_suspend(struct device *dev) in gpio_ir_recv_runtime_suspend() 186 static int gpio_ir_recv_runtime_resume(struct device *dev) in gpio_ir_recv_runtime_resume()
|
/kernel/linux/linux-5.10/drivers/platform/mellanox/ |
H A D | mlxbf-bootctl.c | 89 static ssize_t post_reset_wdog_show(struct device *dev, in post_reset_wdog_show() 101 static ssize_t post_reset_wdog_store(struct device *dev, in post_reset_wdog_store() 145 static ssize_t reset_action_show(struct device *dev, in reset_action_show() 151 static ssize_t reset_action_store(struct device *dev, in reset_action_store() 158 static ssize_t second_reset_action_show(struct device *dev, in second_reset_action_show() 165 static ssize_t second_reset_action_store(struct device *dev, in second_reset_action_store() 173 static ssize_t lifecycle_state_show(struct device *dev, in lifecycle_state_show() 205 static ssize_t secure_boot_fuse_state_show(struct device *dev, in secure_boot_fuse_state_show()
|
/kernel/linux/linux-5.10/drivers/rtc/ |
H A D | rtc-as3722.c | 27 struct device *dev; 54 static int as3722_rtc_read_time(struct device *dev, struct rtc_time *tm) in as3722_rtc_read_time() 71 static int as3722_rtc_set_time(struct device *dev, struct rtc_time *tm) in as3722_rtc_set_time() 89 static int as3722_rtc_alarm_irq_enable(struct device *dev, in as3722_rtc_alarm_irq_enable() 104 static int as3722_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in as3722_rtc_read_alarm() 122 static int as3722_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in as3722_rtc_set_alarm() 216 static int as3722_rtc_suspend(struct device *dev) in as3722_rtc_suspend() 226 static int as3722_rtc_resume(struct device *dev) in as3722_rtc_resume()
|
H A D | rtc-xgene.c | 43 static int xgene_rtc_read_time(struct device *dev, struct rtc_time *tm) in xgene_rtc_read_time() 51 static int xgene_rtc_set_time(struct device *dev, struct rtc_time *tm) in xgene_rtc_set_time() 65 static int xgene_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in xgene_rtc_read_alarm() 76 static int xgene_rtc_alarm_irq_enable(struct device *dev, u32 enabled) in xgene_rtc_alarm_irq_enable() 94 static int xgene_rtc_alarm_irq_enabled(struct device *dev) in xgene_rtc_alarm_irq_enabled() 101 static int xgene_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in xgene_rtc_set_alarm() 207 static int __maybe_unused xgene_rtc_suspend(struct device *dev) in xgene_rtc_suspend() 231 static int __maybe_unused xgene_rtc_resume(struct device *dev) in xgene_rtc_resume()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | coresight.h | 9 #include <linux/device.h> 124 * @dev: The device entity associated to this component. 127 * @name: name for the coresight device, also shown under sysfs. 134 struct device *dev; 158 * @orig: Originating (master) coresight device for the link. 160 * @target: Target (slave) coresight device for the link. 171 * struct coresight_device - representation of a device as used by the framework 172 * @pdata: Platform data with device connections associated to this device. 177 * @dev: The device entit [all...] |
/kernel/linux/linux-6.6/drivers/memory/ |
H A D | brcmstb_memc.c | 29 struct device *dev; 69 static ssize_t frequency_show(struct device *dev, in frequency_show() 77 static ssize_t srpd_show(struct device *dev, in srpd_show() 85 static ssize_t srpd_store(struct device *dev, struct device_attribute *attr, in srpd_store() 130 struct device *dev = &pdev->dev; in brcmstb_memc_probe() 160 struct device *dev = &pdev->dev; in brcmstb_memc_remove() 252 static int brcmstb_memc_suspend(struct device *dev) in brcmstb_memc_suspend() 275 static int brcmstb_memc_resume(struct device *dev) in brcmstb_memc_resume()
|
/kernel/linux/linux-6.6/drivers/media/rc/ |
H A D | gpio-ir-recv.c | 25 struct device *pmdev; 33 struct device *pmdev = gpio_dev->pmdev; in gpio_ir_recv_irq() 62 struct device *dev = &pdev->dev; in gpio_ir_recv_probe() 111 dev_err(dev, "failed to register rc device (%d)\n", rc); in gpio_ir_recv_probe() 134 struct device *pmdev = gpio_dev->pmdev; in gpio_ir_recv_remove() 147 static int gpio_ir_recv_suspend(struct device *dev) in gpio_ir_recv_suspend() 159 static int gpio_ir_recv_resume(struct device *dev) in gpio_ir_recv_resume() 171 static int gpio_ir_recv_runtime_suspend(struct device *dev) in gpio_ir_recv_runtime_suspend() 180 static int gpio_ir_recv_runtime_resume(struct device *dev) in gpio_ir_recv_runtime_resume()
|
/kernel/linux/linux-6.6/drivers/media/platform/allegro-dvt/ |
H A D | nal-hevc.h | 501 ssize_t nal_hevc_write_vps(const struct device *dev, 503 ssize_t nal_hevc_read_vps(const struct device *dev, 506 ssize_t nal_hevc_write_sps(const struct device *dev, 508 ssize_t nal_hevc_read_sps(const struct device *dev, 511 ssize_t nal_hevc_write_pps(const struct device *dev, 513 ssize_t nal_hevc_read_pps(const struct device *dev, 516 ssize_t nal_hevc_write_filler(const struct device *dev, void *dest, size_t n); 517 ssize_t nal_hevc_read_filler(const struct device *dev, void *src, size_t n);
|
/kernel/linux/linux-6.6/drivers/s390/net/ |
H A D | ctcm_sysfs.c | 15 #include <linux/device.h> 24 static ssize_t ctcm_buffer_show(struct device *dev, in ctcm_buffer_show() 34 static ssize_t ctcm_buffer_write(struct device *dev, in ctcm_buffer_write() 114 static ssize_t stats_show(struct device *dev, in stats_show() 126 static ssize_t stats_write(struct device *dev, struct device_attribute *attr, in stats_write() 138 static ssize_t ctcm_proto_show(struct device *dev, in ctcm_proto_show() 148 static ssize_t ctcm_proto_store(struct device *dev, in ctcm_proto_store() 178 static ssize_t ctcm_type_show(struct device *dev, in ctcm_type_show()
|
/kernel/linux/linux-6.6/drivers/usb/cdns3/ |
H A D | cdns3-starfive.c | 36 struct device *dev; 109 struct device *dev = &pdev->dev; in cdns_starfive_probe() 160 static int cdns_starfive_remove_core(struct device *dev, void *c) in cdns_starfive_remove_core() 171 struct device *dev = &pdev->dev; in cdns_starfive_remove() 184 static int cdns_starfive_runtime_resume(struct device *dev) in cdns_starfive_runtime_resume() 191 static int cdns_starfive_runtime_suspend(struct device *dev) in cdns_starfive_runtime_suspend() 201 static int cdns_starfive_resume(struct device *dev) in cdns_starfive_resume() 208 static int cdns_starfive_suspend(struct device *dev) in cdns_starfive_suspend()
|
/kernel/linux/linux-6.6/drivers/rtc/ |
H A D | rtc-as3722.c | 27 struct device *dev; 54 static int as3722_rtc_read_time(struct device *dev, struct rtc_time *tm) in as3722_rtc_read_time() 71 static int as3722_rtc_set_time(struct device *dev, struct rtc_time *tm) in as3722_rtc_set_time() 89 static int as3722_rtc_alarm_irq_enable(struct device *dev, in as3722_rtc_alarm_irq_enable() 104 static int as3722_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in as3722_rtc_read_alarm() 122 static int as3722_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in as3722_rtc_set_alarm() 216 static int as3722_rtc_suspend(struct device *dev) in as3722_rtc_suspend() 226 static int as3722_rtc_resume(struct device *dev) in as3722_rtc_resume()
|
H A D | rtc-xgene.c | 43 static int xgene_rtc_read_time(struct device *dev, struct rtc_time *tm) in xgene_rtc_read_time() 51 static int xgene_rtc_set_time(struct device *dev, struct rtc_time *tm) in xgene_rtc_set_time() 65 static int xgene_rtc_read_alarm(struct device *dev, struct rtc_wkalrm *alrm) in xgene_rtc_read_alarm() 76 static int xgene_rtc_alarm_irq_enable(struct device *dev, u32 enabled) in xgene_rtc_alarm_irq_enable() 94 static int xgene_rtc_alarm_irq_enabled(struct device *dev) in xgene_rtc_alarm_irq_enabled() 101 static int xgene_rtc_set_alarm(struct device *dev, struct rtc_wkalrm *alrm) in xgene_rtc_set_alarm() 204 static int __maybe_unused xgene_rtc_suspend(struct device *dev) in xgene_rtc_suspend() 228 static int __maybe_unused xgene_rtc_resume(struct device *dev) in xgene_rtc_resume()
|
/kernel/linux/linux-6.6/drivers/fpga/ |
H A D | dfl-afu-error.c | 31 static void __afu_port_err_mask(struct device *dev, bool mask) in __afu_port_err_mask() 40 static void afu_port_err_mask(struct device *dev, bool mask) in afu_port_err_mask() 50 static int afu_port_err_clear(struct device *dev, u64 err) in afu_port_err_clear() 75 /* if device is still in AP6 power state, can not clear any error. */ in afu_port_err_clear() 78 dev_err(dev, "Could not clear errors, device in AP6 state.\n"); in afu_port_err_clear() 115 static ssize_t errors_show(struct device *dev, struct device_attribute *attr, in errors_show() 131 static ssize_t errors_store(struct device *dev, struct device_attribute *attr, in errors_store() 146 static ssize_t first_error_show(struct device *dev, in first_error_show() 163 static ssize_t first_malformed_req_show(struct device *dev, in first_malformed_req_show() 193 struct device *de in port_err_attrs_visible() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/display/ |
H A D | drm_dp_aux_bus.c | 6 * AUX bus. The device on the far side of the bus is referred to as an 9 * There is only one device connected to the DP AUX bus: an eDP panel. 32 * @dev: The device to match. 35 * At the moment, we just match on device tree. 37 * Return: True if this driver matches this device; false otherwise. 39 static int dp_aux_ep_match(struct device *dev, struct device_driver *drv) in dp_aux_ep_match() 46 * @dev: The device to probe. 52 static int dp_aux_ep_probe(struct device *dev) in dp_aux_ep_probe() 98 * @dev: The device to remove. 102 static void dp_aux_ep_remove(struct device *de [all...] |
/kernel/linux/linux-6.6/drivers/greybus/ |
H A D | bundle.c | 12 static ssize_t bundle_class_show(struct device *dev, in bundle_class_show() 21 static ssize_t bundle_id_show(struct device *dev, in bundle_id_show() 30 static ssize_t state_show(struct device *dev, struct device_attribute *attr, in state_show() 41 static ssize_t state_store(struct device *dev, struct device_attribute *attr, in state_store() 80 static void gb_bundle_release(struct device *dev) in gb_bundle_release() 108 static int gb_bundle_suspend(struct device *dev) in gb_bundle_suspend() 135 static int gb_bundle_resume(struct device *dev) in gb_bundle_resume() 156 static int gb_bundle_idle(struct device *dev) in gb_bundle_idle()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | pcf8591.c | 68 struct device *hwmon_dev; 76 static int pcf8591_read_channel(struct device *dev, int channel); 80 static ssize_t show_in##channel##_input(struct device *dev, \ 94 static ssize_t out0_output_show(struct device *dev, in out0_output_show() 101 static ssize_t out0_output_store(struct device *dev, in out0_output_store() 125 static ssize_t out0_enable_show(struct device *dev, in out0_enable_show() 132 static ssize_t out0_enable_store(struct device *dev, in out0_enable_store() 257 static int pcf8591_read_channel(struct device *dev, int channel) in pcf8591_read_channel()
|
/kernel/linux/linux-6.6/drivers/iommu/ |
H A D | of_iommu.c | 22 static int of_iommu_xlate(struct device *dev, in of_iommu_xlate() 39 * IOMMU device we're waiting for, which will be useful if we ever get in of_iommu_xlate() 54 struct device *dev, in of_iommu_configure_dev_id() 72 struct device *dev) in of_iommu_configure_dev() 91 struct device *dev; 104 struct device *dev, const u32 *id) in of_iommu_configure_device() 110 const struct iommu_ops *of_iommu_configure(struct device *dev, in of_iommu_configure() 183 iommu_resv_region_get_type(struct device *dev, in iommu_resv_region_get_type() 206 * of_iommu_get_resv_regions - reserved region driver helper for device tree 207 * @dev: device fo [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-init.c | 11 #include <linux/device.h> 12 #include <linux/device-mapper.h> 33 * See Documentation/admin-guide/device-mapper/dm-init.rst for dm-mod.create="..." format 104 * @dev: device to store the parsed information. 158 * @dev: device to store the parsed information. 184 * dm_parse_device_entry - parse a device entry 185 * @dev: device to store the parsed information. 235 * <device>[;<device>+] 241 char *device in dm_parse_devices() local [all...] |
/kernel/linux/linux-6.6/sound/core/ |
H A D | pcm_param_trace.h | 33 __field(int, device) 44 __entry->device = substream->pcm->device; 55 __entry->device, 73 __field(int, device) 94 __entry->device = substream->pcm->device; 115 __entry->device,
|
/third_party/ltp/testcases/kernel/syscalls/renameat/ |
H A D | renameat01.c | 85 static const char *device; variable 143 device = tst_acquire_device(cleanup); in setup() 145 if (!device) in setup() 146 tst_brkm(TCONF, cleanup, "Failed to obtain block device"); in setup() 178 tst_mkfs(cleanup, device, fs_type, NULL, NULL); in setup() 180 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, 0, NULL); in setup() 183 SAFE_MOUNT(cleanup, device, MNTPOINT, fs_type, MS_REMOUNT | MS_RDONLY, in setup() 242 if (device) in cleanup() 243 tst_release_device(device); in cleanup()
|
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/ |
H A D | vkWsiUtil.hpp | 116 VkDevice device, 142 const VkDevice device, 170 const VkDevice device, 175 VkDevice device); 178 const VkDevice device, 185 const VkDevice device, 190 const VkDevice device, 196 VkDevice device,
|