Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/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.1.27/drivers/hid/
Dhid-rmi.c127 unsigned long device_flags; member
515 if ((data->device_flags & RMI_DEVICE) && in rmi_event()
518 if (data->device_flags & RMI_DEVICE_HAS_PHYS_BUTTONS) { in rmi_event()
1057 if (!(data->device_flags & RMI_DEVICE)) in rmi_input_configured()
1126 if (data->device_flags & RMI_DEVICE) { in rmi_input_mapping()
1127 if ((data->device_flags & RMI_DEVICE_HAS_PHYS_BUTTONS) && in rmi_input_mapping()
1181 data->device_flags = id->driver_data; in rmi_probe()
1210 data->device_flags |= RMI_DEVICE; in rmi_probe()
1232 if ((data->device_flags & RMI_DEVICE) && in rmi_probe()
/linux-4.1.27/drivers/net/ethernet/freescale/
Dgianfar.c901 priv->device_flags |= FSL_GIANFAR_DEV_HAS_BD_STASHING; in gfar_of_init()
916 priv->device_flags |= FSL_GIANFAR_DEV_HAS_BUF_STASHING; in gfar_of_init()
924 priv->device_flags |= FSL_GIANFAR_DEV_HAS_GIGABIT | in gfar_of_init()
930 priv->device_flags |= FSL_GIANFAR_DEV_HAS_GIGABIT | in gfar_of_init()
949 priv->device_flags |= FSL_GIANFAR_DEV_HAS_MAGIC_PACKET; in gfar_of_init()
996 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_TIMER)) in gfar_hwtstamp_set()
1012 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_TIMER)) in gfar_hwtstamp_set()
1270 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) { in gfar_hw_init()
1314 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_EXTENDED_HASH) { in gfar_init_addr_hash_table()
1401 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_CSUM) { in gfar_probe()
[all …]
Dgianfar_ethtool.c129 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) in gfar_gstrings()
151 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) { in gfar_fill_stats()
165 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()
645 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_MAGIC_PACKET) { in gfar_get_wol()
658 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_MAGIC_PACKET) && in gfar_set_wol()
1869 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_TIMER)) { in gfar_get_ts_info()
Dgianfar.h1116 u32 device_flags; member
/linux-4.1.27/include/linux/
Dfs_enet_pd.h134 u32 device_flags; member
/linux-4.1.27/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.1.27/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.h249 u8 device_flags; member
Ddpt_i2o.c3204 if(d->lct_data.device_flags&(1<<0)) in adpt_i2o_report_hba_unit()
3206 if(d->lct_data.device_flags&(1<<1)) in adpt_i2o_report_hba_unit()
3208 if(!(d->lct_data.device_flags&(1<<4))) in adpt_i2o_report_hba_unit()
3210 if(!(d->lct_data.device_flags&(1<<5))) in adpt_i2o_report_hba_unit()
/linux-4.1.27/include/linux/usb/
Drndis_host.h88 __le32 device_flags; member
/linux-4.1.27/include/uapi/linux/
Di2o-dev.h205 __u32 device_flags; member
/linux-4.1.27/drivers/staging/i2o/
Ddevice.c400 entry->device_flags = le32_to_cpu(*dlct++); in i2o_device_parse_lct()
Di2o_proc.c508 lct->lct_entry[i].device_flags); in i2o_seq_show_lct()
/linux-4.1.27/drivers/scsi/qla2xxx/
Dqla_init.c632 vha->device_flags = DFLG_NO_CABLE; in qla2x00_initialize_adapter()
2329 vha->device_flags &= ~DFLG_NO_CABLE; in qla2x00_fw_ready()
2380 vha->device_flags |= DFLG_NO_CABLE; in qla2x00_fw_ready()
2402 if (rval && !(vha->device_flags & DFLG_NO_CABLE)) { in qla2x00_fw_ready()
3389 vha->device_flags &= ~SWITCH_FOUND; in qla2x00_configure_fabric()
3392 vha->device_flags |= SWITCH_FOUND; in qla2x00_configure_fabric()
4252 if (!(ha->device_flags & DFLG_NO_CABLE)) { in qla2x00_perform_loop_resync()
4522 if (vha->device_flags & DFLG_DEV_FAILED) { in qla83xx_nic_core_reset()
4943 if ((vha->device_flags & DFLG_NO_CABLE)) in qla2x00_restart_isp()
6311 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.c670 vha->device_flags |= DFLG_DEV_FAILED; in qla2x00_async_event()
684 vha->device_flags |= DFLG_DEV_FAILED; in qla2x00_async_event()
776 vha->device_flags |= DFLG_NO_CABLE; in qla2x00_async_event()
912 vha->device_flags |= DFLG_NO_CABLE; in qla2x00_async_event()
Dqla_mid.c465 vha->device_flags = 0; in qla24xx_create_vhost()
Dqla_attr.c1107 vha->device_flags & DFLG_NO_CABLE) in qla2x00_link_state_show()
1950 if (vha->device_flags & SWITCH_FOUND) in qla2x00_get_host_fabric_name()
Dqla_os.c297 if (vha->device_flags & DFLG_DEV_FAILED) { in qla2x00_restart_timer()
2707 base_vha->device_flags); in qla2x00_probe_one()
5226 if (!(vha->device_flags & DFLG_NO_CABLE)) { in qla2x00_timer()
Dqla_nx.c3020 vha->device_flags |= DFLG_DEV_FAILED; in qla8xxx_dev_failed_handler()
3501 if (vha->device_flags & DFLG_DEV_FAILED) { in qla82xx_abort_isp()
Dqla_bsg.c1770 if (vha->device_flags & DFLG_NO_CABLE) { in qla24xx_process_bidir_cmd()
Dqla_def.h3547 uint32_t device_flags; member
Dqla_mbx.c61 if (vha->device_flags & DFLG_DEV_FAILED) { in qla2x00_mailbox_command()