| /kernel/linux/linux-6.6/drivers/media/platform/rockchip/rkisp1/ |
| D | rkisp1-capture.c | 367 int rkisp1_cap_enum_mbus_codes(struct rkisp1_capture *cap, in rkisp1_cap_enum_mbus_codes() 395 static void rkisp1_mi_config_ctrl(struct rkisp1_capture *cap) in rkisp1_mi_config_ctrl() 424 static void rkisp1_irq_frame_end_enable(struct rkisp1_capture *cap) in rkisp1_irq_frame_end_enable() 432 static void rkisp1_mp_config(struct rkisp1_capture *cap) in rkisp1_mp_config() 469 static void rkisp1_sp_config(struct rkisp1_capture *cap) in rkisp1_sp_config() 509 static void rkisp1_mp_disable(struct rkisp1_capture *cap) in rkisp1_mp_disable() 518 static void rkisp1_sp_disable(struct rkisp1_capture *cap) in rkisp1_sp_disable() 526 static void rkisp1_mp_enable(struct rkisp1_capture *cap) in rkisp1_mp_enable() 542 static void rkisp1_sp_enable(struct rkisp1_capture *cap) in rkisp1_sp_enable() 550 static void rkisp1_mp_sp_stop(struct rkisp1_capture *cap) in rkisp1_mp_sp_stop() [all …]
|
| /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-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-6.6/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-6.6/kernel/ |
| D | capability.c | 281 struct user_namespace *ns, int cap) in has_ns_capability() 302 bool has_capability(struct task_struct *t, int cap) in has_capability() 322 struct user_namespace *ns, int cap) in has_ns_capability_noaudit() 345 bool has_capability_noaudit(struct task_struct *t, int cap) in has_capability_noaudit() 352 int cap, in ns_capable_common() 381 bool ns_capable(struct user_namespace *ns, int cap) in ns_capable() 399 bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit() 418 bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid() 434 bool capable(int cap) in capable() 454 int cap) in file_ns_capable() [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-6.6/drivers/pci/pcie/ |
| D | dpc.c | 46 u16 *cap; in pci_save_dpc_state() local 62 u16 *cap; in pci_restore_dpc_state() local 130 u16 cap = pdev->dpc_cap, status; in dpc_wait_rp_inactive() local 148 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 357 u16 ctl, cap; in dpc_probe() local
|
| /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-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-6.6/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-6.6/include/linux/ |
| D | capability.h | 153 static inline bool has_capability(struct task_struct *t, int cap) in has_capability() 158 struct user_namespace *ns, int cap) in has_ns_capability() 162 static inline bool has_capability_noaudit(struct task_struct *t, int cap) in has_capability_noaudit() 167 struct user_namespace *ns, int cap) in has_ns_capability_noaudit() 171 static inline bool capable(int cap) in capable() 175 static inline bool ns_capable(struct user_namespace *ns, int cap) in ns_capable() 179 static inline bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit() 183 static inline bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid()
|
| /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/media/platform/qcom/venus/ |
| D | hfi_parser.c | 19 struct venus_caps *caps = core->caps, *cap; in init_codecs() local 44 struct venus_caps *cap; in for_each_codec() local 57 fill_buf_mode(struct venus_caps *cap, const void *data, unsigned int num) in fill_buf_mode() 87 static void fill_profile_level(struct venus_caps *cap, const void *data, in fill_profile_level() 116 fill_caps(struct venus_caps *cap, const void *data, unsigned int num) in fill_caps() 131 struct hfi_capability *cap = caps->data; in parse_caps() local 144 static void fill_raw_fmts(struct venus_caps *cap, const void *fmts, in fill_raw_fmts() 229 struct venus_caps *caps, *cap; in parser_fini() local
|
| /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-6.6/drivers/vfio/pci/ |
| 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
|
| /kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/ |
| D | hfi_parser.c | 19 struct hfi_plat_caps *caps = core->caps, *cap; in init_codecs() local 44 struct hfi_plat_caps *cap; in for_each_codec() local 57 fill_buf_mode(struct hfi_plat_caps *cap, const void *data, unsigned int num) in fill_buf_mode() 87 static void fill_profile_level(struct hfi_plat_caps *cap, const void *data, in fill_profile_level() 116 fill_caps(struct hfi_plat_caps *cap, const void *data, unsigned int num) in fill_caps() 131 struct hfi_capability *cap = caps->data; in parse_caps() local 144 static void fill_raw_fmts(struct hfi_plat_caps *cap, const void *fmts, in fill_raw_fmts() 229 struct hfi_plat_caps *caps, *cap; in parser_fini() local
|
| /kernel/linux/linux-6.6/drivers/thunderbolt/ |
| D | lc.c | 62 int cap, ret; in tb_lc_reset_port() local 98 int cap, ret; in tb_lc_set_port_configured() local 156 int cap, ret; in tb_lc_set_xdomain_configured() local 219 int ret, cap; in tb_lc_start_lane_initialization() local 251 int cap, ret; in tb_lc_is_clx_supported() local 274 int cap, ret; in tb_lc_is_usb_plugged() local 300 int cap, ret; in tb_lc_is_xhci_connected() local 320 int cap, ret; in __tb_lc_xhci_connect() local 498 int cap, ret; in tb_lc_lane_bonding_possible() local
|
| /kernel/linux/linux-5.10/arch/arm64/kernel/ |
| D | cpufeature.c | 1493 static bool cpu_can_use_dbm(const struct arm64_cpu_capabilities *cap) in cpu_can_use_dbm() 1499 static void cpu_enable_hw_dbm(struct arm64_cpu_capabilities const *cap) in cpu_enable_hw_dbm() 1505 static bool has_hw_dbm(const struct arm64_cpu_capabilities *cap, in has_hw_dbm() 1557 static void cpu_amu_enable(struct arm64_cpu_capabilities const *cap) in cpu_amu_enable() 1570 static bool has_amu(const struct arm64_cpu_capabilities *cap, in has_amu() 1684 static void cpu_enable_e0pd(struct arm64_cpu_capabilities const *cap) in cpu_enable_e0pd() 1723 static void cpu_enable_mte(struct arm64_cpu_capabilities const *cap) in cpu_enable_mte() 1744 cpucap_late_cpu_optional(const struct arm64_cpu_capabilities *cap) in cpucap_late_cpu_optional() 1750 cpucap_late_cpu_permitted(const struct arm64_cpu_capabilities *cap) in cpucap_late_cpu_permitted() 1756 cpucap_panic_on_conflict(const struct arm64_cpu_capabilities *cap) in cpucap_panic_on_conflict() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/wcn36xx/ |
| 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()
|
| /kernel/linux/linux-6.6/arch/arm64/kernel/ |
| D | cpufeature.c | 1878 static bool cpu_can_use_dbm(const struct arm64_cpu_capabilities *cap) in cpu_can_use_dbm() 1884 static void cpu_enable_hw_dbm(struct arm64_cpu_capabilities const *cap) in cpu_enable_hw_dbm() 1890 static bool has_hw_dbm(const struct arm64_cpu_capabilities *cap, in has_hw_dbm() 1944 static void cpu_amu_enable(struct arm64_cpu_capabilities const *cap) in cpu_amu_enable() 1957 static bool has_amu(const struct arm64_cpu_capabilities *cap, in has_amu() 2001 static bool has_nested_virt_support(const struct arm64_cpu_capabilities *cap, in has_nested_virt_support() 2099 static void cpu_enable_e0pd(struct arm64_cpu_capabilities const *cap) in cpu_enable_e0pd() 2174 static void cpu_enable_mte(struct arm64_cpu_capabilities const *cap) in cpu_enable_mte() 2236 cpucap_late_cpu_optional(const struct arm64_cpu_capabilities *cap) in cpucap_late_cpu_optional() 2242 cpucap_late_cpu_permitted(const struct arm64_cpu_capabilities *cap) in cpucap_late_cpu_permitted() [all …]
|
| /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/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-6.6/drivers/iommu/intel/ |
| D | cap_audit.h | 67 #define DO_CHECK_FEATURE_MISMATCH(a, b, cap, feature, MASK) \ argument 75 #define CHECK_FEATURE_MISMATCH(a, b, cap, feature, MASK) \ argument 78 #define CHECK_FEATURE_MISMATCH_HOTPLUG(b, cap, feature, MASK) \ argument 85 #define MINIMAL_FEATURE_IOMMU(iommu, cap, MASK) \ argument 93 #define MINIMAL_FEATURE_HOTPLUG(iommu, cap, feature, MASK, mismatch) \ argument
|
| /kernel/linux/linux-6.6/drivers/platform/surface/aggregator/ |
| 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()
|