Home
last modified time | relevance | path

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

/Linux-v6.6/net/ncsi/
Dncsi-rsp.c841 if (ntohl(rsp->valid_modes) & 0x1) { /* BC filter mode */ in ncsi_rsp_handler_gp()
845 if (ntohl(rsp->valid_modes) & 0x2) /* Channel enabled */ in ncsi_rsp_handler_gp()
847 if (ntohl(rsp->valid_modes) & 0x4) /* Channel Tx enabled */ in ncsi_rsp_handler_gp()
849 if (ntohl(rsp->valid_modes) & 0x8) /* MC filter mode */ in ncsi_rsp_handler_gp()
Dncsi-pkt.h239 __be32 valid_modes; /* Valid mode parameters */ member
/Linux-v6.6/sound/pci/asihpi/
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()
/Linux-v6.6/drivers/platform/x86/
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()