misc2 1300 drivers/gpu/drm/radeon/radeon.h u32 misc2; /* vbios specific flags */ misc2 2055 drivers/gpu/drm/radeon/radeon_atombios.c u32 misc, u32 misc2) misc2 2058 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].misc2 = misc2; misc2 2078 drivers/gpu/drm/radeon/radeon_atombios.c if (misc2 & ATOM_PM_MISCINFO2_SYSTEM_AC_LITE_MODE) misc2 2096 drivers/gpu/drm/radeon/radeon_atombios.c u32 misc, misc2 = 0; misc2 2194 drivers/gpu/drm/radeon/radeon_atombios.c misc2 = le32_to_cpu(power_info->info_2.asPowerPlayInfo[i].ulMiscInfo2); misc2 2215 drivers/gpu/drm/radeon/radeon_atombios.c radeon_atombios_parse_misc_flags_1_3(rdev, state_index, misc, misc2); misc2 2230 drivers/gpu/drm/radeon/radeon_atombios.c misc2 = le32_to_cpu(power_info->info_3.asPowerPlayInfo[i].ulMiscInfo2); misc2 2249 drivers/gpu/drm/radeon/radeon_atombios.c if (misc2 & ATOM_PM_MISCINFO2_VDDCI_DYNAMIC_VOLTAGE_EN) { misc2 2257 drivers/gpu/drm/radeon/radeon_atombios.c radeon_atombios_parse_misc_flags_1_3(rdev, state_index, misc, misc2); misc2 2272 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].misc2 = 0; misc2 2408 drivers/gpu/drm/radeon/radeon_atombios.c u32 misc2 = le16_to_cpu(non_clock_info->usClassification); misc2 2414 drivers/gpu/drm/radeon/radeon_atombios.c rdev->pm.power_state[state_index].misc2 = misc2; misc2 2418 drivers/gpu/drm/radeon/radeon_atombios.c switch (misc2 & ATOM_PPLIB_CLASSIFICATION_UI_MASK) { misc2 2432 drivers/gpu/drm/radeon/radeon_atombios.c if (misc2 & ATOM_PPLIB_CLASSIFICATION_3DPERFORMANCE) misc2 2441 drivers/gpu/drm/radeon/radeon_atombios.c if (misc2 & ATOM_PPLIB_CLASSIFICATION_BOOT) { misc2 2640 drivers/gpu/drm/radeon/radeon_combios.c u16 offset, misc, misc2 = 0; misc2 2746 drivers/gpu/drm/radeon/radeon_combios.c misc2 = RBIOS16(offset + 0x5 + 0xe); misc2 2748 drivers/gpu/drm/radeon/radeon_combios.c rdev->pm.power_state[state_index].misc2 = misc2; misc2 2774 drivers/gpu/drm/radeon/radeon_combios.c switch ((misc2 & 0x700) >> 8) { misc2 96 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c void *misc2; misc2 103 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c misc2 = MLX5_ADDR_OF(fte_match_param, spec->match_value, misc_parameters_2); misc2 104 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c MLX5_SET(fte_match_set_misc2, misc2, metadata_reg_c_0, misc2 108 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c misc2 = MLX5_ADDR_OF(fte_match_param, spec->match_criteria, misc_parameters_2); misc2 109 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c MLX5_SET_TO_ONES(fte_match_set_misc2, misc2, metadata_reg_c_0); misc2 118 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c static bool dr_mask_is_wqe_metadata_set(struct mlx5dr_match_misc2 *misc2) misc2 120 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c return misc2->metadata_reg_a; misc2 123 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c static bool dr_mask_is_reg_c_0_3_set(struct mlx5dr_match_misc2 *misc2) misc2 125 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c return (misc2->metadata_reg_c_0 || misc2->metadata_reg_c_1 || misc2 126 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c misc2->metadata_reg_c_2 || misc2->metadata_reg_c_3); misc2 129 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c static bool dr_mask_is_reg_c_4_7_set(struct mlx5dr_match_misc2 *misc2) misc2 131 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c return (misc2->metadata_reg_c_4 || misc2->metadata_reg_c_5 || misc2 132 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c misc2->metadata_reg_c_6 || misc2->metadata_reg_c_7); misc2 203 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c mask.misc2 = matcher->mask.misc2; misc2 220 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c if (dr_mask_is_wqe_metadata_set(&mask.misc2)) misc2 223 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c if (dr_mask_is_reg_c_0_3_set(&mask.misc2)) misc2 226 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c if (dr_mask_is_reg_c_4_7_set(&mask.misc2)) misc2 282 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c if (DR_MASK_IS_FIRST_MPLS_SET(mask.misc2, outer)) misc2 285 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c if (DR_MASK_IS_FLEX_PARSER_0_SET(mask.misc2)) misc2 353 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c if (DR_MASK_IS_FIRST_MPLS_SET(mask.misc2, inner)) misc2 356 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_matcher.c if (DR_MASK_IS_FLEX_PARSER_0_SET(mask.misc2)) misc2 917 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c s_idx = offsetof(struct mlx5dr_match_param, misc2); misc2 918 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c e_idx = min(s_idx + sizeof(param->misc2), value_size); misc2 1002 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c if (mask->misc2.metadata_reg_c_0) { misc2 1004 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c if ((value->misc2.metadata_reg_c_0 & WIRE_PORT) != WIRE_PORT) misc2 1008 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_rule.c if ((value->misc2.metadata_reg_c_0 & WIRE_PORT) == WIRE_PORT) misc2 1035 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c dr_ste_copy_mask_misc2(buff, &set_param->misc2); misc2 1659 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c struct mlx5dr_match_misc2 *misc2_mask = &value->misc2; misc2 1672 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c struct mlx5dr_match_misc2 *misc2_mask = &value->misc2; misc2 1746 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c struct mlx5dr_match_misc2 *misc_2_mask = &value->misc2; misc2 1780 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c struct mlx5dr_match_misc2 *misc_2_mask = &value->misc2; misc2 1994 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c struct mlx5dr_match_misc2 *misc_2_mask = &value->misc2; misc2 2006 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c struct mlx5dr_match_misc2 *misc_2_mask = &value->misc2; misc2 2145 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c struct mlx5dr_match_misc2 *misc_2_mask = &value->misc2; misc2 2162 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c struct mlx5dr_match_misc2 *misc2 = &value->misc2; misc2 2165 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c DR_STE_SET_TAG(register_0, tag, register_0_h, misc2, metadata_reg_c_0); misc2 2166 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c DR_STE_SET_TAG(register_0, tag, register_0_l, misc2, metadata_reg_c_1); misc2 2167 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c DR_STE_SET_TAG(register_0, tag, register_1_h, misc2, metadata_reg_c_2); misc2 2168 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c DR_STE_SET_TAG(register_0, tag, register_1_l, misc2, metadata_reg_c_3); misc2 2189 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c struct mlx5dr_match_misc2 *misc_2_mask = &value->misc2; misc2 2206 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c struct mlx5dr_match_misc2 *misc2 = &value->misc2; misc2 2209 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c DR_STE_SET_TAG(register_1, tag, register_2_h, misc2, metadata_reg_c_4); misc2 2210 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c DR_STE_SET_TAG(register_1, tag, register_2_l, misc2, metadata_reg_c_5); misc2 2211 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c DR_STE_SET_TAG(register_1, tag, register_3_h, misc2, metadata_reg_c_6); misc2 2212 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_ste.c DR_STE_SET_TAG(register_1, tag, register_3_l, misc2, metadata_reg_c_7); misc2 575 drivers/net/ethernet/mellanox/mlx5/core/steering/dr_types.h struct mlx5dr_match_misc2 misc2; misc2 136 drivers/pcmcia/i82365.c u_char misc1, misc2; misc2 300 drivers/pcmcia/i82365.c p->misc2 = i365_get(s, PD67_MISC_CTL_2); misc2 312 drivers/pcmcia/i82365.c i365_set(s, PD67_MISC_CTL_2, p->misc2); misc2 328 drivers/pcmcia/i82365.c flip(p->misc2, PD67_MC2_IRQ15_RI, has_ring); misc2 329 drivers/pcmcia/i82365.c flip(p->misc2, PD67_MC2_DYNAMIC_MODE, dynamic_mode); misc2 330 drivers/pcmcia/i82365.c flip(p->misc2, PD67_MC2_FREQ_BYPASS, freq_bypass); misc2 331 drivers/pcmcia/i82365.c if (p->misc2 & PD67_MC2_IRQ15_RI) misc2 333 drivers/pcmcia/i82365.c if (p->misc2 & PD67_MC2_DYNAMIC_MODE) misc2 335 drivers/pcmcia/i82365.c if (p->misc2 & PD67_MC2_FREQ_BYPASS) misc2 339 drivers/pcmcia/i82365.c if (p->misc2 & PD67_MC2_IRQ15_RI) misc2 114 drivers/staging/comedi/drivers/cb_das16_cs.c unsigned short misc2; misc2 163 drivers/staging/comedi/drivers/cb_das16_cs.c devpriv->misc2 &= ~(DAS16CS_MISC2_BME | DAS16CS_MISC2_AI_GAIN_MASK); misc2 166 drivers/staging/comedi/drivers/cb_das16_cs.c devpriv->misc2 |= DAS16CS_MISC2_AI_GAIN_1; misc2 169 drivers/staging/comedi/drivers/cb_das16_cs.c devpriv->misc2 |= DAS16CS_MISC2_AI_GAIN_2; misc2 172 drivers/staging/comedi/drivers/cb_das16_cs.c devpriv->misc2 |= DAS16CS_MISC2_AI_GAIN_4; misc2 175 drivers/staging/comedi/drivers/cb_das16_cs.c devpriv->misc2 |= DAS16CS_MISC2_AI_GAIN_8; misc2 178 drivers/staging/comedi/drivers/cb_das16_cs.c outw(devpriv->misc2, dev->iobase + DAS16CS_MISC2_REG); misc2 277 drivers/staging/comedi/drivers/cb_das16_cs.c devpriv->misc2 |= DAS16CS_MISC2_UDIR; misc2 279 drivers/staging/comedi/drivers/cb_das16_cs.c devpriv->misc2 &= ~DAS16CS_MISC2_UDIR; misc2 281 drivers/staging/comedi/drivers/cb_das16_cs.c devpriv->misc2 |= DAS16CS_MISC2_LDIR; misc2 283 drivers/staging/comedi/drivers/cb_das16_cs.c devpriv->misc2 &= ~DAS16CS_MISC2_LDIR; misc2 284 drivers/staging/comedi/drivers/cb_das16_cs.c outw(devpriv->misc2, dev->iobase + DAS16CS_MISC2_REG); misc2 300 drivers/staging/comedi/drivers/cb_das16_cs.c devpriv->misc2 |= DAS16CS_MISC2_CTR1; misc2 303 drivers/staging/comedi/drivers/cb_das16_cs.c devpriv->misc2 &= ~DAS16CS_MISC2_CTR1; misc2 308 drivers/staging/comedi/drivers/cb_das16_cs.c outw(devpriv->misc2, dev->iobase + DAS16CS_MISC2_REG); misc2 311 drivers/staging/comedi/drivers/cb_das16_cs.c if (devpriv->misc2 & DAS16CS_MISC2_CTR1) {