| /linux/drivers/staging/media/starfive/camss/ |
| H A D | stf-capture.c | 78 struct stf_capture *cap = to_stf_capture(video); in stf_init_addrs() local 112 struct stf_capture *cap = to_stf_capture(video); in stf_cap_s_cfg() local 137 struct stf_capture *cap = to_stf_capture(video); in stf_cap_s_cleanup() local 152 struct stf_capture *cap = to_stf_capture(video); in stf_wr_data_en() local 160 struct stf_capture *cap = to_stf_capture(video); in stf_wr_irq_enable() local 168 struct stf_capture *cap = to_stf_capture(video); in stf_wr_irq_disable() local 178 struct stf_capture *cap = to_stf_capture(video); in stf_channel_set() local 221 struct stf_capture *cap = to_stf_capture(video); in stf_capture_start() local 234 struct stf_capture *cap = to_stf_capture(video); in stf_capture_stop() local 242 static void stf_capture_init(struct stfcamss *stfcamss, struct stf_capture *cap) in stf_capture_init() [all …]
|
| /linux/drivers/staging/greybus/ |
| H A D | authentication.c | 50 struct gb_cap *cap = container_of(kref, struct gb_cap, kref); in cap_kref_release() local 60 static void put_cap(struct gb_cap *cap) in put_cap() 68 struct gb_cap *cap; in get_cap() local 87 static int cap_get_endpoint_uid(struct gb_cap *cap, u8 *euid) in cap_get_endpoint_uid() 105 static int cap_get_ims_certificate(struct gb_cap *cap, u32 class, u32 id, in cap_get_ims_certificate() 143 static int cap_authenticate(struct gb_cap *cap, u32 auth_type, u8 *uid, in cap_authenticate() 187 struct gb_cap *cap = get_cap(inode->i_cdev); in cap_open() local 200 struct gb_cap *cap = file->private_data; in cap_release() local 206 static int cap_ioctl(struct gb_cap *cap, unsigned int cmd, in cap_ioctl() 267 struct gb_cap *cap = file->private_data; in cap_ioctl_unlocked() local [all …]
|
| /linux/drivers/net/ethernet/samsung/sxgbe/ |
| H A D | sxgbe_reg.h | 409 #define SXGBE_HW_FEAT_GMII(cap) ((cap & 0x00000002) >> 1) argument 410 #define SXGBE_HW_FEAT_VLAN_HASH_FILTER(cap) ((cap & 0x00000010) >> 4) argument 411 #define SXGBE_HW_FEAT_SMA(cap) ((cap & 0x00000020) >> 5) argument 412 #define SXGBE_HW_FEAT_PMT_TEMOTE_WOP(cap) ((cap & 0x00000040) >> 6) argument 413 #define SXGBE_HW_FEAT_PMT_MAGIC_PKT(cap) ((cap & 0x00000080) >> 7) argument 414 #define SXGBE_HW_FEAT_RMON(cap) ((cap & 0x00000100) >> 8) argument 415 #define SXGBE_HW_FEAT_ARP_OFFLOAD(cap) ((cap & 0x00000200) >> 9) argument 416 #define SXGBE_HW_FEAT_IEEE1500_2008(cap) ((cap & 0x00001000) >> 12) argument 417 #define SXGBE_HW_FEAT_EEE(cap) ((cap & 0x00002000) >> 13) argument 418 #define SXGBE_HW_FEAT_TX_CSUM_OFFLOAD(cap) ((cap & 0x00004000) >> 14) argument [all …]
|
| /linux/drivers/pci/pcie/ |
| H A D | dpc.c | 49 u16 *cap; in pci_save_dpc_state() local 65 u16 *cap; in pci_restore_dpc_state() local 133 u16 cap = pdev->dpc_cap, status; in dpc_wait_rp_inactive() local 151 u16 cap; in dpc_reset_link() local 192 u16 cap = pdev->dpc_cap, dpc_status, first_error; in dpc_process_rp_pio_error() local 265 u16 cap = pdev->dpc_cap, status, source, reason, ext_reason; in dpc_process_error() local 386 u16 cap = pdev->dpc_cap, status; in dpc_irq() local 402 u16 cap; in pci_dpc_init() local 475 u16 cap; in dpc_probe() local
|
| /linux/drivers/vfio/pci/ |
| H A D | vfio_pci_zdev.c | 25 struct vfio_device_info_cap_zpci_base cap = { in zpci_base_cap() local 46 struct vfio_device_info_cap_zpci_group cap = { in zpci_group_cap() local 68 struct vfio_device_info_cap_zpci_util *cap; in zpci_util_cap() local 93 struct vfio_device_info_cap_zpci_pfip *cap; in zpci_pfip_cap() local
|
| /linux/arch/arm64/kernel/ |
| H A D | cpufeature.c | 1945 static void cpu_enable_kpti(struct arm64_cpu_capabilities const *cap) in cpu_enable_kpti() 1998 static bool cpu_can_use_dbm(const struct arm64_cpu_capabilities *cap) in cpu_can_use_dbm() 2004 static void cpu_enable_hw_dbm(struct arm64_cpu_capabilities const *cap) in cpu_enable_hw_dbm() 2012 static bool has_hw_dbm(const struct arm64_cpu_capabilities *cap, in has_hw_dbm() 2051 static void cpu_amu_enable(struct arm64_cpu_capabilities const *cap) in cpu_amu_enable() 2062 static bool has_amu(const struct arm64_cpu_capabilities *cap, in has_amu() 2106 static bool has_nested_virt_support(const struct arm64_cpu_capabilities *cap, in has_nested_virt_support() 2256 static void cpu_enable_e0pd(struct arm64_cpu_capabilities const *cap) in cpu_enable_e0pd() 2323 static void cpu_enable_mte(struct arm64_cpu_capabilities const *cap) in cpu_enable_mte() 2413 cpucap_late_cpu_optional(const struct arm64_cpu_capabilities *cap) in cpucap_late_cpu_optional() [all …]
|
| /linux/drivers/net/wireless/ath/wcn36xx/ |
| H A D | firmware.c | 82 enum wcn36xx_firmware_feat_caps cap) in wcn36xx_firmware_set_feat_caps() 97 enum wcn36xx_firmware_feat_caps cap) in wcn36xx_firmware_get_feat_caps() 113 enum wcn36xx_firmware_feat_caps cap) in wcn36xx_firmware_clear_feat_caps()
|
| /linux/drivers/pci/controller/cadence/ |
| H A D | pcie-cadence-ep.c | 25 u16 cap; in cdns_pcie_get_fn_from_vfn() local 44 u16 cap; in cdns_pcie_ep_write_header() local 233 u8 cap; in cdns_pcie_ep_set_msi() local 256 u8 cap; in cdns_pcie_ep_get_msi() local 280 u8 cap; in cdns_pcie_ep_get_msix() local 301 u8 cap; in cdns_pcie_ep_set_msix() local 391 u8 msi_count, cap; in cdns_pcie_ep_send_msi_irq() local 444 u8 msi_count, cap; in cdns_pcie_ep_map_msi_irq() local 497 u8 bir, cap; in cdns_pcie_ep_send_msix_irq() local 574 u8 cap; in cdns_pcie_ep_start() local
|
| /linux/fs/ceph/ |
| H A D | caps.c | 138 struct ceph_cap *cap; in ceph_caps_finalize() local 171 struct ceph_cap *cap; in __ceph_unreserve_caps() local 208 struct ceph_cap *cap; in ceph_reserve_caps() local 335 struct ceph_cap *cap = NULL; in ceph_get_cap() local 387 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) in ceph_put_cap() 443 struct ceph_cap *cap; in __get_cap_for_mds() local 460 struct ceph_cap *cap; in ceph_get_cap_for_mds() local 476 struct ceph_cap *cap = NULL; in __insert_cap_node() local 577 static void __check_cap_issue(struct ceph_inode_info *ci, struct ceph_cap *cap, in __check_cap_issue() 659 struct ceph_cap *cap; in ceph_add_cap() local [all …]
|
| /linux/tools/testing/selftests/landlock/ |
| H A D | common.h | 84 const cap_flag_t flag, const cap_value_t cap, in _change_cap() 100 const cap_value_t cap) in set_cap() 106 const cap_value_t cap) in clear_cap() 112 set_ambient_cap(struct __test_metadata *const _metadata, const cap_value_t cap) in set_ambient_cap() 124 struct __test_metadata *const _metadata, const cap_value_t cap) in clear_ambient_cap()
|
| /linux/drivers/infiniband/hw/hfi1/ |
| H A D | common.h | 45 #define HFI1_CAP_KSET(cap) ({ hfi1_cap_mask |= HFI1_CAP_##cap; hfi1_cap_mask; }) argument 46 #define HFI1_CAP_KCLEAR(cap) \ argument 51 #define HFI1_CAP_USET(cap) \ argument 56 #define HFI1_CAP_UCLEAR(cap) \ argument 61 #define HFI1_CAP_SET(cap) \ argument 67 #define HFI1_CAP_CLEAR(cap) \ argument
|
| /linux/drivers/platform/surface/aggregator/ |
| H A D | ssh_parser.h | 27 size_t cap; member 39 static inline void sshp_buf_init(struct sshp_buf *buf, u8 *ptr, size_t cap) in sshp_buf_init() 57 static inline int sshp_buf_alloc(struct sshp_buf *buf, size_t cap, gfp_t flags) in sshp_buf_alloc()
|
| /linux/drivers/rtc/ |
| H A D | rtc-efi.c | 119 efi_time_cap_t cap; in efi_read_time() local 150 efi_time_cap_t cap; in efi_procfs() local 193 efi_time_cap_t cap; in efi_rtc_probe() local
|
| /linux/drivers/gpu/drm/xe/ |
| H A D | xe_device_sysfs.c | 88 u32 cap = 0, ver_low = FAN_TABLE, ver_high = FAN_TABLE; in lb_fan_control_version_show() local 127 u32 cap = 0, ver_low = VR_CONFIG, ver_high = VR_CONFIG; in lb_voltage_regulator_version_show() local 173 u32 cap = 0; in late_bind_attr_is_visible() local 242 u32 cap, val; in auto_link_downgrade_capable_show() local
|
| /linux/security/apparmor/ |
| H A D | capability.c | 68 int cap, int error) in audit_caps() 121 static int profile_capable(struct aa_profile *profile, int cap, in profile_capable() 180 int cap, unsigned int opts) in aa_capable()
|
| /linux/drivers/char/tpm/ |
| H A D | tpm-sysfs.c | 85 cap_t cap; in pcrs_show() local 122 cap_t cap; in enabled_show() local 144 cap_t cap; in active_show() local 166 cap_t cap; in owned_show() local 188 cap_t cap; in temp_deactivated_show() local 212 cap_t cap; in caps_show() local
|
| /linux/security/ |
| H A D | commoncap.c | 68 cap_capable_helper(const struct cred * cred,struct user_namespace * target_ns,const struct user_namespace * cred_ns,int cap) cap_capable_helper() argument 123 cap_capable(const struct cred * cred,struct user_namespace * target_ns,int cap,unsigned int opts) cap_capable() argument 384 is_v2header(int size,const struct vfs_cap_data * cap) is_v2header() argument 391 is_v3header(int size,const struct vfs_cap_data * cap) is_v3header() argument 419 struct vfs_cap_data *cap; cap_inode_getsecurity() local 534 validheader(size_t size,const struct vfs_cap_data * cap) validheader() argument 563 const struct vfs_cap_data *cap = *ivalue; cap_convert_nscap() local 1263 cap_prctl_drop(unsigned long cap) cap_prctl_drop() argument [all...] |
| /linux/drivers/pci/ |
| H A D | pci.c | 427 u8 pos, int cap) in __pci_find_next_cap() 432 u8 pci_find_next_capability(struct pci_dev *dev, u8 pos, int cap) in pci_find_next_capability() 478 u8 pci_find_capability(struct pci_dev *dev, int cap) in pci_find_capability() 503 u8 pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap) in pci_bus_find_capability() 528 u16 pci_find_next_ext_capability(struct pci_dev *dev, u16 start, int cap) in pci_find_next_ext_capability() 552 u16 pci_find_ext_capability(struct pci_dev *dev, int cap) in pci_find_ext_capability() 595 u8 cap, mask; in __pci_find_next_ht_cap() local 673 u16 pci_find_vsec_capability(struct pci_dev *dev, u16 vendor, int cap) in pci_find_vsec_capability() 895 u16 cap; member 1615 u16 cap, bool extended) in _pci_find_saved_cap() [all …]
|
| /linux/drivers/watchdog/ |
| H A D | pseries-wdt.c | 68 #define PSERIES_WDTQ_MIN_TIMEOUT(cap) (((cap) >> 48) & 0xffff) argument 69 #define PSERIES_WDTQ_MAX_NUMBER(cap) (((cap) >> 32) & 0xffff) argument 149 unsigned long cap; in pseries_wdt_probe() local
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
| H A D | ipsec.c | 85 void *hca_cap, *query_cap, *cap; in esw_ipsec_vf_set_generic() local 125 void *hca_cap, *query_cap, *cap; in esw_ipsec_vf_set_bytype() local 176 void *hca_cap, *query_cap, *cap; in esw_ipsec_vf_crypto_aux_caps_set() local
|
| /linux/drivers/platform/x86/ |
| H A D | acer-wmi.c | 826 static bool has_cap(u32 cap) in has_cap() 862 static acpi_status AMW0_get_u32(u32 *value, u32 cap) in AMW0_get_u32() 932 static acpi_status AMW0_set_u32(u32 value, u32 cap) in AMW0_set_u32() 1145 static acpi_status WMID_get_u32(u32 *value, u32 cap) in WMID_get_u32() 1182 static acpi_status WMID_set_u32(u32 value, u32 cap) in WMID_set_u32() 1273 static acpi_status wmid_v2_get_u32(u32 *value, u32 cap) in wmid_v2_get_u32() 1380 static acpi_status wmid_v2_set_u32(u32 value, u32 cap) in wmid_v2_set_u32() 1555 static acpi_status WMID_gaming_set_u64(u64 value, u32 cap) in WMID_gaming_set_u64() 1576 static acpi_status WMID_gaming_get_u64(u64 *value, u32 cap) in WMID_gaming_get_u64() 1686 static acpi_status get_u32(u32 *value, u32 cap) in get_u32() [all …]
|
| /linux/drivers/media/usb/pvrusb2/ |
| H A D | pvrusb2-hdw.c | 441 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_cropl_min_get() local 452 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_cropl_max_get() local 466 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_cropt_min_get() local 477 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_cropt_max_get() local 491 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_cropw_max_get() local 507 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_croph_max_get() local 523 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_get_cropcapbl() local 534 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_get_cropcapbt() local 545 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_get_cropcapbw() local 556 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_get_cropcapbh() local [all …]
|
| /linux/drivers/pci/controller/dwc/ |
| H A D | pcie-designware.c | 224 u8 dw_pcie_find_capability(struct dw_pcie *pci, u8 cap) in dw_pcie_find_capability() 231 u16 dw_pcie_find_ext_capability(struct dw_pcie *pci, u8 cap) in dw_pcie_find_ext_capability() 702 u32 cap, ctrl2, link_speed; in dw_pcie_link_set_max_speed() local 749 u8 cap = dw_pcie_find_capability(pci, PCI_CAP_ID_EXP); in dw_pcie_link_get_max_link_width() local 758 u8 cap; in dw_pcie_link_set_max_link_width() local
|
| /linux/drivers/infiniband/hw/hns/ |
| H A D | hns_roce_qp.c | 466 static int set_rq_size(struct hns_roce_dev *hr_dev, struct ib_qp_cap *cap, in set_rq_size() 513 struct ib_qp_cap *cap) in get_max_inline_data() 525 struct ib_qp_cap *cap) in update_inline_data() 574 struct hns_roce_qp *hr_qp, struct ib_qp_cap *cap) in set_ext_sge_param() 620 struct ib_qp_cap *cap, in check_sq_size_with_integrity() 643 struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp, in set_user_sq_size() 721 struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp) in set_kernel_sq_size()
|
| /linux/drivers/net/ethernet/netronome/nfp/bpf/ |
| H A D | main.c | 209 struct nfp_bpf_cap_tlv_adjust_head __iomem *cap = value; in nfp_bpf_parse_cap_adjust_head() local 240 struct nfp_bpf_cap_tlv_func __iomem *cap = value; in nfp_bpf_parse_cap_func() local 268 struct nfp_bpf_cap_tlv_maps __iomem *cap = value; in nfp_bpf_parse_cap_maps() local
|