Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/ncsi/
H A 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()
H A Dncsi-pkt.h233 __be32 valid_modes; /* Valid mode parameters */ member
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/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()