Home
last modified time | relevance | path

Searched refs:valid_modes (Results 1 - 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/net/ncsi/
H A Dncsi-rsp.c863 if (ntohl(rsp->valid_modes) & 0x1) { /* BC filter mode */ in ncsi_rsp_handler_gp()
867 if (ntohl(rsp->valid_modes) & 0x2) /* Channel enabled */ in ncsi_rsp_handler_gp()
869 if (ntohl(rsp->valid_modes) & 0x4) /* Channel Tx enabled */ in ncsi_rsp_handler_gp()
871 if (ntohl(rsp->valid_modes) & 0x8) /* MC filter mode */ in ncsi_rsp_handler_gp()
H A Dncsi-pkt.h236 __be32 valid_modes; /* Valid mode parameters */ member
/kernel/linux/linux-6.6/net/ncsi/
H A Dncsi-rsp.c863 if (ntohl(rsp->valid_modes) & 0x1) { /* BC filter mode */ in ncsi_rsp_handler_gp()
867 if (ntohl(rsp->valid_modes) & 0x2) /* Channel enabled */ in ncsi_rsp_handler_gp()
869 if (ntohl(rsp->valid_modes) & 0x4) /* Channel Tx enabled */ in ncsi_rsp_handler_gp()
871 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
/kernel/linux/linux-5.10/sound/pci/asihpi/
H A 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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/platform/x86/
H A Dthinkpad_acpi.c2083 int valid_modes = 0; in hotkey_gmms_get_tablet_mode() local
2090 valid_modes = TP_ACPI_MULTI_MODE_LAPTOP | in hotkey_gmms_get_tablet_mode()
2095 valid_modes = TP_ACPI_MULTI_MODE_LAPTOP | in hotkey_gmms_get_tablet_mode()
2102 valid_modes = TP_ACPI_MULTI_MODE_LAPTOP | in hotkey_gmms_get_tablet_mode()
2110 valid_modes = TP_ACPI_MULTI_MODE_LAPTOP | in hotkey_gmms_get_tablet_mode()
2122 if (has_tablet_mode && (valid_modes & TP_ACPI_MULTI_MODE_TABLET_LIKE)) in hotkey_gmms_get_tablet_mode()
2151 if (!(mode & valid_modes)) { in hotkey_gmms_get_tablet_mode()
/kernel/linux/linux-6.6/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()

Completed in 56 milliseconds