Home
last modified time | relevance | path

Searched refs:misc2 (Results 1 – 8 of 8) sorted by relevance

/drivers/staging/comedi/drivers/
Dcb_das16_cs.c123 unsigned short misc2; member
172 devpriv->misc2 &= ~(DAS16CS_MISC2_BME | DAS16CS_MISC2_AI_GAIN_MASK); in das16cs_ai_insn_read()
175 devpriv->misc2 |= DAS16CS_MISC2_AI_GAIN_1; in das16cs_ai_insn_read()
178 devpriv->misc2 |= DAS16CS_MISC2_AI_GAIN_2; in das16cs_ai_insn_read()
181 devpriv->misc2 |= DAS16CS_MISC2_AI_GAIN_4; in das16cs_ai_insn_read()
184 devpriv->misc2 |= DAS16CS_MISC2_AI_GAIN_8; in das16cs_ai_insn_read()
187 outw(devpriv->misc2, dev->iobase + DAS16CS_MISC2_REG); in das16cs_ai_insn_read()
286 devpriv->misc2 |= DAS16CS_MISC2_UDIR; in das16cs_dio_insn_config()
288 devpriv->misc2 &= ~DAS16CS_MISC2_UDIR; in das16cs_dio_insn_config()
290 devpriv->misc2 |= DAS16CS_MISC2_LDIR; in das16cs_dio_insn_config()
[all …]
/drivers/pcmcia/
Di82365.c136 u_char misc1, misc2; member
300 p->misc2 = i365_get(s, PD67_MISC_CTL_2); in cirrus_get_state()
312 i365_set(s, PD67_MISC_CTL_2, p->misc2); in cirrus_set_state()
328 flip(p->misc2, PD67_MC2_IRQ15_RI, has_ring); in cirrus_set_opts()
329 flip(p->misc2, PD67_MC2_DYNAMIC_MODE, dynamic_mode); in cirrus_set_opts()
330 flip(p->misc2, PD67_MC2_FREQ_BYPASS, freq_bypass); in cirrus_set_opts()
331 if (p->misc2 & PD67_MC2_IRQ15_RI) in cirrus_set_opts()
333 if (p->misc2 & PD67_MC2_DYNAMIC_MODE) in cirrus_set_opts()
335 if (p->misc2 & PD67_MC2_FREQ_BYPASS) in cirrus_set_opts()
339 if (p->misc2 & PD67_MC2_IRQ15_RI) in cirrus_set_opts()
/drivers/infiniband/hw/nes/
Dnes_context.h43 __le32 misc2; member
Dnes_cm.c2942 nesqp->nesqp_context->misc2 |= cpu_to_le32(64 << NES_QPCONTEXT_MISC2_TTL_SHIFT); in nes_cm_init_tsa_conn()
2944 nesqp->nesqp_context->misc2 |= cpu_to_le32( in nes_cm_init_tsa_conn()
3390 nesqp->nesqp_context->misc2 |= cpu_to_le32( in nes_accept()
3813 nesqp->nesqp_context->misc2 |= cpu_to_le32( in cm_event_connected()
Dnes_verbs.c1287 nesqp->nesqp_context->misc2 |= cpu_to_le32( in nes_create_qp()
/drivers/gpu/drm/radeon/
Dradeon_atombios.c2051 u32 misc, u32 misc2) in radeon_atombios_parse_misc_flags_1_3() argument
2054 rdev->pm.power_state[state_index].misc2 = misc2; in radeon_atombios_parse_misc_flags_1_3()
2074 if (misc2 & ATOM_PM_MISCINFO2_SYSTEM_AC_LITE_MODE) in radeon_atombios_parse_misc_flags_1_3()
2092 u32 misc, misc2 = 0; in radeon_atombios_parse_power_table_1_3() local
2187 misc2 = le32_to_cpu(power_info->info_2.asPowerPlayInfo[i].ulMiscInfo2); in radeon_atombios_parse_power_table_1_3()
2208 radeon_atombios_parse_misc_flags_1_3(rdev, state_index, misc, misc2); in radeon_atombios_parse_power_table_1_3()
2223 misc2 = le32_to_cpu(power_info->info_3.asPowerPlayInfo[i].ulMiscInfo2); in radeon_atombios_parse_power_table_1_3()
2242 if (misc2 & ATOM_PM_MISCINFO2_VDDCI_DYNAMIC_VOLTAGE_EN) { in radeon_atombios_parse_power_table_1_3()
2250 radeon_atombios_parse_misc_flags_1_3(rdev, state_index, misc, misc2); in radeon_atombios_parse_power_table_1_3()
2265 rdev->pm.power_state[state_index - 1].misc2 = 0; in radeon_atombios_parse_power_table_1_3()
[all …]
Dradeon_combios.c2638 u16 offset, misc, misc2 = 0; in radeon_combios_get_power_modes() local
2741 misc2 = RBIOS16(offset + 0x5 + 0xe); in radeon_combios_get_power_modes()
2743 rdev->pm.power_state[state_index].misc2 = misc2; in radeon_combios_get_power_modes()
2769 switch ((misc2 & 0x700) >> 8) { in radeon_combios_get_power_modes()
Dradeon.h1314 u32 misc2; /* vbios specific flags */ member