Home
last modified time | relevance | path

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

12345678910>>...38

/OK3568_Linux_fs/kernel/drivers/staging/media/rkisp1/
H A Drkisp1-capture.c345 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 …]
/OK3568_Linux_fs/kernel/drivers/staging/greybus/
H 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()
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 …]
/OK3568_Linux_fs/kernel/kernel/
H 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 …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_reg.h409 #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 …]
/OK3568_Linux_fs/kernel/drivers/pci/pcie/
H 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
H A Dptm.c35 u32 cap, ctrl; in pci_ptm_init() local
102 u32 cap, ctrl; in pci_enable_ptm() local
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/include/
H A Dfils.h302 #define FD_CAP_ESS(cap) ((cap & FD_CAP_ESS_MASK)) argument
303 #define FD_CAP_PRIVACY(cap) ((cap & FD_CAP_PRIVACY_MASK) >> 1) argument
304 #define FD_CAP_BSS_CH_WIDTH(cap) ((cap & FD_CAP_BSS_CH_WIDTH_MASK) >> 2) argument
305 #define FD_CAP_MAX_NSS(cap) ((cap & FD_CAP_MAX_NSS_MASK) >> 5) argument
306 #define FD_CAP_MULTI_BSS(cap) ((cap & FD_CAP_MULTI_BSS_MASK) >> 9) argument
307 #define FD_CAP_PHY_INDEX(cap) ((cap & FD_CAP_PHY_INDEX_MASK) >> 10) argument
308 #define FD_CAP_FILS_MIN_RATE(cap) ((cap & FD_CAP_FILS_MIN_RATE_MASK) >> 13) argument
310 #define FD_CAP_SET_ESS(cap) ((cap |= FD_CAP_ESS_MASK)) argument
311 #define FD_CAP_SET_PRIVACY(cap) ((cap & FD_CAP_PRIVACY_MASK) >> 1) argument
312 #define FD_CAP_SET_BSS_CH_WIDTH(cap) ((cap & FD_CAP_BSS_CH_WIDTH_MASK) >> 2) argument
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/include/
H A Dfils.h302 #define FD_CAP_ESS(cap) ((cap & FD_CAP_ESS_MASK)) argument
303 #define FD_CAP_PRIVACY(cap) ((cap & FD_CAP_PRIVACY_MASK) >> 1) argument
304 #define FD_CAP_BSS_CH_WIDTH(cap) ((cap & FD_CAP_BSS_CH_WIDTH_MASK) >> 2) argument
305 #define FD_CAP_MAX_NSS(cap) ((cap & FD_CAP_MAX_NSS_MASK) >> 5) argument
306 #define FD_CAP_MULTI_BSS(cap) ((cap & FD_CAP_MULTI_BSS_MASK) >> 9) argument
307 #define FD_CAP_PHY_INDEX(cap) ((cap & FD_CAP_PHY_INDEX_MASK) >> 10) argument
308 #define FD_CAP_FILS_MIN_RATE(cap) ((cap & FD_CAP_FILS_MIN_RATE_MASK) >> 13) argument
310 #define FD_CAP_SET_ESS(cap) ((cap |= FD_CAP_ESS_MASK)) argument
311 #define FD_CAP_SET_PRIVACY(cap) ((cap & FD_CAP_PRIVACY_MASK) >> 1) argument
312 #define FD_CAP_SET_BSS_CH_WIDTH(cap) ((cap & FD_CAP_BSS_CH_WIDTH_MASK) >> 2) argument
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/include/
H A Dfils.h371 #define FD_CAP_ESS(cap) (((cap) & FD_CAP_ESS_MASK) != 0) argument
372 #define FD_CAP_PRIVACY(cap) (((cap) & FD_CAP_PRIVACY_MASK) != 0) argument
373 #define FD_CAP_BSS_CH_WIDTH(cap) (((cap) & FD_CAP_BSS_CH_WIDTH_MASK) >> 2) argument
374 #define FD_CAP_MAX_NSS(cap) (((cap) & FD_CAP_MAX_NSS_MASK) >> 5) argument
375 #define FD_CAP_MULTI_BSS(cap) (((cap) & FD_CAP_MULTI_BSS_MASK) != 0) argument
376 #define FD_CAP_PHY_INDEX(cap) (((cap) & FD_CAP_PHY_INDEX_MASK) >> 10) argument
377 #define FD_CAP_FILS_MIN_RATE(cap) (((cap) & FD_CAP_FILS_MIN_RATE_MASK) >> 13) argument
379 #define FD_CAP_SET_ESS(cap) (((cap) |= FD_CAP_ESS_MASK)) argument
380 #define FD_CAP_SET_PRIVACY(cap) (((cap) & FD_CAP_PRIVACY_MASK) >> 1) argument
381 #define FD_CAP_SET_BSS_CH_WIDTH(cap, w) ((cap) |= (((w) << 2) & FD_CAP_BSS_CH_WIDTH_MASK)) argument
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/include/
H A Dfils.h371 #define FD_CAP_ESS(cap) (((cap) & FD_CAP_ESS_MASK) != 0) argument
372 #define FD_CAP_PRIVACY(cap) (((cap) & FD_CAP_PRIVACY_MASK) != 0) argument
373 #define FD_CAP_BSS_CH_WIDTH(cap) (((cap) & FD_CAP_BSS_CH_WIDTH_MASK) >> 2) argument
374 #define FD_CAP_MAX_NSS(cap) (((cap) & FD_CAP_MAX_NSS_MASK) >> 5) argument
375 #define FD_CAP_MULTI_BSS(cap) (((cap) & FD_CAP_MULTI_BSS_MASK) != 0) argument
376 #define FD_CAP_PHY_INDEX(cap) (((cap) & FD_CAP_PHY_INDEX_MASK) >> 10) argument
377 #define FD_CAP_FILS_MIN_RATE(cap) (((cap) & FD_CAP_FILS_MIN_RATE_MASK) >> 13) argument
379 #define FD_CAP_SET_ESS(cap) (((cap) |= FD_CAP_ESS_MASK)) argument
380 #define FD_CAP_SET_PRIVACY(cap) (((cap) & FD_CAP_PRIVACY_MASK) >> 1) argument
381 #define FD_CAP_SET_BSS_CH_WIDTH(cap, w) ((cap) |= (((w) << 2) & FD_CAP_BSS_CH_WIDTH_MASK)) argument
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/include/
H A Dfils.h302 #define FD_CAP_ESS(cap) ((cap & FD_CAP_ESS_MASK)) argument
303 #define FD_CAP_PRIVACY(cap) ((cap & FD_CAP_PRIVACY_MASK) >> 1) argument
304 #define FD_CAP_BSS_CH_WIDTH(cap) ((cap & FD_CAP_BSS_CH_WIDTH_MASK) >> 2) argument
305 #define FD_CAP_MAX_NSS(cap) ((cap & FD_CAP_MAX_NSS_MASK) >> 5) argument
306 #define FD_CAP_MULTI_BSS(cap) ((cap & FD_CAP_MULTI_BSS_MASK) >> 9) argument
307 #define FD_CAP_PHY_INDEX(cap) ((cap & FD_CAP_PHY_INDEX_MASK) >> 10) argument
308 #define FD_CAP_FILS_MIN_RATE(cap) ((cap & FD_CAP_FILS_MIN_RATE_MASK) >> 13) argument
310 #define FD_CAP_SET_ESS(cap) ((cap |= FD_CAP_ESS_MASK)) argument
311 #define FD_CAP_SET_PRIVACY(cap) ((cap & FD_CAP_PRIVACY_MASK) >> 1) argument
312 #define FD_CAP_SET_BSS_CH_WIDTH(cap) ((cap & FD_CAP_BSS_CH_WIDTH_MASK) >> 2) argument
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H 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()
/OK3568_Linux_fs/kernel/drivers/media/platform/qcom/venus/
H A Dhfi_parser.c19 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
/OK3568_Linux_fs/kernel/drivers/vfio/pci/
H A Dvfio_pci_zdev.c30 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
/OK3568_Linux_fs/kernel/arch/arm64/kernel/
H A Dcpufeature.c1640 static bool cpu_can_use_dbm(const struct arm64_cpu_capabilities *cap) in cpu_can_use_dbm()
1646 static void cpu_enable_hw_dbm(struct arm64_cpu_capabilities const *cap) in cpu_enable_hw_dbm()
1652 static bool has_hw_dbm(const struct arm64_cpu_capabilities *cap, in has_hw_dbm()
1704 static void cpu_amu_enable(struct arm64_cpu_capabilities const *cap) in cpu_amu_enable()
1717 static bool has_amu(const struct arm64_cpu_capabilities *cap, in has_amu()
1831 static void cpu_enable_e0pd(struct arm64_cpu_capabilities const *cap) in cpu_enable_e0pd()
1870 static void cpu_enable_mte(struct arm64_cpu_capabilities const *cap) in cpu_enable_mte()
1911 cpucap_late_cpu_optional(const struct arm64_cpu_capabilities *cap) in cpucap_late_cpu_optional()
1917 cpucap_late_cpu_permitted(const struct arm64_cpu_capabilities *cap) in cpucap_late_cpu_permitted()
1923 cpucap_panic_on_conflict(const struct arm64_cpu_capabilities *cap) in cpucap_panic_on_conflict()
[all …]
/OK3568_Linux_fs/kernel/include/linux/mlx5/
H A Ddevice.h1189 #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 …]
/OK3568_Linux_fs/u-boot/include/
H A Dslre.h73 struct cap { struct
95 struct cap *captured_substrings); argument
/OK3568_Linux_fs/kernel/fs/ceph/
H 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
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 …]
/OK3568_Linux_fs/kernel/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
/OK3568_Linux_fs/kernel/security/apparmor/
H 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()
/OK3568_Linux_fs/kernel/drivers/thunderbolt/
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()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/hfi1/
H A Dcommon.h87 #define HFI1_CAP_KSET(cap) ({ hfi1_cap_mask |= HFI1_CAP_##cap; hfi1_cap_mask; }) argument
88 #define HFI1_CAP_KCLEAR(cap) \ argument
93 #define HFI1_CAP_USET(cap) \ argument
98 #define HFI1_CAP_UCLEAR(cap) \ argument
103 #define HFI1_CAP_SET(cap) \ argument
109 #define HFI1_CAP_CLEAR(cap) \ argument
/OK3568_Linux_fs/kernel/drivers/pci/controller/cadence/
H A Dpcie-cadence-ep.c195 u32 cap = CDNS_PCIE_EP_FUNC_MSI_CAP_OFFSET; in cdns_pcie_ep_set_msi() local
215 u32 cap = CDNS_PCIE_EP_FUNC_MSI_CAP_OFFSET; in cdns_pcie_ep_get_msi() local
236 u32 cap = CDNS_PCIE_EP_FUNC_MSIX_CAP_OFFSET; in cdns_pcie_ep_get_msix() local
254 u32 cap = CDNS_PCIE_EP_FUNC_MSIX_CAP_OFFSET; in cdns_pcie_ep_set_msix() local
340 u32 cap = CDNS_PCIE_EP_FUNC_MSI_CAP_OFFSET; in cdns_pcie_ep_send_msi_irq() local
387 u32 cap = CDNS_PCIE_EP_FUNC_MSIX_CAP_OFFSET; in cdns_pcie_ep_send_msix_irq() local
/OK3568_Linux_fs/kernel/drivers/pci/
H A Dpci.c410 u8 pos, int cap, int *ttl) in __pci_find_next_cap_ttl()
434 u8 pos, int cap) in __pci_find_next_cap()
441 int pci_find_next_capability(struct pci_dev *dev, u8 pos, int cap) in pci_find_next_capability()
487 int pci_find_capability(struct pci_dev *dev, int cap) in pci_find_capability()
512 int pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap) in pci_bus_find_capability()
538 int pci_find_next_ext_capability(struct pci_dev *dev, int start, int cap) in pci_find_next_ext_capability()
593 int pci_find_ext_capability(struct pci_dev *dev, int cap) in pci_find_ext_capability()
636 u8 cap, mask; in __pci_find_next_ht_cap() local
873 u16 cap; in pci_std_enable_acs() local
1405 u16 cap, bool extended) in _pci_find_saved_cap()
[all …]
/OK3568_Linux_fs/kernel/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
258 efi_time_cap_t cap; in efi_rtc_probe() local

12345678910>>...38