Home
last modified time | relevance | path

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

12345678910>>...24

/linux/drivers/media/platform/rockchip/rkisp1/
A Drkisp1-capture.c740 struct rkisp1_capture *cap = queue->drv_priv; in rkisp1_vb2_queue_setup() local
765 struct rkisp1_capture *cap = vb->vb2_queue->drv_priv; in rkisp1_vb2_buf_init() local
798 struct rkisp1_capture *cap = vb->vb2_queue->drv_priv; in rkisp1_vb2_buf_queue() local
807 struct rkisp1_capture *cap = vb->vb2_queue->drv_priv; in rkisp1_vb2_buf_prepare() local
980 struct rkisp1_capture *cap = queue->drv_priv; in rkisp1_vb2_stop_streaming() local
1006 struct rkisp1_capture *cap = queue->drv_priv; in rkisp1_vb2_start_streaming() local
1179 struct rkisp1_capture *cap = video_drvdata(file); in rkisp1_try_fmt_vid_cap_mplane() local
1189 struct rkisp1_capture *cap = video_drvdata(file); in rkisp1_enum_fmt_vid_cap_mplane() local
1217 struct rkisp1_capture *cap = video_drvdata(file); in rkisp1_s_fmt_vid_cap_mplane() local
1232 struct rkisp1_capture *cap = video_drvdata(file); in rkisp1_g_fmt_vid_cap_mplane() local
[all …]
/linux/drivers/staging/greybus/
A Dauthentication.c47 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()
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
300 struct gb_cap *cap; in gb_cap_connection_init() local
[all …]
/linux/kernel/
A Dcapability.c295 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 …]
/linux/drivers/net/ethernet/samsung/sxgbe/
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/drivers/pci/pcie/
A Ddpc.c45 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
A Dptm.c53 u16 *cap; in pci_save_ptm_state() local
74 u16 *cap; in pci_restore_ptm_state() local
91 u32 cap, ctrl; in pci_ptm_init() local
160 u32 cap, ctrl; in pci_enable_ptm() local
/linux/include/linux/
A Dcapability.h25 __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()
/linux/drivers/vfio/pci/
A Dvfio_pci_zdev.c24 struct vfio_device_info_cap_zpci_base cap = { in zpci_base_cap() local
44 struct vfio_device_info_cap_zpci_group cap = { in zpci_group_cap() local
64 struct vfio_device_info_cap_zpci_util *cap; in zpci_util_cap() local
89 struct vfio_device_info_cap_zpci_pfip *cap; in zpci_pfip_cap() local
/linux/drivers/media/platform/qcom/venus/
A Dhfi_parser.c19 struct hfi_plat_caps *caps = core->caps, *cap; in init_codecs() local
41 struct hfi_plat_caps *cap; in for_each_codec() local
54 fill_buf_mode(struct hfi_plat_caps *cap, const void *data, unsigned int num) in fill_buf_mode()
84 static void fill_profile_level(struct hfi_plat_caps *cap, const void *data, in fill_profile_level()
110 fill_caps(struct hfi_plat_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 hfi_plat_caps *cap, const void *fmts, in fill_raw_fmts()
214 struct hfi_plat_caps *caps, *cap; in parser_fini() local
/linux/arch/arm64/kernel/
A Dcpufeature.c1656 static bool has_hw_dbm(const struct arm64_cpu_capabilities *cap, in has_hw_dbm()
1720 static bool has_amu(const struct arm64_cpu_capabilities *cap, in has_amu()
1909 cpucap_late_cpu_optional(const struct arm64_cpu_capabilities *cap) in cpucap_late_cpu_optional()
1921 cpucap_panic_on_conflict(const struct arm64_cpu_capabilities *cap) in cpucap_panic_on_conflict()
2369 #define __HWCAP_CAP(name, cap_type, cap) \ argument
2375 #define HWCAP_CAP(reg, field, s, min_value, cap_type, cap) \ argument
2381 #define HWCAP_MULTI_CAP(list, cap_type, cap) \ argument
2388 #define HWCAP_CAP_MATCH(match, cap_type, cap) \ argument
2606 const struct arm64_cpu_capabilities *cap = cpu_hwcaps_ptrs[i]; in cpu_enable_non_boot_scope_capabilities() local
2863 const struct arm64_cpu_capabilities *cap = cpu_hwcaps_ptrs[n]; in this_cpu_has_cap() local
[all …]
/linux/include/linux/mlx5/
A Ddevice.h1238 #define MLX5_CAP_GEN(mdev, cap) \ argument
1247 #define MLX5_CAP_GEN_2(mdev, cap) \ argument
1256 #define MLX5_CAP_ETH(mdev, cap) \ argument
1268 #define MLX5_CAP_ROCE(mdev, cap) \ argument
1351 #define MLX5_CAP_ESW(mdev, cap) \ argument
1377 #define MLX5_CAP_ODP(mdev, cap)\ argument
1387 #define MLX5_CAP_QOS(mdev, cap)\ argument
1390 #define MLX5_CAP_DEBUG(mdev, cap)\ argument
1420 #define MLX5_CAP_FPGA(mdev, cap) \ argument
1432 #define MLX5_CAP_TLS(mdev, cap) \ argument
[all …]
/linux/fs/ceph/
A Dcaps.c135 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
435 struct ceph_cap *cap; in __get_cap_for_mds() local
452 struct ceph_cap *cap; in ceph_get_cap_for_mds() local
638 struct ceph_cap *cap; in ceph_add_cap() local
790 struct ceph_cap *cap; in __ceph_caps_issued() local
823 struct ceph_cap *cap; in __ceph_caps_issued_other() local
864 struct ceph_cap *cap; in __ceph_caps_issued_mask() local
939 struct ceph_cap *cap; in __ceph_caps_revoking_other() local
[all …]
/linux/drivers/iommu/intel/
A Dcap_audit.h67 #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
/linux/security/apparmor/
A Dcapability.c65 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()
/linux/drivers/platform/surface/aggregator/
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/drivers/pci/controller/cadence/
A Dpcie-cadence-ep.c21 u32 cap = CDNS_PCIE_EP_FUNC_SRIOV_CAP_OFFSET; in cdns_pcie_get_fn_from_vfn() local
38 u32 cap = CDNS_PCIE_EP_FUNC_SRIOV_CAP_OFFSET; in cdns_pcie_ep_write_header() local
230 u32 cap = CDNS_PCIE_EP_FUNC_MSI_CAP_OFFSET; in cdns_pcie_ep_set_msi() local
252 u32 cap = CDNS_PCIE_EP_FUNC_MSI_CAP_OFFSET; in cdns_pcie_ep_get_msi() local
275 u32 cap = CDNS_PCIE_EP_FUNC_MSIX_CAP_OFFSET; in cdns_pcie_ep_get_msix() local
296 u32 cap = CDNS_PCIE_EP_FUNC_MSIX_CAP_OFFSET; in cdns_pcie_ep_set_msix() local
385 u32 cap = CDNS_PCIE_EP_FUNC_MSI_CAP_OFFSET; in cdns_pcie_ep_send_msi_irq() local
437 u32 cap = CDNS_PCIE_EP_FUNC_MSI_CAP_OFFSET; in cdns_pcie_ep_map_msi_irq() local
487 u32 cap = CDNS_PCIE_EP_FUNC_MSIX_CAP_OFFSET; in cdns_pcie_ep_send_msix_irq() local
/linux/drivers/thunderbolt/
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()
A Dlc.c53 int cap, ret; in tb_lc_set_port_configured() local
111 int cap, ret; in tb_lc_set_xdomain_configured() local
174 int ret, cap; in tb_lc_start_lane_initialization() local
319 int cap, ret; in tb_lc_lane_bonding_possible() local
A Ddebugfs.c255 struct tb_port *port, unsigned int cap, in cap_show_by_dw()
278 struct tb_port *port, unsigned int cap, u8 cap_id, in cap_show()
309 unsigned int cap) in port_cap_show()
382 int cap; in port_caps_show() local
439 unsigned int cap) in switch_cap_show()
480 int cap; in switch_caps_show() local
/linux/drivers/infiniband/hw/hfi1/
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/drivers/char/tpm/
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/drivers/rtc/
A Drtc-efi.c161 efi_time_cap_t cap; in efi_read_time() local
192 efi_time_cap_t cap; in efi_procfs() local
258 efi_time_cap_t cap; in efi_rtc_probe() local
/linux/drivers/pci/
A Dpci.c938 u16 cap; in pci_std_enable_acs() local
1451 u16 *cap; in pci_save_pcie_state() local
1496 u16 *cap; in pci_restore_pcie_state() local
1544 u16 *cap; in pci_restore_pcix_state() local
1559 u16 *cap; in pci_save_ltr_state() local
1583 u16 *cap; in pci_restore_ltr_state() local
3459 u32 cap; in pci_configure_ari() local
3676 u32 cap; in pci_rebar_get_possible_sizes() local
4741 u8 cap; in pci_af_flr() local
5889 int cap; in pcix_get_max_mmrbc() local
[all …]
/linux/security/
A Dcommoncap.c65 int cap_capable(const struct cred *cred, struct user_namespace *targ_ns, in cap_capable()
352 static bool is_v2header(size_t size, const struct vfs_cap_data *cap) in is_v2header()
359 static bool is_v3header(size_t size, const struct vfs_cap_data *cap) in is_v3header()
386 struct vfs_cap_data *cap; in cap_inode_getsecurity() local
513 static bool validheader(size_t size, const struct vfs_cap_data *cap) in validheader()
542 const struct vfs_cap_data *cap = *ivalue; in cap_convert_nscap() local
1237 static int cap_prctl_drop(unsigned long cap) in cap_prctl_drop()
/linux/drivers/power/supply/
A Dsc27xx_fuel_gauge.c154 int ret, status, cap, mode; in sc27xx_fgu_is_first_poweron() local
224 static int sc27xx_fgu_save_last_cap(struct sc27xx_fgu_data *data, int cap) in sc27xx_fgu_save_last_cap()
267 static int sc27xx_fgu_read_last_cap(struct sc27xx_fgu_data *data, int *cap) in sc27xx_fgu_read_last_cap()
286 static int sc27xx_fgu_get_boot_capacity(struct sc27xx_fgu_data *data, int *cap) in sc27xx_fgu_get_boot_capacity()
423 static int sc27xx_fgu_get_capacity(struct sc27xx_fgu_data *data, int *cap) in sc27xx_fgu_get_capacity()
782 static void sc27xx_fgu_adjust_cap(struct sc27xx_fgu_data *data, int cap) in sc27xx_fgu_adjust_cap()
793 int cap, bool int_mode) in sc27xx_fgu_capacity_calibration()
885 int ret, cap; in sc27xx_fgu_interrupt() local

Completed in 69 milliseconds

12345678910>>...24