Home
last modified time | relevance | path

Searched refs:valid_modes (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/net/ncsi/
H A Dncsi-rsp.c858 if (ntohl(rsp->valid_modes) & 0x1) { /* BC filter mode */ in ncsi_rsp_handler_gp()
862 if (ntohl(rsp->valid_modes) & 0x2) /* Channel enabled */ in ncsi_rsp_handler_gp()
864 if (ntohl(rsp->valid_modes) & 0x4) /* Channel Tx enabled */ in ncsi_rsp_handler_gp()
866 if (ntohl(rsp->valid_modes) & 0x8) /* MC filter mode */ in ncsi_rsp_handler_gp()
H A Dncsi-pkt.h242 __be32 valid_modes; /* Valid mode parameters */ member
/openbmc/u-boot/include/net/
H A Dncsi-pkt.h233 __be32 valid_modes; /* Valid mode parameters */ member
/openbmc/linux/sound/pci/asihpi/
H A Dasihpi.c2239 int valid_modes = 0; in snd_asihpi_cmode_info() local
2247 mapped_names[valid_modes] = mode_names[mode]; in snd_asihpi_cmode_info()
2248 valid_modes++; in snd_asihpi_cmode_info()
2251 if (!valid_modes) in snd_asihpi_cmode_info()
2254 return snd_ctl_enum_info(uinfo, 1, valid_modes, mapped_names); in snd_asihpi_cmode_info()
/openbmc/linux/drivers/platform/x86/
H A Dthinkpad_acpi.c1957 int valid_modes = 0; in hotkey_gmms_get_tablet_mode() local
1964 valid_modes = TP_ACPI_MULTI_MODE_LAPTOP | in hotkey_gmms_get_tablet_mode()
1969 valid_modes = TP_ACPI_MULTI_MODE_LAPTOP | in hotkey_gmms_get_tablet_mode()
1976 valid_modes = TP_ACPI_MULTI_MODE_LAPTOP | in hotkey_gmms_get_tablet_mode()
1984 valid_modes = TP_ACPI_MULTI_MODE_LAPTOP | in hotkey_gmms_get_tablet_mode()
1996 if (has_tablet_mode && (valid_modes & TP_ACPI_MULTI_MODE_TABLET_LIKE)) in hotkey_gmms_get_tablet_mode()
2025 if (!(mode & valid_modes)) { in hotkey_gmms_get_tablet_mode()