Home
last modified time | relevance | path

Searched defs:cap (Results 1 – 25 of 685) sorted by relevance

12345678910>>...28

/linux-6.15/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-capture.c871 struct rkisp1_capture *cap = queue->drv_priv; in rkisp1_vb2_queue_setup() local
896 struct rkisp1_capture *cap = vb->vb2_queue->drv_priv; in rkisp1_vb2_buf_init() local
929 struct rkisp1_capture *cap = vb->vb2_queue->drv_priv; in rkisp1_vb2_buf_queue() local
1123 struct rkisp1_capture *cap = queue->drv_priv; in rkisp1_vb2_stop_streaming() local
1149 struct rkisp1_capture *cap = queue->drv_priv; in rkisp1_vb2_start_streaming() local
1213 rkisp1_fill_pixfmt(const struct rkisp1_capture *cap, in rkisp1_fill_pixfmt()
1332 struct rkisp1_capture *cap = video_drvdata(file); in rkisp1_try_fmt_vid_cap_mplane() local
1342 struct rkisp1_capture *cap = video_drvdata(file); in rkisp1_enum_fmt_vid_cap_mplane() local
1384 struct rkisp1_capture *cap = video_drvdata(file); in rkisp1_enum_framesizes() local
1405 struct rkisp1_capture *cap = video_drvdata(file); in rkisp1_s_fmt_vid_cap_mplane() local
[all …]
/linux-6.15/drivers/staging/media/starfive/camss/
H A Dstf-capture.c78 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
326 struct stf_capture *cap = to_stf_capture(video); in stf_buf_update_on_new() local
[all …]
/linux-6.15/drivers/staging/greybus/
H A Dauthentication.c50 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()
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
303 struct gb_cap *cap; in gb_cap_connection_init() local
[all …]
/linux-6.15/kernel/
H A Dcapability.c277 struct user_namespace *ns, int cap) in has_ns_capability()
302 struct user_namespace *ns, int cap) in has_ns_capability_noaudit()
325 bool has_capability_noaudit(struct task_struct *t, int cap) in has_capability_noaudit()
332 int cap, in ns_capable_common()
361 bool ns_capable(struct user_namespace *ns, int cap) in ns_capable()
379 bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit()
398 bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid()
414 bool capable(int cap) in capable()
434 int cap) in file_ns_capable()
474 const struct inode *inode, int cap) in capable_wrt_inode_uidgid()
/linux-6.15/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_reg.h409 #define SXGBE_HW_FEAT_GMII(cap) ((cap & 0x00000002) >> 1) argument
411 #define SXGBE_HW_FEAT_SMA(cap) ((cap & 0x00000020) >> 5) argument
414 #define SXGBE_HW_FEAT_RMON(cap) ((cap & 0x00000100) >> 8) argument
415 #define SXGBE_HW_FEAT_ARP_OFFLOAD(cap) ((cap & 0x00000200) >> 9) argument
417 #define SXGBE_HW_FEAT_EEE(cap) ((cap & 0x00002000) >> 13) argument
425 #define SXGBE_HW_FEAT_RX_FIFO_SIZE(cap) ((cap & 0x0000001F)) argument
428 #define SXGBE_HW_FEAT_DCB(cap) ((cap & 0x00010000) >> 16) argument
429 #define SXGBE_HW_FEAT_SPLIT_HDR(cap) ((cap & 0x00020000) >> 17) argument
430 #define SXGBE_HW_FEAT_TSO(cap) ((cap & 0x00040000) >> 18) argument
432 #define SXGBE_HW_FEAT_RSS(cap) ((cap & 0x00100000) >> 20) argument
[all …]
/linux-6.15/drivers/pci/pcie/
H A Ddpc.c49 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
260 u16 cap = pdev->dpc_cap, status, source, reason, ext_reason; in dpc_process_error() local
373 u16 cap = pdev->dpc_cap, status; in dpc_irq() local
389 u16 cap; in pci_dpc_init() local
462 u16 cap; in dpc_probe() local
H A Dptm.c43 u32 cap; in pci_ptm_init() local
92 u32 *cap; in pci_save_ptm_state() local
109 u32 *cap; in pci_restore_ptm_state() local
/linux-6.15/include/linux/
H A Dcapability.h153 struct user_namespace *ns, int cap) in has_ns_capability()
157 static inline bool has_capability_noaudit(struct task_struct *t, int cap) in has_capability_noaudit()
162 struct user_namespace *ns, int cap) in has_ns_capability_noaudit()
166 static inline bool capable(int cap) in capable()
170 static inline bool ns_capable(struct user_namespace *ns, int cap) in ns_capable()
174 static inline bool ns_capable_noaudit(struct user_namespace *ns, int cap) in ns_capable_noaudit()
178 static inline bool ns_capable_setid(struct user_namespace *ns, int cap) in ns_capable_setid()
/linux-6.15/drivers/thunderbolt/
H A Dlc.c62 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
H A Dcap.c87 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()
/linux-6.15/drivers/vfio/pci/
H A Dvfio_pci_zdev.c25 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-6.15/drivers/media/platform/qcom/venus/
H A Dhfi_parser.c19 struct hfi_plat_caps *caps = core->caps, *cap; in init_codecs() local
46 struct hfi_plat_caps *cap; in for_each_codec() local
59 fill_buf_mode(struct hfi_plat_caps *cap, const void *data, unsigned int num) in fill_buf_mode()
91 static void fill_profile_level(struct hfi_plat_caps *cap, const void *data, in fill_profile_level()
122 fill_caps(struct hfi_plat_caps *cap, const void *data, unsigned int num) in fill_caps()
137 struct hfi_capability *cap = caps->data; in parse_caps() local
152 static void fill_raw_fmts(struct hfi_plat_caps *cap, const void *fmts, in fill_raw_fmts()
248 struct hfi_plat_caps *caps, *cap; in parser_fini() local
/linux-6.15/include/linux/mlx5/
H A Ddevice.h1287 #define MLX5_CAP_GEN(mdev, cap) \ argument
1296 #define MLX5_CAP_GEN_2(mdev, cap) \ argument
1305 #define MLX5_CAP_ETH(mdev, cap) \ argument
1313 #define MLX5_CAP_ROCE(mdev, cap) \ argument
1374 #define MLX5_CAP_ESW(mdev, cap) \ argument
1404 #define MLX5_CAP_ODP(mdev, cap)\ argument
1418 #define MLX5_CAP_QOS(mdev, cap)\ argument
1421 #define MLX5_CAP_DEBUG(mdev, cap)\ argument
1451 #define MLX5_CAP_FPGA(mdev, cap) \ argument
1463 #define MLX5_CAP_TLS(mdev, cap) \ argument
[all …]
/linux-6.15/drivers/net/wireless/ath/wcn36xx/
H A Dfirmware.c82 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-6.15/arch/arm64/kernel/
H A Dcpufeature.c2096 static bool has_hw_dbm(const struct arm64_cpu_capabilities *cap, in has_hw_dbm()
2146 static bool has_amu(const struct arm64_cpu_capabilities *cap, in has_amu()
2434 cpucap_late_cpu_optional(const struct arm64_cpu_capabilities *cap) in cpucap_late_cpu_optional()
2446 cpucap_panic_on_conflict(const struct arm64_cpu_capabilities *cap) in cpucap_panic_on_conflict()
3058 #define __HWCAP_CAP(name, cap_type, cap) \ argument
3064 #define HWCAP_CAP(reg, field, min_value, cap_type, cap) \ argument
3070 #define HWCAP_MULTI_CAP(list, cap_type, cap) \ argument
3077 #define HWCAP_CAP_MATCH(match, cap_type, cap) \ argument
3386 const struct arm64_cpu_capabilities *cap = cpucap_ptrs[i]; in cpu_enable_non_boot_scope_capabilities() local
3673 const struct arm64_cpu_capabilities *cap = cpucap_ptrs[n]; in this_cpu_has_cap() local
[all …]
/linux-6.15/fs/ceph/
H A Dcaps.c138 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
443 struct ceph_cap *cap; in __get_cap_for_mds() local
460 struct ceph_cap *cap; in ceph_get_cap_for_mds() local
659 struct ceph_cap *cap; in ceph_add_cap() local
817 struct ceph_cap *cap; in __ceph_caps_issued() local
850 struct ceph_cap *cap; in __ceph_caps_issued_other() local
895 struct ceph_cap *cap; in __ceph_caps_issued_mask() local
969 struct ceph_cap *cap; in __ceph_caps_revoking_other() local
[all …]
/linux-6.15/tools/testing/selftests/landlock/
H A Dcommon.h88 const cap_flag_t flag, const cap_value_t cap, in _change_cap()
104 const cap_value_t cap) in set_cap()
110 const cap_value_t cap) in clear_cap()
116 set_ambient_cap(struct __test_metadata *const _metadata, const cap_value_t cap) in set_ambient_cap()
128 struct __test_metadata *const _metadata, const cap_value_t cap) in clear_ambient_cap()
/linux-6.15/drivers/platform/surface/aggregator/
H A Dssh_parser.h27 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-6.15/drivers/infiniband/hw/hfi1/
H A Dcommon.h45 #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-6.15/security/apparmor/
H A Dcapability.c67 int cap, int error) in audit_caps()
121 static int profile_capable(struct aa_profile *profile, int cap, in profile_capable()
158 int cap, unsigned int opts) in aa_capable()
/linux-6.15/drivers/pci/controller/cadence/
H A Dpcie-cadence-ep.c22 u32 cap = CDNS_PCIE_EP_FUNC_SRIOV_CAP_OFFSET; in cdns_pcie_get_fn_from_vfn() local
39 u32 cap = CDNS_PCIE_EP_FUNC_SRIOV_CAP_OFFSET; in cdns_pcie_ep_write_header() local
227 u32 cap = CDNS_PCIE_EP_FUNC_MSI_CAP_OFFSET; in cdns_pcie_ep_set_msi() local
249 u32 cap = CDNS_PCIE_EP_FUNC_MSI_CAP_OFFSET; in cdns_pcie_ep_get_msi() local
272 u32 cap = CDNS_PCIE_EP_FUNC_MSIX_CAP_OFFSET; in cdns_pcie_ep_get_msix() local
293 u32 cap = CDNS_PCIE_EP_FUNC_MSIX_CAP_OFFSET; in cdns_pcie_ep_set_msix() local
381 u32 cap = CDNS_PCIE_EP_FUNC_MSI_CAP_OFFSET; in cdns_pcie_ep_send_msi_irq() local
433 u32 cap = CDNS_PCIE_EP_FUNC_MSI_CAP_OFFSET; in cdns_pcie_ep_map_msi_irq() local
483 u32 cap = CDNS_PCIE_EP_FUNC_MSIX_CAP_OFFSET; in cdns_pcie_ep_send_msix_irq() local
/linux-6.15/drivers/char/tpm/
H A Dtpm-sysfs.c85 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-6.15/security/
H A Dcommoncap.c68 static inline int cap_capable_helper(const struct cred *cred, in cap_capable_helper()
124 int cap_capable(const struct cred *cred, struct user_namespace *target_ns, in cap_capable()
385 static bool is_v2header(int size, const struct vfs_cap_data *cap) in is_v2header()
392 static bool is_v3header(int size, const struct vfs_cap_data *cap) in is_v3header()
420 struct vfs_cap_data *cap; in cap_inode_getsecurity() local
535 static bool validheader(size_t size, const struct vfs_cap_data *cap) in validheader()
564 const struct vfs_cap_data *cap = *ivalue; in cap_convert_nscap() local
1264 static int cap_prctl_drop(unsigned long cap) in cap_prctl_drop()
/linux-6.15/drivers/rtc/
H A Drtc-efi.c161 efi_time_cap_t cap; in efi_read_time() local
192 efi_time_cap_t cap; in efi_procfs() local
261 efi_time_cap_t cap; in efi_rtc_probe() local
/linux-6.15/drivers/pci/
H A Dpci.c652 u8 cap, mask; in __pci_find_next_ht_cap() local
951 u16 cap; member
1691 u16 *cap; in pci_save_pcie_state() local
1721 u16 *cap; in pci_restore_pcie_state() local
1776 u16 *cap; in pci_restore_pcix_state() local
3557 u32 cap; in pci_configure_ari() local
3778 u32 cap; in pci_rebar_get_possible_sizes() local
4600 u8 cap; in pci_af_flr() local
5829 int cap; in pcix_get_max_mmrbc() local
5852 int cap; in pcix_get_mmrbc() local
[all …]

12345678910>>...28