Home
last modified time | relevance | path

Searched refs:driver_type (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/media/rc/
H A Dlirc_dev.c145 if (dev->driver_type == RC_DRIVER_IR_RAW) { in lirc_open()
152 if (dev->driver_type != RC_DRIVER_IR_RAW_TX) { in lirc_open()
162 if (dev->driver_type == RC_DRIVER_SCANCODE) in lirc_open()
182 if (dev->driver_type != RC_DRIVER_IR_RAW_TX) in lirc_open()
185 if (dev->driver_type == RC_DRIVER_IR_RAW) in lirc_open()
204 if (dev->driver_type == RC_DRIVER_IR_RAW) in lirc_close()
206 if (dev->driver_type != RC_DRIVER_IR_RAW_TX) in lirc_close()
387 if (dev->driver_type == RC_DRIVER_SCANCODE) in lirc_ioctl()
390 if (dev->driver_type == RC_DRIVER_IR_RAW) { in lirc_ioctl()
423 if (dev->driver_type == RC_DRIVER_IR_RAW_TX) in lirc_ioctl()
[all …]
H A Dbpf-lirc.c144 if (rcdev->driver_type != RC_DRIVER_IR_RAW) in lirc_bpf_attach()
182 if (rcdev->driver_type != RC_DRIVER_IR_RAW) in lirc_bpf_detach()
310 if (rcdev->driver_type != RC_DRIVER_IR_RAW) { in lirc_prog_query()
H A Dmeson-ir.c223 if (ir->rc->driver_type == RC_DRIVER_IR_RAW) { in meson_ir_irq()
231 } else if (ir->rc->driver_type == RC_DRIVER_SCANCODE) { in meson_ir_irq()
489 if (ir->rc->driver_type == RC_DRIVER_IR_RAW) { in meson_ir_probe()
495 } else if (ir->rc->driver_type == RC_DRIVER_SCANCODE) { in meson_ir_probe()
517 if (ir->rc->driver_type == RC_DRIVER_IR_RAW) in meson_ir_probe()
/linux/rust/kernel/
H A Ddevice.rs25 // Assert that we can `read()` / `write()` a `TypeId` instance from / into `struct driver_type`.
26 static_assert!(core::mem::size_of::<bindings::driver_type>() >= core::mem::size_of::<TypeId>());
215 let driver_type = unsafe { &raw mut (*private).driver_type }; in set_type_id() localVariable
217 // SAFETY: `driver_type` is valid for (unaligned) writes of a `TypeId`. in set_type_id()
219 driver_type in set_type_id()
302 let driver_type = unsafe { &raw mut (*private).driver_type }; in match_type_id() localVariable
305 // - `driver_type` is valid for (unaligned) reads of a `TypeId`. in match_type_id()
306 // - A bound device guarantees that `driver_type` contain in match_type_id()
[all...]
/linux/sound/hda/controllers/
H A Dintel.c559 if (chip->driver_type == AZX_DRIVER_SKL) { in hda_intel_init_chip()
565 if (chip->driver_type == AZX_DRIVER_SKL) { in hda_intel_init_chip()
660 if (chip->driver_type == AZX_DRIVER_LOONGSON) in azx_position_ok()
1094 if (chip->driver_type == AZX_DRIVER_SKL) in azx_thaw_noirq()
1108 if (chip->driver_type == AZX_DRIVER_SKL) in azx_runtime_suspend()
1557 if (chip->driver_type == AZX_DRIVER_VIA) { in check_position_fix()
1569 if (chip->driver_type == AZX_DRIVER_SKL) { in assign_position_fix()
1711 chip->driver_type == AZX_DRIVER_VIA) { in azx_check_snoop_available()
1729 if (chip->driver_type != AZX_DRIVER_CMEDIA) in default_bdl_pos_adj()
1753 switch (chip->driver_type) { in default_bdl_pos_adj()
[all...]
H A Dacpi.c192 azx->driver_type = hda->data->flags & 0xff; in hda_acpi_create()
H A Dcix-ipbloq.c193 chip->driver_type = driver_caps & 0xff; in cix_ipbloq_hda_create()
H A Dtegra.c427 chip->driver_type = driver_caps & 0xff; in hda_tegra_create()
/linux/drivers/base/
H A Dbase.h93 struct driver_type { struct
136 struct driver_type driver_type; member
/linux/drivers/tty/ipwireless/
H A Dsetup_protocol.h86 unsigned char driver_type; member
H A Dhardware.c1480 info_packet->body.driver_type = NDISWAN_DRIVER; in __handle_setup_get_version_rsp()
/linux/drivers/iommu/
H A Diommu.c1885 int driver_type = 0; in iommu_get_default_domain_type() local
1898 driver_type = IOMMU_DOMAIN_IDENTITY; in iommu_get_default_domain_type()
1902 driver_type = iommu_get_def_domain_type(group, gdev->dev, in iommu_get_default_domain_type()
1903 driver_type); in iommu_get_default_domain_type()
1922 if (WARN_ON(driver_type == IOMMU_DOMAIN_DMA)) in iommu_get_default_domain_type()
1924 if (!driver_type) in iommu_get_default_domain_type()
1925 driver_type = IOMMU_DOMAIN_IDENTITY; in iommu_get_default_domain_type()
1929 if (driver_type && driver_type != IOMMU_DOMAIN_DMA) { in iommu_get_default_domain_type()
1933 group->id, iommu_domain_type_str(driver_type)); in iommu_get_default_domain_type()
1936 driver_type = IOMMU_DOMAIN_DMA; in iommu_get_default_domain_type()
[all …]
/linux/sound/hda/common/
H A Dhda_controller.h104 int driver_type;
103 int driver_type; global() member