Home
last modified time | relevance | path

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

12

/linux/drivers/hid/
H A 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()
445 if (!(data->device_flags & RMI_DEVICE)) in rmi_suspend()
463 if (!(data->device_flags & RMI_DEVICE)) in rmi_post_resume()
500 if (!(data->device_flags & RMI_DEVICE)) in rmi_input_configured()
549 if (data->device_flags & RMI_DEVICE) { in rmi_input_mapping()
550 if ((data->device_flags & RMI_DEVICE_HAS_PHYS_BUTTONS) && in rmi_input_mapping()
[all …]
/linux/drivers/net/ethernet/freescale/
H A 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()
765 priv->device_flags |= FSL_GIANFAR_DEV_HAS_GIGABIT | in gfar_of_init()
771 priv->device_flags |= FSL_GIANFAR_DEV_HAS_GIGABIT | in gfar_of_init()
793 priv->device_flags |= FSL_GIANFAR_DEV_HAS_MAGIC_PACKET; in gfar_of_init()
796 priv->device_flags |= FSL_GIANFAR_DEV_HAS_WAKE_ON_FILER; in gfar_of_init()
953 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_EXTENDED_HASH) { in gfar_init_addr_hash_table()
1661 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_GIGABIT) in init_phy()
[all …]
H A Dgianfar_ethtool.c120 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) in gfar_gstrings()
143 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) { in gfar_fill_stats()
157 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) in gfar_sset_count()
262 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_COALESCE)) in gfar_gcoalesce()
296 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()
H A Dgianfar.h1139 u32 device_flags; member
/linux/drivers/scsi/aic7xxx/
H A 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 …]
H A Daic79xx.h824 uint16_t device_flags[16]; /* words 0-15 */ member
910 uint8_t device_flags; member
H A 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/drivers/usb/serial/
H A 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()
H A Doption.c2483 static bool iface_is_reserved(unsigned long device_flags, u8 ifnum) in iface_is_reserved() argument
2488 return device_flags & RSVD(ifnum); in iface_is_reserved()
2496 unsigned long device_flags = id->driver_info; in option_probe() local
2507 if (iface_is_reserved(device_flags, iface_desc->bInterfaceNumber)) in option_probe()
2514 if (device_flags & NUMEP2 && iface_desc->bNumEndpoints != 2) in option_probe()
2518 usb_set_serial_data(serial, (void *)device_flags); in option_probe()
2523 static bool iface_no_modem_control(unsigned long device_flags, u8 ifnum) in iface_no_modem_control() argument
2528 return device_flags & NCTRL(ifnum); in iface_no_modem_control()
2535 unsigned long device_flags; in option_attach() local
2542 device_flags = (unsigned long)usb_get_serial_data(serial); in option_attach()
[all …]
/linux/drivers/scsi/
H A 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()
988 qpti->dev_param[tgt].device_flags |= 0x10; in qlogicpti_sdev_configure()
995 qpti->dev_param[tgt].device_flags |= 0x20; in qlogicpti_sdev_configure()
999 param[2] = (qpti->dev_param[tgt].device_flags << 8); in qlogicpti_sdev_configure()
1000 if (qpti->dev_param[tgt].device_flags & 0x10) { in qlogicpti_sdev_configure()
H A Dqlogicpti.h310 u_short device_flags; member
H A Dhpsa_cmd.h271 u8 device_flags; member
H A Dhpsa.c4196 if ((rle->device_flags & 0x08) && dev->ioaccel_handle) in hpsa_get_ioaccel_drive_info()
4224 if ((rle->device_flags & 0x08) && this_device->ioaccel_handle) in hpsa_get_path_info()
4299 u8 device_flags; in hpsa_skip_device() local
4305 device_flags = rle->device_flags; in hpsa_skip_device()
4308 if (device_flags & RPL_DEV_FLAG_NON_DISK) { in hpsa_skip_device()
4314 if (!(device_flags & RPL_DEV_FLAG_UNCONFIG_DISK_REPORTING_SUPPORTED)) in hpsa_skip_device()
4317 if (device_flags & RPL_DEV_FLAG_UNCONFIG_DISK) in hpsa_skip_device()
/linux/drivers/media/common/siano/
H A Dsmscoreapi.c729 dev->device_flags = params->flags; in smscore_register_device()
1149 if (!(coredev->device_flags & SMS_DEVICE_FAMILY2)) in smscore_load_firmware_from_file()
1330 if (coredev->device_flags & SMS_DEVICE_FAMILY2) { in smscore_set_device_mode()
1338 if (!(coredev->device_flags & SMS_DEVICE_NOT_READY)) { in smscore_set_device_mode()
1383 coredev->device_flags &= ~SMS_DEVICE_NOT_READY; in smscore_set_device_mode()
1820 if (coredev->device_flags & SMS_DEVICE_FAMILY2) { in smscore_configure_gpio()
1971 if (!(coredev->device_flags & SMS_DEVICE_FAMILY2)) { in smscore_gpio_configure()
H A Dsmscoreapi.h166 unsigned long device_flags; member
/linux/include/linux/usb/
H A Drndis_host.h75 __le32 device_flags; member
/linux/include/uapi/linux/
H A Di2o-dev.h206 __u32 device_flags; member
/linux/include/acpi/
H A Dactbl3.h373 u8 device_flags; member
/linux/drivers/scsi/smartpqi/
H A Dsmartpqi.h974 u8 device_flags; member
984 u8 device_flags; member
/linux/drivers/scsi/qla2xxx/
H A 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()
2006 vha->device_flags = DFLG_NO_CABLE; in qlafx00_initialize_adapter()
H A Dqla_init.c2748 vha->device_flags = DFLG_NO_CABLE; in qla2x00_initialize_adapter()
4933 vha->device_flags &= ~DFLG_NO_CABLE; in qla2x00_fw_ready()
4984 vha->device_flags |= DFLG_NO_CABLE; in qla2x00_fw_ready()
5006 if (rval && !(vha->device_flags & DFLG_NO_CABLE)) { in qla2x00_fw_ready()
6331 vha->device_flags &= ~SWITCH_FOUND; in qla2x00_configure_fabric()
6334 vha->device_flags |= SWITCH_FOUND; in qla2x00_configure_fabric()
7030 if (!(ha->device_flags & DFLG_NO_CABLE)) { in qla2x00_perform_loop_resync()
7244 if (vha->device_flags & DFLG_DEV_FAILED) { in qla83xx_nic_core_reset()
7744 return vha->device_flags & DFLG_NO_CABLE ? 0 : status; in qla2x00_restart_isp()
9419 if ((vha->device_flags & DFLG_NO_CABLE)) in qla82xx_restart_isp()
H A 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()
H A Dqla_mid.c517 vha->device_flags = 0; in qla24xx_create_vhost()
H A Dqla_attr.c1168 vha->device_flags & DFLG_NO_CABLE) in qla2x00_link_state_show()
3004 if (vha->device_flags & SWITCH_FOUND) in qla2x00_get_host_fabric_name()
H A Dqla_nx.c2981 vha->device_flags |= DFLG_DEV_FAILED; in qla8xxx_dev_failed_handler()
3457 if (vha->device_flags & DFLG_DEV_FAILED) { in qla82xx_abort_isp()

12