/kernel/linux/linux-6.6/drivers/crypto/caam/ |
H A D | blob_gen.c | 10 #include <linux/device.h> 34 struct device jrdev; 42 static void caam_blob_job_done(struct device *dev, u32 *desc, u32 err, void *context) in caam_blob_job_done() 67 struct device *jrdev = &priv->jrdev; in caam_process_blob() 110 "using insecure test key, enable HAB to use unique device key!\n"); in caam_process_blob() 162 struct device *jrdev; in caam_blob_gen_init()
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | rawmidi.h | 16 #include <linux/device.h> 119 unsigned int device; /* device number */ member 138 struct device *dev; 149 int snd_rawmidi_new(struct snd_card *card, char *id, int device, 157 struct snd_card *card, char *id, int device,
|
/kernel/linux/linux-6.6/drivers/cxl/ |
H A D | port.c | 3 #include <linux/device.h> 33 static int discover_region(struct device *dev, void *root) in discover_region() 139 static int cxl_port_probe(struct device *dev) in cxl_port_probe() 152 struct device *dev = kobj_to_dev(kobj); in CDAT_read() 171 struct device *dev = kobj_to_dev(kobj); in cxl_port_bin_attr_is_visible()
|
/kernel/linux/linux-6.6/drivers/net/phy/ |
H A D | aquantia_hwmon.c | 10 #include <linux/device.h> 104 static int aqr_hwmon_read(struct device *dev, enum hwmon_sensor_types type, in aqr_hwmon_read() 157 static int aqr_hwmon_write(struct device *dev, enum hwmon_sensor_types type, in aqr_hwmon_write() 226 struct device *dev = &phydev->mdio.dev; in aqr_hwmon_probe() 227 struct device *hwmon_dev; in aqr_hwmon_probe()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/ |
H A D | am65-cpsw-nuss.h | 72 struct device *dma_dev; 86 struct device *dev; 87 struct device *dma_dev; 114 struct device *dev; 115 struct device *mdio_dev;
|
/kernel/linux/linux-6.6/drivers/media/pci/bt8xx/ |
H A D | bttv-gpio.c | 22 #include <linux/device.h> 31 static int bttv_sub_bus_match(struct device *dev, struct device_driver *drv) in bttv_sub_bus_match() 41 static int bttv_sub_probe(struct device *dev) in bttv_sub_probe() 49 static void bttv_sub_remove(struct device *dev) in bttv_sub_remove() 65 static void release_sub_device(struct device *dev) in release_sub_device()
|
/kernel/linux/linux-6.6/drivers/iio/trigger/ |
H A D | iio-trig-sysfs.c | 27 static ssize_t iio_sysfs_trig_add(struct device *dev, in iio_sysfs_trig_add() 46 static ssize_t iio_sysfs_trig_remove(struct device *dev, in iio_sysfs_trig_remove() 82 static void iio_trigger_sysfs_release(struct device *dev) in iio_trigger_sysfs_release() 86 static struct device iio_sysfs_trig_dev = { 100 static ssize_t iio_sysfs_trigger_poll(struct device *dev, in iio_sysfs_trigger_poll()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/fault/ |
H A D | base.c | 75 struct nvkm_device *device = subdev->device; in nvkm_fault_oneinit_buffer() local 88 ret = nvkm_memory_new(device, NVKM_MEM_TARGET_INST, buffer->entries * in nvkm_fault_oneinit_buffer() 155 nvkm_fault_new_(const struct nvkm_fault_func *func, struct nvkm_device *device, in nvkm_fault_new_() argument 161 nvkm_subdev_ctor(&nvkm_fault, device, type, inst, &fault->subdev); in nvkm_fault_new_()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | ramht.c | 82 if (ramht->device->card_type >= NV_50) in nvkm_ramht_update() 141 nvkm_ramht_new(struct nvkm_device *device, u32 size, u32 align, in nvkm_ramht_new() argument 150 ramht->device = device; in nvkm_ramht_new() 157 ret = nvkm_gpuobj_new(ramht->device, size, align, true, in nvkm_ramht_new()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/subdev/bus/ |
H A D | hwsq.c | 67 struct nvkm_bus *bus = subdev->device->bus; in nvkm_hwsq_fini() 138 struct nvkm_device *device = subdev->device; in nvkm_hwsq_wait_vblank() local 142 heads = nvkm_rd32(device, 0x610050); in nvkm_hwsq_wait_vblank() 146 x = nvkm_rd32(device, 0x610b40 + (0x540 * i)); in nvkm_hwsq_wait_vblank()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | nsa320-hwmon.c | 63 * margin. (The single device tested became unreliable if the 66 static s32 nsa320_hwmon_update(struct device *dev) in nsa320_hwmon_update() 107 static ssize_t label_show(struct device *dev, struct device_attribute *attr, in label_show() 115 static ssize_t temp1_input_show(struct device *dev, in temp1_input_show() 126 static ssize_t fan1_input_show(struct device *dev, in fan1_input_show() 160 struct device *classdev; in nsa320_hwmon_probe()
|
H A D | adm1177.c | 9 #include <linux/device.h> 71 static int adm1177_read(struct device *dev, enum hwmon_sensor_types type, in adm1177_read() 121 static int adm1177_write(struct device *dev, enum hwmon_sensor_types type, in adm1177_write() 192 struct device *dev = &client->dev; in adm1177_probe() 193 struct device *hwmon_dev; in adm1177_probe()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/vboxvideo/ |
H A D | vbox_drv.c | 114 static int vbox_pm_suspend(struct device *dev) in vbox_pm_suspend() 131 static int vbox_pm_resume(struct device *dev) in vbox_pm_resume() 142 static int vbox_pm_freeze(struct device *dev) in vbox_pm_freeze() 149 static int vbox_pm_thaw(struct device *dev) in vbox_pm_thaw() 156 static int vbox_pm_poweroff(struct device *dev) in vbox_pm_poweroff()
|
/kernel/linux/linux-6.6/sound/soc/amd/acp/ |
H A D | acp-pdm.c | 32 struct device *dev = dai->component->dev; in acp_dmic_prepare() 62 struct device *dev = dai->component->dev; in acp_dmic_dai_trigger() 106 struct device *dev = dai->component->dev; in acp_dmic_hwparams() 142 struct device *dev = dai->component->dev; in acp_dmic_dai_startup() 162 struct device *dev = dai->component->dev; in acp_dmic_dai_shutdown()
|
/kernel/linux/linux-6.6/sound/aoa/soundbus/ |
H A D | core.c | 17 struct device *tmp; in soundbus_dev_get() 36 static int soundbus_probe(struct device *dev) in soundbus_probe() 58 static int soundbus_uevent(const struct device *dev, struct kobj_uevent_env *env) in soundbus_uevent() 107 static void soundbus_device_remove(struct device *dev) in soundbus_device_remove() 117 static void soundbus_device_shutdown(struct device *dev) in soundbus_device_shutdown() 146 printk(KERN_ERR "soundbus: adding device failed sanity check!\n"); in soundbus_add_one()
|
/kernel/linux/linux-6.6/sound/firewire/digi00x/ |
H A D | digi00x.c | 39 dev_name(&dg00x->unit->device), 100 << fw_dev->max_speed); in name_card() 61 err = snd_card_new(&unit->device, -1, NULL, THIS_MODULE, sizeof(*dg00x), &card); in snd_dg00x_probe() 68 dev_set_drvdata(&unit->device, dg00x); in snd_dg00x_probe() 115 struct snd_dg00x *dg00x = dev_get_drvdata(&unit->device); in snd_dg00x_update() 126 struct snd_dg00x *dg00x = dev_get_drvdata(&unit->device); in snd_dg00x_remove()
|
/kernel/linux/linux-6.6/sound/firewire/motu/ |
H A D | motu.c | 51 dev_name(&motu->unit->device), 100 << fw_dev->max_speed); in name_card() 71 err = snd_card_new(&unit->device, -1, NULL, THIS_MODULE, sizeof(*motu), &card); in motu_probe() 78 dev_set_drvdata(&unit->device, motu); in motu_probe() 137 struct snd_motu *motu = dev_get_drvdata(&unit->device); in motu_remove() 145 struct snd_motu *motu = dev_get_drvdata(&unit->device); in motu_bus_update()
|
/kernel/linux/linux-6.6/sound/soc/mediatek/mt8186/ |
H A D | mt8186-afe-gpio.c | 71 int mt8186_afe_gpio_init(struct device *dev) in mt8186_afe_gpio_init() 105 static int mt8186_afe_gpio_select(struct device *dev, in mt8186_afe_gpio_select() 133 static int mt8186_afe_gpio_adda_dl(struct device *dev, bool enable) in mt8186_afe_gpio_adda_dl() 166 static int mt8186_afe_gpio_adda_ul(struct device *dev, bool enable) in mt8186_afe_gpio_adda_ul() 199 int mt8186_afe_gpio_request(struct device *dev, bool enable, in mt8186_afe_gpio_request()
|
/test/xts/hats/hdf/external_device_manager/bus_extension_usb/src/ |
H A D | usb_subscriber_test.cpp | 64 int32_t OnDeviceAdd(std::shared_ptr<DeviceInfo> device) override 66 this->devInfoMap[device->devInfo_.deviceId] = device; 69 int32_t OnDeviceRemove(std::shared_ptr<DeviceInfo> device) override 71 this->devInfoMap.erase(device->devInfo_.deviceId);
|
/third_party/ffmpeg/libavfilter/ |
H A D | vulkan_filter.c | 22 AVBufferRef *device) in vulkan_filter_set_device() 28 s->device_ref = av_buffer_ref(device); in vulkan_filter_set_device() 32 s->device = (AVHWDeviceContext*)s->device_ref->data; in vulkan_filter_set_device() 33 s->hwctx = s->device->hwctx; in vulkan_filter_set_device() 66 /* Extract the device and default output format from the first input. */ in ff_vk_filter_config_input() 84 err = ff_vk_load_functions(s->device, &s->vkfn, s->extensions, 1, 1); in ff_vk_filter_config_input() 114 "Vulkan device.\n"); in ff_vk_filter_config_output_inplace() 146 "Vulkan device.\n"); in ff_vk_filter_config_output() 21 vulkan_filter_set_device(AVFilterContext *avctx, AVBufferRef *device) vulkan_filter_set_device() argument
|
/third_party/alsa-lib/src/hwdep/ |
H A D | hwdep_hw.c | 106 int snd_hwdep_hw_open(snd_hwdep_t **handle, const char *name, int card, int device, int mode) in snd_hwdep_hw_open() argument 117 sprintf(filename, SNDRV_FILE_HWDEP, card, device); in snd_hwdep_hw_open() 153 long card = -1, device = 0; in _snd_hwdep_hw_open() local 169 if (strcmp(id, "device") == 0) { in _snd_hwdep_hw_open() 170 err = snd_config_get_integer(n, &device); in _snd_hwdep_hw_open() 180 return snd_hwdep_hw_open(hwdep, name, card, device, mode); in _snd_hwdep_hw_open()
|
/third_party/alsa-lib/src/control/ |
H A D | ctlparse.c | 119 unsigned int numid, index, device, subdevice; in snd_ctl_ascii_elem_id_get() local 134 device = snd_ctl_elem_id_get_device(id); in snd_ctl_ascii_elem_id_get() 141 if (device) { in snd_ctl_ascii_elem_id_get() 142 snprintf(buf1, sizeof(buf1), ",device=%u", device); in snd_ctl_ascii_elem_id_get() 234 } else if (!strncasecmp(str, "device=", 7)) { in __snd_ctl_ascii_elem_id_parse()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dvx_image.c | 33 pack_texture_shader_state_helper(struct v3dv_device *device, in pack_texture_shader_state_helper() argument 126 v3dX(pack_texture_shader_state)(struct v3dv_device *device, in pack_texture_shader_state() argument 129 pack_texture_shader_state_helper(device, iview, false); in pack_texture_shader_state() 131 pack_texture_shader_state_helper(device, iview, true); in pack_texture_shader_state() 135 v3dX(pack_texture_shader_state_from_buffer_view)(struct v3dv_device *device, in pack_texture_shader_state_from_buffer_view() argument
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkSecondaryCBDrawContext.cpp | 45 auto device = rContext->priv().createDevice(SkColorTypeToGrColorType(imageInfo.colorType()), in Make() local 51 if (!device) { in Make() 55 return sk_sp<GrVkSecondaryCBDrawContext>(new GrVkSecondaryCBDrawContext(std::move(device), in Make() 59 GrVkSecondaryCBDrawContext::GrVkSecondaryCBDrawContext(sk_sp<skgpu::BaseDevice> device, in GrVkSecondaryCBDrawContext() argument 61 : fDevice(device) in GrVkSecondaryCBDrawContext()
|
/third_party/skia/tests/ |
H A D | DeviceTest.cpp | 69 // Snap the device as a raster-backed special image 87 auto device = dContext->priv().createDevice(SkBudgeted::kNo, ii, SkBackingFit::kExact, in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() local 96 sk_sp<SkSpecialImage> special = DeviceTestingAccess::MakeSpecial(device.get(), bm); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 105 special = DeviceTestingAccess::MakeSpecial(device.get(), image.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 115 special = DeviceTestingAccess::MakeSpecial(device.get(), image.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 122 // Snap the device as a gpu-backed special image in DEF_GPUTEST_FOR_RENDERING_CONTEXTS() 123 special = DeviceTestingAccess::SnapSpecial(device.get()); in DEF_GPUTEST_FOR_RENDERING_CONTEXTS()
|