Home
last modified time | relevance | path

Searched refs:driver_type (Results 1 – 18 of 18) 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 Drc-main.c1136 if (dev->driver_type == RC_DRIVER_IR_RAW) in show_protocols()
1307 if (dev->driver_type == RC_DRIVER_IR_RAW) in store_protocols()
1732 dev->driver_type = type; in rc_allocate_device()
1805 if (dev->driver_type == RC_DRIVER_SCANCODE && !dev->change_protocol) in rc_prepare_rx_device()
1808 if (dev->driver_type == RC_DRIVER_IR_RAW) in rc_prepare_rx_device()
1910 if (dev->driver_type == RC_DRIVER_SCANCODE && !dev->change_protocol) in rc_register_device()
1912 else if (dev->driver_type != RC_DRIVER_IR_RAW_TX) in rc_register_device()
1920 if (dev->driver_type == RC_DRIVER_IR_RAW) { in rc_register_device()
1926 if (dev->driver_type != RC_DRIVER_IR_RAW_TX) { in rc_register_device()
1955 if (dev->driver_type != RC_DRIVER_IR_RAW_TX) { in rc_register_device()
[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.rs26 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
219 driver_type in set_type_id()
302 let driver_type = unsafe { &raw mut (*private).driver_type }; in match_type_id() localVariable
307 let type_id = unsafe { driver_type.cast::<TypeId>().read_unaligned() }; in match_type_id()
/linux/drivers/base/
H A Dbase.h92 struct driver_type { struct
133 struct driver_type driver_type; member
/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()
1083 if (chip->driver_type == AZX_DRIVER_SKL) in azx_freeze_noirq()
1097 if (chip->driver_type == AZX_DRIVER_SKL) in azx_thaw_noirq()
1549 if (chip->driver_type == AZX_DRIVER_VIA) { in check_position_fix()
1561 if (chip->driver_type == AZX_DRIVER_SKL) { in check_position_fix()
1703 chip->driver_type == AZX_DRIVER_VIA) { in azx_check_snoop_available()
1721 if (chip->driver_type != AZX_DRIVER_CMEDIA) in azx_check_snoop_available()
1745 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/iommu/
H A Diommu.c1863 int driver_type = 0; in iommu_get_default_domain_type() local
1876 driver_type = IOMMU_DOMAIN_IDENTITY; in iommu_get_default_domain_type()
1880 driver_type = iommu_get_def_domain_type(group, gdev->dev, in iommu_get_default_domain_type()
1881 driver_type); in iommu_get_default_domain_type()
1900 if (WARN_ON(driver_type == IOMMU_DOMAIN_DMA)) in iommu_get_default_domain_type()
1902 if (!driver_type) in iommu_get_default_domain_type()
1903 driver_type = IOMMU_DOMAIN_IDENTITY; in iommu_get_default_domain_type()
1907 if (driver_type && driver_type != IOMMU_DOMAIN_DMA) { in iommu_get_default_domain_type()
1911 group->id, iommu_domain_type_str(driver_type)); in iommu_get_default_domain_type()
1914 driver_type = IOMMU_DOMAIN_DMA; in iommu_get_default_domain_type()
[all …]
/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/sound/hda/common/
H A Dhda_controller.h103 int driver_type; member
/linux/drivers/media/usb/dvb-usb/
H A Ddvb-usb-remote.c274 dev = rc_allocate_device(d->props.rc.core.driver_type); in rc_core_dvb_usb_remote_init()
/linux/drivers/media/pci/cx88/
H A Dcx88-input.c483 dev->driver_type = RC_DRIVER_SCANCODE; in cx88_ir_init()
/linux/drivers/media/pci/saa7134/
H A Dsaa7134-input.c796 rc->driver_type = RC_DRIVER_IR_RAW; in saa7134_input_init1()
/linux/drivers/media/usb/dvb-usb-v2/
H A Ddvb_usb_core.c137 dev = rc_allocate_device(d->rc.driver_type); in dvb_usbv2_remote_init()