Home
last modified time | relevance | path

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

12

/drivers/infiniband/core/
Dsa_query.c421 static inline void ib_sa_disable_local_svc(struct ib_sa_query *query) in ib_sa_disable_local_svc() argument
423 query->flags &= ~IB_SA_ENABLE_LOCAL_SERVICE; in ib_sa_disable_local_svc()
426 static inline int ib_sa_query_cancelled(struct ib_sa_query *query) in ib_sa_query_cancelled() argument
428 return (query->flags & IB_SA_CANCEL); in ib_sa_query_cancelled()
432 struct ib_sa_query *query) in ib_nl_set_path_rec_attrs() argument
434 struct ib_sa_path_rec *sa_rec = query->mad_buf->context[1]; in ib_nl_set_path_rec_attrs()
435 struct ib_sa_mad *mad = query->mad_buf->mad; in ib_nl_set_path_rec_attrs()
441 query->mad_buf->context[1] = NULL; in ib_nl_set_path_rec_attrs()
446 memcpy(header->device_name, query->port->agent->device->name, in ib_nl_set_path_rec_attrs()
448 header->port_num = query->port->port_num; in ib_nl_set_path_rec_attrs()
[all …]
Dmulticast.c108 struct ib_sa_query *query; member
340 &group->query); in send_join()
360 group, &group->query); in send_leave()
/drivers/input/touchscreen/
Dwacom_w8001.c182 static void parse_touchquery(u8 *data, struct w8001_touch_query *query) in parse_touchquery() argument
184 memset(query, 0, sizeof(*query)); in parse_touchquery()
186 query->panel_res = data[1]; in parse_touchquery()
187 query->sensor_id = data[2] & 0x7; in parse_touchquery()
188 query->capacity_res = data[7]; in parse_touchquery()
190 query->x = data[3] << 9; in parse_touchquery()
191 query->x |= data[4] << 2; in parse_touchquery()
192 query->x |= (data[2] >> 5) & 0x3; in parse_touchquery()
194 query->y = data[5] << 9; in parse_touchquery()
195 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()
208 struct uvc_streaming_control *ctrl, int probe, __u8 query) in uvc_get_video_ctrl() argument
[all …]
Duvc_ctrl.c369 __u8 query, const __u8 *data) in uvc_ctrl_get_zoom() argument
373 switch (query) { in uvc_ctrl_get_zoom()
394 __u8 query, const __u8 *data) in uvc_ctrl_get_rel_speed() argument
399 switch (query) { in uvc_ctrl_get_rel_speed()
768 __u8 query, const __u8 *data) in uvc_get_le_value() argument
1771 switch (xqry->query) { in uvc_xu_ctrl_query()
1817 if (xqry->query == UVC_SET_CUR && in uvc_xu_ctrl_query()
1823 ret = uvc_query_ctrl(chain->dev, xqry->query, xqry->unit, in uvc_xu_ctrl_query()
1828 if (xqry->query != UVC_SET_CUR && in uvc_xu_ctrl_query()
Duvcvideo.h213 __s32 (*get) (struct uvc_control_mapping *mapping, __u8 query,
686 extern int uvc_query_ctrl(struct uvc_device *dev, __u8 query, __u8 unit,
/drivers/net/hyperv/
Drndis_filter.c473 struct rndis_query_request *query; in rndis_filter_query_device() local
490 query = &request->request_msg.msg.query_req; in rndis_filter_query_device()
491 query->oid = oid; in rndis_filter_query_device()
492 query->info_buf_offset = sizeof(struct rndis_query_request); in rndis_filter_query_device()
493 query->info_buflen = 0; in rndis_filter_query_device()
494 query->dev_vc_handle = 0; in rndis_filter_query_device()
501 query->info_buflen = sizeof(struct ndis_recv_scale_cap); in rndis_filter_query_device()
502 cap = (struct ndis_recv_scale_cap *)((unsigned long)query + in rndis_filter_query_device()
503 query->info_buf_offset); in rndis_filter_query_device()
/drivers/platform/x86/
Dhp-wmi.c191 static int hp_wmi_perform_query(int query, int write, void *buffer, in hp_wmi_perform_query() argument
200 .commandtype = query, in hp_wmi_perform_query()
228 pr_warn("query 0x%x returned error 0x%x\n", query, rc); in hp_wmi_perform_query()
334 int query = BIT(r + 8) | ((!blocked) << r); in hp_wmi_set_block() local
338 &query, sizeof(query), 0); in hp_wmi_set_block()
Ddell-rbtn.c114 .query = rbtn_rfkill_query,
/drivers/net/wireless/iwlwifi/mvm/
Dd3.c1701 struct iwl_scan_offload_profiles_query *query; in iwl_mvm_netdetect_query_results() local
1721 if (len < sizeof(*query)) { in iwl_mvm_netdetect_query_results()
1727 query = (void *)cmd.resp_pkt->data; in iwl_mvm_netdetect_query_results()
1729 results->matched_profiles = le32_to_cpu(query->matched_profiles); in iwl_mvm_netdetect_query_results()
1730 memcpy(results->matches, query->matches, sizeof(results->matches)); in iwl_mvm_netdetect_query_results()
1733 mvm->last_netdetect_scans = le32_to_cpu(query->n_scans_done); in iwl_mvm_netdetect_query_results()
1749 struct iwl_mvm_nd_query_results query; in iwl_mvm_query_netdetect_reasons() local
1767 ret = iwl_mvm_netdetect_query_results(mvm, &query); in iwl_mvm_query_netdetect_reasons()
1768 if (ret || !query.matched_profiles) { in iwl_mvm_query_netdetect_reasons()
1773 matched_profiles = query.matched_profiles; in iwl_mvm_query_netdetect_reasons()
[all …]
/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_stats.c111 i, bp->fw_stats_req->query[i].kind, in bnx2x_dp_stats()
112 bp->fw_stats_req->query[i].index, in bnx2x_dp_stats()
113 bp->fw_stats_req->query[i].funcID, in bnx2x_dp_stats()
114 bp->fw_stats_req->query[i].reserved, in bnx2x_dp_stats()
115 bp->fw_stats_req->query[i].address.hi, in bnx2x_dp_stats()
116 bp->fw_stats_req->query[i].address.lo); in bnx2x_dp_stats()
1470 cur_query_entry = &bp->fw_stats_req->query[BNX2X_PORT_QUERY_IDX]; in bnx2x_prep_fw_stats_req()
1484 cur_query_entry = &bp->fw_stats_req->query[BNX2X_PF_QUERY_IDX]; in bnx2x_prep_fw_stats_req()
1499 &bp->fw_stats_req->query[BNX2X_FCOE_QUERY_IDX]; in bnx2x_prep_fw_stats_req()
1526 query[first_queue_query_index + i]; in bnx2x_prep_fw_stats_req()
[all …]
Dbnx2x_sp.c1666 struct bnx2x_exeq_elem query, *pos; in bnx2x_optimize_vlan_mac() local
1670 memcpy(&query, elem, sizeof(query)); in bnx2x_optimize_vlan_mac()
1674 query.cmd_data.vlan_mac.cmd = BNX2X_VLAN_MAC_DEL; in bnx2x_optimize_vlan_mac()
1677 query.cmd_data.vlan_mac.cmd = BNX2X_VLAN_MAC_ADD; in bnx2x_optimize_vlan_mac()
1685 pos = exeq->get(exeq, &query); in bnx2x_optimize_vlan_mac()
1691 if ((query.cmd_data.vlan_mac.cmd == in bnx2x_optimize_vlan_mac()
/drivers/xen/
Dgrant-table.c608 struct gnttab_query_size query; in __max_nr_grant_frames() local
611 query.dom = DOMID_SELF; in __max_nr_grant_frames()
613 rc = HYPERVISOR_grant_table_op(GNTTABOP_query_size, &query, 1); in __max_nr_grant_frames()
614 if ((rc < 0) || (query.status != GNTST_okay)) in __max_nr_grant_frames()
617 return query.max_nr_frames; in __max_nr_grant_frames()
/drivers/infiniband/ulp/ipoib/
Dipoib_main.c680 if (path->query) in ipoib_flush_paths()
681 ib_sa_cancel_query(path->query_id, path->query); in ipoib_flush_paths()
786 path->query = NULL; in path_rec_completion()
852 path, &path->query); in path_rec_start()
855 path->query = NULL; in path_rec_start()
928 if (!path->query && path_rec_start(dev, path)) in neigh_add_path()
980 if (!path->query && path_rec_start(dev, path)) { in unicast_arp_send()
1003 } else if ((path->query || !path_rec_start(dev, path)) && in unicast_arp_send()
/drivers/scsi/ufs/
Dufshcd.c860 struct ufs_query_res *query_res = &hba->dev_cmd.query.response; in ufshcd_copy_query_response()
865 if (hba->dev_cmd.query.descriptor && in ufshcd_copy_query_response()
876 hba->dev_cmd.query.request.upiu_req.length); in ufshcd_copy_query_response()
878 memcpy(hba->dev_cmd.query.descriptor, descp, resp_len); in ufshcd_copy_query_response()
1198 struct ufs_query *query = &hba->dev_cmd.query; in ufshcd_prepare_utp_query_req_upiu() local
1199 u16 len = be16_to_cpu(query->request.upiu_req.length); in ufshcd_prepare_utp_query_req_upiu()
1207 0, query->request.query_func, 0, 0); in ufshcd_prepare_utp_query_req_upiu()
1214 memcpy(&ucd_req_ptr->qr, &query->request.upiu_req, in ufshcd_prepare_utp_query_req_upiu()
1218 if (query->request.upiu_req.opcode == UPIU_QUERY_OPCODE_WRITE_DESC) in ufshcd_prepare_utp_query_req_upiu()
1219 memcpy(descp, query->descriptor, len); in ufshcd_prepare_utp_query_req_upiu()
[all …]
Dufshcd.h203 struct ufs_query query; member
/drivers/media/usb/pvrusb2/
DKconfig25 interface for query and control of the pvrusb2 driver.
/drivers/media/usb/dvb-usb-v2/
Ddvb_usb.h142 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()
/drivers/gpu/drm/amd/amdgpu/
Damdgpu_kms.c175 switch (info->query) { in amdgpu_info_ioctl()
481 DRM_DEBUG_KMS("Invalid request %d\n", info->query); in amdgpu_info_ioctl()
/drivers/tty/hvc/
Dhvsi.c320 struct hvsi_query *query = (struct hvsi_query *)packet; in hvsi_recv_query() local
324 hvsi_version_respond(hp, be16_to_cpu(query->hdr.seqno)); in hvsi_recv_query()
/drivers/media/
DKconfig92 Enable the media controller API used to query media devices internal
/drivers/firmware/
DKconfig118 Say Y here if you want to query SMBIOS/DMI system identification
/drivers/media/pci/bt8xx/
Ddst_ca.c424 …struct dst_state *state, struct ca_msg *p_ca_message, struct ca_msg *hw_buffer, u8 reply, u8 query) in ca_set_pmt() argument

12