Home
last modified time | relevance | path

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

12

/Linux-v5.15/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-v5.15/drivers/regulator/
Dtps80031-regulator.c76 u8 device_flags; member
153 int volt_index = ri->device_flags & 0x3; in tps80031_dcdc_list_voltage()
234 (ri->device_flags & TRACK_MODE_ENABLE)) { in tps80031_ldo_list_voltage()
258 (ri->device_flags & TRACK_MODE_ENABLE)) { in tps80031_ldo_map_voltage()
625 ri->device_flags = smps_mult & BIT(5) ? TRACK_MODE_ENABLE : 0; in check_smps_mode_mult()
627 if (ri->device_flags & TRACK_MODE_ENABLE) { in check_smps_mode_mult()
638 ri->device_flags = (smps_offset & mult_offset) ? DCDC_OFFSET_EN : 0; in check_smps_mode_mult()
639 ri->device_flags |= (smps_mult & mult_offset) ? DCDC_EXTENDED_EN : 0; in check_smps_mode_mult()
640 switch (ri->device_flags) { in check_smps_mode_mult()
/Linux-v5.15/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
/Linux-v5.15/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.c117 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) in gfar_gstrings()
139 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) { in gfar_fill_stats()
153 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) in gfar_sset_count()
258 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_COALESCE)) in gfar_gcoalesce()
292 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_COALESCE)) in gfar_scoalesce()
1454 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_TIMER)) { in gfar_get_ts_info()
Dgianfar.h1142 u32 device_flags; member
/Linux-v5.15/drivers/usb/serial/
Dmos7840.c1467 unsigned long device_flags = id->driver_info; in mos7840_probe() local
1471 if (device_flags) in mos7840_probe()
1484 device_flags = MCS_PORTS(4); in mos7840_probe()
1486 device_flags = MCS_PORTS(1) | MCS_LED; in mos7840_probe()
1488 device_flags = MCS_PORTS(2); in mos7840_probe()
1492 usb_set_serial_data(serial, (void *)device_flags); in mos7840_probe()
1500 unsigned long device_flags = (unsigned long)usb_get_serial_data(serial); in mos7840_calc_num_ports() local
1501 int num_ports = MCS_PORTS(device_flags); in mos7840_calc_num_ports()
1534 unsigned long device_flags = (unsigned long)usb_get_serial_data(serial); in mos7840_port_probe() local
1686 mos7840_port->has_led = device_flags & MCS_LED; in mos7840_port_probe()
Doption.c2143 static bool iface_is_reserved(unsigned long device_flags, u8 ifnum) in iface_is_reserved() argument
2148 return device_flags & RSVD(ifnum); in iface_is_reserved()
2156 unsigned long device_flags = id->driver_info; in option_probe() local
2167 if (iface_is_reserved(device_flags, iface_desc->bInterfaceNumber)) in option_probe()
2174 if (device_flags & NUMEP2 && iface_desc->bNumEndpoints != 2) in option_probe()
2178 usb_set_serial_data(serial, (void *)device_flags); in option_probe()
2183 static bool iface_no_modem_control(unsigned long device_flags, u8 ifnum) in iface_no_modem_control() argument
2188 return device_flags & NCTRL(ifnum); in iface_no_modem_control()
2195 unsigned long device_flags; in option_attach() local
2202 device_flags = (unsigned long)usb_get_serial_data(serial); in option_attach()
[all …]
/Linux-v5.15/include/linux/
Dfs_enet_pd.h134 u32 device_flags; member
/Linux-v5.15/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-v5.15/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()
986 qpti->dev_param[tgt].device_flags |= 0x10; in qlogicpti_slave_configure()
993 qpti->dev_param[tgt].device_flags |= 0x20; in qlogicpti_slave_configure()
997 param[2] = (qpti->dev_param[tgt].device_flags << 8); in qlogicpti_slave_configure()
998 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
Ddpt_i2o.c3145 if(d->lct_data.device_flags&(1<<0)) in adpt_i2o_report_hba_unit()
3147 if(d->lct_data.device_flags&(1<<1)) in adpt_i2o_report_hba_unit()
3149 if(!(d->lct_data.device_flags&(1<<4))) in adpt_i2o_report_hba_unit()
3151 if(!(d->lct_data.device_flags&(1<<5))) in adpt_i2o_report_hba_unit()
Dhpsa.c4190 if ((rle->device_flags & 0x08) && dev->ioaccel_handle) in hpsa_get_ioaccel_drive_info()
4218 if ((rle->device_flags & 0x08) && this_device->ioaccel_handle) in hpsa_get_path_info()
4293 u8 device_flags; in hpsa_skip_device() local
4299 device_flags = rle->device_flags; in hpsa_skip_device()
4302 if (device_flags & RPL_DEV_FLAG_NON_DISK) { in hpsa_skip_device()
4308 if (!(device_flags & RPL_DEV_FLAG_UNCONFIG_DISK_REPORTING_SUPPORTED)) in hpsa_skip_device()
4311 if (device_flags & RPL_DEV_FLAG_UNCONFIG_DISK) in hpsa_skip_device()
/Linux-v5.15/include/linux/usb/
Drndis_host.h89 __le32 device_flags; member
/Linux-v5.15/include/uapi/linux/
Di2o-dev.h206 __u32 device_flags; member
/Linux-v5.15/include/acpi/
Dactbl3.h346 u8 device_flags; member
/Linux-v5.15/drivers/scsi/qla2xxx/
Dqla_mr.c61 if (vha->device_flags & DFLG_DEV_FAILED) { in qlafx00_mailbox_command()
1468 if ((vha->device_flags & DFLG_NO_CABLE)) in qlafx00_rescan_isp()
1618 if (vha->device_flags & DFLG_DEV_FAILED) { in qlafx00_reset_initialize()
1739 vha->device_flags |= DFLG_NO_CABLE; in qlafx00_process_aen()
2030 vha->device_flags = DFLG_NO_CABLE; in qlafx00_initialize_adapter()
Dqla_init.c2341 vha->device_flags = DFLG_NO_CABLE; in qla2x00_initialize_adapter()
4500 vha->device_flags &= ~DFLG_NO_CABLE; in qla2x00_fw_ready()
4551 vha->device_flags |= DFLG_NO_CABLE; in qla2x00_fw_ready()
4573 if (rval && !(vha->device_flags & DFLG_NO_CABLE)) { in qla2x00_fw_ready()
5886 vha->device_flags &= ~SWITCH_FOUND; in qla2x00_configure_fabric()
5889 vha->device_flags |= SWITCH_FOUND; in qla2x00_configure_fabric()
6586 if (!(ha->device_flags & DFLG_NO_CABLE)) { in qla2x00_perform_loop_resync()
6851 if (vha->device_flags & DFLG_DEV_FAILED) { in qla83xx_nic_core_reset()
7352 return vha->device_flags & DFLG_NO_CABLE ? 0 : status; in qla2x00_restart_isp()
8986 if ((vha->device_flags & DFLG_NO_CABLE)) in qla82xx_restart_isp()
Dqla_isr.c1234 vha->device_flags |= DFLG_DEV_FAILED; in qla2x00_async_event()
1248 vha->device_flags |= DFLG_DEV_FAILED; in qla2x00_async_event()
1371 vha->device_flags |= DFLG_NO_CABLE; in qla2x00_async_event()
1543 vha->device_flags |= DFLG_NO_CABLE; in qla2x00_async_event()

12