Home
last modified time | relevance | path

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

/linux/rust/kernel/
H A Ddevice.rs22 static_assert!(core::mem::size_of::<bindings::driver_type>() >= core::mem::size_of::<TypeId>());
211 let driver_type = unsafe { &raw mut (*private).driver_type }; in set_type_id() localVariable
215 driver_type in set_type_id()
296 let driver_type = unsafe { &raw mut (*private).driver_type }; in match_type_id() localVariable
301 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.c556 if (chip->driver_type == AZX_DRIVER_SKL) { in hda_intel_init_chip()
562 if (chip->driver_type == AZX_DRIVER_SKL) { in hda_intel_init_chip()
657 if (chip->driver_type == AZX_DRIVER_LOONGSON) in azx_position_ok()
1080 if (chip->driver_type == AZX_DRIVER_SKL) in azx_freeze_noirq()
1094 if (chip->driver_type == AZX_DRIVER_SKL) in azx_thaw_noirq()
1546 if (chip->driver_type == AZX_DRIVER_VIA) { in check_position_fix()
1558 if (chip->driver_type == AZX_DRIVER_SKL) { in check_position_fix()
1700 chip->driver_type == AZX_DRIVER_VIA) { in azx_check_snoop_available()
1718 if (chip->driver_type != AZX_DRIVER_CMEDIA) in azx_check_snoop_available()
1742 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/media/rc/
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/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.c1853 int driver_type = 0; in iommu_get_default_domain_type() local
1866 driver_type = IOMMU_DOMAIN_IDENTITY; in iommu_get_default_domain_type()
1870 driver_type = iommu_get_def_domain_type(group, gdev->dev, in iommu_get_default_domain_type()
1871 driver_type); in iommu_get_default_domain_type()
1890 if (WARN_ON(driver_type == IOMMU_DOMAIN_DMA)) in iommu_get_default_domain_type()
1892 if (!driver_type) in iommu_get_default_domain_type()
1893 driver_type = IOMMU_DOMAIN_IDENTITY; in iommu_get_default_domain_type()
1897 if (driver_type && driver_type != IOMMU_DOMAIN_DMA) { in iommu_get_default_domain_type()
1901 group->id, iommu_domain_type_str(driver_type)); in iommu_get_default_domain_type()
1904 driver_type = IOMMU_DOMAIN_DMA; in iommu_get_default_domain_type()
[all …]
/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/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()