Searched refs:capability (Results 1 - 200 of 1147) sorted by relevance

123456

/linux-4.4.14/security/apparmor/
H A Dcapability.c4 * This file contains AppArmor capability mediation functions
15 #include <linux/capability.h>
20 #include "include/capability.h"
26 * Table of capability names: we generate it from capabilities.h.
43 * audit_cb - call back for capability components of audit struct
55 * audit_caps - audit a capability
57 * @cap: capability tested
60 * Do auditing of capability and handle, audit/complain/kill modes switching
111 * profile_capable - test if profile allows use of capability @cap
113 * @cap: capability to test if allowed
123 * aa_capable - test permission to use capability
125 * @cap: capability to be tested
128 * Look up capability in profile capability set.
H A DMakefile5 apparmor-y := apparmorfs.o audit.o capability.o context.o ipc.o lib.o match.o \
13 # Build a lower case string table of capability names
63 $(obj)/capability.o : $(obj)/capability_names.h
65 $(obj)/capability_names.h : $(srctree)/include/uapi/linux/capability.h \
H A Dipc.c19 #include "include/capability.h"
66 /* TODO: currently only based on capability, not extended ptrace aa_may_ptrace()
73 /* log this capability request */ aa_may_ptrace()
/linux-4.4.14/drivers/usb/host/
H A Dxhci-ext-caps.h29 /* HCCPARAMS contains the first extended capability pointer */
42 /* Extended capability register fields */
46 /* Extended capability IDs - ID 0 reserved */
69 /* USB 2.0 xHCI 0.96 L1C capability - section 7.2.2.1.3.2 */
72 /* USB 2.0 xHCI 1.0 hardware LMP capability - section 7.2.2.1.3.2 */
94 * Return the next extended capability pointer register.
99 * capabilites pointer. If searching for the first extended capability, pass
100 * in XHCI_HCC_PARAMS_OFFSET. If searching for the next extended capability,
101 * pass in the offset of the current extended capability register.
103 * Returns 0 if there is no next extended capability register or returns the register offset
113 /* Find the first extended capability */ xhci_find_next_cap_offset()
117 /* Find the next extended capability */ xhci_find_next_cap_offset()
131 * Find the offset of the extended capabilities with capability ID id.
134 * @ext_offset Offset from base of the first extended capability to look at,
136 * @id Extended capability ID to search for.
H A Duhci-platform.c77 * Once we have dma capability bindings this can go away. uhci_hcd_platform_probe()
H A Dehci-atmel.c115 * Once we have dma capability bindings this can go away. ehci_atmel_drv_probe()
H A Dehci-spear.c82 * Once we have dma capability bindings this can go away. spear_ehci_hcd_drv_probe()
H A Dohci-omap3.c100 * Once we have dma capability bindings this can go away. ohci_hcd_omap3_probe()
H A Dohci-spear.c57 * Once we have dma capability bindings this can go away. spear_ohci_hcd_drv_probe()
H A Dxhci-dbg.c33 xhci_dbg(xhci, "// xHCI capability registers at %p:\n", xhci_dbg_regs()
63 xhci_dbg(xhci, "xHCI capability registers at %p:\n", xhci->cap_regs); xhci_print_cap_regs()
117 xhci_dbg(xhci, " HC %s Force save context capability", xhci_print_cap_regs()
121 xhci_dbg(xhci, " HC %s Extended TBC capability", xhci_print_cap_regs()
/linux-4.4.14/kernel/
H A Dcapability.c2 * linux/kernel/capability.c
13 #include <linux/capability.h>
54 * Version 2 capabilities worked fine, but the linux/capability.h file
78 * Version check. Return the number of u32s in each capability flag
142 * @header: pointer to struct that contains capability version and
181 * implementations implicitly drop upper capability SYSCALL_DEFINE2()
207 * @header: pointer to struct that contains capability version and
285 * has_ns_capability - Does a task have a capability in a specific user ns
288 * @cap: The capability to be tested for
290 * Return true if the specified task has the given superior capability
308 * has_capability - Does a task have a capability in init_user_ns
310 * @cap: The capability to be tested for
312 * Return true if the specified task has the given superior capability
323 * has_ns_capability_noaudit - Does a task have a capability (unaudited)
327 * @cap: The capability to be tested for
329 * Return true if the specified task has the given superior capability
348 * has_capability_noaudit - Does a task have a capability (unaudited) in the
351 * @cap: The capability to be tested for
353 * Return true if the specified task has the given superior capability
365 * ns_capable - Determine if the current task has a superior capability in effect
366 * @ns: The usernamespace we want the capability in
367 * @cap: The capability to be tested for
369 * Return true if the current task has the given superior capability currently
372 * This sets PF_SUPERPRIV on the task if the capability is available on the
392 * capable - Determine if the current task has a superior capability in effect
393 * @cap: The capability to be tested for
395 * Return true if the current task has the given superior capability currently
398 * This sets PF_SUPERPRIV on the task if the capability is available on the
409 * file_ns_capable - Determine if the file's opener had a capability in effect
411 * @ns: The usernamespace we want the capability in
412 * @cap: The capability to be tested for
414 * Return true if task that opened the file had a capability in effect
436 * @cap: The capability in question
438 * Return true if the current task has the given capability targeted at
H A DMakefile7 sysctl.o sysctl_binary.o capability.o ptrace.o user.o \
/linux-4.4.14/arch/arm64/kernel/
H A Dcpu_errata.c57 .capability = ARM64_WORKAROUND_CLEAN_CACHE,
65 .capability = ARM64_WORKAROUND_CLEAN_CACHE,
73 .capability = ARM64_WORKAROUND_DEVICE_LOAD_ACQUIRE,
82 .capability = ARM64_WORKAROUND_834220,
91 .capability = ARM64_WORKAROUND_845719,
99 .capability = ARM64_WORKAROUND_CAVIUM_23154,
H A Dcpufeature.c627 .capability = ARM64_HAS_SYSREG_GIC_CPUIF,
636 .capability = ARM64_HAS_PAN,
647 .capability = ARM64_HAS_LSE_ATOMICS,
751 if (!cpus_have_cap(caps[i].capability)) update_cpu_capabilities()
753 cpus_set_cap(caps[i].capability); update_cpu_capabilities()
766 if (caps[i].enable && cpus_have_cap(caps[i].capability)) enable_cpu_capabilities()
829 * Park the CPU which doesn't have the capability as advertised
853 * Any new CPU should match the system wide status of the capability. If the
854 * new CPU doesn't have a capability which the system now has enabled, we
872 if (!cpus_have_cap(caps[i].capability) || !caps[i].sys_reg) verify_local_cpu_capabilities()
/linux-4.4.14/drivers/xen/xen-pciback/
H A Dconf_space_capability.c2 * PCI Backend - Handles the virtual fields found on the capability lists
17 int capability; member in struct:xen_pcibk_config_capability
19 /* If the device has the capability found above, add these fields */
45 cap_offset = pci_find_capability(dev, cap->capability); xen_pcibk_config_capability_add_fields()
47 dev_dbg(&dev->dev, "Found capability 0x%x at 0x%x\n", xen_pcibk_config_capability_add_fields()
48 cap->capability, cap_offset); xen_pcibk_config_capability_add_fields()
193 .capability = PCI_CAP_ID_PM,
197 .capability = PCI_CAP_ID_VPD,
/linux-4.4.14/include/uapi/linux/
H A Dbinfmts.h4 #include <linux/capability.h>
H A Dcapability.h2 * This is <linux/capability.h>
26 a set of three capability sets. The transposition of 3*the
150 * Transfer any capability in your permitted set to any pid,
151 * remove any capability in your permitted set from any pid
153 * Add any capability from current's capability bounding set
155 * Allow taking bits out of capability bounding set
324 to implement capability based overrides of that policy, this is
325 the capability it should use to do so. */
332 to implement capability based checks on modifications to that
334 capability it should use to do so. */
360 * Bit location of each capability (used by user-space library and kernel)
H A Dxattr.h68 #define XATTR_CAPS_SUFFIX "capability"
H A Datmsap.h125 unsigned char fw_mpx_cap; /* forward multiplexing capability */
127 unsigned char bw_mpx_cap; /* backward multiplexing capability */
H A Dsecurebits.h24 /* When set, setuid to/from uid 0 does not trigger capability-"fixup".
H A Dtelephony.h67 * capability structs with all of its capabilities. The
68 * PHONECTL_CAPABILITIES_CHECK takes a single capability struct and returns
69 * a TRUE if the device has that capability, otherwise it returns false.
H A Dpci_regs.h111 #define PCI_CAPABILITY_LIST 0x34 /* Offset of first capability list entry */
221 #define PCI_CAP_LIST_NEXT 1 /* Next capability in the list */
259 #define PCI_AGP_RFU 3 /* Rest of capability flags */
302 #define PCI_MSI_RFU 3 /* Rest of capability flags */
455 /* PCI Express capability registers */
601 #define PCI_EXP_RTCAP_CRSVIS 0x0001 /* CRS Software Visibility capability */
791 * HyperTransport sub capability types
793 * Unfortunately there are both 3 bit and 5 bit capability types defined
922 /* SATA capability */
935 #define PCI_DPA_CAP 4 /* capability register */
940 #define PCI_TPH_CAP 4 /* capability register */
943 #define PCI_TPH_LOC_CAP 0x200 /* in capability */
H A Dapm_bios.h118 * APM defined capability bit flags
H A Dvirtio_pci.h117 /* This is the PCI capability header: */
121 __u8 cap_len; /* Generic PCI field: capability length */
H A Dprctl.h69 /* Get/set the capability bounding set (as per security/commoncap.c) */
193 /* Control the ambient capability set */
H A Dvideodev2.h939 __u32 capability; member in struct:v4l2_framebuffer
955 /* Flags for the 'capability' field. Read only */
992 __u32 capability; /* Supported modes */ member in struct:v4l2_captureparm
1000 /* Flags for 'capability' and 'capturemode' fields */
1005 __u32 capability; /* Supported modes */ member in struct:v4l2_outputparm
1579 __u32 capability; member in struct:v4l2_tuner
1592 __u32 capability; member in struct:v4l2_modulator
1600 /* Flags for the 'capability' field */
1647 __u32 capability; member in struct:v4l2_frequency_band
1692 __u32 capability; member in struct:v4l2_audio
1697 /* Flags for the 'capability' field */
1707 __u32 capability; member in struct:v4l2_audioout
/linux-4.4.14/sound/hda/
H A Dlocal.h11 /* get the widget type from widget capability bits */ get_wcaps_type()
/linux-4.4.14/sound/hda/ext/
H A Dhdac_ext_controller.c54 dev_dbg(bus->dev, "HDA capability ID: 0x%x\n", snd_hdac_ext_bus_parse_capabilities()
59 dev_dbg(bus->dev, "Found ML capability\n"); snd_hdac_ext_bus_parse_capabilities()
64 dev_dbg(bus->dev, "Found GTS capability offset=%x\n", offset); snd_hdac_ext_bus_parse_capabilities()
69 /* PP capability found, the Audio DSP is present */ snd_hdac_ext_bus_parse_capabilities()
70 dev_dbg(bus->dev, "Found PP capability offset=%x\n", offset); snd_hdac_ext_bus_parse_capabilities()
75 /* SPIB capability found, handler function */ snd_hdac_ext_bus_parse_capabilities()
76 dev_dbg(bus->dev, "Found SPB capability\n"); snd_hdac_ext_bus_parse_capabilities()
81 dev_dbg(bus->dev, "Unknown capability %d\n", cur_cap); snd_hdac_ext_bus_parse_capabilities()
103 * new capability of processing pipelines
107 * snd_hdac_ext_bus_ppcap_enable - enable/disable processing pipe capability
109 * @enable: flag to turn on/off the capability
116 dev_err(bus->dev, "Address of PP capability is NULL"); snd_hdac_ext_bus_ppcap_enable()
137 dev_err(bus->dev, "Address of PP capability is NULL\n"); snd_hdac_ext_bus_ppcap_int_enable()
150 * new multilink capability
154 * snd_hdac_ext_bus_get_ml_capabilities - get multilink capability
H A Dhdac_ext_stream.c423 dev_err(bus->dev, "Address of SPB capability is NULL"); snd_hdac_ext_stream_spbcap_enable()
452 dev_err(bus->dev, "Address of SPB capability is NULL"); snd_hdac_ext_stream_set_spib()
475 dev_err(bus->dev, "Address of SPB capability is NULL"); snd_hdac_ext_stream_get_spbmaxfifo()
/linux-4.4.14/drivers/thunderbolt/
H A Dcap.c54 * Somehow Intel decided to use 3 different types of capability tb_cap_next()
66 * "Hey, we could terminate some capability lists with a null offset tb_cap_next()
75 * tb_find_cap() - find a capability
77 * Return: Returns a positive offset if the capability was found and 0 if not.
H A Dtb_regs.h44 /* capability headers */
49 u8 cap; /* if cap == 0x05 then we have a extended capability */
73 * offset (into this capability) of the configuration
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
H A Drtl819x_HT.h146 //HT capability info
245 u8 bRegBW40MHz; // Tx 40MHz channel capability
246 u8 bCurBW40MHz; // Tx 40MHz channel capability
254 u8 bRegSuppCCK; // Tx CCK rate capability
255 u8 bCurSuppCCK; // Tx CCK rate capability
271 u8 bAMSDU_Support; // This indicates Tx A-MSDU capability
272 u16 nAMSDU_MaxSize; // This indicates Tx A-MSDU capability
273 u8 bCurrent_AMSDU_Support; // This indicates Tx A-MSDU capability
274 u16 nCurrent_AMSDU_MaxSize; // This indicates Tx A-MSDU capability
278 u8 bAMPDUEnable; // This indicate Tx A-MPDU capability
279 u8 bCurrentAMPDUEnable; // This indicate Tx A-MPDU capability
280 u8 AMPDU_Factor; // This indicate Tx A-MPDU capability
281 u8 CurrentAMPDUFactor; // This indicate Tx A-MPDU capability
282 u8 MPDU_Density; // This indicate Tx A-MPDU capability
283 u8 CurrentMPDUDensity; // This indicate Tx A-MPDU capability
H A Dieee80211_rx.c2172 network->capability = le16_to_cpu(beacon->capability); ieee80211_network_init()
2184 network->erp_value = (network->capability & WLAN_CAPABILITY_IBSS) ? ieee80211_network_init()
2254 * and the capability field (in particular IBSS and BSS) all match. is_same_network()
2263 ((src->capability & WLAN_CAPABILITY_IBSS) == is_same_network()
2264 (dst->capability & WLAN_CAPABILITY_IBSS)) && is_same_network()
2265 ((src->capability & WLAN_CAPABILITY_BSS) == is_same_network()
2266 (dst->capability & WLAN_CAPABILITY_BSS))); is_same_network()
2276 dst->capability = src->capability; update_network()
2404 (beacon->capability & (1<<0xf)) ? '1' : '0', ieee80211_process_probe_response()
2405 (beacon->capability & (1<<0xe)) ? '1' : '0', ieee80211_process_probe_response()
2406 (beacon->capability & (1<<0xd)) ? '1' : '0', ieee80211_process_probe_response()
2407 (beacon->capability & (1<<0xc)) ? '1' : '0', ieee80211_process_probe_response()
2408 (beacon->capability & (1<<0xb)) ? '1' : '0', ieee80211_process_probe_response()
2409 (beacon->capability & (1<<0xa)) ? '1' : '0', ieee80211_process_probe_response()
2410 (beacon->capability & (1<<0x9)) ? '1' : '0', ieee80211_process_probe_response()
2411 (beacon->capability & (1<<0x8)) ? '1' : '0', ieee80211_process_probe_response()
2412 (beacon->capability & (1<<0x7)) ? '1' : '0', ieee80211_process_probe_response()
2413 (beacon->capability & (1<<0x6)) ? '1' : '0', ieee80211_process_probe_response()
2414 (beacon->capability & (1<<0x5)) ? '1' : '0', ieee80211_process_probe_response()
2415 (beacon->capability & (1<<0x4)) ? '1' : '0', ieee80211_process_probe_response()
2416 (beacon->capability & (1<<0x3)) ? '1' : '0', ieee80211_process_probe_response()
2417 (beacon->capability & (1<<0x2)) ? '1' : '0', ieee80211_process_probe_response()
2418 (beacon->capability & (1<<0x1)) ? '1' : '0', ieee80211_process_probe_response()
2419 (beacon->capability & (1<<0x0)) ? '1' : '0'); ieee80211_process_probe_response()
H A Dieee80211_softmac.c35 return net->capability & WLAN_CAPABILITY_SHORT_SLOT; ieee80211_is_shortslot()
714 if(ieee->current_network.capability & WLAN_CAPABILITY_IBSS) ieee80211_probe_resp()
771 beacon_buf->capability = ieee80211_probe_resp()
772 cpu_to_le16(ieee->current_network.capability & WLAN_CAPABILITY_IBSS); ieee80211_probe_resp()
773 beacon_buf->capability |= ieee80211_probe_resp()
774 cpu_to_le16(ieee->current_network.capability & WLAN_CAPABILITY_SHORT_PREAMBLE); //add short preamble here ieee80211_probe_resp()
776 if(ieee->short_slot && (ieee->current_network.capability & WLAN_CAPABILITY_SHORT_SLOT)) ieee80211_probe_resp()
777 beacon_buf->capability |= cpu_to_le16(WLAN_CAPABILITY_SHORT_SLOT); ieee80211_probe_resp()
781 beacon_buf->capability |= cpu_to_le16(WLAN_CAPABILITY_PRIVACY); ieee80211_probe_resp()
866 assoc->capability = cpu_to_le16(ieee->iw_mode == IW_MODE_MASTER ? ieee80211_assoc_resp()
871 assoc->capability |= cpu_to_le16(WLAN_CAPABILITY_SHORT_SLOT); ieee80211_assoc_resp()
880 assoc->capability |= cpu_to_le16(WLAN_CAPABILITY_PRIVACY); ieee80211_assoc_resp()
1015 //Include High Throuput capability && Realtek proprietary ieee80211_association_req()
1091 hdr->capability = cpu_to_le16(WLAN_CAPABILITY_BSS); ieee80211_association_req()
1092 if (beacon->capability & WLAN_CAPABILITY_PRIVACY ) ieee80211_association_req()
1093 hdr->capability |= cpu_to_le16(WLAN_CAPABILITY_PRIVACY); ieee80211_association_req()
1095 if (beacon->capability & WLAN_CAPABILITY_SHORT_PREAMBLE) ieee80211_association_req()
1096 hdr->capability |= cpu_to_le16(WLAN_CAPABILITY_SHORT_PREAMBLE); //add short_preamble here ieee80211_association_req()
1099 hdr->capability |= cpu_to_le16(WLAN_CAPABILITY_SHORT_SLOT); ieee80211_association_req()
1101 hdr->capability |= cpu_to_le16(WLAN_CAPABILITY_QOS); ieee80211_association_req()
1420 if ((ieee->iw_mode == IW_MODE_INFRA) && !(net->capability & WLAN_CAPABILITY_BSS)) ieee80211_softmac_new_net()
1423 if ((ieee->iw_mode == IW_MODE_ADHOC) && !(net->capability & WLAN_CAPABILITY_IBSS)) ieee80211_softmac_new_net()
2418 ieee->current_network.capability = WLAN_CAPABILITY_IBSS; ieee80211_start_ibss_wq()
2420 ieee->current_network.capability |= WLAN_CAPABILITY_SHORT_SLOT; ieee80211_start_ibss_wq()
H A Dieee80211_wx.c99 if (network->capability & rtl819x_translate_scan()
101 if (network->capability & WLAN_CAPABILITY_BSS) rtl819x_translate_scan()
116 /* Add encryption capability */ rtl819x_translate_scan()
118 if (network->capability & WLAN_CAPABILITY_PRIVACY) rtl819x_translate_scan()
H A Drtl819x_BAProc.c365 //some other capability is not ready now. ieee80211_rx_ADDBAReq()
371 IEEE80211_DEBUG(IEEE80211_DL_ERR, "Failed to reply on ADDBA_REQ as some capability is not ready(%d, %d)\n", ieee->current_network.qos_data.active, ieee->pHTInfo->bCurrentHTSupport); ieee80211_rx_ADDBAReq()
462 // Check the capability ieee80211_rx_ADDBARsp()
467 IEEE80211_DEBUG(IEEE80211_DL_ERR, "reject to ADDBA_RSP as some capability is not ready(%d, %d, %d)\n",ieee->current_network.qos_data.active, ieee->pHTInfo->bCurrentHTSupport, ieee->pHTInfo->bCurrentAMPDUEnable); ieee80211_rx_ADDBARsp()
/linux-4.4.14/arch/s390/kernel/
H A Dsysinfo.c150 * capability field is a 32 bit floating point number stsi_1_2_2()
155 * encoding of the alternate cpu capability. stsi_1_2_2()
157 seq_printf(m, "Capability: %u", info->capability); stsi_1_2_2()
412 * CPU capability might have changed. Therefore recalculate loops_per_jiffy.
420 unsigned int capability; s390_adjust_jiffies() local
428 * Major sigh. The cpu capability encoding is "special". s390_adjust_jiffies()
429 * If the first 9 bits of info->capability are 0 then it s390_adjust_jiffies()
435 * by the cpu capability number. Yes, that means a floating s390_adjust_jiffies()
439 if ((info->capability >> 23) == 0) s390_adjust_jiffies()
440 FP_FROM_INT_S(SB, (long) info->capability, 64, long); s390_adjust_jiffies()
442 FP_UNPACK_SP(SB, &info->capability); s390_adjust_jiffies()
444 FP_TO_INT_S(capability, SR, 32, 0); s390_adjust_jiffies()
450 capability = 42; s390_adjust_jiffies()
451 loops_per_jiffy = capability * (500000/HZ); s390_adjust_jiffies()
/linux-4.4.14/drivers/media/radio/si4713/
H A Dradio-platform-si4713.c72 struct v4l2_capability *capability) radio_si4713_querycap()
74 strlcpy(capability->driver, "radio-si4713", sizeof(capability->driver)); radio_si4713_querycap()
75 strlcpy(capability->card, "Silicon Labs Si4713 Modulator", radio_si4713_querycap()
76 sizeof(capability->card)); radio_si4713_querycap()
77 strlcpy(capability->bus_info, "platform:radio-si4713", radio_si4713_querycap()
78 sizeof(capability->bus_info)); radio_si4713_querycap()
79 capability->device_caps = V4L2_CAP_MODULATOR | V4L2_CAP_RDS_OUTPUT; radio_si4713_querycap()
80 capability->capabilities = capability->device_caps | V4L2_CAP_DEVICE_CAPS; radio_si4713_querycap()
71 radio_si4713_querycap(struct file *file, void *priv, struct v4l2_capability *capability) radio_si4713_querycap() argument
/linux-4.4.14/drivers/net/wireless/orinoco/
H A Dscan.c84 u16 capability; orinoco_add_hostscan_result() local
122 capability = le16_to_cpu(bss->a.capabilities); orinoco_add_hostscan_result()
127 bss->a.bssid, timestamp, capability, orinoco_add_hostscan_result()
143 u16 capability; orinoco_add_extscan_result() local
155 capability = le16_to_cpu(bss->capabilities); orinoco_add_extscan_result()
161 bss->bssid, timestamp, capability, orinoco_add_extscan_result()
/linux-4.4.14/drivers/pci/
H A Dats.c32 * pci_enable_ats - enable the ATS capability
75 * pci_disable_ats - disable the ATS capability
145 * pci_enable_pri - Enable PRI capability
178 * pci_disable_pri - Disable PRI capability
202 * The PRI capability must be disabled before this function is called.
229 * pci_enable_pasid - Enable the PASID capability
267 * pci_disable_pasid - Disable the PASID capability
288 * Returns a negative value when no PASI capability is present.
317 * Returns negative value when PASID capability is not present.
H A Dhtirq.c19 * irq capability.
73 * @dev: The hypertransport device to find the irq capability on.
109 * @dev: The hypertransport device to find the irq capability on.
H A Dvc.c43 * @pos: starting position of VC capability (VC/VC9/MFVC)
66 * @pos: starting position of VC capability (VC/VC9/MFVC)
94 * @pos: starting position of VC capability (VC/VC9/MFVC)
174 * @pos: starting position of VC capability (VC/VC9/MFVC)
352 * For each type of VC capability, VC/VC9/MFVC, find the capability and
389 * For each type of VC capability, VC/VC9/MFVC, find the capability and
413 * For each type of VC capability, VC/VC9/MFVC, find the capability, size
H A Diov.c528 * pci_iov_init - initialize the IOV capability
548 * pci_iov_release - release resources used by the IOV capability
562 * Returns position of the BAR encapsulated in the SR-IOV capability.
586 * Returns the alignment of the VF BAR found in the SR-IOV capability.
597 * pci_restore_iov_state - restore the state of the IOV capability
629 * pci_enable_sriov - enable the SR-IOV capability
647 * pci_disable_sriov - disable the SR-IOV capability
752 * SRIOV capability value of TotalVFs or the value of driver_max_VFs
H A Dmsi.c596 * msi_capability_init - configure device's MSI capability structure
600 * Setup the MSI capability structure of the device with the requested
624 /* Configure MSI capability structure */ msi_capability_init()
724 * msix_capability_init - configure device's MSI-X capability
729 * Setup the MSI-X capability structure of device function with a
930 * pci_enable_msix - configure device's MSI-X capability structure
935 * Setup the MSI-X capability structure of device function with the number
938 * indicates the successful configuration of MSI-X capability structure
1032 * pci_enable_msi_range - configure device's MSI capability structure
1087 * pci_enable_msix_range - configure device's MSI-X capability structure
1093 * Setup the MSI-X capability structure of device function with a maximum
1098 * indicates the successful configuration of MSI-X capability structure
H A Dpci.h49 * @sleep_wake: enables/disables the system wake up capability of given device
52 * for given device (the device's wake-up capability has to be
249 int pos; /* capability position */
H A Dpci.c102 /* If set, the PCIe ARI capability will not be used. */
221 * @cap: capability code
223 * Tell if a device supports a given PCI capability.
224 * Returns the address of the requested capability structure within the
253 * @cap: capability code
258 * Returns the address of the requested capability structure within the
278 * pci_find_next_ext_capability - Find an extended capability
281 * @cap: capability code
283 * Returns the address of the next matching extended capability structure
286 * vendor-specific capability, and this provides a way to find them all.
294 /* minimum 8 bytes per capability */ pci_find_next_ext_capability()
330 * pci_find_ext_capability - Find an extended capability
332 * @cap: capability code
334 * Returns the address of the requested extended capability structure
380 * @ht_cap: Hypertransport capability code
398 * @ht_cap: Hypertransport capability code
400 * Tell if a device supports a given Hypertransport capability.
402 * or 0 in case the device does not support the request capability.
403 * The address points to the PCI capability, of type PCI_CAP_ID_HT,
404 * which has a Hypertransport capability matching @ht_cap.
686 * @state: State to cache in case the device doesn't have the PM capability
1702 * pci_pme_capable - check the capability of PCI device to generate PME#
1990 * Disable device's system wake-up capability and put it into D0.
2177 /* find PCI PM capability in list */ pci_pm_init()
2221 * Make device's PM flags reflect the wake-up capability, but pci_pm_init()
2401 /* find PCI EA capability in list */ pci_ea_init()
2430 * capability registers
2432 * @cap: the capability to allocate the buffer for
2433 * @extended: Standard or Extended capability ID
2608 * capability field can therefore be assumed as hard-wired enabled. pci_acs_flags_enabled()
2629 * regardless of whether the device exposes an ACS capability. This makes
/linux-4.4.14/arch/alpha/include/asm/
H A Dagp_backend.h26 alpha_agp_mode capability; member in struct:_alpha_agp_info
/linux-4.4.14/include/linux/usb/
H A Dxhci_pdriver.h20 * LPM capability
H A Dchipidea.h32 /* offset of the capability registers */
77 /* Default offset of capability registers */
H A Dquirks.h47 /* device generates spurious wakeup, ignore remote wakeup capability */
/linux-4.4.14/include/linux/uwb/
H A Dumc.h12 * The radio controller is not strictly a UMC capability but it's
30 * that you have registered for that capability code.
46 * UMC capability IDs.
56 * struct umc_dev - UMC capability device
58 * @version: version of the specification this capability conforms to.
59 * @cap_id: capability ID.
76 * struct umc_driver - UMC capability driver
77 * @cap_id: supported capability ID.
78 * @match: driver specific capability matching function.
H A Dwhci.h33 * UWB interface capability registers (offsets from UWBBASE)
46 /* Size of the WHCI capability data (including the RC capability) for
/linux-4.4.14/arch/arm/mach-spear/
H A Drestart.c27 /* hardware reset, Use on-chip reset capability */ spear_restart()
/linux-4.4.14/arch/arm/include/asm/
H A Dirq.h18 * capability
/linux-4.4.14/sound/pci/hda/
H A Dlocal.h11 /* get the widget type from widget capability bits */ get_wcaps_type()
/linux-4.4.14/sound/soc/dwc/
H A Ddesignware_i2s.c95 unsigned int capability; member in struct:dw_i2s_dev
198 if (!(dev->capability & DWC_I2S_RECORD) && dw_i2s_startup()
202 if (!(dev->capability & DWC_I2S_PLAY) && dw_i2s_startup()
285 if (dev->capability & DW_I2S_MASTER) { dw_i2s_hw_params()
360 if (dev->capability & DW_I2S_SLAVE) dw_i2s_set_fmt()
366 if (dev->capability & DW_I2S_MASTER) dw_i2s_set_fmt()
402 if (dev->capability & DW_I2S_MASTER) dw_i2s_suspend()
411 if (dev->capability & DW_I2S_MASTER) dw_i2s_resume()
492 dev->capability |= DW_I2S_MASTER; dw_configure_dai()
495 dev->capability |= DW_I2S_SLAVE; dw_configure_dai()
553 dev->capability |= DWC_I2S_PLAY; dw_configure_dai_by_dt()
564 dev->capability |= DWC_I2S_RECORD; dw_configure_dai_by_dt()
608 dev->capability = pdata->cap; dw_i2s_probe()
618 if (dev->capability & DW_I2S_MASTER) { dw_i2s_probe()
656 if (dev->capability & DW_I2S_MASTER) dw_i2s_probe()
665 if (dev->capability & DW_I2S_MASTER) dw_i2s_remove()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
H A Dbfa_defs.h165 u8 cap_bm; /*!< capability */
171 /* Adapter capability mask definition */
215 char cap_nic; /* capability nic */
216 char cap_cna; /* capability cna */
217 char cap_hba; /* capability hba */
218 char cap_fc16g; /* capability fc 16g */
219 char cap_sriov; /* capability sriov */
220 char cap_mezz; /* capability mezz */
/linux-4.4.14/arch/s390/include/uapi/asm/
H A Dtape390.h43 char capability; member in struct:tape390_crypt_info
52 ((x.capability & TAPE390_CRYPT_SUPPORTED_MASK))
/linux-4.4.14/drivers/media/radio/wl128x/
H A Dfmdrv_v4l2.c195 struct v4l2_capability *capability) fm_v4l2_vidioc_querycap()
197 strlcpy(capability->driver, FM_DRV_NAME, sizeof(capability->driver)); fm_v4l2_vidioc_querycap()
198 strlcpy(capability->card, FM_DRV_CARD_SHORT_NAME, fm_v4l2_vidioc_querycap()
199 sizeof(capability->card)); fm_v4l2_vidioc_querycap()
200 sprintf(capability->bus_info, "UART"); fm_v4l2_vidioc_querycap()
201 capability->device_caps = V4L2_CAP_HW_FREQ_SEEK | V4L2_CAP_TUNER | fm_v4l2_vidioc_querycap()
205 capability->capabilities = capability->device_caps | fm_v4l2_vidioc_querycap()
257 audio->capability = V4L2_AUDCAP_STEREO; fm_v4l2_vidioc_g_audio()
307 tuner->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_RDS | fm_v4l2_vidioc_g_tuner()
446 mod->capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_RDS | fm_v4l2_vidioc_g_modulator()
194 fm_v4l2_vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *capability) fm_v4l2_vidioc_querycap() argument
/linux-4.4.14/security/
H A Dcommoncap.c1 /* Common capabilities, needed by capability.o.
10 #include <linux/capability.h>
57 * cap_capable - Determine whether a task has a particular effective capability
59 * @ns: The user namespace in which we need the capability
60 * @cap: The capability to check for
63 * Determine whether the nominated task has the specified capability amongst
68 * cap_has_capability() returns 0 when a task has a capability, but the
76 /* See if cred has the capability in the target user namespace cap_capable()
97 * If you have a capability in a parent user ns, then you have cap_capable()
129 * If we have the ptrace capability to the target user_ns, then ptrace
166 * If parent has the ptrace capability to current's user_ns, then ptrace
193 * cap_capget - Retrieve a task's capability sets
194 * @target: The task from which to retrieve the capability sets
207 /* Derived from kernel/capability.c:sys_capget. */ cap_capget()
225 * capability cap_inh_is_capped()
242 * process's capability sets. The changes are made to the proposed new
289 * Clear proposed capability sets for execve().
341 * Calculate the new process capability sets from the capability sets attached
385 * Extract the on-exec-apply capability sets for an executable file.
442 * Attempt to get the on-exec apply capability sets for an executable file from
509 * If the legacy file capability is set, then don't set privs cap_bprm_set_creds()
520 * capability sets for the file. cap_bprm_set_creds()
866 * Implement PR_CAPBSET_DROP. Attempt to remove the specified capability from
929 * capability-based-privilege environment. cap_task_prctl()
1045 * capability security module. Returns 0 if this mapping should be allowed
/linux-4.4.14/drivers/s390/char/
H A Dsclp_config.c35 pr_info("CPU capability may have changed\n"); sclp_cpu_capability_notify()
/linux-4.4.14/arch/tile/include/asm/
H A Ddevice.h28 * have limited DMA capability, i.e. non 64-bit capable.
H A Ddma-mapping.h85 * For PCI devices with 64-bit DMA addressing capability, promote dma_set_mask()
/linux-4.4.14/fs/ext4/
H A Dxattr_trusted.c9 #include <linux/capability.h>
/linux-4.4.14/security/apparmor/include/
H A Dcapability.h4 * This file contains AppArmor capability mediation definitions.
/linux-4.4.14/fs/reiserfs/
H A Dxattr_trusted.c2 #include <linux/capability.h>
/linux-4.4.14/arch/powerpc/perf/
H A Dhv-gpci.h45 /* capability mask masks. */
/linux-4.4.14/drivers/media/radio/si470x/
H A Dradio-si470x-i2c.c235 struct v4l2_capability *capability) si470x_vidioc_querycap()
237 strlcpy(capability->driver, DRIVER_NAME, sizeof(capability->driver)); si470x_vidioc_querycap()
238 strlcpy(capability->card, DRIVER_CARD, sizeof(capability->card)); si470x_vidioc_querycap()
239 capability->device_caps = V4L2_CAP_HW_FREQ_SEEK | V4L2_CAP_READWRITE | si470x_vidioc_querycap()
241 capability->capabilities = capability->device_caps | V4L2_CAP_DEVICE_CAPS; si470x_vidioc_querycap()
234 si470x_vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *capability) si470x_vidioc_querycap() argument
H A Dradio-si470x-usb.c522 struct v4l2_capability *capability) si470x_vidioc_querycap()
526 strlcpy(capability->driver, DRIVER_NAME, sizeof(capability->driver)); si470x_vidioc_querycap()
527 strlcpy(capability->card, DRIVER_CARD, sizeof(capability->card)); si470x_vidioc_querycap()
528 usb_make_path(radio->usbdev, capability->bus_info, si470x_vidioc_querycap()
529 sizeof(capability->bus_info)); si470x_vidioc_querycap()
530 capability->device_caps = V4L2_CAP_HW_FREQ_SEEK | V4L2_CAP_READWRITE | si470x_vidioc_querycap()
532 capability->capabilities = capability->device_caps | V4L2_CAP_DEVICE_CAPS; si470x_vidioc_querycap()
521 si470x_vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *capability) si470x_vidioc_querycap() argument
H A Dradio-si470x.h206 * tuner->capability is therefore set to V4L2_TUNER_CAP_LOW
227 struct v4l2_capability *capability);
H A Dradio-si470x-common.c152 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO |
164 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO |
176 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO |
598 tuner->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO | si470x_vidioc_g_tuner()
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
H A Dwl12xx_80211.h111 __le16 capability; member in struct:wl12xx_beacon_template
147 __le16 capability; member in struct:wl12xx_probe_resp_template
/linux-4.4.14/drivers/uwb/
H A Dwhci.c35 /* WLP capability has 0x100 bytes of aperture */ whci_capdata_quirks()
38 /* WUSB capability has 0x80 bytes of aperture whci_capdata_quirks()
187 "whci (capability data)")) whci_probe()
194 /* Add each capability. */ whci_probe()
203 dev_warn(&pci->dev, "warning: cannot bind capability " whci_probe()
230 /* Unregister each capability in reverse (so the master device whci_remove()
H A Dumc-bus.c210 MODULE_DESCRIPTION("UWB Multi-interface Controller capability bus");
/linux-4.4.14/arch/arm/plat-omap/
H A Ddmtimer.c148 if (!(timer->capability & OMAP_TIMER_NEEDS_RESET)) { omap_dm_timer_prepare()
158 if (timer->capability & OMAP_TIMER_NEEDS_RESET) { omap_dm_timer_prepare()
224 if (cap == (t->capability & cap)) { _omap_dm_timer_request()
239 if (t->capability == cap) _omap_dm_timer_request()
291 * omap_dm_timer_request_by_cap - Request a timer by capability
340 if (!(timer->capability & OMAP_TIMER_ALWON)) { omap_dm_timer_enable()
464 if (!(timer->capability & OMAP_TIMER_NEEDS_RESET)) omap_dm_timer_stop()
837 timer->capability |= OMAP_TIMER_ALWON; omap_dm_timer_probe()
839 timer->capability |= OMAP_TIMER_HAS_DSP_IRQ; omap_dm_timer_probe()
841 timer->capability |= OMAP_TIMER_HAS_PWM; omap_dm_timer_probe()
843 timer->capability |= OMAP_TIMER_SECURE; omap_dm_timer_probe()
846 timer->capability = pdata->timer_capability; omap_dm_timer_probe()
858 if (!(timer->capability & OMAP_TIMER_NEEDS_RESET)) { omap_dm_timer_probe()
/linux-4.4.14/include/uapi/sound/
H A Dcompress_offload.h113 * struct snd_compr_codec_caps - query capability of codec
114 * @codec: codec for which capability is queried
116 * @descriptor: array of codec capability descriptor
148 * SNDRV_COMPRESS_GET_CAPS: Query capability of DSP
149 * SNDRV_COMPRESS_GET_CODEC_CAPS: Query capability of a codec
/linux-4.4.14/drivers/scsi/ufs/
H A Dufs-qcom.h209 * Set this capability if host controller supports the QUniPro mode
211 * Note: By default this capability will be kept enabled if host
217 * Set this capability if host controller can retain the secure
/linux-4.4.14/drivers/media/platform/vivid/
H A Dvivid-radio-common.c40 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO |
50 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_FREQ_BANDS,
59 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_FREQ_BANDS,
H A Dvivid-radio-rx.c238 vt->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO | vivid_radio_rx_g_tuner()
247 vt->capability |= V4L2_TUNER_CAP_HWSEEK_BOUNDED; vivid_radio_rx_g_tuner()
250 vt->capability |= V4L2_TUNER_CAP_HWSEEK_WRAP; vivid_radio_rx_g_tuner()
253 vt->capability |= V4L2_TUNER_CAP_HWSEEK_WRAP | vivid_radio_rx_g_tuner()
H A Dvivid-sdr-cap.c61 .capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS,
69 .capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS,
77 .capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS,
92 .capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS,
415 vt->capability = vivid_sdr_g_tuner()
423 vt->capability = vivid_sdr_g_tuner()
H A Dvivid-radio-tx.c120 a->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO | vidioc_g_modulator()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_dcb.c166 struct qlcnic_dcb_capability capability; member in struct:qlcnic_dcb_cfg
359 "Failed to query DCBX capability, err %d\n", err); __qlcnic_dcb_query_hw_capability()
373 struct qlcnic_dcb_capability *cap = &dcb->cfg->capability; __qlcnic_dcb_get_capability()
415 cap = &cfg->capability; qlcnic_82xx_dcb_get_hw_capability()
544 struct qlcnic_dcb_capability *cap = &dcb->cfg->capability; qlcnic_83xx_dcb_get_hw_capability()
758 cfg->capability.max_pfc_tc) qlcnic_dcb_map_cee_params()
762 cfg->capability.max_ets_tc) qlcnic_dcb_map_cee_params()
900 *cap = adapter->dcb->cfg->capability.dcb_capability; qlcnic_dcb_get_capability()
919 *num = cfg->capability.max_ets_tc; qlcnic_dcb_get_num_tcs()
922 *num = cfg->capability.max_pfc_tc; qlcnic_dcb_get_num_tcs()
962 return cfg->capability.dcb_capability; qlcnic_dcb_get_dcbx()
1122 pfc->tcs_supported = cfg->capability.max_pfc_tc; qlcnic_dcb_cee_peer_get_pfc()
/linux-4.4.14/sound/core/seq/
H A Dseq_ports.h81 /* capability, inport, output, sync */
82 unsigned int capability; /* port capability bits */ member in struct:snd_seq_client_port
H A Dseq_system.c140 port->capability = SNDRV_SEQ_PORT_CAP_WRITE; /* accept queue control */ snd_seq_system_client_init()
141 port->capability |= SNDRV_SEQ_PORT_CAP_READ|SNDRV_SEQ_PORT_CAP_SUBS_READ; /* for broadcast */ snd_seq_system_client_init()
151 port->capability = SNDRV_SEQ_PORT_CAP_READ|SNDRV_SEQ_PORT_CAP_SUBS_READ; /* for broadcast only */ snd_seq_system_client_init()
H A Dseq_compat.c30 u32 capability; /* port capability bits */ member in struct:snd_seq_port_info32
H A Dseq_dummy.c57 In duplex mode, each port has DUPLEX capability.
139 pinfo.capability = SNDRV_SEQ_PORT_CAP_READ | SNDRV_SEQ_PORT_CAP_SUBS_READ; create_port()
140 pinfo.capability |= SNDRV_SEQ_PORT_CAP_WRITE | SNDRV_SEQ_PORT_CAP_SUBS_WRITE; create_port()
142 pinfo.capability |= SNDRV_SEQ_PORT_CAP_DUPLEX; create_port()
H A Dseq_midi.c377 port->capability |= SNDRV_SEQ_PORT_CAP_WRITE | SNDRV_SEQ_PORT_CAP_SYNC_WRITE | SNDRV_SEQ_PORT_CAP_SUBS_WRITE; snd_seq_midisynth_probe()
379 port->capability |= SNDRV_SEQ_PORT_CAP_READ | SNDRV_SEQ_PORT_CAP_SYNC_READ | SNDRV_SEQ_PORT_CAP_SUBS_READ; snd_seq_midisynth_probe()
380 if ((port->capability & (SNDRV_SEQ_PORT_CAP_WRITE|SNDRV_SEQ_PORT_CAP_READ)) == (SNDRV_SEQ_PORT_CAP_WRITE|SNDRV_SEQ_PORT_CAP_READ) && snd_seq_midisynth_probe()
382 port->capability |= SNDRV_SEQ_PORT_CAP_DUPLEX; snd_seq_midisynth_probe()
H A Dseq_ports.c348 port->capability = info->capability; snd_seq_set_port_info()
377 info->capability = port->capability; snd_seq_get_port_info()
672 portinfo.capability = cap; snd_seq_event_port_attach()
H A Dseq_virmidi.c397 pinfo->capability |= SNDRV_SEQ_PORT_CAP_WRITE | SNDRV_SEQ_PORT_CAP_SYNC_WRITE | SNDRV_SEQ_PORT_CAP_SUBS_WRITE; snd_virmidi_dev_attach_seq()
398 pinfo->capability |= SNDRV_SEQ_PORT_CAP_READ | SNDRV_SEQ_PORT_CAP_SYNC_READ | SNDRV_SEQ_PORT_CAP_SUBS_READ; snd_virmidi_dev_attach_seq()
399 pinfo->capability |= SNDRV_SEQ_PORT_CAP_DUPLEX; snd_virmidi_dev_attach_seq()
/linux-4.4.14/drivers/net/wireless/ipw2x00/
H A Dlibipw_rx.c1343 network->capability = le16_to_cpu(frame->capability); libipw_handle_assoc_resp()
1349 (network->capability & WLAN_CAPABILITY_IBSS) ? 0x3 : 0x0; libipw_handle_assoc_resp()
1396 network->capability = le16_to_cpu(beacon->capability); libipw_network_init()
1408 network->erp_value = (network->capability & WLAN_CAPABILITY_IBSS) ? libipw_network_init()
1477 dst->capability = src->capability; update_network()
1548 (beacon->capability & cpu_to_le16(1 << 0xf)) ? '1' : '0', libipw_process_probe_response()
1549 (beacon->capability & cpu_to_le16(1 << 0xe)) ? '1' : '0', libipw_process_probe_response()
1550 (beacon->capability & cpu_to_le16(1 << 0xd)) ? '1' : '0', libipw_process_probe_response()
1551 (beacon->capability & cpu_to_le16(1 << 0xc)) ? '1' : '0', libipw_process_probe_response()
1552 (beacon->capability & cpu_to_le16(1 << 0xb)) ? '1' : '0', libipw_process_probe_response()
1553 (beacon->capability & cpu_to_le16(1 << 0xa)) ? '1' : '0', libipw_process_probe_response()
1554 (beacon->capability & cpu_to_le16(1 << 0x9)) ? '1' : '0', libipw_process_probe_response()
1555 (beacon->capability & cpu_to_le16(1 << 0x8)) ? '1' : '0', libipw_process_probe_response()
1556 (beacon->capability & cpu_to_le16(1 << 0x7)) ? '1' : '0', libipw_process_probe_response()
1557 (beacon->capability & cpu_to_le16(1 << 0x6)) ? '1' : '0', libipw_process_probe_response()
1558 (beacon->capability & cpu_to_le16(1 << 0x5)) ? '1' : '0', libipw_process_probe_response()
1559 (beacon->capability & cpu_to_le16(1 << 0x4)) ? '1' : '0', libipw_process_probe_response()
1560 (beacon->capability & cpu_to_le16(1 << 0x3)) ? '1' : '0', libipw_process_probe_response()
1561 (beacon->capability & cpu_to_le16(1 << 0x2)) ? '1' : '0', libipw_process_probe_response()
1562 (beacon->capability & cpu_to_le16(1 << 0x1)) ? '1' : '0', libipw_process_probe_response()
1563 (beacon->capability & cpu_to_le16(1 << 0x0)) ? '1' : '0'); libipw_process_probe_response()
H A Dlibipw.h396 u16 capability;
456 __le16 capability; member in struct:libipw_probe_response
467 __le16 capability; member in struct:libipw_assoc_request
475 __le16 capability; member in struct:libipw_reassoc_request
483 __le16 capability; member in struct:libipw_assoc_response
629 u16 capability; member in struct:libipw_network
/linux-4.4.14/drivers/staging/rtl8723au/include/
H A Dwlan_bssdef.h79 u16 capability; member in struct:wlan_bssid_ex
88 u8 IEs[MAX_IE_SZ]; /* timestamp, beacon interval, and capability info*/
/linux-4.4.14/fs/jfs/
H A Dioctl.c10 #include <linux/capability.h>
106 * the relevant capability. jfs_ioctl()
/linux-4.4.14/fs/ext2/
H A Dioctl.c11 #include <linux/capability.h>
65 * the relevant capability. ext2_ioctl()
/linux-4.4.14/drivers/platform/x86/
H A Dacer-wmi.c200 * Interface capability flags
270 u32 capability; member in struct:wmi_interface
303 interface->capability |= ACER_CAP_MAILLED; set_quirks()
306 interface->capability |= ACER_CAP_BRIGHTNESS; set_quirks()
536 interface->capability &= ~ACER_CAP_BRIGHTNESS; video_set_backlight_video_vendor()
617 if ((interface->capability & cap) != 0) has_cap()
789 interface->capability |= ACER_CAP_MAILLED; AMW0_find_mailled()
839 interface->capability |= ACER_CAP_WIRELESS; AMW0_set_capabilities()
863 interface->capability |= ACER_CAP_WIRELESS; AMW0_set_capabilities()
886 interface->capability |= ACER_CAP_BLUETOOTH; AMW0_set_capabilities()
894 interface->capability |= ACER_CAP_BRIGHTNESS; AMW0_set_capabilities()
1216 interface->capability |= ACER_CAP_WIRELESS; type_aa_dmi_decode()
1218 interface->capability |= ACER_CAP_THREEG; type_aa_dmi_decode()
1220 interface->capability |= ACER_CAP_BLUETOOTH; type_aa_dmi_decode()
1255 interface->capability |= ACER_CAP_WIRELESS; WMID_set_capabilities()
1257 interface->capability |= ACER_CAP_THREEG; WMID_set_capabilities()
1259 interface->capability |= ACER_CAP_BLUETOOTH; WMID_set_capabilities()
1313 if (interface->capability & cap) { set_u32()
1355 * capability isn't available on the given interface acer_commandline_init()
1854 interface->capability |= ACER_CAP_ACCEL; acer_wmi_accel_setup()
2139 interface->capability |= ACER_CAP_BRIGHTNESS; acer_wmi_init()
2168 interface->capability &= ~ACER_CAP_BRIGHTNESS; acer_wmi_init()
/linux-4.4.14/drivers/vfio/pci/
H A Dvfio_pci_config.c46 * 0: Removed from the user visible capability list
108 * Read/Write Permission Bits - one bit for each bit in capability
252 /* Allow direct read from hardware, except for capability next pointer */ vfio_direct_config_read()
304 /* Default capability regions to read-only, no-virtualization */
334 * ignore whether a read/write exceeds the defined capability alloc_perm_bits()
590 /* Virtualize capability list, we might want to skip/disable */ init_pci_cap_basic_perm()
607 /* Allow us to adjust capability chain */ init_pci_cap_basic_perm()
651 /* Permissions for the Power Management capability */ init_pci_cap_pm_perm()
717 /* Permissions for Vital Product Data capability */ init_pci_cap_vpd_perm()
741 /* Permissions for PCI-X capability */ init_pci_cap_pcix_perm()
755 /* Permissions for PCI Express capability */ init_pci_cap_exp_perm()
774 /* Permissions for Advanced Function capability */ init_pci_cap_af_perm()
785 /* Permissions for Advanced Error Reporting extended capability */ init_pci_ext_cap_err_perm()
839 /* Permissions for Power Budgeting extended capability */ init_pci_ext_cap_pwr_perm()
1042 /* Determine extended capability length for VC (2 & 9) and MFVC */ vfio_vc_cap_len()
1290 /* Mark the previous position in case we want to skip a capability */ vfio_cap_init()
1432 * If we're just using this capability to anchor the list, vfio_ecap_init()
1455 * capability occupying each dword and thus the struct perm_bits we
1475 * no requiremenst on the length of a capability, so the gap between vfio_config_init()
1553 * position. Stop at either the end of the capability or the dword boundary.
1583 * single capability. Caller increments to the next chunk. vfio_config_do_rw()
/linux-4.4.14/drivers/spi/
H A Dspi-fsl-spi.h52 /* TYPE_GRLIB SPI Controller capability register definitions */
/linux-4.4.14/drivers/isdn/pcbit/
H A Dedss1.c109 {0x39, "Bearer capability not authorized"},
110 {0x3a, "Bearer capability not presently available"},
113 {0x41, "Bearer capability not implemented"},
116 {0x44, "Only restricted digital information bearer capability is available"},
/linux-4.4.14/drivers/media/radio/
H A Dradio-si476x.c61 .capability = V4L2_TUNER_CAP_LOW
73 .capability = V4L2_TUNER_CAP_LOW
335 struct v4l2_capability *capability) si476x_radio_querycap()
339 strlcpy(capability->driver, radio->v4l2dev.name, si476x_radio_querycap()
340 sizeof(capability->driver)); si476x_radio_querycap()
341 strlcpy(capability->card, DRIVER_CARD, sizeof(capability->card)); si476x_radio_querycap()
342 snprintf(capability->bus_info, sizeof(capability->bus_info), si476x_radio_querycap()
345 capability->device_caps = V4L2_CAP_TUNER si476x_radio_querycap()
351 capability->device_caps |= V4L2_CAP_RDS_CAPTURE si476x_radio_querycap()
355 capability->capabilities = capability->device_caps si476x_radio_querycap()
416 tuner->capability = V4L2_TUNER_CAP_LOW /* Measure frequencies si476x_radio_g_tuner()
439 tuner->capability |= V4L2_TUNER_CAP_RDS si476x_radio_g_tuner()
447 tuner->capability |= V4L2_TUNER_CAP_RDS si476x_radio_g_tuner()
334 si476x_radio_querycap(struct file *file, void *priv, struct v4l2_capability *capability) si476x_radio_querycap() argument
H A Dradio-cadet.c97 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_FREQ_BANDS,
104 .capability = V4L2_TUNER_CAP_STEREO | V4L2_TUNER_CAP_RDS |
118 if (!dev->is_fm_band) /* Only FM has stereo capability! */ cadet_getstereo()
379 v->capability = bands[0].capability | bands[1].capability; vidioc_g_tuner()
H A Dtea575x.c68 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO |
77 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO |
86 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_FREQ_BANDS,
277 band->capability |= V4L2_TUNER_CAP_HWSEEK_BOUNDED; snd_tea575x_enum_freq_bands()
304 v->capability = band_fm.capability; snd_tea575x_g_tuner()
H A Dradio-raremono.c90 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO |
100 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_FREQ_BANDS,
109 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_FREQ_BANDS,
228 v->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO | vidioc_g_tuner()
H A Dradio-wl1273.c1276 struct v4l2_capability *capability) wl1273_fm_vidioc_querycap()
1282 strlcpy(capability->driver, WL1273_FM_DRIVER_NAME, wl1273_fm_vidioc_querycap()
1283 sizeof(capability->driver)); wl1273_fm_vidioc_querycap()
1284 strlcpy(capability->card, "Texas Instruments Wl1273 FM Radio", wl1273_fm_vidioc_querycap()
1285 sizeof(capability->card)); wl1273_fm_vidioc_querycap()
1286 strlcpy(capability->bus_info, radio->bus_type, wl1273_fm_vidioc_querycap()
1287 sizeof(capability->bus_info)); wl1273_fm_vidioc_querycap()
1289 capability->device_caps = V4L2_CAP_HW_FREQ_SEEK | wl1273_fm_vidioc_querycap()
1293 capability->capabilities = capability->device_caps | wl1273_fm_vidioc_querycap()
1485 audio->capability = V4L2_AUDCAP_STEREO; wl1273_fm_vidioc_g_audio()
1525 tuner->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_RDS | wl1273_fm_vidioc_g_tuner()
1580 dev_dbg(radio->dev, "tuner->capability: 0x%04x\n", tuner->capability); wl1273_fm_vidioc_s_tuner()
1783 modulator->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_RDS | wl1273_fm_vidioc_g_modulator()
1275 wl1273_fm_vidioc_querycap(struct file *file, void *priv, struct v4l2_capability *capability) wl1273_fm_vidioc_querycap() argument
H A Dradio-tea5777.c156 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO |
167 .capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_FREQ_BANDS |
315 v->capability = V4L2_TUNER_CAP_LOW | V4L2_TUNER_CAP_STEREO | vidioc_g_tuner()
H A Dtef6862.c91 v->capability = V4L2_TUNER_CAP_LOW; tef6862_g_tuner()
/linux-4.4.14/drivers/net/wireless/
H A Dray_cs.h13 UCHAR capability[2]; member in struct:beacon_rx
/linux-4.4.14/drivers/power/reset/
H A Dmsm-poweroff.c42 /* TODO: Add poweroff capability */ do_msm_poweroff()
/linux-4.4.14/arch/x86/entry/vdso/vdso32/
H A Dnote.S21 * We supply "nosegneg" as the fake capability, to indicate that we
/linux-4.4.14/arch/x86/kernel/cpu/
H A Drdrand.c38 * acts as a test of the CPU capability.
H A Dtransmeta.c82 /* Unhide possibly hidden capability flags */ init_transmeta()
/linux-4.4.14/net/atm/
H A Draw.c9 #include <linux/capability.h>
/linux-4.4.14/include/linux/
H A Dcapability.h2 * This is <linux/capability.h>
15 #include <uapi/linux/capability.h>
78 # error Fix up hand-coded capability macro initializers
79 #else /* HAND-CODED capability initializers */
H A Dbch.h35 * @t: error correction capability in bits
H A Dcdrom.h44 int mask; /* mask of capability: disables them */
89 const int capability; /* capability flags */ member in struct:cdrom_device_ops
H A Dcred.h15 #include <linux/capability.h>
139 kernel_cap_t cap_bset; /* capability bounding set */
140 kernel_cap_t cap_ambient; /* Ambient capability set */
/linux-4.4.14/include/linux/platform_data/
H A Dasoc-ti-mcbsp.h45 bool has_wakeup; /* Wakeup capability */
/linux-4.4.14/arch/sh/boot/romimage/
H A Dmmcif-sh7724.c53 /* high drive capability for MMC pins */ mmcif_loader()
/linux-4.4.14/arch/arm/mach-omap2/
H A Di2c.h30 * @flags: differences in hardware support capability
H A Dopp4xxx_data.c136 * XXX: May be we should enable these based on mpu capability and
154 * enabled by board file which is sure of the chip power capability
/linux-4.4.14/net/netlabel/
H A Dnetlabel_user.h35 #include <linux/capability.h>
/linux-4.4.14/tools/testing/selftests/capabilities/
H A Dvalidate_cap.c3 #include <linux/capability.h>
/linux-4.4.14/drivers/media/tuners/
H A Dmsi001.c27 .capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS,
33 .capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS,
323 v->capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS; msi001_g_tuner()
381 band->capability = bands[band->index].capability; msi001_enum_freq_bands()
H A Dfc2580.c378 .capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS,
420 v->capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS; fc2580_g_tuner()
471 band->capability = bands[band->index].capability; fc2580_enum_freq_bands()
H A De4000.c278 .capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS,
285 .capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS,
327 v->capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS; e4000_g_tuner()
378 band->capability = bands[band->index].capability; e4000_enum_freq_bands()
/linux-4.4.14/net/wireless/
H A Dscan.c452 if (WLAN_CAPABILITY_IS_STA_BSS(a->capability)) cmp_bss()
455 if (WLAN_CAPABILITY_IS_STA_BSS(b->capability)) cmp_bss()
533 static bool cfg80211_bss_type_match(u16 capability, cfg80211_bss_type_match() argument
575 ret = ((capability & mask) == val); cfg80211_bss_type_match()
598 if (!cfg80211_bss_type_match(bss->pub.capability, cfg80211_get_bss()
602 bss_privacy = (bss->pub.capability & WLAN_CAPABILITY_PRIVACY); cfg80211_get_bss()
839 found->pub.capability = tmp->pub.capability; cfg80211_bss_update()
945 const u8 *bssid, u64 tsf, u16 capability, cfg80211_inform_bss_data()
971 tmp.pub.capability = capability; cfg80211_inform_bss_data()
1010 bss_type = res->pub.capability & WLAN_CAPABILITY_DMG_TYPE_MASK; cfg80211_inform_bss_data()
1015 if (res->pub.capability & WLAN_CAPABILITY_ESS) cfg80211_inform_bss_data()
1083 tmp.pub.capability = le16_to_cpu(mgmt->u.probe_resp.capab_info); cfg80211_inform_bss_frame_data()
1093 bss_type = res->pub.capability & WLAN_CAPABILITY_DMG_TYPE_MASK; cfg80211_inform_bss_frame_data()
1098 if (res->pub.capability & WLAN_CAPABILITY_ESS) cfg80211_inform_bss_frame_data()
1436 if (bss->pub.capability & WLAN_CAPABILITY_PRIVACY) ieee80211_bss()
1577 if (bss->pub.capability & (WLAN_CAPABILITY_ESS | WLAN_CAPABILITY_IBSS) || ieee80211_bss()
1583 else if (bss->pub.capability & WLAN_CAPABILITY_ESS) ieee80211_bss()
942 cfg80211_inform_bss_data(struct wiphy *wiphy, struct cfg80211_inform_bss *data, enum cfg80211_bss_frame_type ftype, const u8 *bssid, u64 tsf, u16 capability, u16 beacon_interval, const u8 *ie, size_t ielen, gfp_t gfp) cfg80211_inform_bss_data() argument
/linux-4.4.14/sound/core/seq/oss/
H A Dseq_oss_midi.c46 unsigned int flags; /* port capability */
160 if ((pinfo->capability & PERM_WRITE) != PERM_WRITE && snd_seq_oss_midi_check_new_port()
161 (pinfo->capability & PERM_READ) != PERM_READ) snd_seq_oss_midi_check_new_port()
183 mdev->flags = pinfo->capability; snd_seq_oss_midi_check_new_port()
427 * change seq capability flags to file mode flags
702 snd_iprintf(buf, " capability %s / opened %s\n", snd_seq_oss_midi_info_read()
/linux-4.4.14/drivers/net/wireless/libertas/
H A Dcfg.c1138 cmd->capability = cpu_to_le16(bss->capability); lbs_associate()
1235 lbs_deb_assoc("status %d, statuscode 0x%04x, capability 0x%04x, " lbs_associate()
1237 le16_to_cpu(resp->capability), le16_to_cpu(resp->aid)); lbs_associate()
1692 * capability field when associating/joining to a BSS:
1700 u8 *bssid, u16 capability) lbs_join_post()
1757 capability, lbs_join_post()
1819 * capability 02 00 lbs_ibss_join_existing()
1837 cmd.bss.capability = cpu_to_le16(bss->capability & CAPINFO_MASK); lbs_ibss_join_existing()
1882 lbs_join_post(priv, params, bss->bssid, bss->capability); lbs_ibss_join_existing()
1899 u16 capability; lbs_ibss_start_new() local
1930 * capability 02 00 lbs_ibss_start_new()
1950 capability = WLAN_CAPABILITY_IBSS; lbs_ibss_start_new()
1951 cmd.capability = cpu_to_le16(capability); lbs_ibss_start_new()
1969 lbs_join_post(priv, params, resp->bssid, capability); lbs_ibss_start_new()
1698 lbs_join_post(struct lbs_private *priv, struct cfg80211_ibss_params *params, u8 *bssid, u16 capability) lbs_join_post() argument
H A Dhost.h436 /*FW/HW capability */
524 __le16 capability; member in struct:cmd_ds_802_11_associate
534 __le16 capability; member in struct:cmd_ds_802_11_associate_response
752 __le16 capability; member in struct:cmd_ds_802_11_ad_hoc_start
776 __le16 capability; member in struct:adhoc_bssdesc
H A Dtypes.h180 /* Local Power capability */
/linux-4.4.14/drivers/char/agp/
H A Dalpha-agp.c78 agp->capability.lw); alpha_core_agp_enable()
193 alpha_bridge->mode = agp->capability.lw; alpha_core_agp_setup()
H A Disoch.c199 /* Calculate left over ISOCH_N capability in the target. We'll give
205 * Along the way, distribute the extra ISOCH_N capability calculated
240 /* Calculate asynchronous RQ capability in the target (per master) as
/linux-4.4.14/arch/mips/include/asm/mach-pmcs-msp71xx/
H A Dmsp_usb.h75 u32 hccparams; /* 0x8: Host control capability parameters */
78 u32 dccparams; /* 0x24: Device control capability parameters */
/linux-4.4.14/arch/arm64/include/asm/
H A Dcpufeature.h77 u16 capability; member in struct:arm64_cpu_capabilities
113 pr_warn("Attempt to set an illegal CPU capability (%d >= %d)\n", cpus_set_cap()
/linux-4.4.14/drivers/mmc/core/
H A Dhost.c200 * and MMC_CAP2_RO_ACTIVE_HIGH capability-2 flags is set. If the mmc_of_parse()
201 * "broken-cd" property is provided, the MMC_CAP_NEEDS_POLL capability mmc_of_parse()
203 * MMC_CAP_NONREMOVABLE capability is set and no card-detection mmc_of_parse()
230 * If the capability on the host AND the GPIO line are mmc_of_parse()
/linux-4.4.14/drivers/iommu/
H A Dirq_remapping.h41 int capability; member in struct:irq_remap_ops
H A Dirq_remapping.c93 return (remap_ops->capability & (1 << cap)); irq_remapping_cap()
/linux-4.4.14/drivers/media/i2c/m5mols/
H A Dm5mols.h76 * struct m5mols_capture - Structure for the capture capability
92 * struct m5mols_scenemode - structure for the scenemode capability
97 * @chroma_en: register value whether the Chroma capability is enabled or not
99 * @edge_en: register value Whether the Edge capability is enabled or not
/linux-4.4.14/drivers/cpufreq/
H A Dsc520_freq.c79 /* capability check */ sc520_freq_cpu_init()
/linux-4.4.14/drivers/acpi/
H A Dwakeup.c54 * acpi_disable_wakeup_devices - Disable devices' wakeup capability.
/linux-4.4.14/include/linux/extcon/
H A Dextcon-adc-jack.h4 * Analog Jack extcon driver with ADC-based detection capability.
/linux-4.4.14/include/linux/netfilter/
H A Dnfnetlink.h6 #include <linux/capability.h>
/linux-4.4.14/sound/firewire/bebob/
H A Dbebob_yamaha.c19 * Both of them have a capability to change its sampling rate up to 192.0kHz.
/linux-4.4.14/drivers/net/wireless/mwifiex/
H A D11h.c97 * capability bit is found in the network we are joining. Also, necessary
98 * TLVs are set based on requested network's 11h capability.
104 /* Activate 11h functions in firmware, turns on capability mwifiex_11h_process_join()
H A D11n.c29 * Fills HT capability information field, AMPDU Parameters field, HT extended
30 * capability field, and supported MCS set fields.
32 * HT capability information field, AMPDU Parameters field, supported MCS set
35 * RD responder bit to set to clear in the extended capability header.
279 * - Setting HT Tx capability and HT Tx information fields
307 * - HT capability IE
/linux-4.4.14/net/mac80211/
H A Dibss.c42 const u16 capability, u64 tsf, ieee80211_ibss_build_presp()
84 mgmt->u.beacon.capab_info = cpu_to_le16(capability); ieee80211_ibss_build_presp()
175 /* add HT capability and information IEs */ ieee80211_ibss_build_presp()
194 /* add VHT capability and information IEs */ ieee80211_ibss_build_presp()
222 const u16 capability, u64 tsf, __ieee80211_sta_join_ibss()
318 capability, tsf, &chandef, __ieee80211_sta_join_ibss()
478 cbss->capability, ieee80211_sta_join_ibss()
489 u16 capability = 0; ieee80211_ibss_csa_beacon() local
496 capability = WLAN_CAPABILITY_PRIVACY; ieee80211_ibss_csa_beacon()
520 capability, tsf, &ifibss->chandef, ieee80211_ibss_csa_beacon()
1135 if (!(cbss->capability & WLAN_CAPABILITY_IBSS)) ieee80211_rx_bss_info()
1318 u16 capability; ieee80211_sta_create_ibss() local
1338 capability = WLAN_CAPABILITY_IBSS; ieee80211_sta_create_ibss()
1341 capability |= WLAN_CAPABILITY_PRIVACY; ieee80211_sta_create_ibss()
1345 capability, 0, true); ieee80211_sta_create_ibss()
40 ieee80211_ibss_build_presp(struct ieee80211_sub_if_data *sdata, const int beacon_int, const u32 basic_rates, const u16 capability, u64 tsf, struct cfg80211_chan_def *chandef, bool *have_higher_than_11mbit, struct cfg80211_csa_settings *csa_settings) ieee80211_ibss_build_presp() argument
218 __ieee80211_sta_join_ibss(struct ieee80211_sub_if_data *sdata, const u8 *bssid, const int beacon_int, struct cfg80211_chan_def *req_chandef, const u32 basic_rates, const u16 capability, u64 tsf, bool creator) __ieee80211_sta_join_ibss() argument
H A Dvht.c151 * capability bit when operating in 20 MHz. ieee80211_vht_cap_ie_to_sta_vht_cap()
158 * If user has specified capability overrides, take care ieee80211_vht_cap_ie_to_sta_vht_cap()
160 * we advertised a restricted capability set to. Override ieee80211_vht_cap_ie_to_sta_vht_cap()
/linux-4.4.14/drivers/staging/rtl8192e/
H A Drtllib_rx.c2340 network->capability = le16_to_cpu(beacon->capability); rtllib_network_init()
2353 network->erp_value = (network->capability & WLAN_CAPABILITY_IBSS) ? rtllib_network_init()
2424 * and the capability field (in particular IBSS and BSS) all match. is_same_network()
2433 ((src->capability & WLAN_CAPABILITY_IBSS) == is_same_network()
2434 (dst->capability & WLAN_CAPABILITY_IBSS)) && is_same_network()
2435 ((src->capability & WLAN_CAPABILITY_ESS) == is_same_network()
2436 (dst->capability & WLAN_CAPABILITY_ESS))); is_same_network()
2448 dst->capability = src->capability; update_network()
2602 (le16_to_cpu(beacon->capability) & (1<<0xf)) ? '1' : '0', rtllib_process_probe_response()
2603 (le16_to_cpu(beacon->capability) & (1<<0xe)) ? '1' : '0', rtllib_process_probe_response()
2604 (le16_to_cpu(beacon->capability) & (1<<0xd)) ? '1' : '0', rtllib_process_probe_response()
2605 (le16_to_cpu(beacon->capability) & (1<<0xc)) ? '1' : '0', rtllib_process_probe_response()
2606 (le16_to_cpu(beacon->capability) & (1<<0xb)) ? '1' : '0', rtllib_process_probe_response()
2607 (le16_to_cpu(beacon->capability) & (1<<0xa)) ? '1' : '0', rtllib_process_probe_response()
2608 (le16_to_cpu(beacon->capability) & (1<<0x9)) ? '1' : '0', rtllib_process_probe_response()
2609 (le16_to_cpu(beacon->capability) & (1<<0x8)) ? '1' : '0', rtllib_process_probe_response()
2610 (le16_to_cpu(beacon->capability) & (1<<0x7)) ? '1' : '0', rtllib_process_probe_response()
2611 (le16_to_cpu(beacon->capability) & (1<<0x6)) ? '1' : '0', rtllib_process_probe_response()
2612 (le16_to_cpu(beacon->capability) & (1<<0x5)) ? '1' : '0', rtllib_process_probe_response()
2613 (le16_to_cpu(beacon->capability) & (1<<0x4)) ? '1' : '0', rtllib_process_probe_response()
2614 (le16_to_cpu(beacon->capability) & (1<<0x3)) ? '1' : '0', rtllib_process_probe_response()
2615 (le16_to_cpu(beacon->capability) & (1<<0x2)) ? '1' : '0', rtllib_process_probe_response()
2616 (le16_to_cpu(beacon->capability) & (1<<0x1)) ? '1' : '0', rtllib_process_probe_response()
2617 (le16_to_cpu(beacon->capability) & (1<<0x0)) ? '1' : '0'); rtllib_process_probe_response()
H A Drtllib_softmac.c844 if (ieee->current_network.capability & WLAN_CAPABILITY_IBSS) rtllib_probe_resp()
899 beacon_buf->capability = rtllib_probe_resp()
900 cpu_to_le16(ieee->current_network.capability & rtllib_probe_resp()
902 beacon_buf->capability |= rtllib_probe_resp()
903 cpu_to_le16(ieee->current_network.capability & rtllib_probe_resp()
906 if (ieee->short_slot && (ieee->current_network.capability & rtllib_probe_resp()
908 beacon_buf->capability |= rtllib_probe_resp()
913 beacon_buf->capability |= cpu_to_le16(WLAN_CAPABILITY_PRIVACY); rtllib_probe_resp()
992 assoc->capability = cpu_to_le16(ieee->iw_mode == IW_MODE_MASTER ? rtllib_assoc_resp()
997 assoc->capability |= rtllib_assoc_resp()
1008 assoc->capability |= cpu_to_le16(WLAN_CAPABILITY_PRIVACY); rtllib_assoc_resp()
1255 hdr->capability = cpu_to_le16(WLAN_CAPABILITY_ESS); rtllib_association_req()
1256 if (beacon->capability & WLAN_CAPABILITY_PRIVACY) rtllib_association_req()
1257 hdr->capability |= cpu_to_le16(WLAN_CAPABILITY_PRIVACY); rtllib_association_req()
1259 if (beacon->capability & WLAN_CAPABILITY_SHORT_PREAMBLE) rtllib_association_req()
1260 hdr->capability |= cpu_to_le16(WLAN_CAPABILITY_SHORT_PREAMBLE); rtllib_association_req()
1263 (beacon->capability&WLAN_CAPABILITY_SHORT_SLOT_TIME)) rtllib_association_req()
1264 hdr->capability |= cpu_to_le16(WLAN_CAPABILITY_SHORT_SLOT_TIME); rtllib_association_req()
1633 if ((ieee->iw_mode == IW_MODE_INFRA) && !(net->capability & rtllib_softmac_new_net()
1637 if ((ieee->iw_mode == IW_MODE_ADHOC) && !(net->capability & rtllib_softmac_new_net()
2685 ieee->current_network.capability = WLAN_CAPABILITY_IBSS; rtllib_start_ibss_wq()
3479 encrypt = (ieee->current_network.capability & WLAN_CAPABILITY_PRIVACY) rtllib_ap_sec_type()
H A Drtllib_wx.c100 if (network->capability & rtl819x_translate_scan()
102 if (network->capability & WLAN_CAPABILITY_ESS) rtl819x_translate_scan()
118 /* Add encryption capability */ rtl819x_translate_scan()
120 if (network->capability & WLAN_CAPABILITY_PRIVACY) rtl819x_translate_scan()
/linux-4.4.14/drivers/net/wireless/libertas_tf/
H A Dlibertas_tf.h228 /** capability Info used in Association, start, join */
229 u16 capability; member in struct:lbtf_private
373 /*FW/HW capability */
/linux-4.4.14/drivers/staging/rtl8188eu/include/
H A Drtw_rf.h62 enum capability { enum
/linux-4.4.14/drivers/staging/rtl8712/
H A Dieee80211.h572 u16 capability;
597 u16 capability; member in struct:ieee80211_probe_response
607 u16 capability; member in struct:ieee80211_assoc_request_frame
614 u16 capability; member in struct:ieee80211_assoc_response_frame
H A Dwlan_bssdef.h94 /*(timestamp, beacon interval, and capability information) */
/linux-4.4.14/drivers/staging/wilc1000/
H A Dcoreconfigurator.c106 IEXTCAP = 127, /* Extended capability */
233 /* This function extracts the capability info field from the beacon or probe */
254 /* This function extracts the capability info field from the Association */
522 /* get the capability */ ParseAssocRespInfo()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
H A Dxattr.c136 /* b15587: ignore security.capability xattr for now */ ll_setxattr_common()
138 strcmp(name, "security.capability") == 0)) ll_setxattr_common()
310 /* b15587: ignore security.capability xattr for now */ ll_getxattr_common()
312 strcmp(name, "security.capability") == 0)) ll_getxattr_common()
/linux-4.4.14/drivers/scsi/bfa/
H A Dbfa_defs.h415 u8 cap_bm; /* capability */
569 * Initial capability definition
575 * Adapter capability mask definition
611 char cap_nic; /*!< capability nic */
612 char cap_cna; /*!< capability cna */
613 char cap_hba; /*!< capability hba */
614 char cap_fc16g; /*!< capability fc 16g */
615 char cap_sriov; /*!< capability sriov */
616 char cap_mezz; /*!< capability mezz */
/linux-4.4.14/drivers/net/bonding/
H A Dbond_sysfs_slave.c11 #include <linux/capability.h>
/linux-4.4.14/drivers/gpu/drm/vmwgfx/device_include/
H A Dsvga3d_caps.h31 * driver initialization. The capability data is stored as very
H A Dsvga3d_devcaps.h441 * Convenience mask for any multisample capability.
443 * The multisample bits imply both load and render capability.
H A Dsvga_reg.h117 * SVGA_CAP_IRQMASK capability is present.
625 * XXX: Add longer descriptions for each capability, including a list
626 * of the new features that each capability provides.
699 * the SVGA device is initialized. The type of capability the guest
703 * the requested capability. If the command is not supported then EBX
749 * associated capability bit is enabled.
817 * capability bits, since comparisons based on SVGA_FIFO_MIN aren't
1004 * XXX: Add longer descriptions for each capability, including a list
1005 * of the new features that each capability provides.
1070 * are codependent (and thus we use a single capability bit).
1076 * store. This capability requires the use of a backing store when
1221 * SVGA_FIFO_CAP_SCREEN_OBJECT capability bit is set.
1452 * SVGA_FIFO_CAP_CURSOR_BYPASS_3 capability.
1484 * SVGA_FIFO_CAP_CURSOR_BYPASS_3 capability.
/linux-4.4.14/drivers/net/wireless/b43/
H A Dsysfs.c26 #include <linux/capability.h>
/linux-4.4.14/arch/x86/include/asm/
H A Dmwait.h94 * capability.
/linux-4.4.14/arch/x86/kernel/
H A Dioport.c8 #include <linux/capability.h>
/linux-4.4.14/arch/alpha/kernel/
H A Dpci-noop.c11 #include <linux/capability.h>
/linux-4.4.14/fs/hfsplus/
H A Dioctl.c15 #include <linux/capability.h>
/linux-4.4.14/security/selinux/include/
H A Dclassmap.h36 { "capability",
/linux-4.4.14/include/net/
H A Dip6_tunnel.h15 /* determine capability on a per-packet basis */
H A Dnl802154.h159 * enum nl802154_wpan_phy_capability_attr - wpan phy capability attributes
257 * enum nl802154_supported_bool_states - bool states for bool capability entry
/linux-4.4.14/fs/xfs/
H A Dxfs_icache.h54 /* recovery needs direct inode allocation capability */
/linux-4.4.14/arch/s390/include/asm/
H A Dsysinfo.h62 unsigned int capability; member in struct:sysinfo_1_2_2
/linux-4.4.14/arch/sh/drivers/pci/
H A Dcommon.c68 /* check 66MHz capability */ EARLY_PCI_OP()
/linux-4.4.14/arch/m68k/mvme16x/
H A Drtc.c13 #include <linux/capability.h>
/linux-4.4.14/drivers/xen/xenbus/
H A Dxenbus_dev_backend.c9 #include <linux/capability.h>
/linux-4.4.14/drivers/media/v4l2-core/
H A Dv4l2-ioctl.c212 pr_cont("index=%u, name=%.*s, capability=0x%x, mode=0x%x\n", v4l_print_audio()
214 p->capability, p->mode); v4l_print_audio()
224 pr_cont("index=%u, name=%.*s, capability=0x%x, mode=0x%x\n", v4l_print_audioout()
226 p->capability, p->mode); v4l_print_audioout()
345 pr_cont("capability=0x%x, flags=0x%x, base=0x%p, width=%u, " v4l_print_framebuffer()
348 p->capability, p->flags, p->base, v4l_print_framebuffer()
370 pr_cont("index=%u, name=%.*s, capability=0x%x, " v4l_print_modulator()
372 p->index, (int)sizeof(p->name), p->name, p->capability, v4l_print_modulator()
383 pr_cont("index=%u, name=%.*s, type=%u, capability=0x%x, " v4l_print_tuner()
387 p->capability, p->rangelow, v4l_print_tuner()
505 pr_cont(", capability=0x%x, capturemode=0x%x, timeperframe=%d/%d, " v4l_print_streamparm()
507 c->capability, c->capturemode, v4l_print_streamparm()
514 pr_cont(", capability=0x%x, outputmode=0x%x, timeperframe=%d/%d, " v4l_print_streamparm()
516 c->capability, c->outputmode, v4l_print_streamparm()
861 pr_cont("tuner=%u, type=%u, index=%u, capability=0x%x, " v4l_print_freq_band()
864 p->capability, p->rangelow, v4l_print_freq_band()
1631 p->capability |= V4L2_TUNER_CAP_FREQ_BANDS; v4l_g_tuner()
1658 p->capability |= V4L2_TUNER_CAP_FREQ_BANDS; v4l_g_modulator()
2346 p->capability = t.capability | V4L2_TUNER_CAP_FREQ_BANDS; v4l_enum_freq_bands()
2365 p->capability = m.capability | V4L2_TUNER_CAP_FREQ_BANDS; v4l_enum_freq_bands()
/linux-4.4.14/Documentation/cdrom/
H A Dcdrom-standard.tex97 but even when two drives have the same capability their drivers'
251 &const\ int& capability;& capability flags \cr
259 NULL instead. The $capability$ flags specify the capabilities of the
265 $cdrom_device_ops$ because they describe the capability of the {\em
289 & int& mask;& mask of capability: disables them \cr
305 in $ops\to capability$, if a specific drive doesn't support a feature
340 corresponding capability flags will be cleared upon registration.
444 this `auto-selection' capability, the decision should be made on the
547 \label{capability}
552 capability-constants that are defined in \cdromh\ at the registration
570 The capability flag is declared $const$, to prevent drivers from
571 accidentally tampering with the contents. The capability fags actually
573 by the driver does not have the capability, is can be masked out by
576 hence its corresponding flags in $capability$ will be set. But a SCSI
583 if\ (cdo\rightarrow capability \mathrel\& \mathord{\sim} cdi\rightarrow mask
584 \mathrel{\&} CDC_<capability>) \ldots
939 \item[CDROM_GET_CAPABILITY] Returns the $capability$ flags for the
940 drive. Refer to section \ref{capability} for more information on
969 make the entry $NULL$. At the entry $capability$ you should list all
971 has a capability that is not listed, please send me a message.
/linux-4.4.14/drivers/staging/lustre/lustre/mdc/
H A Dmdc_internal.h60 __u32 gid, cfs_cap_t capability, __u64 rdev);
124 cfs_cap_t capability, __u64 rdev,
/linux-4.4.14/drivers/input/mouse/
H A Dsynaptics.h45 /* synaptics capability bits */
100 * capability are actually meant to be used
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb_nl.c120 * i40e_dcbnl_getdcbx - retrieve current DCBx capability
123 * Returns DCBx capability features
/linux-4.4.14/drivers/ata/
H A Dlibata-zpodd.c163 * Enable runtime wake capability through ACPI and set the powered_off flag,
181 /* Disable runtime wake capability if it is enabled */ zpodd_disable_run_wake()
/linux-4.4.14/drivers/char/
H A Draw.c18 #include <linux/capability.h>
143 * same capability bind_set()
/linux-4.4.14/arch/arm/mach-ep93xx/
H A Dedb93xx.c213 /* These platforms have an ep93xx with video capability */ edb93xx_has_fb()
239 * Although EDB9312 and EDB9315 do have IDE capability, they have edb93xx_has_ide()
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_topology.c117 dev->node_props.capability |= HSA_CAP_ATS_PRESENT; kfd_populated_cu_info_cpu()
140 dev->node_props.capability |= HSA_CAP_HOT_PLUGGABLE; kfd_populated_cu_info_gpu()
717 dev->node_props.capability |= node_show()
720 dev->node_props.capability |= node_show()
737 sysfs_show_32bit_prop(buffer, "capability", node_show()
738 dev->node_props.capability); node_show()
1190 dev->node_props.capability |= HSA_CAP_DOORBELL_PACKET_TYPE; kfd_topology_add_device()
1191 pr_info("amdkfd: adding doorbell packet type capability\n"); kfd_topology_add_device()
/linux-4.4.14/drivers/media/dvb-frontends/drx39xyj/
H A Ddrx_driver.h336 * \brief LNA capability flag
343 * \brief OOB-RX capability flag
350 * \brief ATV capability flag
357 * \brief DVB-T capability flag
364 * \brief ITU-B capability flag
371 * \brief Audio capability flag
378 * \brief SAW switch capability flag
385 * \brief GPIO1 capability flag
392 * \brief GPIO2 capability flag
399 * \brief IRQN capability flag
406 * \brief 8VSB capability flag
413 * \brief SMA-TX capability flag
420 * \brief SMA-RX capability flag
427 * \brief ITU-A/C capability flag
/linux-4.4.14/drivers/net/irda/
H A Dirda-usb.c156 if (self->capability & IUC_STIR421X && irda_usb_build_header()
175 if ((self->capability & IUC_SPEED_BUG) && irda_usb_build_header()
322 if (self->capability & IUC_STIR421X) { irda_usb_change_speed_xbofs()
446 if (self->capability & IUC_STIR421X) { irda_usb_hard_xmit()
494 if (self->capability & IUC_NO_TURN) { irda_usb_hard_xmit()
879 if (self->capability & IUC_STIR421X) irda_usb_receive()
1369 if(self->capability & IUC_SIR_ONLY) irda_usb_init_qos()
1371 if(self->capability & IUC_SMALL_PKT) irda_usb_init_qos()
1373 if(self->capability & IUC_NO_WINDOW) irda_usb_init_qos()
1375 if(self->capability & IUC_MAX_WINDOW) irda_usb_init_qos()
1377 if(self->capability & IUC_MAX_XBOFS) irda_usb_init_qos()
1627 self->capability = id->driver_info; irda_usb_probe()
1628 self->needspatch = ((self->capability & IUC_STIR421X) != 0); irda_usb_probe()
1631 if (self->capability & IUC_STIR421X) { irda_usb_probe()
/linux-4.4.14/drivers/bcma/
H A Ddriver_pci_host.c270 /* return cap_offset if requested capability exists in the PCI config space */ bcma_find_pci_capability()
286 /* check if the capability pointer field exists */ bcma_find_pci_capability()
292 /* check if the capability pointer is 0x00 */ bcma_find_pci_capability()
298 /* loop thr'u the capability list and see if the requested capabilty bcma_find_pci_capability()
310 /* found the caller requested capability */ bcma_find_pci_capability()
/linux-4.4.14/drivers/scsi/megaraid/
H A Dmegaraid_sas_fp.c305 /*Convert Raid capability values to CPU arch */ MR_ValidateMapInfo()
309 le32_to_cpus((u32 *)&raid->capability); MR_ValidateMapInfo()
1024 if (raid->capability.fpCapable) { MR_BuildRaidContext()
1026 io_info->fpOkForIo = (raid->capability.fpReadCapable && MR_BuildRaidContext()
1028 raid->capability. MR_BuildRaidContext()
1031 io_info->fpOkForIo = (raid->capability.fpWriteCapable && MR_BuildRaidContext()
1033 raid->capability. MR_BuildRaidContext()
/linux-4.4.14/drivers/media/pci/saa7146/
H A Dmxb.c104 .capability = V4L2_AUDCAP_STEREO,
108 .capability = V4L2_AUDCAP_STEREO,
112 .capability = V4L2_AUDCAP_STEREO,
116 .capability = V4L2_AUDCAP_STEREO,
120 .capability = V4L2_AUDCAP_STEREO,
124 .capability = V4L2_AUDCAP_STEREO,
557 t->capability = V4L2_TUNER_CAP_NORM | V4L2_TUNER_CAP_STEREO | vidioc_g_tuner()
/linux-4.4.14/drivers/net/ethernet/dec/tulip/
H A Duli526x.c166 u16 NIC_capability; /* NIC media capability */
476 db->NIC_capability = 0xf; /* All capability*/ uli526x_open()
547 /* phyxcer capability setting */ uli526x_init()
1555 * Set 10/100 phyxcer capability
1556 * AUTO mode : phyxcer register4 is NIC capability
1565 /* Phyxcer capability setting */ uli526x_set_phyxcer()
1582 /* Write new capability to Phyxcer Reg4 */ uli526x_set_phyxcer()
1599 * N-way force capability with SWITCH
1620 /* parter without N-Way capability */ uli526x_process_mode()
/linux-4.4.14/arch/tile/kernel/
H A Dpci-dma.c592 * For PCI devices with 64-bit DMA addressing capability, promote dma_set_coherent_mask()
593 * the dma_ops to full capability for both streams and consistent dma_set_coherent_mask()
621 * 64-bit DMA if they have that capability, by returning the 64-bit
/linux-4.4.14/arch/powerpc/include/asm/
H A Deeh.h136 int pcix_cap; /* Saved PCIx capability */
137 int pcie_cap; /* Saved PCIe capability */
138 int aer_cap; /* Saved AER capability */
/linux-4.4.14/drivers/usb/isp1760/
H A Disp1760-regs.h23 /* EHCI capability registers */
/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/linux/
H A Dlibcfs.h133 #include <linux/capability.h>
/linux-4.4.14/drivers/staging/comedi/drivers/
H A Dpcm3724.c35 * I/O lines to increase driving capability. Because the 74HCT245 is a
/linux-4.4.14/drivers/scsi/aic7xxx/
H A Dcam.h65 CAM_PROVIDE_FAIL, /* Unable to provide requested capability */
/linux-4.4.14/drivers/media/i2c/
H A Dvp27smpx.c108 vt->capability = V4L2_TUNER_CAP_STEREO | vp27smpx_g_tuner()
/linux-4.4.14/drivers/media/pci/bt8xx/
H A Ddst_common.h58 /* Card capability list */
/linux-4.4.14/drivers/media/pci/cobalt/
H A Dcobalt-driver.c212 cobalt_info("PCIe device capability 0x%08x: Max payload %d\n", cobalt_pcie_status_show()
224 cobalt_info("PCIe link capability 0x%08x: %s per lane and %u lanes\n", cobalt_pcie_status_show()
234 cobalt_info("PCIe bus link capability 0x%08x: %s per lane and %u lanes\n", cobalt_pcie_status_show()
242 cobalt_info("PCIe slot capability 0x%08x\n", capa); cobalt_pcie_status_show()
/linux-4.4.14/drivers/media/pci/cx18/
H A Dcx18-cards.h57 /* V4L2 capability aliases */
/linux-4.4.14/drivers/infiniband/hw/qib/
H A Dqib_pcie.c282 qib_dev_err(dd, "Can't find PCI Express capability!\n"); qib_pcie_params()
298 qib_dev_err(dd, "No PCI MSI or MSIx capability!\n"); qib_pcie_params()
366 "Can't find MSI capability, can't restore MSI settings\n"); qib_reinit_intr()
624 /* End of PCIe capability tuning */
/linux-4.4.14/drivers/media/usb/airspy/
H A Dairspy.c64 .capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS,
75 .capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS,
727 v->capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS; airspy_g_tuner()
734 v->capability = V4L2_TUNER_CAP_1HZ | V4L2_TUNER_CAP_FREQ_BANDS; airspy_g_tuner()

Completed in 7212 milliseconds

123456