Home
last modified time | relevance | path

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

/linux-6.1.9/net/ncsi/
Dncsi-rsp.c890 if (ntohl(rsp->valid_modes) & 0x1) { /* BC filter mode */ in ncsi_rsp_handler_gp()
894 if (ntohl(rsp->valid_modes) & 0x2) /* Channel enabled */ in ncsi_rsp_handler_gp()
896 if (ntohl(rsp->valid_modes) & 0x4) /* Channel Tx enabled */ in ncsi_rsp_handler_gp()
898 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-6.1.9/sound/pci/asihpi/
Dasihpi.c2241 int valid_modes = 0; in snd_asihpi_cmode_info() local
2249 mapped_names[valid_modes] = mode_names[mode]; in snd_asihpi_cmode_info()
2250 valid_modes++; in snd_asihpi_cmode_info()
2253 if (!valid_modes) in snd_asihpi_cmode_info()
2256 return snd_ctl_enum_info(uinfo, 1, valid_modes, mapped_names); in snd_asihpi_cmode_info()
/linux-6.1.9/drivers/platform/x86/
Dthinkpad_acpi.c1971 int valid_modes = 0; in hotkey_gmms_get_tablet_mode() local
1978 valid_modes = TP_ACPI_MULTI_MODE_LAPTOP | in hotkey_gmms_get_tablet_mode()
1983 valid_modes = TP_ACPI_MULTI_MODE_LAPTOP | in hotkey_gmms_get_tablet_mode()
1990 valid_modes = TP_ACPI_MULTI_MODE_LAPTOP | in hotkey_gmms_get_tablet_mode()
1998 valid_modes = TP_ACPI_MULTI_MODE_LAPTOP | in hotkey_gmms_get_tablet_mode()
2010 if (has_tablet_mode && (valid_modes & TP_ACPI_MULTI_MODE_TABLET_LIKE)) in hotkey_gmms_get_tablet_mode()
2039 if (!(mode & valid_modes)) { in hotkey_gmms_get_tablet_mode()