Home
last modified time | relevance | path

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

12

/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()
/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()
/drivers/net/ethernet/freescale/
Dgianfar.c377 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_TIMER) { in gfar_init_mac()
727 priv->device_flags |= FSL_GIANFAR_DEV_HAS_BD_STASHING; in gfar_of_init()
742 priv->device_flags |= FSL_GIANFAR_DEV_HAS_BUF_STASHING; in gfar_of_init()
750 priv->device_flags = FSL_GIANFAR_DEV_HAS_GIGABIT | in gfar_of_init()
756 priv->device_flags = FSL_GIANFAR_DEV_HAS_GIGABIT | in gfar_of_init()
776 priv->device_flags |= FSL_GIANFAR_DEV_HAS_MAGIC_PACKET; in gfar_of_init()
813 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_TIMER)) in gfar_hwtstamp_ioctl()
830 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_TIMER)) in gfar_hwtstamp_ioctl()
1045 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_CSUM) { in gfar_probe()
1052 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_VLAN) { in gfar_probe()
[all …]
Dgianfar_sysfs.c57 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_BD_STASHING)) in gfar_set_bd_stash()
112 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_BUF_STASHING)) in gfar_set_rx_stash_size()
171 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_BUF_STASHING)) in gfar_set_rx_stash_index()
Dgianfar_ethtool.c134 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) in gfar_gstrings()
156 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) { in gfar_fill_stats()
170 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_RMON) in gfar_sset_count()
309 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_COALESCE)) in gfar_gcoalesce()
370 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_COALESCE)) in gfar_scoalesce()
599 if (priv->device_flags & FSL_GIANFAR_DEV_HAS_MAGIC_PACKET) { in gfar_get_wol()
612 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_MAGIC_PACKET) && in gfar_set_wol()
1781 if (!(priv->device_flags & FSL_GIANFAR_DEV_HAS_TIMER)) { in gfar_get_ts_info()
Dgianfar.h1071 u32 device_flags; member
/drivers/media/common/siano/
Dsmscoreapi.c737 dev->device_flags = params->flags; in smscore_register_device()
1162 if (loadfirmware_handler == NULL && !(coredev->device_flags in smscore_load_firmware_from_file()
1181 rc = (coredev->device_flags & SMS_DEVICE_FAMILY2) ? in smscore_load_firmware_from_file()
1342 if (coredev->device_flags & SMS_DEVICE_FAMILY2) { in smscore_set_device_mode()
1350 if (!(coredev->device_flags & SMS_DEVICE_NOT_READY)) { in smscore_set_device_mode()
1396 coredev->device_flags &= ~SMS_DEVICE_NOT_READY; in smscore_set_device_mode()
1836 if (coredev->device_flags & SMS_DEVICE_FAMILY2) { in smscore_configure_gpio()
1987 if (!(coredev->device_flags & SMS_DEVICE_FAMILY2)) { in smscore_gpio_configure()
Dsmscoreapi.h177 unsigned long device_flags; member
/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()
Daic7xxx_old.c497 unsigned short device_flags[16]; /* words 0-15 */ member
8655 (sc->device_flags[i] & CFSYNCHISULTRA)) || in aic7xxx_load_seeprom()
8656 (sc->device_flags[i] & CFNEWULTRAFORMAT) ) in aic7xxx_load_seeprom()
8680 sc->device_flags[i] = (p->discenable & mask) ? CFDISC : 0; in aic7xxx_load_seeprom()
8682 sc->device_flags[i] |= CFWIDEB; in aic7xxx_load_seeprom()
8687 sc->device_flags[i] |= CFSYNCH; in aic7xxx_load_seeprom()
8688 sc->device_flags[i] |= (aic_inb(p, TARG_SCSIRATE + i) & 0x07); in aic7xxx_load_seeprom()
8690 sc->device_flags[i] |= CFSYNCHISULTRA; in aic7xxx_load_seeprom()
8697 sc->device_flags[i] |= CFSYNCH; in aic7xxx_load_seeprom()
8699 sc->device_flags[i] |= ((p->ultraenb & mask) ? in aic7xxx_load_seeprom()
[all …]
Dqlogicpti.h309 u_short device_flags; member
Ddpt_i2o.c3214 if(d->lct_data.device_flags&(1<<0)) in adpt_i2o_report_hba_unit()
3216 if(d->lct_data.device_flags&(1<<1)) in adpt_i2o_report_hba_unit()
3218 if(!(d->lct_data.device_flags&(1<<4))) in adpt_i2o_report_hba_unit()
3220 if(!(d->lct_data.device_flags&(1<<5))) in adpt_i2o_report_hba_unit()
/drivers/scsi/qla2xxx/
Dqla_init.c530 vha->device_flags = DFLG_NO_CABLE; in qla2x00_initialize_adapter()
2114 vha->device_flags &= ~DFLG_NO_CABLE; in qla2x00_fw_ready()
2165 vha->device_flags |= DFLG_NO_CABLE; in qla2x00_fw_ready()
2187 if (rval && !(vha->device_flags & DFLG_NO_CABLE)) { in qla2x00_fw_ready()
3198 vha->device_flags &= ~SWITCH_FOUND; in qla2x00_configure_fabric()
3201 vha->device_flags |= SWITCH_FOUND; in qla2x00_configure_fabric()
3967 if (!(ha->device_flags & DFLG_NO_CABLE)) { in qla2x00_perform_loop_resync()
4221 if (vha->device_flags & DFLG_DEV_FAILED) { in qla83xx_nic_core_reset()
4650 if ((vha->device_flags & DFLG_NO_CABLE)) in qla2x00_restart_isp()
5851 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()
1458 if ((vha->device_flags & DFLG_NO_CABLE)) in qlafx00_rescan_isp()
1562 if (vha->device_flags & DFLG_DEV_FAILED) { in qlafx00_reset_initialize()
1677 vha->device_flags |= DFLG_NO_CABLE; in qlafx00_process_aen()
2033 vha->device_flags = DFLG_NO_CABLE; in qlafx00_initialize_adapter()
Dqla_isr.c617 vha->device_flags |= DFLG_DEV_FAILED; in qla2x00_async_event()
631 vha->device_flags |= DFLG_DEV_FAILED; in qla2x00_async_event()
702 vha->device_flags |= DFLG_NO_CABLE; in qla2x00_async_event()
838 vha->device_flags |= DFLG_NO_CABLE; in qla2x00_async_event()
Dqla_mid.c459 vha->device_flags = 0; in qla24xx_create_vhost()
Dqla_attr.c971 vha->device_flags & DFLG_NO_CABLE) in qla2x00_link_state_show()
1761 if (vha->device_flags & SWITCH_FOUND) in qla2x00_get_host_fabric_name()
Dqla_os.c294 if (vha->device_flags & DFLG_DEV_FAILED) { in qla2x00_restart_timer()
2704 base_vha->device_flags); in qla2x00_probe_one()
5062 if (!(vha->device_flags & DFLG_NO_CABLE)) { in qla2x00_timer()
Dqla_nx.c3014 vha->device_flags |= DFLG_DEV_FAILED; in qla8xxx_dev_failed_handler()
3469 if (vha->device_flags & DFLG_DEV_FAILED) { in qla82xx_abort_isp()
/drivers/message/i2o/
Ddevice.c390 entry->device_flags = le32_to_cpu(*dlct++); in i2o_device_parse_lct()
Di2o_proc.c504 lct->lct_entry[i].device_flags); in i2o_seq_show_lct()

12