Home
last modified time | relevance | path

Searched refs:device (Results 3376 - 3400 of 28695) sorted by relevance

1...<<131132133134135136137138139140>>...1148

/kernel/linux/linux-6.6/drivers/gpu/drm/display/
H A Ddrm_dp_aux_bus.c6 * 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 Dbundle.c12 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 Dpcf8591.c68 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 Dof_iommu.c22 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 Ddm-init.c11 #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 Dpcm_param_trace.h33 __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 Drenameat01.c85 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 DvkWsiUtil.hpp116 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,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DVertexDeclarationCache.cpp49 IDirect3DDevice9 *device, in applyDeclaration()
105 device->GetDeviceCaps(&caps); in applyDeclaration()
152 device->SetStreamSourceFreq(stream, frequency); in applyDeclaration()
166 device->SetStreamSource(stream, vertexBuffer->getBuffer(), offset, in applyDeclaration()
194 device->SetStreamSourceFreq(i, 1); in applyDeclaration()
214 device->SetVertexDeclaration(entry->vertexDeclaration); in applyDeclaration()
240 HRESULT result = device->CreateVertexDeclaration(elements, &lastCache->vertexDeclaration); in applyDeclaration()
244 device->SetVertexDeclaration(lastCache->vertexDeclaration); in applyDeclaration()
47 applyDeclaration( const gl::Context *context, IDirect3DDevice9 *device, const std::vector<TranslatedAttribute> &attributes, gl::Program *program, GLint start, GLsizei instances, GLsizei *repeatDraw) applyDeclaration() argument
/third_party/skia/third_party/externals/dawn/src/dawn_native/
H A DDawnNative.cpp34 std::vector<const char*> GetTogglesUsed(WGPUDevice device) { in GetTogglesUsed() argument
35 return FromAPI(device)->GetTogglesUsed(); in GetTogglesUsed()
201 size_t GetLazyClearCountForTesting(WGPUDevice device) { in GetLazyClearCountForTesting() argument
202 return FromAPI(device)->GetLazyClearCountForTesting(); in GetLazyClearCountForTesting()
205 size_t GetDeprecationWarningCountForTesting(WGPUDevice device) { in GetDeprecationWarningCountForTesting() argument
206 return FromAPI(device)->GetDeprecationWarningCountForTesting(); in GetDeprecationWarningCountForTesting()
229 DAWN_NATIVE_EXPORT bool DeviceTick(WGPUDevice device) { in DeviceTick() argument
230 return FromAPI(device)->APITick(); in DeviceTick()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DPrimitiveStateTests.cpp34 renderTarget = device.CreateTexture(&renderTargetDescriptor);
43 depthTexture = device.CreateTexture(&depthDescriptor);
47 vsModule = utils::CreateShaderModule(device, R"(
58 fsModule = utils::CreateShaderModule(device, R"(
89 wgpu::CommandEncoder encoder = device.CreateCommandEncoder(); in DoTest()
108 wgpu::Buffer buffer = utils::CreateBufferFromData(device, &data, sizeof(TriangleData), in DoTest()
122 wgpu::RenderPipeline pipeline = device.CreateRenderPipeline(&descriptor); in DoTest()
126 device, pipeline.GetBindGroupLayout(0), {{0, buffer}}); in DoTest()
/kernel/linux/linux-5.10/fs/btrfs/
H A Dsysfs.c835 str = "device add\n"; in btrfs_exclusive_operation_show()
838 str = "device remove\n"; in btrfs_exclusive_operation_show()
841 str = "device replace\n"; in btrfs_exclusive_operation_show()
986 struct btrfs_device *device; in btrfs_sysfs_remove_fs_devices() local
989 list_for_each_entry(device, &fs_devices->devices, dev_list) in btrfs_sysfs_remove_fs_devices()
990 btrfs_sysfs_remove_device(device); in btrfs_sysfs_remove_fs_devices()
993 list_for_each_entry(device, &seed->devices, dev_list) in btrfs_sysfs_remove_fs_devices()
994 btrfs_sysfs_remove_device(device); in btrfs_sysfs_remove_fs_devices()
1233 void btrfs_sysfs_remove_device(struct btrfs_device *device) in btrfs_sysfs_remove_device() argument
1243 devices_kobj = device in btrfs_sysfs_remove_device()
1264 struct btrfs_device *device = container_of(kobj, struct btrfs_device, btrfs_devinfo_in_fs_metadata_show() local
1277 struct btrfs_device *device = container_of(kobj, struct btrfs_device, btrfs_devinfo_missing_show() local
1291 struct btrfs_device *device = container_of(kobj, struct btrfs_device, btrfs_devinfo_replace_target_show() local
1304 struct btrfs_device *device = container_of(kobj, struct btrfs_device, btrfs_devinfo_writeable_show() local
1324 struct btrfs_device *device = container_of(kobj, struct btrfs_device, btrfs_release_devid_kobj() local
1337 btrfs_sysfs_add_device(struct btrfs_device *device) btrfs_sysfs_add_device() argument
1389 struct btrfs_device *device; btrfs_sysfs_add_fs_devices() local
1439 btrfs_sysfs_update_devid(struct btrfs_device *device) btrfs_sysfs_update_devid() argument
[all...]
/kernel/linux/linux-6.6/drivers/scsi/
H A Dscsi_error.c127 struct scsi_device *sdev = cmd->device; in scsi_eh_should_retry_cmd()
151 struct scsi_device *sdev = scmd->device; in scmd_eh_abort_handler()
230 struct scsi_device *sdev = scmd->device; in scsi_abort_command()
284 struct Scsi_Host *shost = scmd->device->host; in scsi_eh_inc_host_failed()
300 struct Scsi_Host *shost = scmd->device->host; in scsi_eh_scmd_add()
337 struct Scsi_Host *host = scmd->device->host; in scsi_timeout()
342 atomic_inc(&scmd->device->iotmo_cnt); in scsi_timeout()
363 atomic_inc(&scmd->device->iodone_cnt); in scsi_timeout()
378 * see whether the host or the device is offline.
413 if (scmd->device in scsi_eh_prt_fail_stats()
[all...]
/kernel/linux/linux-5.10/drivers/dma/ppc4xx/
H A Dadma.c60 [PPC_ADMA_INIT_REGISTER] = "failed to register dma async device",
135 switch (chan->device->id) { in print_cb()
145 cdb, chan->device->id, in print_cb()
159 cb, chan->device->id, in print_cb()
236 switch (chan->device->id) { in ppc440spe_desc_init_interrupt()
250 printk(KERN_ERR "Unsupported id %d in %s\n", chan->device->id, in ppc440spe_desc_init_interrupt()
531 switch (chan->device->id) { in ppc440spe_desc_set_src_addr()
565 switch (chan->device->id) { in ppc440spe_desc_set_src_mult()
613 switch (chan->device->id) { in ppc440spe_desc_set_dest_addr()
651 switch (chan->device in ppc440spe_desc_set_byte_count()
[all...]
/kernel/linux/linux-6.6/drivers/dma/ppc4xx/
H A Dadma.c60 [PPC_ADMA_INIT_REGISTER] = "failed to register dma async device",
135 switch (chan->device->id) { in print_cb()
145 cdb, chan->device->id, in print_cb()
159 cb, chan->device->id, in print_cb()
236 switch (chan->device->id) { in ppc440spe_desc_init_interrupt()
250 printk(KERN_ERR "Unsupported id %d in %s\n", chan->device->id, in ppc440spe_desc_init_interrupt()
531 switch (chan->device->id) { in ppc440spe_desc_set_src_addr()
564 switch (chan->device->id) { in ppc440spe_desc_set_src_mult()
611 switch (chan->device->id) { in ppc440spe_desc_set_dest_addr()
649 switch (chan->device in ppc440spe_desc_set_byte_count()
[all...]
/drivers/hdf_core/adapter/khdf/liteos/platform/src/
H A Dspi_dev.c439 void SpiAddDev(struct SpiDev *device) in SpiAddDev() argument
441 SpiAddRemoveDev(device, true); in SpiAddDev()
444 void SpiRemoveDev(struct SpiDev *device) in SpiRemoveDev() argument
446 SpiAddRemoveDev(device, false); in SpiRemoveDev()
449 void SpiAddDev(struct SpiDev *device) in SpiAddDev() argument
451 if (device != NULL && device->cntlr != NULL) { in SpiAddDev()
452 HDF_LOGE("SpiAddDev: add /dev/spidev%d.%d error", device->csNum, device->cntlr->busNum); in SpiAddDev()
457 void SpiRemoveDev(struct SpiDev *device) in SpiRemoveDev() argument
[all...]
/drivers/hdf_core/framework/model/display/driver/backlight/
H A Dhdf_bl.c28 typedef int32_t (*BlCmdHandle)(struct HdfDeviceObject *device,
96 HDF_LOGE("%s: number of backlight device registrations exceeded", __func__); in RegisterBlDev()
299 static int32_t HdfGetMinBrightness(struct HdfDeviceObject *device, in HdfGetMinBrightness() argument
302 (void)device; in HdfGetMinBrightness()
306 static int32_t HdfGetCurrBrightness(struct HdfDeviceObject *device, in HdfGetCurrBrightness() argument
309 (void)device; in HdfGetCurrBrightness()
313 static int32_t HdfGetDefBrightness(struct HdfDeviceObject *device, in HdfGetDefBrightness() argument
316 (void)device; in HdfGetDefBrightness()
320 static int32_t HdfGetMaxBrightness(struct HdfDeviceObject *device, in HdfGetMaxBrightness() argument
323 (void)device; in HdfGetMaxBrightness()
327 HdfSetBrightness(struct HdfDeviceObject *device, struct HdfSBuf *reqData, struct HdfSBuf *rspData) HdfSetBrightness() argument
354 HdfGetBlDevList(struct HdfDeviceObject *device, struct HdfSBuf *reqData, struct HdfSBuf *rspData) HdfGetBlDevList() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/mmu/
H A Dvmmgf100.c183 struct nvkm_device *device = vmm->mmu->subdev.device; in gf100_vmm_invalidate_pdb() local
184 nvkm_wr32(device, 0x100cb8, addr); in gf100_vmm_invalidate_pdb()
191 struct nvkm_device *device = subdev->device; in gf100_vmm_invalidate() local
199 nvkm_msec(device, 2000, in gf100_vmm_invalidate()
200 if (nvkm_rd32(device, 0x100c80) & 0x00ff0000) in gf100_vmm_invalidate()
218 nvkm_wr32(device, 0x100cbc, 0x80000000 | type); in gf100_vmm_invalidate()
221 nvkm_msec(device, 2000, in gf100_vmm_invalidate()
222 if (nvkm_rd32(device, in gf100_vmm_invalidate()
248 struct nvkm_device *device = vmm->mmu->subdev.device; gf100_vmm_valid() local
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dda9052-hwmon.c85 static ssize_t da9052_vddout_show(struct device *dev, in da9052_vddout_show()
117 static ssize_t da9052_ich_show(struct device *dev, in da9052_ich_show()
131 static ssize_t da9052_tbat_show(struct device *dev, in da9052_tbat_show()
139 static ssize_t da9052_vbat_show(struct device *dev, in da9052_vbat_show()
152 static ssize_t da9052_misc_channel_show(struct device *dev, in da9052_misc_channel_show()
221 static ssize_t __da9052_read_tsi(struct device *dev, int channel) in __da9052_read_tsi()
240 static ssize_t da9052_tsi_show(struct device *dev, in da9052_tsi_show()
257 static ssize_t da9052_tjunc_show(struct device *dev, in da9052_tjunc_show()
279 static ssize_t da9052_vbbat_show(struct device *dev, in da9052_vbbat_show()
292 static ssize_t label_show(struct device *de
[all...]
/kernel/linux/linux-5.10/drivers/of/
H A Dirq.c13 * device tree to actual irq numbers on an interrupt controller
19 #include <linux/device.h>
30 * @dev: Device node of the device whose interrupt is to be mapped
48 * of_irq_find_parent - Given a device node, find its interrupt parent node
49 * @child: pointer to device node
81 * @addr: address specifier (start of "reg" property of the device) in be32 format
86 * properties, for example when resolving PCI interrupts when no device
130 * trick of looking for the parent here as some device-trees rely on it in of_irq_parse_raw()
277 * of_irq_parse_one - Resolve an interrupt for a device
278 * @device
286 of_irq_parse_one(struct device_node *device, int index, struct of_phandle_args *out_irq) of_irq_parse_one() argument
[all...]
/kernel/linux/linux-5.10/include/scsi/
H A Dscsi_transport_iscsi.h13 #include <linux/device.h>
219 struct device dev; /* sysfs transport/container device */
276 struct device dev; /* sysfs transport/container device */
307 struct device dev;
313 struct device dev;
331 struct device dev; /* sysfs transport/container device */
378 struct device de
[all...]
/kernel/linux/linux-5.10/drivers/platform/chrome/
H A Dcros_ec_lightbar.c8 #include <linux/device.h>
31 static ssize_t interval_msec_show(struct device *dev, in interval_msec_show()
39 static ssize_t interval_msec_store(struct device *dev, in interval_msec_store()
156 static ssize_t version_show(struct device *dev, in version_show()
174 static ssize_t brightness_store(struct device *dev, in brightness_store()
216 static ssize_t led_rgb_store(struct device *dev, struct device_attribute *attr, in led_rgb_store()
283 static ssize_t sequence_show(struct device *dev, in sequence_show()
379 static ssize_t sequence_store(struct device *dev, struct device_attribute *attr, in sequence_store()
423 static ssize_t program_store(struct device *dev, struct device_attribute *attr, in program_store()
481 static ssize_t userspace_control_show(struct device *de
[all...]
/kernel/linux/linux-5.10/drivers/rpmsg/
H A Drpmsg_core.c25 * @rpdev: rpmsg channel device
98 * device destination addresses.
291 static int rpmsg_device_match(struct device *dev, void *data) in rpmsg_device_match()
309 struct device *rpmsg_find_device(struct device *parent, in rpmsg_find_device()
320 field##_show(struct device *dev, \
331 field##_store(struct device *dev, struct device_attribute *attr, \
358 field##_show(struct device *dev, \
374 static ssize_t modalias_show(struct device *dev, in modalias_show()
407 static int rpmsg_dev_match(struct device *de
[all...]
/kernel/linux/linux-5.10/drivers/staging/fbtft/
H A Dfb_agm1264k-fl.c85 dev_dbg(par->info->device, "%s()\n", __func__); in reset()
98 dev_dbg(par->info->device, in verify_gpios()
102 dev_err(par->info->device, in verify_gpios()
108 dev_err(par->info->device, in verify_gpios()
115 dev_err(par->info->device, in verify_gpios()
120 dev_err(par->info->device, in verify_gpios()
125 dev_err(par->info->device, in verify_gpios()
136 dev_dbg(par->info->device, in request_gpios_match()
179 fbtft_par_dbg_hex(DEBUG_WRITE_REGISTER, par, par->info->device, in write_reg8_bus8()
189 dev_err(par->info->device, in write_reg8_bus8()
[all...]
/kernel/linux/linux-6.6/drivers/misc/
H A Dsmpro-errmon.c211 static ssize_t smpro_event_data_read(struct device *dev, in smpro_event_data_read()
229 static ssize_t smpro_overflow_data_read(struct device *dev, struct device_attribute *da, in smpro_overflow_data_read()
247 static ssize_t smpro_error_data_read(struct device *dev, struct device_attribute *da, in smpro_error_data_read()
297 static ssize_t smpro_internal_err_read(struct device *dev, struct device_attribute *da, in smpro_internal_err_read()
360 static ssize_t smpro_internal_warn_read(struct device *dev, struct device_attribute *da, in smpro_internal_warn_read()
403 static ssize_t overflow_##_error##_show(struct device *dev, \
421 static ssize_t error_##_error##_show(struct device *dev, \
438 static ssize_t error_smpro_show(struct device *dev, struct device_attribute *da, char *buf) in error_smpro_show()
444 static ssize_t error_pmpro_show(struct device *dev, struct device_attribute *da, char *buf) in error_pmpro_show()
450 static ssize_t warn_smpro_show(struct device *de
[all...]

Completed in 25 milliseconds

1...<<131132133134135136137138139140>>...1148