Home
last modified time | relevance | path

Searched refs:device_flags (Results 1 – 25 of 34) sorted by relevance

12

/linux-6.6.21/drivers/hid/
Dhid-rmi.c97 unsigned long device_flags; member
170 if (data->device_flags & RMI_DEVICE_OUTPUT_SET_REPORT) { in rmi_write_report()
379 if (!(hdata->device_flags & RMI_DEVICE)) in rmi_raw_event()
403 if ((data->device_flags & RMI_DEVICE) && in rmi_event()
406 if (data->device_flags & RMI_DEVICE_HAS_PHYS_BUTTONS) { in rmi_event()
446 if (!(data->device_flags & RMI_DEVICE)) in rmi_suspend()
464 if (!(data->device_flags & RMI_DEVICE)) in rmi_post_resume()
502 if (!(data->device_flags & RMI_DEVICE)) in rmi_input_configured()
551 if (data->device_flags & RMI_DEVICE) { in rmi_input_mapping()
552 if ((data->device_flags & RMI_DEVICE_HAS_PHYS_BUTTONS) && in rmi_input_mapping()
[all …]
/linux-6.6.21/drivers/scsi/aic7xxx/
Daic7770.c323 target_settings = (sc->device_flags[i] & CFXFER) << 4; in aha2840_load_seeprom()
324 if (sc->device_flags[i] & CFSYNCH) in aha2840_load_seeprom()
326 if (sc->device_flags[i] & CFWIDEB) in aha2840_load_seeprom()
328 if (sc->device_flags[i] & CFDISC) in aha2840_load_seeprom()
Daic7xxx_pci.c1422 if ((sc->device_flags[i] & CFSYNCHISULTRA) != 0) { in ahc_parse_pci_eeprom()
1434 if (sc->device_flags[i] & CFDISC) in ahc_parse_pci_eeprom()
1437 if ((sc->device_flags[i] & CFSYNCHISULTRA) != 0) in ahc_parse_pci_eeprom()
1442 if ((sc->device_flags[i] & CFXFER) == 0x04 in ahc_parse_pci_eeprom()
1445 sc->device_flags[i] &= ~CFXFER; in ahc_parse_pci_eeprom()
1451 if (sc->device_flags[i] & CFSYNCH) in ahc_parse_pci_eeprom()
1462 scsirate = (sc->device_flags[i] & CFXFER) in ahc_parse_pci_eeprom()
1464 if (sc->device_flags[i] & CFWIDEB) in ahc_parse_pci_eeprom()
1467 scsirate = (sc->device_flags[i] & CFXFER) << 4; in ahc_parse_pci_eeprom()
1468 if (sc->device_flags[i] & CFSYNCH) in ahc_parse_pci_eeprom()
[all …]
Daic79xx.h824 uint16_t device_flags[16]; /* words 0-15 */ member
910 uint8_t device_flags; member
Daic7xxx.h770 uint16_t device_flags[16]; /* words 0-15 */ member
Daic79xx_core.c7657 if (sc->device_flags[targ] & CFDISC) { in ahd_parse_cfgdata()
7665 sc->device_flags[targ] &= ~CFPACKETIZED; in ahd_parse_cfgdata()
7669 user_tinfo->period = (sc->device_flags[targ] & CFXFER); in ahd_parse_cfgdata()
7683 if ((sc->device_flags[targ] & CFPACKETIZED) != 0) { in ahd_parse_cfgdata()
7692 if ((sc->device_flags[targ] & CFQAS) != 0) in ahd_parse_cfgdata()
7695 if ((sc->device_flags[targ] & CFWIDEB) != 0) in ahd_parse_cfgdata()
/linux-6.6.21/drivers/net/ethernet/freescale/
Dgianfar.c293 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) { in gfar_get_stats64()
624 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_GIGABIT) in gfar_get_interface()
739 priv->device_flags |= FSL_GIANFAR_DEV_HAS_BD_STASHING; in gfar_of_init()
754 priv->device_flags |= FSL_GIANFAR_DEV_HAS_BUF_STASHING; in gfar_of_init()
763 priv->device_flags |= FSL_GIANFAR_DEV_HAS_GIGABIT | in gfar_of_init()
769 priv->device_flags |= FSL_GIANFAR_DEV_HAS_GIGABIT | in gfar_of_init()
791 priv->device_flags |= FSL_GIANFAR_DEV_HAS_MAGIC_PACKET; in gfar_of_init()
794 priv->device_flags |= FSL_GIANFAR_DEV_HAS_WAKE_ON_FILER; in gfar_of_init()
951 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_EXTENDED_HASH) { in gfar_init_addr_hash_table()
1659 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_GIGABIT) in init_phy()
[all …]
Dgianfar_ethtool.c119 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) in gfar_gstrings()
141 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) { in gfar_fill_stats()
155 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) in gfar_sset_count()
260 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_COALESCE)) in gfar_gcoalesce()
294 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_COALESCE)) in gfar_scoalesce()
1460 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_TIMER)) { in gfar_get_ts_info()
Dgianfar.h1139 u32 device_flags; member
/linux-6.6.21/drivers/usb/serial/
Dmos7840.c1469 unsigned long device_flags = id->driver_info; in mos7840_probe() local
1473 if (device_flags) in mos7840_probe()
1486 device_flags = MCS_PORTS(4); in mos7840_probe()
1488 device_flags = MCS_PORTS(1) | MCS_LED; in mos7840_probe()
1490 device_flags = MCS_PORTS(2); in mos7840_probe()
1494 usb_set_serial_data(serial, (void *)device_flags); in mos7840_probe()
1502 unsigned long device_flags = (unsigned long)usb_get_serial_data(serial); in mos7840_calc_num_ports() local
1503 int num_ports = MCS_PORTS(device_flags); in mos7840_calc_num_ports()
1536 unsigned long device_flags = (unsigned long)usb_get_serial_data(serial); in mos7840_port_probe() local
1688 mos7840_port->has_led = device_flags & MCS_LED; in mos7840_port_probe()
Doption.c2327 static bool iface_is_reserved(unsigned long device_flags, u8 ifnum) in iface_is_reserved() argument
2332 return device_flags & RSVD(ifnum); in iface_is_reserved()
2340 unsigned long device_flags = id->driver_info; in option_probe() local
2351 if (iface_is_reserved(device_flags, iface_desc->bInterfaceNumber)) in option_probe()
2358 if (device_flags & NUMEP2 && iface_desc->bNumEndpoints != 2) in option_probe()
2362 usb_set_serial_data(serial, (void *)device_flags); in option_probe()
2367 static bool iface_no_modem_control(unsigned long device_flags, u8 ifnum) in iface_no_modem_control() argument
2372 return device_flags & NCTRL(ifnum); in iface_no_modem_control()
2379 unsigned long device_flags; in option_attach() local
2386 device_flags = (unsigned long)usb_get_serial_data(serial); in option_attach()
[all …]
/linux-6.6.21/drivers/media/common/siano/
Dsmscoreapi.c729 dev->device_flags = params->flags; in smscore_register_device()
1151 !(coredev->device_flags & SMS_DEVICE_FAMILY2)) in smscore_load_firmware_from_file()
1169 rc = (coredev->device_flags & SMS_DEVICE_FAMILY2) ? in smscore_load_firmware_from_file()
1334 if (coredev->device_flags & SMS_DEVICE_FAMILY2) { in smscore_set_device_mode()
1342 if (!(coredev->device_flags & SMS_DEVICE_NOT_READY)) { in smscore_set_device_mode()
1388 coredev->device_flags &= ~SMS_DEVICE_NOT_READY; in smscore_set_device_mode()
1825 if (coredev->device_flags & SMS_DEVICE_FAMILY2) { in smscore_configure_gpio()
1976 if (!(coredev->device_flags & SMS_DEVICE_FAMILY2)) { in smscore_gpio_configure()
Dsmscoreapi.h167 unsigned long device_flags; member
/linux-6.6.21/drivers/scsi/
Dqlogicpti.c313 qpti->dev_param[i].device_flags = 0xcd; in qlogicpti_set_hostdev_defaults()
452 param[2] = (qpti->dev_param[i].device_flags << 8); in qlogicpti_reset_hardware()
987 qpti->dev_param[tgt].device_flags |= 0x10; in qlogicpti_slave_configure()
994 qpti->dev_param[tgt].device_flags |= 0x20; in qlogicpti_slave_configure()
998 param[2] = (qpti->dev_param[tgt].device_flags << 8); in qlogicpti_slave_configure()
999 if (qpti->dev_param[tgt].device_flags & 0x10) { in qlogicpti_slave_configure()
Dqlogicpti.h310 u_short device_flags; member
Dhpsa_cmd.h271 u8 device_flags; member
Dhpsa.c4194 if ((rle->device_flags & 0x08) && dev->ioaccel_handle) in hpsa_get_ioaccel_drive_info()
4222 if ((rle->device_flags & 0x08) && this_device->ioaccel_handle) in hpsa_get_path_info()
4297 u8 device_flags; in hpsa_skip_device() local
4303 device_flags = rle->device_flags; in hpsa_skip_device()
4306 if (device_flags & RPL_DEV_FLAG_NON_DISK) { in hpsa_skip_device()
4312 if (!(device_flags & RPL_DEV_FLAG_UNCONFIG_DISK_REPORTING_SUPPORTED)) in hpsa_skip_device()
4315 if (device_flags & RPL_DEV_FLAG_UNCONFIG_DISK) in hpsa_skip_device()
/linux-6.6.21/include/linux/usb/
Drndis_host.h75 __le32 device_flags; member
/linux-6.6.21/include/uapi/linux/
Di2o-dev.h206 __u32 device_flags; member
/linux-6.6.21/include/acpi/
Dactbl3.h353 u8 device_flags; member
/linux-6.6.21/drivers/scsi/smartpqi/
Dsmartpqi.h964 u8 device_flags; member
974 u8 device_flags; member
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_mr.c61 if (vha->device_flags & DFLG_DEV_FAILED) { in qlafx00_mailbox_command()
1445 if ((vha->device_flags & DFLG_NO_CABLE)) in qlafx00_rescan_isp()
1595 if (vha->device_flags & DFLG_DEV_FAILED) { in qlafx00_reset_initialize()
1716 vha->device_flags |= DFLG_NO_CABLE; in qlafx00_process_aen()
2008 vha->device_flags = DFLG_NO_CABLE; in qlafx00_initialize_adapter()
Dqla_init.c2698 vha->device_flags = DFLG_NO_CABLE; in qla2x00_initialize_adapter()
4902 vha->device_flags &= ~DFLG_NO_CABLE; in qla2x00_fw_ready()
4953 vha->device_flags |= DFLG_NO_CABLE; in qla2x00_fw_ready()
4975 if (rval && !(vha->device_flags & DFLG_NO_CABLE)) { in qla2x00_fw_ready()
6300 vha->device_flags &= ~SWITCH_FOUND; in qla2x00_configure_fabric()
6303 vha->device_flags |= SWITCH_FOUND; in qla2x00_configure_fabric()
7000 if (!(ha->device_flags & DFLG_NO_CABLE)) { in qla2x00_perform_loop_resync()
7214 if (vha->device_flags & DFLG_DEV_FAILED) { in qla83xx_nic_core_reset()
7721 return vha->device_flags & DFLG_NO_CABLE ? 0 : status; in qla2x00_restart_isp()
9359 if ((vha->device_flags & DFLG_NO_CABLE)) in qla82xx_restart_isp()
Dqla_isr.c1383 vha->device_flags |= DFLG_DEV_FAILED; in qla2x00_async_event()
1397 vha->device_flags |= DFLG_DEV_FAILED; in qla2x00_async_event()
1518 vha->device_flags |= DFLG_NO_CABLE; in qla2x00_async_event()
1690 vha->device_flags |= DFLG_NO_CABLE; in qla2x00_async_event()
Dqla_mid.c516 vha->device_flags = 0; in qla24xx_create_vhost()

12