Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/regulator/
Dtps80031-regulator.c91 u8 device_flags; member
168 int volt_index = ri->device_flags & 0x3; in tps80031_dcdc_list_voltage()
249 (ri->device_flags & TRACK_MODE_ENABLE)) { in tps80031_ldo_list_voltage()
273 (ri->device_flags & TRACK_MODE_ENABLE)) { in tps80031_ldo_map_voltage()
639 ri->device_flags = smps_mult & BIT(5) ? TRACK_MODE_ENABLE : 0; in check_smps_mode_mult()
641 if (ri->device_flags & TRACK_MODE_ENABLE) { in check_smps_mode_mult()
652 ri->device_flags = (smps_offset & mult_offset) ? DCDC_OFFSET_EN : 0; in check_smps_mode_mult()
653 ri->device_flags |= (smps_mult & mult_offset) ? DCDC_EXTENDED_EN : 0; in check_smps_mode_mult()
654 switch (ri->device_flags) { in check_smps_mode_mult()
/linux-4.4.14/drivers/scsi/aic7xxx/
Daic7770.c329 target_settings = (sc->device_flags[i] & CFXFER) << 4; in aha2840_load_seeprom()
330 if (sc->device_flags[i] & CFSYNCH) in aha2840_load_seeprom()
332 if (sc->device_flags[i] & CFWIDEB) in aha2840_load_seeprom()
334 if (sc->device_flags[i] & CFDISC) in aha2840_load_seeprom()
Daic7xxx_pci.c1429 if ((sc->device_flags[i] & CFSYNCHISULTRA) != 0) { in ahc_parse_pci_eeprom()
1441 if (sc->device_flags[i] & CFDISC) in ahc_parse_pci_eeprom()
1444 if ((sc->device_flags[i] & CFSYNCHISULTRA) != 0) in ahc_parse_pci_eeprom()
1449 if ((sc->device_flags[i] & CFXFER) == 0x04 in ahc_parse_pci_eeprom()
1452 sc->device_flags[i] &= ~CFXFER; in ahc_parse_pci_eeprom()
1458 if (sc->device_flags[i] & CFSYNCH) in ahc_parse_pci_eeprom()
1469 scsirate = (sc->device_flags[i] & CFXFER) in ahc_parse_pci_eeprom()
1471 if (sc->device_flags[i] & CFWIDEB) in ahc_parse_pci_eeprom()
1474 scsirate = (sc->device_flags[i] & CFXFER) << 4; in ahc_parse_pci_eeprom()
1475 if (sc->device_flags[i] & CFSYNCH) in ahc_parse_pci_eeprom()
[all …]
Daic79xx.h827 uint16_t device_flags[16]; /* words 0-15 */ member
913 uint8_t device_flags; member
Daic7xxx.h773 uint16_t device_flags[16]; /* words 0-15 */ member
Daic79xx_core.c7750 if (sc->device_flags[targ] & CFDISC) { in ahd_parse_cfgdata()
7758 sc->device_flags[targ] &= ~CFPACKETIZED; in ahd_parse_cfgdata()
7762 user_tinfo->period = (sc->device_flags[targ] & CFXFER); in ahd_parse_cfgdata()
7776 if ((sc->device_flags[targ] & CFPACKETIZED) != 0) { in ahd_parse_cfgdata()
7785 if ((sc->device_flags[targ] & CFQAS) != 0) in ahd_parse_cfgdata()
7788 if ((sc->device_flags[targ] & CFWIDEB) != 0) in ahd_parse_cfgdata()
Daic7xxx_osm.c589 int flags = sc->device_flags[target_offset]; in ahc_linux_target_alloc()
Daic79xx_osm.c627 int flags = sc->device_flags[starget->id]; in ahd_linux_target_alloc()
/linux-4.4.14/drivers/hid/
Dhid-rmi.c140 unsigned long device_flags; member
553 if ((data->device_flags & RMI_DEVICE) && in rmi_event()
556 if (data->device_flags & RMI_DEVICE_HAS_PHYS_BUTTONS) { in rmi_event()
1167 if (!(data->device_flags & RMI_DEVICE_HAS_PHYS_BUTTONS)) { in rmi_populate()
1190 if (!(data->device_flags & RMI_DEVICE)) in rmi_input_configured()
1262 if (data->device_flags & RMI_DEVICE) { in rmi_input_mapping()
1263 if ((data->device_flags & RMI_DEVICE_HAS_PHYS_BUTTONS) && in rmi_input_mapping()
1317 data->device_flags = id->driver_data; in rmi_probe()
1346 data->device_flags |= RMI_DEVICE; in rmi_probe()
1368 if ((data->device_flags & RMI_DEVICE) && in rmi_probe()
/linux-4.4.14/drivers/net/ethernet/freescale/
Dgianfar.c860 priv->device_flags |= FSL_GIANFAR_DEV_HAS_BD_STASHING; in gfar_of_init()
875 priv->device_flags |= FSL_GIANFAR_DEV_HAS_BUF_STASHING; in gfar_of_init()
883 priv->device_flags |= FSL_GIANFAR_DEV_HAS_GIGABIT | in gfar_of_init()
889 priv->device_flags |= FSL_GIANFAR_DEV_HAS_GIGABIT | in gfar_of_init()
909 priv->device_flags |= FSL_GIANFAR_DEV_HAS_MAGIC_PACKET; in gfar_of_init()
912 priv->device_flags |= FSL_GIANFAR_DEV_HAS_WAKE_ON_FILER; in gfar_of_init()
959 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_TIMER)) in gfar_hwtstamp_set()
975 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_TIMER)) in gfar_hwtstamp_set()
1231 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) { in gfar_hw_init()
1275 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_EXTENDED_HASH) { in gfar_init_addr_hash_table()
[all …]
Dgianfar_ethtool.c131 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) in gfar_gstrings()
153 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) { in gfar_fill_stats()
167 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) in gfar_sset_count()
304 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_COALESCE)) in gfar_gcoalesce()
365 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_COALESCE)) in gfar_scoalesce()
1550 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_TIMER)) { in gfar_get_ts_info()
Dgianfar.h1130 u32 device_flags; member
/linux-4.4.14/include/linux/
Dfs_enet_pd.h134 u32 device_flags; member
/linux-4.4.14/drivers/media/common/siano/
Dsmscoreapi.c735 dev->device_flags = params->flags; in smscore_register_device()
1160 if (loadfirmware_handler == NULL && !(coredev->device_flags in smscore_load_firmware_from_file()
1179 rc = (coredev->device_flags & SMS_DEVICE_FAMILY2) ? in smscore_load_firmware_from_file()
1341 if (coredev->device_flags & SMS_DEVICE_FAMILY2) { in smscore_set_device_mode()
1349 if (!(coredev->device_flags & SMS_DEVICE_NOT_READY)) { in smscore_set_device_mode()
1395 coredev->device_flags &= ~SMS_DEVICE_NOT_READY; in smscore_set_device_mode()
1835 if (coredev->device_flags & SMS_DEVICE_FAMILY2) { in smscore_configure_gpio()
1986 if (!(coredev->device_flags & SMS_DEVICE_FAMILY2)) { in smscore_gpio_configure()
Dsmscoreapi.h181 unsigned long device_flags; member
/linux-4.4.14/drivers/scsi/
Dqlogicpti.c302 qpti->dev_param[i].device_flags = 0xcd; in qlogicpti_set_hostdev_defaults()
441 param[2] = (qpti->dev_param[i].device_flags << 8); in qlogicpti_reset_hardware()
975 qpti->dev_param[tgt].device_flags |= 0x10; in qlogicpti_slave_configure()
982 qpti->dev_param[tgt].device_flags |= 0x20; in qlogicpti_slave_configure()
986 param[2] = (qpti->dev_param[tgt].device_flags << 8); in qlogicpti_slave_configure()
987 if (qpti->dev_param[tgt].device_flags & 0x10) { in qlogicpti_slave_configure()
Dqlogicpti.h309 u_short device_flags; member
Dhpsa_cmd.h262 u8 device_flags; member
Ddpt_i2o.c3207 if(d->lct_data.device_flags&(1<<0)) in adpt_i2o_report_hba_unit()
3209 if(d->lct_data.device_flags&(1<<1)) in adpt_i2o_report_hba_unit()
3211 if(!(d->lct_data.device_flags&(1<<4))) in adpt_i2o_report_hba_unit()
3213 if(!(d->lct_data.device_flags&(1<<5))) in adpt_i2o_report_hba_unit()
Dhpsa.c3865 if ((rle->device_flags & 0x08) && dev->ioaccel_handle) in hpsa_get_ioaccel_drive_info()
3888 if ((rle->device_flags & 0x08) && this_device->ioaccel_handle) in hpsa_get_path_info()
4035 (physdev_list->LUN[phys_dev_index].device_flags & 0x01)) in hpsa_update_scsi_devices()
/linux-4.4.14/include/linux/usb/
Drndis_host.h88 __le32 device_flags; member
/linux-4.4.14/drivers/gpu/drm/msm/dsi/
Ddsi.h71 unsigned long device_flags; member
Ddsi.c21 return (msm_dsi->device_flags & MIPI_DSI_MODE_VIDEO) ? in msm_dsi_get_encoder()
Ddsi_manager.c159 &msm_dsi->device_flags); in dsi_mgr_connector_detect()
180 bool cmd_mode = !(msm_dsi->device_flags & in dsi_mgr_connector_detect()
/linux-4.4.14/include/uapi/linux/
Di2o-dev.h205 __u32 device_flags; member
/linux-4.4.14/drivers/scsi/qla2xxx/
Dqla_init.c632 vha->device_flags = DFLG_NO_CABLE; in qla2x00_initialize_adapter()
2327 vha->device_flags &= ~DFLG_NO_CABLE; in qla2x00_fw_ready()
2378 vha->device_flags |= DFLG_NO_CABLE; in qla2x00_fw_ready()
2400 if (rval && !(vha->device_flags & DFLG_NO_CABLE)) { in qla2x00_fw_ready()
3395 vha->device_flags &= ~SWITCH_FOUND; in qla2x00_configure_fabric()
3398 vha->device_flags |= SWITCH_FOUND; in qla2x00_configure_fabric()
4256 if (!(ha->device_flags & DFLG_NO_CABLE)) { in qla2x00_perform_loop_resync()
4526 if (vha->device_flags & DFLG_DEV_FAILED) { in qla83xx_nic_core_reset()
4947 if ((vha->device_flags & DFLG_NO_CABLE)) in qla2x00_restart_isp()
6315 if ((vha->device_flags & DFLG_NO_CABLE)) in qla82xx_restart_isp()
Dqla_mr.c62 if (vha->device_flags & DFLG_DEV_FAILED) { in qlafx00_mailbox_command()
1466 if ((vha->device_flags & DFLG_NO_CABLE)) in qlafx00_rescan_isp()
1616 if (vha->device_flags & DFLG_DEV_FAILED) { in qlafx00_reset_initialize()
1738 vha->device_flags |= DFLG_NO_CABLE; in qlafx00_process_aen()
2032 vha->device_flags = DFLG_NO_CABLE; in qlafx00_initialize_adapter()
Dqla_isr.c681 vha->device_flags |= DFLG_DEV_FAILED; in qla2x00_async_event()
695 vha->device_flags |= DFLG_DEV_FAILED; in qla2x00_async_event()
787 vha->device_flags |= DFLG_NO_CABLE; in qla2x00_async_event()
941 vha->device_flags |= DFLG_NO_CABLE; in qla2x00_async_event()
Dqla_mid.c464 vha->device_flags = 0; in qla24xx_create_vhost()
Dqla_attr.c1104 vha->device_flags & DFLG_NO_CABLE) in qla2x00_link_state_show()
1964 if (vha->device_flags & SWITCH_FOUND) in qla2x00_get_host_fabric_name()
Dqla_os.c296 if (vha->device_flags & DFLG_DEV_FAILED) { in qla2x00_restart_timer()
2704 base_vha->device_flags); in qla2x00_probe_one()
5228 if (!(vha->device_flags & DFLG_NO_CABLE)) { in qla2x00_timer()
Dqla_nx.c3015 vha->device_flags |= DFLG_DEV_FAILED; in qla8xxx_dev_failed_handler()
3496 if (vha->device_flags & DFLG_DEV_FAILED) { in qla82xx_abort_isp()
Dqla_bsg.c1769 if (vha->device_flags & DFLG_NO_CABLE) { in qla24xx_process_bidir_cmd()
Dqla_def.h3552 uint32_t device_flags; member
Dqla_mbx.c61 if (vha->device_flags & DFLG_DEV_FAILED) { in qla2x00_mailbox_command()
/linux-4.4.14/include/acpi/
Dactbl2.h1216 u8 device_flags; member