| /kernel/linux/linux-5.10/drivers/staging/media/rkisp1/ |
| D | rkisp1-capture.c | 345 int rkisp1_cap_enum_mbus_codes(struct rkisp1_capture *cap, in rkisp1_cap_enum_mbus_codes() 373 static void rkisp1_mi_config_ctrl(struct rkisp1_capture *cap) in rkisp1_mi_config_ctrl() 402 static void rkisp1_irq_frame_end_enable(struct rkisp1_capture *cap) in rkisp1_irq_frame_end_enable() 410 static void rkisp1_mp_config(struct rkisp1_capture *cap) in rkisp1_mp_config() 447 static void rkisp1_sp_config(struct rkisp1_capture *cap) in rkisp1_sp_config() 487 static void rkisp1_mp_disable(struct rkisp1_capture *cap) in rkisp1_mp_disable() 496 static void rkisp1_sp_disable(struct rkisp1_capture *cap) in rkisp1_sp_disable() 504 static void rkisp1_mp_enable(struct rkisp1_capture *cap) in rkisp1_mp_enable() 520 static void rkisp1_sp_enable(struct rkisp1_capture *cap) in rkisp1_sp_enable() 528 static void rkisp1_mp_sp_stop(struct rkisp1_capture *cap) in rkisp1_mp_sp_stop() [all …]
|
| /kernel/linux/linux-4.19/drivers/staging/greybus/ |
| D | authentication.c | 48 struct gb_cap *cap = container_of(kref, struct gb_cap, kref); in cap_kref_release() local 58 static void put_cap(struct gb_cap *cap) in put_cap() 66 struct gb_cap *cap; in get_cap() local 85 static int cap_get_endpoint_uid(struct gb_cap *cap, u8 *euid) in cap_get_endpoint_uid() 103 static int cap_get_ims_certificate(struct gb_cap *cap, u32 class, u32 id, in cap_get_ims_certificate() 141 static int cap_authenticate(struct gb_cap *cap, u32 auth_type, u8 *uid, in cap_authenticate() 185 struct gb_cap *cap = get_cap(inode->i_cdev); in cap_open() local 198 struct gb_cap *cap = file->private_data; in cap_release() local 204 static int cap_ioctl(struct gb_cap *cap, unsigned int cmd, in cap_ioctl() 265 struct gb_cap *cap = file->private_data; in cap_ioctl_unlocked() local [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/greybus/ |
| D | authentication.c | 47 struct gb_cap *cap = container_of(kref, struct gb_cap, kref); in cap_kref_release() local 57 static void put_cap(struct gb_cap *cap) in put_cap() 65 struct gb_cap *cap; in get_cap() local 84 static int cap_get_endpoint_uid(struct gb_cap *cap, u8 *euid) in cap_get_endpoint_uid() 102 static int cap_get_ims_certificate(struct gb_cap *cap, u32 class, u32 id, in cap_get_ims_certificate() 140 static int cap_authenticate(struct gb_cap *cap, u32 auth_type, u8 *uid, in cap_authenticate() 184 struct gb_cap *cap = get_cap(inode->i_cdev); in cap_open() local 197 struct gb_cap *cap = file->private_data; in cap_release() local 203 static int cap_ioctl(struct gb_cap *cap, unsigned int cmd, in cap_ioctl() 264 struct gb_cap *cap = file->private_data; in cap_ioctl_unlocked() local [all …]
|
| /kernel/linux/linux-5.10/kernel/ |
| D | capability.c | 295 struct user_namespace *ns, int cap) in has_ns_capability() 316 bool has_capability(struct task_struct *t, int cap) in has_capability() 336 struct user_namespace *ns, int cap) in has_ns_capability_noaudit() 359 bool has_capability_noaudit(struct task_struct *t, int cap) in has_capability_noaudit() 365 int cap, in ns_capable_common() 394 bool ns_capable(struct user_namespace *ns, int cap) in ns_capable() 412 bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit() 431 bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid() 447 bool capable(int cap) in capable() 467 int cap) in file_ns_capable() [all …]
|
| /kernel/linux/linux-4.19/kernel/ |
| D | capability.c | 297 struct user_namespace *ns, int cap) in has_ns_capability() 318 bool has_capability(struct task_struct *t, int cap) in has_capability() 338 struct user_namespace *ns, int cap) in has_ns_capability_noaudit() 361 bool has_capability_noaudit(struct task_struct *t, int cap) in has_capability_noaudit() 367 int cap, in ns_capable_common() 396 bool ns_capable(struct user_namespace *ns, int cap) in ns_capable() 414 bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit() 430 bool capable(int cap) in capable() 450 int cap) in file_ns_capable() 485 bool capable_wrt_inode_uidgid(const struct inode *inode, int cap) in capable_wrt_inode_uidgid()
|
| /kernel/linux/linux-5.10/drivers/pci/pcie/ |
| D | dpc.c | 45 u16 *cap; in pci_save_dpc_state() local 61 u16 *cap; in pci_restore_dpc_state() local 129 u16 cap = pdev->dpc_cap, status; in dpc_wait_rp_inactive() local 147 u16 cap; in dpc_reset_link() local 189 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 311 u16 cap = pdev->dpc_cap, status; in dpc_irq() local 327 u16 cap; in pci_dpc_init() local 352 u16 ctl, cap; in dpc_probe() local
|
| /kernel/linux/linux-4.19/drivers/net/ethernet/samsung/sxgbe/ |
| D | sxgbe_reg.h | 412 #define SXGBE_HW_FEAT_GMII(cap) ((cap & 0x00000002) >> 1) argument 413 #define SXGBE_HW_FEAT_VLAN_HASH_FILTER(cap) ((cap & 0x00000010) >> 4) argument 414 #define SXGBE_HW_FEAT_SMA(cap) ((cap & 0x00000020) >> 5) argument 415 #define SXGBE_HW_FEAT_PMT_TEMOTE_WOP(cap) ((cap & 0x00000040) >> 6) argument 416 #define SXGBE_HW_FEAT_PMT_MAGIC_PKT(cap) ((cap & 0x00000080) >> 7) argument 417 #define SXGBE_HW_FEAT_RMON(cap) ((cap & 0x00000100) >> 8) argument 418 #define SXGBE_HW_FEAT_ARP_OFFLOAD(cap) ((cap & 0x00000200) >> 9) argument 419 #define SXGBE_HW_FEAT_IEEE1500_2008(cap) ((cap & 0x00001000) >> 12) argument 420 #define SXGBE_HW_FEAT_EEE(cap) ((cap & 0x00002000) >> 13) argument 421 #define SXGBE_HW_FEAT_TX_CSUM_OFFLOAD(cap) ((cap & 0x00004000) >> 14) argument [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/samsung/sxgbe/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | capability.h | 25 __u32 cap[_KERNEL_CAPABILITY_U32S]; member 215 static inline bool has_capability(struct task_struct *t, int cap) in has_capability() 220 struct user_namespace *ns, int cap) in has_ns_capability() 224 static inline bool has_capability_noaudit(struct task_struct *t, int cap) in has_capability_noaudit() 229 struct user_namespace *ns, int cap) in has_ns_capability_noaudit() 233 static inline bool capable(int cap) in capable() 237 static inline bool ns_capable(struct user_namespace *ns, int cap) in ns_capable() 241 static inline bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit() 245 static inline bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid()
|
| /kernel/linux/linux-5.10/drivers/vfio/pci/ |
| D | vfio_pci_zdev.c | 30 struct vfio_device_info_cap_zpci_base cap = { in zpci_base_cap() local 51 struct vfio_device_info_cap_zpci_group cap = { in zpci_group_cap() local 72 struct vfio_device_info_cap_zpci_util *cap; in zpci_util_cap() local 98 struct vfio_device_info_cap_zpci_pfip *cap; in zpci_pfip_cap() local
|
| /kernel/linux/linux-4.19/include/linux/ |
| D | capability.h | 25 __u32 cap[_KERNEL_CAPABILITY_U32S]; member 213 static inline bool has_capability(struct task_struct *t, int cap) in has_capability() 218 struct user_namespace *ns, int cap) in has_ns_capability() 222 static inline bool has_capability_noaudit(struct task_struct *t, int cap) in has_capability_noaudit() 227 struct user_namespace *ns, int cap) in has_ns_capability_noaudit() 231 static inline bool capable(int cap) in capable() 235 static inline bool ns_capable(struct user_namespace *ns, int cap) in ns_capable() 239 static inline bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit()
|
| /kernel/linux/linux-4.19/drivers/media/platform/qcom/venus/ |
| D | hfi_parser.c | 19 struct venus_caps *caps = core->caps, *cap; in init_codecs() local 41 struct venus_caps *cap; in for_each_codec() local 54 fill_buf_mode(struct venus_caps *cap, const void *data, unsigned int num) in fill_buf_mode() 84 static void fill_profile_level(struct venus_caps *cap, const void *data, in fill_profile_level() 110 fill_caps(struct venus_caps *cap, const void *data, unsigned int num) in fill_caps() 122 struct hfi_capability *cap = caps->data; in parse_caps() local 135 static void fill_raw_fmts(struct venus_caps *cap, const void *fmts, in fill_raw_fmts() 214 struct venus_caps *caps, *cap; in parser_fini() local
|
| /kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/ |
| D | hfi_parser.c | 19 struct venus_caps *caps = core->caps, *cap; in init_codecs() local 41 struct venus_caps *cap; in for_each_codec() local 54 fill_buf_mode(struct venus_caps *cap, const void *data, unsigned int num) in fill_buf_mode() 84 static void fill_profile_level(struct venus_caps *cap, const void *data, in fill_profile_level() 110 fill_caps(struct venus_caps *cap, const void *data, unsigned int num) in fill_caps() 122 struct hfi_capability *cap = caps->data; in parse_caps() local 135 static void fill_raw_fmts(struct venus_caps *cap, const void *fmts, in fill_raw_fmts() 214 struct venus_caps *caps, *cap; in parser_fini() local
|
| /kernel/linux/linux-4.19/fs/ceph/ |
| D | caps.c | 134 struct ceph_cap *cap; in ceph_caps_finalize() local 161 struct ceph_cap *cap; in __ceph_unreserve_caps() local 197 struct ceph_cap *cap; in ceph_reserve_caps() local 310 struct ceph_cap *cap = NULL; in ceph_get_cap() local 361 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) in ceph_put_cap() 415 struct ceph_cap *cap; in __get_cap_for_mds() local 432 struct ceph_cap *cap; in ceph_get_cap_for_mds() local 445 struct ceph_cap *cap; in __ceph_get_cap_mds() local 479 struct ceph_cap *cap = NULL; in __insert_cap_node() local 576 static void __check_cap_issue(struct ceph_inode_info *ci, struct ceph_cap *cap, in __check_cap_issue() [all …]
|
| /kernel/linux/linux-4.19/drivers/pci/pcie/ |
| D | dpc.c | 52 u16 cap = dpc->cap_pos, status; in dpc_wait_rp_inactive() local 73 u16 cap; in dpc_reset_link() local 104 u16 cap = dpc->cap_pos, dpc_status, first_error; in dpc_process_rp_pio_error() local 184 u16 cap = dpc->cap_pos, status, source, reason, ext_reason; in dpc_handler() local 223 u16 cap = dpc->cap_pos, status; in dpc_irq() local 244 u16 ctl, cap; in dpc_probe() local
|
| D | ptm.c | 35 u32 cap, ctrl; in pci_ptm_init() local 102 u32 cap, ctrl; in pci_enable_ptm() local
|
| /kernel/linux/linux-5.10/arch/arm64/kernel/ |
| D | cpufeature.c | 1490 static bool cpu_can_use_dbm(const struct arm64_cpu_capabilities *cap) in cpu_can_use_dbm() 1496 static void cpu_enable_hw_dbm(struct arm64_cpu_capabilities const *cap) in cpu_enable_hw_dbm() 1502 static bool has_hw_dbm(const struct arm64_cpu_capabilities *cap, in has_hw_dbm() 1554 static void cpu_amu_enable(struct arm64_cpu_capabilities const *cap) in cpu_amu_enable() 1564 static bool has_amu(const struct arm64_cpu_capabilities *cap, in has_amu() 1678 static void cpu_enable_e0pd(struct arm64_cpu_capabilities const *cap) in cpu_enable_e0pd() 1717 static void cpu_enable_mte(struct arm64_cpu_capabilities const *cap) in cpu_enable_mte() 1730 cpucap_late_cpu_optional(const struct arm64_cpu_capabilities *cap) in cpucap_late_cpu_optional() 1736 cpucap_late_cpu_permitted(const struct arm64_cpu_capabilities *cap) in cpucap_late_cpu_permitted() 1742 cpucap_panic_on_conflict(const struct arm64_cpu_capabilities *cap) in cpucap_panic_on_conflict() [all …]
|
| /kernel/linux/linux-4.19/drivers/char/tpm/ |
| D | tpm-sysfs.c | 102 cap_t cap; in pcrs_show() local 139 cap_t cap; in enabled_show() local 161 cap_t cap; in active_show() local 183 cap_t cap; in owned_show() local 205 cap_t cap; in temp_deactivated_show() local 228 cap_t cap; in caps_show() local
|
| /kernel/linux/linux-4.19/security/apparmor/ |
| D | capability.c | 69 int cap, int error) in audit_caps() 118 static int profile_capable(struct aa_profile *profile, int cap, in profile_capable() 151 int aa_capable(struct aa_label *label, int cap, unsigned int opts) in aa_capable()
|
| /kernel/linux/linux-5.10/security/apparmor/ |
| D | capability.c | 65 int cap, int error) in audit_caps() 114 static int profile_capable(struct aa_profile *profile, int cap, in profile_capable() 147 int aa_capable(struct aa_label *label, int cap, unsigned int opts) in aa_capable()
|
| /kernel/linux/linux-5.10/include/linux/mlx5/ |
| D | device.h | 1189 #define MLX5_CAP_GEN(mdev, cap) \ argument 1192 #define MLX5_CAP_GEN_64(mdev, cap) \ argument 1195 #define MLX5_CAP_GEN_MAX(mdev, cap) \ argument 1198 #define MLX5_CAP_ETH(mdev, cap) \ argument 1202 #define MLX5_CAP_ETH_MAX(mdev, cap) \ argument 1206 #define MLX5_CAP_IPOIB_ENHANCED(mdev, cap) \ argument 1210 #define MLX5_CAP_ROCE(mdev, cap) \ argument 1213 #define MLX5_CAP_ROCE_MAX(mdev, cap) \ argument 1216 #define MLX5_CAP_ATOMIC(mdev, cap) \ argument 1219 #define MLX5_CAP_ATOMIC_MAX(mdev, cap) \ argument [all …]
|
| /kernel/linux/linux-5.10/drivers/char/tpm/ |
| 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
|
| /kernel/linux/linux-5.10/fs/ceph/ |
| D | caps.c | 135 struct ceph_cap *cap; in ceph_caps_finalize() local 168 struct ceph_cap *cap; in __ceph_unreserve_caps() local 204 struct ceph_cap *cap; in ceph_reserve_caps() local 329 struct ceph_cap *cap = NULL; in ceph_get_cap() local 381 void ceph_put_cap(struct ceph_mds_client *mdsc, struct ceph_cap *cap) in ceph_put_cap() 435 struct ceph_cap *cap; in __get_cap_for_mds() local 452 struct ceph_cap *cap; in ceph_get_cap_for_mds() local 468 struct ceph_cap *cap = NULL; in __insert_cap_node() local 560 static void __check_cap_issue(struct ceph_inode_info *ci, struct ceph_cap *cap, in __check_cap_issue() 638 struct ceph_cap *cap; in ceph_add_cap() local [all …]
|
| /kernel/linux/linux-5.10/drivers/thunderbolt/ |
| D | cap.c | 87 static int __tb_port_find_cap(struct tb_port *port, enum tb_port_cap cap) in __tb_port_find_cap() 119 int tb_port_find_cap(struct tb_port *port, enum tb_port_cap cap) in tb_port_find_cap() 188 int tb_switch_find_cap(struct tb_switch *sw, enum tb_switch_cap cap) in tb_switch_find_cap()
|
| /kernel/linux/linux-4.19/arch/arm64/kernel/ |
| D | cpufeature.c | 1023 static bool cpu_can_use_dbm(const struct arm64_cpu_capabilities *cap) in cpu_can_use_dbm() 1029 static void cpu_enable_hw_dbm(struct arm64_cpu_capabilities const *cap) in cpu_enable_hw_dbm() 1035 static bool has_hw_dbm(const struct arm64_cpu_capabilities *cap, in has_hw_dbm() 1346 #define __HWCAP_CAP(name, cap_type, cap) \ argument 1352 #define HWCAP_CAP(reg, field, s, min_value, cap_type, cap) \ argument 1358 #define HWCAP_CAP_MATCH(match, cap_type, cap) \ argument 1398 static bool compat_has_neon(const struct arm64_cpu_capabilities *cap, int scope) in compat_has_neon() 1435 static void __init cap_set_elf_hwcap(const struct arm64_cpu_capabilities *cap) in cap_set_elf_hwcap() 1456 static bool cpus_have_elf_hwcap(const struct arm64_cpu_capabilities *cap) in cpus_have_elf_hwcap() 1494 unsigned int cap) in __this_cpu_has_cap() [all …]
|