/drivers/infiniband/hw/ehca/ |
D | hcp_if.c | 288 struct ehca_alloc_qp_parms *parms, int is_user) in hipz_h_alloc_resource_qp() argument 296 EHCA_BMASK_SET(H_ALL_RES_QP_ENHANCED_OPS, parms->ext_type) in hipz_h_alloc_resource_qp() 298 | EHCA_BMASK_SET(H_ALL_RES_QP_SERVICE_TYPE, parms->servicetype) in hipz_h_alloc_resource_qp() 299 | EHCA_BMASK_SET(H_ALL_RES_QP_SIGNALING_TYPE, parms->sigtype) in hipz_h_alloc_resource_qp() 300 | EHCA_BMASK_SET(H_ALL_RES_QP_STORAGE, parms->qp_storage) in hipz_h_alloc_resource_qp() 302 parms->squeue.page_size) in hipz_h_alloc_resource_qp() 304 parms->rqueue.page_size) in hipz_h_alloc_resource_qp() 306 !!(parms->ll_comp_flags & LLQP_RECV_COMP)) in hipz_h_alloc_resource_qp() 308 !!(parms->ll_comp_flags & LLQP_SEND_COMP)) in hipz_h_alloc_resource_qp() 310 parms->ud_av_l_key_ctl) in hipz_h_alloc_resource_qp() [all …]
|
D | ehca_qp.c | 285 struct ehca_alloc_queue_parms *parms, in init_qp_queue() argument 294 if (!parms->queue_size) in init_qp_queue() 297 if (parms->is_small) { in init_qp_queue() 300 128 << parms->page_size, in init_qp_queue() 301 wqe_size, parms->act_nr_sges, 1); in init_qp_queue() 303 nr_q_pages = parms->queue_size; in init_qp_queue() 306 parms->act_nr_sges, 0); in init_qp_queue() 329 rpage, parms->is_small ? 0 : 1, in init_qp_queue() 468 struct ehca_alloc_qp_parms parms; in internal_create_qp() local 485 memset(&parms, 0, sizeof(parms)); in internal_create_qp() [all …]
|
D | hcp_if.h | 81 struct ehca_alloc_qp_parms *parms, int is_user);
|
/drivers/media/usb/cpia2/ |
D | cpia2_v4l.c | 696 static int cpia2_g_jpegcomp(struct file *file, void *fh, struct v4l2_jpegcompression *parms) in cpia2_g_jpegcomp() argument 700 memset(parms, 0, sizeof(*parms)); in cpia2_g_jpegcomp() 702 parms->quality = 80; // TODO: Can this be made meaningful? in cpia2_g_jpegcomp() 704 parms->jpeg_markers = V4L2_JPEG_MARKER_DQT | V4L2_JPEG_MARKER_DRI; in cpia2_g_jpegcomp() 706 parms->jpeg_markers |= V4L2_JPEG_MARKER_DHT; in cpia2_g_jpegcomp() 709 parms->APPn = cam->APPn; in cpia2_g_jpegcomp() 710 parms->APP_len = cam->APP_len; in cpia2_g_jpegcomp() 712 memcpy(parms->APP_data, cam->APP_data, cam->APP_len); in cpia2_g_jpegcomp() 713 parms->jpeg_markers |= V4L2_JPEG_MARKER_APP; in cpia2_g_jpegcomp() 716 parms->COM_len = cam->COM_len; in cpia2_g_jpegcomp() [all …]
|
/drivers/usb/dwc3/ |
D | core.c | 341 struct dwc3_hwparams *parms = &dwc->hwparams; in dwc3_core_num_eps() local 343 dwc->num_in_eps = DWC3_NUM_IN_EPS(parms); in dwc3_core_num_eps() 344 dwc->num_out_eps = DWC3_NUM_EPS(parms) - dwc->num_in_eps; in dwc3_core_num_eps() 352 struct dwc3_hwparams *parms = &dwc->hwparams; in dwc3_cache_hwparams() local 354 parms->hwparams0 = dwc3_readl(dwc->regs, DWC3_GHWPARAMS0); in dwc3_cache_hwparams() 355 parms->hwparams1 = dwc3_readl(dwc->regs, DWC3_GHWPARAMS1); in dwc3_cache_hwparams() 356 parms->hwparams2 = dwc3_readl(dwc->regs, DWC3_GHWPARAMS2); in dwc3_cache_hwparams() 357 parms->hwparams3 = dwc3_readl(dwc->regs, DWC3_GHWPARAMS3); in dwc3_cache_hwparams() 358 parms->hwparams4 = dwc3_readl(dwc->regs, DWC3_GHWPARAMS4); in dwc3_cache_hwparams() 359 parms->hwparams5 = dwc3_readl(dwc->regs, DWC3_GHWPARAMS5); in dwc3_cache_hwparams() [all …]
|
/drivers/staging/media/dt3155v4l/ |
D | dt3155v4l.c | 656 dt3155_ioc_g_parm(struct file *filp, void *p, struct v4l2_streamparm *parms) in dt3155_ioc_g_parm() argument 658 if (parms->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in dt3155_ioc_g_parm() 660 parms->parm.capture.capability = V4L2_CAP_TIMEPERFRAME; in dt3155_ioc_g_parm() 661 parms->parm.capture.capturemode = 0; in dt3155_ioc_g_parm() 662 parms->parm.capture.timeperframe.numerator = 1001; in dt3155_ioc_g_parm() 663 parms->parm.capture.timeperframe.denominator = frames_per_sec * 1000; in dt3155_ioc_g_parm() 664 parms->parm.capture.extendedmode = 0; in dt3155_ioc_g_parm() 665 parms->parm.capture.readbuffers = 1; /* FIXME: 2 buffers? */ in dt3155_ioc_g_parm() 670 dt3155_ioc_s_parm(struct file *filp, void *p, struct v4l2_streamparm *parms) in dt3155_ioc_s_parm() argument 672 if (parms->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in dt3155_ioc_s_parm() [all …]
|
/drivers/isdn/hardware/eicon/ |
D | message.c | 101 static void SendSSExtInd(APPL *, PLCI *plci, dword Id, byte **parms); 103 static void VSwitchReqInd(PLCI *plci, dword Id, byte **parms); 166 static byte SendMultiIE(PLCI *plci, dword Id, byte **parms, byte ie_type, dword info_mask, byte set… 593 static word api_parse(byte *msg, word length, byte *format, API_PARSE *parms) in api_parse() argument 599 if (parms) in api_parse() 601 parms[i].info = &msg[p]; in api_parse() 615 parms[i].info += 2; in api_parse() 616 parms[i].length = msg[p + 1] + (msg[p + 2] << 8); in api_parse() 617 p += (parms[i].length + 3); in api_parse() 620 parms[i].length = msg[p]; in api_parse() [all …]
|
D | divasync.h | 315 parms member
|
/drivers/xen/ |
D | sys-hypervisor.c | 281 struct xen_platform_parameters *parms; in virtual_start_show() local 283 parms = kmalloc(sizeof(struct xen_platform_parameters), GFP_KERNEL); in virtual_start_show() 284 if (parms) { in virtual_start_show() 286 parms); in virtual_start_show() 289 parms->virt_start); in virtual_start_show() 290 kfree(parms); in virtual_start_show()
|
/drivers/char/ipmi/ |
D | ipmi_devintf.c | 573 struct ipmi_timing_parms parms; in ipmi_ioctl() local 575 if (copy_from_user(&parms, arg, sizeof(parms))) { in ipmi_ioctl() 580 priv->default_retries = parms.retries; in ipmi_ioctl() 581 priv->default_retry_time_ms = parms.retry_time_ms; in ipmi_ioctl() 588 struct ipmi_timing_parms parms; in ipmi_ioctl() local 590 parms.retries = priv->default_retries; in ipmi_ioctl() 591 parms.retry_time_ms = priv->default_retry_time_ms; in ipmi_ioctl() 593 if (copy_to_user(arg, &parms, sizeof(parms))) { in ipmi_ioctl()
|
/drivers/media/i2c/ |
D | vs6624.c | 660 static int vs6624_g_parm(struct v4l2_subdev *sd, struct v4l2_streamparm *parms) in vs6624_g_parm() argument 663 struct v4l2_captureparm *cp = &parms->parm.capture; in vs6624_g_parm() 665 if (parms->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in vs6624_g_parm() 675 static int vs6624_s_parm(struct v4l2_subdev *sd, struct v4l2_streamparm *parms) in vs6624_s_parm() argument 678 struct v4l2_captureparm *cp = &parms->parm.capture; in vs6624_s_parm() 681 if (parms->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in vs6624_s_parm()
|
D | mt9v011.c | 350 static int mt9v011_g_parm(struct v4l2_subdev *sd, struct v4l2_streamparm *parms) in mt9v011_g_parm() argument 352 struct v4l2_captureparm *cp = &parms->parm.capture; in mt9v011_g_parm() 354 if (parms->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in mt9v011_g_parm() 366 static int mt9v011_s_parm(struct v4l2_subdev *sd, struct v4l2_streamparm *parms) in mt9v011_s_parm() argument 368 struct v4l2_captureparm *cp = &parms->parm.capture; in mt9v011_s_parm() 372 if (parms->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in mt9v011_s_parm()
|
D | ov7670.c | 1034 static int ov7670_g_parm(struct v4l2_subdev *sd, struct v4l2_streamparm *parms) in ov7670_g_parm() argument 1036 struct v4l2_captureparm *cp = &parms->parm.capture; in ov7670_g_parm() 1039 if (parms->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in ov7670_g_parm() 1049 static int ov7670_s_parm(struct v4l2_subdev *sd, struct v4l2_streamparm *parms) in ov7670_s_parm() argument 1051 struct v4l2_captureparm *cp = &parms->parm.capture; in ov7670_s_parm() 1055 if (parms->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in ov7670_s_parm()
|
/drivers/block/drbd/ |
D | drbd_nl.c | 717 struct set_role_parms parms; in drbd_adm_set_role() local 727 memset(&parms, 0, sizeof(parms)); in drbd_adm_set_role() 729 err = set_role_parms_from_attrs(&parms, info); in drbd_adm_set_role() 740 retcode = drbd_set_role(adm_ctx.device, R_PRIMARY, parms.assume_uptodate); in drbd_adm_set_role() 1932 struct detach_parms parms = { }; in drbd_adm_detach() local 1942 err = detach_parms_from_attrs(&parms, info); in drbd_adm_detach() 1951 retcode = adm_detach(adm_ctx.device, parms.force_detach); in drbd_adm_detach() 2438 struct disconnect_parms parms; in drbd_adm_disconnect() local 2451 memset(&parms, 0, sizeof(parms)); in drbd_adm_disconnect() 2453 err = disconnect_parms_from_attrs(&parms, info); in drbd_adm_disconnect() [all …]
|
/drivers/media/i2c/soc_camera/ |
D | ov6650.c | 729 static int ov6650_g_parm(struct v4l2_subdev *sd, struct v4l2_streamparm *parms) in ov6650_g_parm() argument 733 struct v4l2_captureparm *cp = &parms->parm.capture; in ov6650_g_parm() 735 if (parms->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in ov6650_g_parm() 750 static int ov6650_s_parm(struct v4l2_subdev *sd, struct v4l2_streamparm *parms) in ov6650_s_parm() argument 754 struct v4l2_captureparm *cp = &parms->parm.capture; in ov6650_s_parm() 759 if (parms->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) in ov6650_s_parm()
|
/drivers/watchdog/ |
D | cpwd.c | 588 static int *parms[] = { &wd0_timeout, in cpwd_probe() local 602 if (*parms[i]) in cpwd_probe() 603 p->devs[i].timeout = *parms[i]; in cpwd_probe()
|
/drivers/staging/rtl8192u/ |
D | r8192U_wx.c | 172 int *parms = (int *)extra; in r8192_wx_set_crcmon() local 173 int enable = (parms[0] > 0); in r8192_wx_set_crcmon() 626 int *parms = (int *)p; in r8192_wx_set_scan_type() local 627 int mode = parms[0]; in r8192_wx_set_scan_type()
|
/drivers/media/platform/marvell-ccic/ |
D | mcam-core.c | 1567 struct v4l2_streamparm *parms) in mcam_vidioc_g_parm() argument 1573 ret = sensor_call(cam, video, g_parm, parms); in mcam_vidioc_g_parm() 1575 parms->parm.capture.readbuffers = n_dma_bufs; in mcam_vidioc_g_parm() 1580 struct v4l2_streamparm *parms) in mcam_vidioc_s_parm() argument 1586 ret = sensor_call(cam, video, s_parm, parms); in mcam_vidioc_s_parm() 1588 parms->parm.capture.readbuffers = n_dma_bufs; in mcam_vidioc_s_parm()
|
/drivers/net/bonding/ |
D | bond_main.c | 3338 struct neigh_parms parms; in bond_neigh_init() local 3349 parms.neigh_setup = NULL; in bond_neigh_init() 3350 parms.neigh_cleanup = NULL; in bond_neigh_init() 3351 ret = slave_ops->ndo_neigh_setup(slave->dev, &parms); in bond_neigh_init() 3360 n->parms->neigh_cleanup = parms.neigh_cleanup; in bond_neigh_init() 3362 if (!parms.neigh_setup) in bond_neigh_init() 3365 return parms.neigh_setup(n); in bond_neigh_init() 3377 struct neigh_parms *parms) in bond_neigh_setup() argument 3380 if (parms->dev == dev) in bond_neigh_setup() 3381 parms->neigh_setup = bond_neigh_init; in bond_neigh_setup()
|
/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_softmac_wx.c | 458 int *parms = (int *)extra; in ieee80211_wx_set_rawtx() local 459 int enable = (parms[0] > 0); in ieee80211_wx_set_rawtx()
|
/drivers/staging/rtl8192e/ |
D | rtllib_softmac_wx.c | 519 int *parms = (int *)extra; in rtllib_wx_set_rawtx() local 520 int enable = (parms[0] > 0); in rtllib_wx_set_rawtx()
|
/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 3340 struct ibmvfc_prli_svc_parms *parms = &rsp->parms; in ibmvfc_tgt_prli_done() local 3349 parms->type, parms->flags, parms->service_parms); in ibmvfc_tgt_prli_done() 3351 if (parms->type == IBMVFC_SCSI_FCP_TYPE) { in ibmvfc_tgt_prli_done() 3352 index = ibmvfc_get_prli_rsp(be16_to_cpu(parms->flags)); in ibmvfc_tgt_prli_done() 3354 if (be16_to_cpu(parms->flags) & IBMVFC_PRLI_EST_IMG_PAIR) { in ibmvfc_tgt_prli_done() 3357 if (be32_to_cpu(parms->service_parms) & IBMVFC_PRLI_TARGET_FUNC) in ibmvfc_tgt_prli_done() 3359 if (be32_to_cpu(parms->service_parms) & IBMVFC_PRLI_INITIATOR_FUNC) in ibmvfc_tgt_prli_done() 3425 prli->parms.type = IBMVFC_SCSI_FCP_TYPE; in ibmvfc_tgt_send_prli() 3426 prli->parms.flags = cpu_to_be16(IBMVFC_PRLI_EST_IMG_PAIR); in ibmvfc_tgt_send_prli() 3427 prli->parms.service_parms = cpu_to_be32(IBMVFC_PRLI_INITIATOR_FUNC); in ibmvfc_tgt_send_prli()
|
/drivers/s390/cio/ |
D | qdio_setup.c | 126 q->slib->slibe[j].parms = in set_impl_params() 135 q->slib->slibe[j].parms = in set_impl_params()
|
/drivers/scsi/ |
D | st.c | 115 } parms[] __initdata = { variable 3954 for (i = 0; i < ints[0] && i < ARRAY_SIZE(parms); i++) in st_setup() 3955 if (parms[i].val) in st_setup() 3956 *parms[i].val = ints[i + 1]; in st_setup() 3959 for (i = 0; i < ARRAY_SIZE(parms); i++) { in st_setup() 3960 len = strlen(parms[i].name); in st_setup() 3961 if (!strncmp(stp, parms[i].name, len) && in st_setup() 3963 if (parms[i].val) in st_setup() 3964 *parms[i].val = in st_setup() 3968 parms[i].name); in st_setup() [all …]
|
/drivers/staging/rtl8192e/rtl8192e/ |
D | rtl_wx.c | 855 int *parms = (int *)p; in r8192_wx_set_scan_type() local 856 int mode = parms[0]; in r8192_wx_set_scan_type()
|