Home
last modified time | relevance | path

Searched refs:query (Results 1 – 25 of 44) sorted by relevance

12

/drivers/infiniband/core/
Dsa_query.c490 void ib_sa_cancel_query(int id, struct ib_sa_query *query) in ib_sa_cancel_query() argument
497 if (idr_find(&query_idr, id) != query) { in ib_sa_cancel_query()
501 agent = query->port->agent; in ib_sa_cancel_query()
502 mad_buf = query->mad_buf; in ib_sa_cancel_query()
563 static int alloc_mad(struct ib_sa_query *query, gfp_t gfp_mask) in alloc_mad() argument
567 spin_lock_irqsave(&query->port->ah_lock, flags); in alloc_mad()
568 if (!query->port->sm_ah) { in alloc_mad()
569 spin_unlock_irqrestore(&query->port->ah_lock, flags); in alloc_mad()
572 kref_get(&query->port->sm_ah->ref); in alloc_mad()
573 query->sm_ah = query->port->sm_ah; in alloc_mad()
[all …]
Dmulticast.c108 struct ib_sa_query *query; member
341 &group->query); in send_join()
365 group, &group->query); in send_leave()
/drivers/input/touchscreen/
Dwacom_w8001.c183 static void parse_touchquery(u8 *data, struct w8001_touch_query *query) in parse_touchquery() argument
185 memset(query, 0, sizeof(*query)); in parse_touchquery()
187 query->panel_res = data[1]; in parse_touchquery()
188 query->sensor_id = data[2] & 0x7; in parse_touchquery()
189 query->capacity_res = data[7]; in parse_touchquery()
191 query->x = data[3] << 9; in parse_touchquery()
192 query->x |= data[4] << 2; in parse_touchquery()
193 query->x |= (data[2] >> 5) & 0x3; in parse_touchquery()
195 query->y = data[5] << 9; in parse_touchquery()
196 query->y |= data[6] << 2; in parse_touchquery()
[all …]
/drivers/media/usb/dvb-usb/
DcinergyT2-core.c68 char query[] = { CINERGYT2_EP1_GET_FIRMWARE_VERSION }; in cinergyt2_frontend_attach() local
74 ret = dvb_usb_generic_rw(adap->dev, query, sizeof(query), state, in cinergyt2_frontend_attach()
/drivers/media/usb/uvc/
Duvc_video.c33 static int __uvc_query_ctrl(struct uvc_device *dev, __u8 query, __u8 unit, in __uvc_query_ctrl() argument
40 pipe = (query & 0x80) ? usb_rcvctrlpipe(dev->udev, 0) in __uvc_query_ctrl()
42 type |= (query & 0x80) ? USB_DIR_IN : USB_DIR_OUT; in __uvc_query_ctrl()
44 return usb_control_msg(dev->udev, pipe, query, type, cs << 8, in __uvc_query_ctrl()
48 static const char *uvc_query_name(__u8 query) in uvc_query_name() argument
50 switch (query) { in uvc_query_name()
72 int uvc_query_ctrl(struct uvc_device *dev, __u8 query, __u8 unit, in uvc_query_ctrl() argument
77 ret = __uvc_query_ctrl(dev, query, unit, intfnum, cs, data, size, in uvc_query_ctrl()
81 "unit %u: %d (exp. %u).\n", uvc_query_name(query), cs, in uvc_query_ctrl()
159 struct uvc_streaming_control *ctrl, int probe, __u8 query) in uvc_get_video_ctrl() argument
[all …]
Duvc_ctrl.c370 __u8 query, const __u8 *data) in uvc_ctrl_get_zoom() argument
374 switch (query) { in uvc_ctrl_get_zoom()
716 __u8 query, const __u8 *data) in uvc_get_le_value() argument
1719 switch (xqry->query) { in uvc_xu_ctrl_query()
1765 if (xqry->query == UVC_SET_CUR && in uvc_xu_ctrl_query()
1771 ret = uvc_query_ctrl(chain->dev, xqry->query, xqry->unit, in uvc_xu_ctrl_query()
1776 if (xqry->query != UVC_SET_CUR && in uvc_xu_ctrl_query()
Duvcvideo.h186 __s32 (*get) (struct uvc_control_mapping *mapping, __u8 query,
654 extern int uvc_query_ctrl(struct uvc_device *dev, __u8 query, __u8 unit,
/drivers/platform/x86/
Dhp-wmi.c186 static int hp_wmi_perform_query(int query, int write, void *buffer, in hp_wmi_perform_query() argument
195 .commandtype = query, in hp_wmi_perform_query()
223 pr_warn("query 0x%x returned error 0x%x\n", query, rc); in hp_wmi_perform_query()
297 int query = BIT(r + 8) | ((!blocked) << r); in hp_wmi_set_block() local
301 &query, sizeof(query), 0); in hp_wmi_set_block()
/drivers/net/hyperv/
Drndis_filter.c471 struct rndis_query_request *query; in rndis_filter_query_device() local
488 query = &request->request_msg.msg.query_req; in rndis_filter_query_device()
489 query->oid = oid; in rndis_filter_query_device()
490 query->info_buf_offset = sizeof(struct rndis_query_request); in rndis_filter_query_device()
491 query->info_buflen = 0; in rndis_filter_query_device()
492 query->dev_vc_handle = 0; in rndis_filter_query_device()
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_stats.c109 i, bp->fw_stats_req->query[i].kind, in bnx2x_dp_stats()
110 bp->fw_stats_req->query[i].index, in bnx2x_dp_stats()
111 bp->fw_stats_req->query[i].funcID, in bnx2x_dp_stats()
112 bp->fw_stats_req->query[i].reserved, in bnx2x_dp_stats()
113 bp->fw_stats_req->query[i].address.hi, in bnx2x_dp_stats()
114 bp->fw_stats_req->query[i].address.lo); in bnx2x_dp_stats()
1465 cur_query_entry = &bp->fw_stats_req->query[BNX2X_PORT_QUERY_IDX]; in bnx2x_prep_fw_stats_req()
1479 cur_query_entry = &bp->fw_stats_req->query[BNX2X_PF_QUERY_IDX]; in bnx2x_prep_fw_stats_req()
1494 &bp->fw_stats_req->query[BNX2X_FCOE_QUERY_IDX]; in bnx2x_prep_fw_stats_req()
1521 query[first_queue_query_index + i]; in bnx2x_prep_fw_stats_req()
[all …]
Dbnx2x_sp.c1476 struct bnx2x_exeq_elem query, *pos; in bnx2x_optimize_vlan_mac() local
1480 memcpy(&query, elem, sizeof(query)); in bnx2x_optimize_vlan_mac()
1484 query.cmd_data.vlan_mac.cmd = BNX2X_VLAN_MAC_DEL; in bnx2x_optimize_vlan_mac()
1487 query.cmd_data.vlan_mac.cmd = BNX2X_VLAN_MAC_ADD; in bnx2x_optimize_vlan_mac()
1495 pos = exeq->get(exeq, &query); in bnx2x_optimize_vlan_mac()
1501 if ((query.cmd_data.vlan_mac.cmd == in bnx2x_optimize_vlan_mac()
/drivers/infiniband/ulp/ipoib/
Dipoib_main.c417 if (path->query) in ipoib_flush_paths()
418 ib_sa_cancel_query(path->query_id, path->query); in ipoib_flush_paths()
508 path->query = NULL; in path_rec_completion()
574 path, &path->query); in path_rec_start()
577 path->query = NULL; in path_rec_start()
641 if (!path->query && path_rec_start(dev, path)) in neigh_add_path()
684 if (!path->query && path_rec_start(dev, path)) { in unicast_arp_send()
707 } else if ((path->query || !path_rec_start(dev, path)) && in unicast_arp_send()
Dipoib.h395 struct ib_sa_query *query; member
/drivers/xen/
Dgrant-table.c804 struct gnttab_query_size query; in __max_nr_grant_frames() local
807 query.dom = DOMID_SELF; in __max_nr_grant_frames()
809 rc = HYPERVISOR_grant_table_op(GNTTABOP_query_size, &query, 1); in __max_nr_grant_frames()
810 if ((rc < 0) || (query.status != GNTST_okay)) in __max_nr_grant_frames()
813 return query.max_nr_frames; in __max_nr_grant_frames()
/drivers/message/i2o/
DREADME.ioctl345 void *qbuf; /* Pointer to HTTP query string */
346 u32 qlen; /* Length in bytes of query string buffer */
354 in the buffer pointed to by htquery->resbuf. If there is an HTTP query
356 pointed to by htquery->qbuf. If there is no query string, this field
/drivers/media/usb/pvrusb2/
DKconfig25 interface for query and control of the pvrusb2 driver.
/drivers/staging/media/go7007/
Dsaa7134-go7007.c411 struct v4l2_queryctrl *query) in saa7134_go7007_queryctrl() argument
413 return saa7134_queryctrl(NULL, NULL, query); in saa7134_go7007_queryctrl()
Dgo7007.txt273 To query the current parameters, call the GO7007IOC_G_COMP_PARAMS ioctl
324 To query the current parameters, call the GO7007IOC_G_MPEG_PARAMS ioctl
393 These ioctls are used to set and query the target bitrate value for the
/drivers/media/usb/dvb-usb-v2/
Ddvb_usb.h141 int (*query) (struct dvb_usb_device *d); member
Ddvb_usb_core.c121 ret = d->rc.query(d); in dvb_usb_read_remote_control()
180 if (d->rc.query && !d->rc.bulk_mode) { in dvb_usbv2_remote_init()
Drtl28xxu.c1240 rc->query = rtl2831u_rc_query; in rtl2831u_get_rc_config()
1316 rc->query = rtl2832u_rc_query; in rtl2832u_get_rc_config()
/drivers/tty/hvc/
Dhvsi.c318 struct hvsi_query *query = (struct hvsi_query *)packet; in hvsi_recv_query() local
322 hvsi_version_respond(hp, query->hdr.seqno); in hvsi_recv_query()
/drivers/media/
DKconfig85 Enable the media controller API used to query media devices internal
/drivers/firmware/
DKconfig95 Say Y here if you want to query SMBIOS/DMI system identification
/drivers/mtd/
Dnftlmount.c228 The new DiskOnChip driver already scanned the bad block table. Just query it. in find_boot_record()

12