Home
last modified time | relevance | path

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

12345678910>>...20

/drivers/media/platform/rockchip/rkisp1/
Drkisp1-capture.c367 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 …]
/drivers/staging/greybus/
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 …]
/drivers/net/ethernet/samsung/sxgbe/
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 …]
/drivers/pci/pcie/
Ddpc.c46 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
Dptm.c42 u32 cap; in pci_ptm_init() local
91 u32 *cap; in pci_save_ptm_state() local
108 u32 *cap; in pci_restore_ptm_state() local
/drivers/media/platform/qcom/venus/
Dhfi_parser.c19 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
/drivers/thunderbolt/
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
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()
/drivers/vfio/pci/
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
/drivers/pci/controller/cadence/
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
229 u32 cap = CDNS_PCIE_EP_FUNC_MSI_CAP_OFFSET; in cdns_pcie_ep_set_msi() local
251 u32 cap = CDNS_PCIE_EP_FUNC_MSI_CAP_OFFSET; in cdns_pcie_ep_get_msi() local
274 u32 cap = CDNS_PCIE_EP_FUNC_MSIX_CAP_OFFSET; in cdns_pcie_ep_get_msix() local
295 u32 cap = CDNS_PCIE_EP_FUNC_MSIX_CAP_OFFSET; in cdns_pcie_ep_set_msix() local
384 u32 cap = CDNS_PCIE_EP_FUNC_MSI_CAP_OFFSET; in cdns_pcie_ep_send_msi_irq() local
436 u32 cap = CDNS_PCIE_EP_FUNC_MSI_CAP_OFFSET; in cdns_pcie_ep_map_msi_irq() local
486 u32 cap = CDNS_PCIE_EP_FUNC_MSIX_CAP_OFFSET; in cdns_pcie_ep_send_msix_irq() local
/drivers/iommu/intel/
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
/drivers/net/wireless/ath/wcn36xx/
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()
/drivers/infiniband/hw/hfi1/
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
/drivers/platform/surface/aggregator/
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()
/drivers/char/tpm/
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
/drivers/pci/
Dpci.c429 u8 pos, int cap, int *ttl) in __pci_find_next_cap_ttl()
453 u8 pos, int cap) in __pci_find_next_cap()
460 u8 pci_find_next_capability(struct pci_dev *dev, u8 pos, int cap) in pci_find_next_capability()
506 u8 pci_find_capability(struct pci_dev *dev, int cap) in pci_find_capability()
531 u8 pci_bus_find_capability(struct pci_bus *bus, unsigned int devfn, int cap) in pci_bus_find_capability()
556 u16 pci_find_next_ext_capability(struct pci_dev *dev, u16 start, int cap) in pci_find_next_ext_capability()
611 u16 pci_find_ext_capability(struct pci_dev *dev, int cap) in pci_find_ext_capability()
654 u8 cap, mask; in __pci_find_next_ht_cap() local
731 u16 pci_find_vsec_capability(struct pci_dev *dev, u16 vendor, int cap) in pci_find_vsec_capability()
956 u16 cap; in pci_std_enable_acs() local
[all …]
/drivers/virt/geniezone/
Dgzvm_vm.c240 struct gzvm_enable_cap *cap, in gzvm_vm_ioctl_enable_cap()
307 struct gzvm_enable_cap cap; in gzvm_vm_ioctl() local
409 struct gzvm_enable_cap cap = {0}; in setup_vm_demand_paging() local
545 struct gzvm_enable_cap cap = {0}; in setup_mem_alloc_mode() local
563 struct gzvm_enable_cap cap = {0}; in enable_idle_support() local
/drivers/rtc/
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
/drivers/watchdog/
Dpseries-wdt.c68 #define PSERIES_WDTQ_MIN_TIMEOUT(cap) (((cap) >> 48) & 0xffff) argument
69 #define PSERIES_WDTQ_MAX_NUMBER(cap) (((cap) >> 32) & 0xffff) argument
149 unsigned long cap; in pseries_wdt_probe() local
/drivers/power/supply/
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()
775 static void sc27xx_fgu_adjust_cap(struct sc27xx_fgu_data *data, int cap) in sc27xx_fgu_adjust_cap()
786 int cap, bool int_mode) in sc27xx_fgu_capacity_calibration()
878 int ret, cap; in sc27xx_fgu_interrupt() local
/drivers/platform/x86/
Dacer-wmi.c680 static bool has_cap(u32 cap) in has_cap()
716 static acpi_status AMW0_get_u32(u32 *value, u32 cap) in AMW0_get_u32()
786 static acpi_status AMW0_set_u32(u32 value, u32 cap) in AMW0_set_u32()
999 static acpi_status WMID_get_u32(u32 *value, u32 cap) in WMID_get_u32()
1036 static acpi_status WMID_set_u32(u32 value, u32 cap) in WMID_set_u32()
1127 static acpi_status wmid_v2_get_u32(u32 *value, u32 cap) in wmid_v2_get_u32()
1234 static acpi_status wmid_v2_set_u32(u32 value, u32 cap) in wmid_v2_set_u32()
1370 static acpi_status WMID_gaming_set_u64(u64 value, u32 cap) in WMID_gaming_set_u64()
1394 static acpi_status WMID_gaming_get_u64(u64 *value, u32 cap) in WMID_gaming_get_u64()
1444 static acpi_status get_u32(u32 *value, u32 cap) in get_u32()
[all …]
/drivers/pci/controller/dwc/
Dpcie-designware.c209 static u8 __dw_pcie_find_next_cap(struct dw_pcie *pci, u8 cap_ptr, in __dw_pcie_find_next_cap()
231 u8 dw_pcie_find_capability(struct dw_pcie *pci, u8 cap) in dw_pcie_find_capability()
244 u8 cap) in dw_pcie_find_next_ext_capability()
278 u16 dw_pcie_find_ext_capability(struct dw_pcie *pci, u8 cap) in dw_pcie_find_ext_capability()
701 u32 cap, ctrl2, link_speed; in dw_pcie_link_set_max_speed() local
738 u8 cap; in dw_pcie_link_set_max_link_width() local
/drivers/media/usb/pvrusb2/
Dpvrusb2-hdw.c441 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_cropl_min_get() local
452 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_cropl_max_get() local
466 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_cropt_min_get() local
477 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_cropt_max_get() local
491 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_cropw_max_get() local
507 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_croph_max_get() local
523 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_get_cropcapbl() local
534 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_get_cropcapbt() local
545 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_get_cropcapbw() local
556 struct v4l2_cropcap *cap = &cptr->hdw->cropcap_info; in ctrl_get_cropcapbh() local
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/esw/
Dipsec.c85 void *hca_cap, *query_cap, *cap; in esw_ipsec_vf_set_generic() local
125 void *hca_cap, *query_cap, *cap; in esw_ipsec_vf_set_bytype() local
176 void *hca_cap, *query_cap, *cap; in esw_ipsec_vf_crypto_aux_caps_set() local
/drivers/infiniband/hw/hns/
Dhns_roce_qp.c442 static int set_rq_size(struct hns_roce_dev *hr_dev, struct ib_qp_cap *cap, in set_rq_size()
489 struct ib_qp_cap *cap) in get_max_inline_data()
501 struct ib_qp_cap *cap) in update_inline_data()
550 struct hns_roce_qp *hr_qp, struct ib_qp_cap *cap) in set_ext_sge_param()
596 struct ib_qp_cap *cap, in check_sq_size_with_integrity()
619 struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp, in set_user_sq_size()
698 struct ib_qp_cap *cap, struct hns_roce_qp *hr_qp) in set_kernel_sq_size()

12345678910>>...20