Searched refs:cap (Results 76 - 100 of 207) sorted by path

123456789

/freebsd-11-stable/sys/dev/hpt27xx/
H A Dhpt27xx_osm_bsd.c639 HPT_U32 cap; local
663 cap = 0xffffffff;
665 cap = new_cap - 1;
667 rbuf[0] = (HPT_U8)(cap>>24);
668 rbuf[1] = (HPT_U8)(cap>>16);
669 rbuf[2] = (HPT_U8)(cap>>8);
670 rbuf[3] = (HPT_U8)cap;
690 HPT_U64 cap = 0; local
710 cap = (vd->capacity >> sector_size_shift) - 1;
712 rbuf[0] = (HPT_U8)(cap>>5
[all...]
H A Dhptintf.h1523 int hpt_get_driver_capabilities(PDRIVER_CAPABILITIES cap);
1524 int hpt_get_driver_capabilities_v2(PDRIVER_CAPABILITIES_V2 cap);
2062 * cap max capacity of the array user want to create or transform
2069 * cap - max capacity of the target array
2072 int hpt_calc_max_array_capacity(DEVICEID source, PCREATE_ARRAY_PARAMS_V2 destInfo, HPT_U64 * cap);
2076 * cap max capacity of the array user want to create or transform
2083 * cap - max capacity of the target array
2086 int hpt_calc_max_array_capacity_v2(DEVICEID source, PCREATE_ARRAY_PARAMS_V3 destInfo, HPT_U64 * cap);
/freebsd-11-stable/sys/dev/hptmv/
H A Dentry.c2709 unsigned int cap; local
2712 cap = 0xfffffffful;
2714 cap = pVDev->VDeviceCapacity - 1;
2717 rbuf[0] = (UCHAR)(cap>>24);
2718 rbuf[1] = (UCHAR)(cap>>16);
2719 rbuf[2] = (UCHAR)(cap>>8);
2720 rbuf[3] = (UCHAR)cap;
2734 LBA_T cap = pVDev->VDeviceCapacity - 1; local
2736 rbuf[0] = (UCHAR)(cap>>56);
2737 rbuf[1] = (UCHAR)(cap>>4
[all...]
H A Dgui_lib.c54 static int hpt_get_driver_capabilities(PDRIVER_CAPABILITIES cap);
356 int hpt_get_driver_capabilities(PDRIVER_CAPABILITIES cap) argument
358 ZeroMemory(cap, sizeof(DRIVER_CAPABILITIES));
359 cap->dwSize = sizeof(DRIVER_CAPABILITIES);
360 cap->MaximumControllers = MAX_VBUS;
362 /* cap->SupportCrossControllerRAID = 0; */
364 cap->SupportCrossControllerRAID = 0;
367 cap->MinimumBlockSizeShift = MinBlockSizeShift;
368 cap->MaximumBlockSizeShift = MaxBlockSizeShift;
369 cap
1380 PDRIVER_CAPABILITIES cap; local
[all...]
H A Dhptintf.h806 int hpt_get_driver_capabilities(PDRIVER_CAPABILITIES cap);
/freebsd-11-stable/sys/dev/hptnr/
H A Dhptintf.h1519 int hpt_get_driver_capabilities(PDRIVER_CAPABILITIES cap);
1520 int hpt_get_driver_capabilities_v2(PDRIVER_CAPABILITIES_V2 cap);
2058 * cap max capacity of the array user want to create or transform
2065 * cap - max capacity of the target array
2068 int hpt_calc_max_array_capacity(DEVICEID source, PCREATE_ARRAY_PARAMS_V2 destInfo, HPT_U64 * cap);
2072 * cap max capacity of the array user want to create or transform
2079 * cap - max capacity of the target array
2082 int hpt_calc_max_array_capacity_v2(DEVICEID source, PCREATE_ARRAY_PARAMS_V3 destInfo, HPT_U64 * cap);
H A Dhptnr_osm_bsd.c878 HPT_U32 cap; local
902 cap = 0xffffffff;
904 cap = new_cap - 1;
906 rbuf[0] = (HPT_U8)(cap>>24);
907 rbuf[1] = (HPT_U8)(cap>>16);
908 rbuf[2] = (HPT_U8)(cap>>8);
909 rbuf[3] = (HPT_U8)cap;
930 HPT_U64 cap = 0; local
950 cap = (vd->capacity >> sector_size_shift) - 1;
952 rbuf[0] = (HPT_U8)(cap>>5
[all...]
/freebsd-11-stable/sys/dev/hptrr/
H A Dhptintf.h1261 int hpt_get_driver_capabilities(PDRIVER_CAPABILITIES cap);
1262 int hpt_get_driver_capabilities_v2(PDRIVER_CAPABILITIES_V2 cap);
1779 * cap max capacity of the array user want to create or transform
1786 * cap - max capacity of the target array
1789 int hpt_calc_max_array_capacity(DEVICEID source, PCREATE_ARRAY_PARAMS_V2 destInfo, HPT_U64 * cap);
1793 * cap max capacity of the array user want to create or transform
1800 * cap - max capacity of the target array
1803 int hpt_calc_max_array_capacity_v2(DEVICEID source, PCREATE_ARRAY_PARAMS_V3 destInfo, HPT_U64 * cap);
H A Dhptrr_osm_bsd.c607 HPT_U32 cap; local
610 cap = 0xfffffffful;
612 cap = vd->capacity - 1;
614 rbuf[0] = (HPT_U8)(cap>>24);
615 rbuf[1] = (HPT_U8)(cap>>16);
616 rbuf[2] = (HPT_U8)(cap>>8);
617 rbuf[3] = (HPT_U8)cap;
630 HPT_U64 cap = vd->capacity - 1; local
632 rbuf[0] = (HPT_U8)(cap>>56);
633 rbuf[1] = (HPT_U8)(cap>>4
[all...]
/freebsd-11-stable/sys/dev/iser/
H A Diser_verbs.c458 init_attr.cap.max_recv_wr = ISER_QP_MAX_RECV_DTOS;
459 init_attr.cap.max_send_sge = 2;
460 init_attr.cap.max_recv_sge = 1;
465 init_attr.cap.max_send_wr = ISER_QP_MAX_REQ_DTOS;
469 init_attr.cap.max_send_wr = dev_attr->max_qp_wr;
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwmreg.h3443 * value, to cap the CW value.
5865 * @cap: capabilities for all channels which matches the MCC
5875 uint8_t cap; member in struct:iwm_mcc_update_resp_v1
5888 * @cap: capabilities for all channels which matches the MCC
5900 uint8_t cap; member in struct:iwm_mcc_update_resp
/freebsd-11-stable/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib_mad.c1774 qp_init_attr.init_attr.cap.max_send_wr = MLX4_NUM_TUNNEL_BUFS;
1775 qp_init_attr.init_attr.cap.max_recv_wr = MLX4_NUM_TUNNEL_BUFS;
1776 qp_init_attr.init_attr.cap.max_send_sge = 1;
1777 qp_init_attr.init_attr.cap.max_recv_sge = 1;
H A Dmlx4_ib_qp.c385 static int set_rq_size(struct mlx4_ib_dev *dev, struct ib_qp_cap *cap, argument
389 if (cap->max_recv_wr > dev->dev->caps.max_wqes - MLX4_IB_SQ_MAX_SPARE ||
390 cap->max_recv_sge > min(dev->dev->caps.max_sq_sg, dev->dev->caps.max_rq_sg))
394 if (cap->max_recv_wr)
400 if (is_user && (!cap->max_recv_wr || !cap->max_recv_sge))
403 qp->rq.wqe_cnt = roundup_pow_of_two(max(1U, cap->max_recv_wr));
404 qp->rq.max_gs = roundup_pow_of_two(max(1U, cap->max_recv_sge));
410 cap->max_recv_wr = qp->rq.max_post = qp->rq.wqe_cnt;
411 cap
423 set_kernel_sq_size(struct mlx4_ib_dev *dev, struct ib_qp_cap *cap, enum mlx4_ib_qp_type type, struct mlx4_ib_qp *qp, bool shrink_wqe) argument
[all...]
/freebsd-11-stable/sys/dev/mlx5/mlx5_ib/
H A Dmlx5_ib_gsi.c41 struct ib_qp_cap cap; member in struct:mlx5_ib_gsi_qp
76 wr = &gsi->outstanding_wrs[index % gsi->cap.max_send_wr];
140 gsi->outstanding_wrs = kcalloc(init_attr->cap.max_send_wr,
161 gsi->cap = init_attr->cap;
166 gsi->cq = ib_alloc_cq(pd->device, gsi, init_attr->cap.max_send_wr, 0,
178 hw_init_attr.cap.max_send_wr = 0;
179 hw_init_attr.cap.max_send_sge = 0;
180 hw_init_attr.cap.max_inline_data = 0;
254 .cap
[all...]
/freebsd-11-stable/sys/dev/mmc/
H A Dmmc.c1522 #define HOST_TIMING_CAP(host_caps, cap) ({ \
1524 if (((host_caps) & (cap)) == (cap)) \
/freebsd-11-stable/sys/dev/mthca/
H A Dmthca_dev.h551 struct ib_qp_cap *cap,
558 struct ib_qp_cap *cap,
H A Dmthca_provider.c574 &init_attr->cap, qp);
608 init_attr->sq_sig_type, &init_attr->cap,
623 init_attr->cap.max_send_wr = qp->sq.max;
624 init_attr->cap.max_recv_wr = qp->rq.max;
625 init_attr->cap.max_send_sge = qp->sq.max_gs;
626 init_attr->cap.max_recv_sge = qp->rq.max_gs;
627 init_attr->cap.max_inline_data = qp->max_inline_data;
H A Dmthca_qp.c498 qp_attr->cap.max_send_wr = qp->sq.max;
499 qp_attr->cap.max_recv_wr = qp->rq.max;
500 qp_attr->cap.max_send_sge = qp->sq.max_gs;
501 qp_attr->cap.max_recv_sge = qp->rq.max_gs;
502 qp_attr->cap.max_inline_data = qp->max_inline_data;
504 qp_init_attr->cap = qp_attr->cap;
1230 static int mthca_set_qp_size(struct mthca_dev *dev, struct ib_qp_cap *cap, argument
1236 if (cap->max_send_wr > dev->limits.max_wqes ||
1237 cap
1269 mthca_alloc_qp(struct mthca_dev *dev, struct mthca_pd *pd, struct mthca_cq *send_cq, struct mthca_cq *recv_cq, enum ib_qp_type type, enum ib_sig_type send_policy, struct ib_qp_cap *cap, struct mthca_qp *qp) argument
1343 mthca_alloc_sqp(struct mthca_dev *dev, struct mthca_pd *pd, struct mthca_cq *send_cq, struct mthca_cq *recv_cq, enum ib_sig_type send_policy, struct ib_qp_cap *cap, int qpn, int port, struct mthca_sqp *sqp) argument
[all...]
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Dbcm_osal.h64 extern int qlnx_pci_find_capability(void *ecore_dev, int cap);
387 #define OSAL_PCI_FIND_CAPABILITY(dev, cap) qlnx_pci_find_capability(dev, cap)
H A Decore_iov_api.h166 u32 cap; /* SR-IOV Capabilities */ member in struct:ecore_hw_sriov_info
H A Decore_sriov.c448 &iov->cap);
455 "IOV info: nres %d, cap 0x%x, ctrl 0x%x, total %d, initial %d, num vfs %d, offset %d, stride %d, page size 0x%x\n",
456 iov->nres, iov->cap, iov->ctrl,
H A Dqlnx_os.c5465 qlnx_pci_find_capability(void *ecore_dev, int cap) argument
/freebsd-11-stable/sys/dev/sound/pci/hda/
H A Dhdaa.c543 if (HDA_PARAM_PIN_CAP_PRESENCE_DETECT_CAP(w->wclass.pin.cap) == 0 ||
693 if (HDA_PARAM_PIN_CAP_PRESENCE_DETECT_CAP(w->wclass.pin.cap) == 0 ||
766 if (HDA_PARAM_PIN_CAP_PRESENCE_DETECT_CAP(w->wclass.pin.cap) == 0 ||
785 if (!HDA_PARAM_PIN_CAP_DP(w->wclass.pin.cap) &&
786 !HDA_PARAM_PIN_CAP_HDMI(w->wclass.pin.cap))
982 uint32_t cap; local
984 cap = fcap;
985 if (cap != 0) {
986 sbuf_printf(sb, " Stream cap: 0x%08x", cap);
1114 hdaa_dump_amp_sb(struct sbuf *sb, uint32_t cap, const char *banner) argument
1469 uint32_t wcap, cap; local
5270 uint32_t cap, fmtcap, pcmcap; local
5622 uint32_t cap; local
5780 hdaa_dump_amp(device_t dev, uint32_t cap, const char *banner) argument
[all...]
H A Dhdaa.h126 uint32_t cap; member in struct:hdaa_widget::__anon11674::__anon11675
/freebsd-11-stable/sys/dev/vge/
H A Dif_vge.c993 int error = 0, cap, i, msic, rid; local
1017 if (pci_find_cap(dev, PCIY_EXPRESS, &cap) == 0) {
1019 sc->vge_expcap = cap;
1022 if (pci_find_cap(dev, PCIY_PMG, &cap) == 0) {
1024 sc->vge_pmcap = cap;

Completed in 376 milliseconds

123456789