/drivers/infiniband/core/ |
D | sa_query.c | 739 static inline void ib_sa_disable_local_svc(struct ib_sa_query *query) in ib_sa_disable_local_svc() argument 741 query->flags &= ~IB_SA_ENABLE_LOCAL_SERVICE; in ib_sa_disable_local_svc() 744 static inline int ib_sa_query_cancelled(struct ib_sa_query *query) in ib_sa_query_cancelled() argument 746 return (query->flags & IB_SA_CANCEL); in ib_sa_query_cancelled() 750 struct ib_sa_query *query) in ib_nl_set_path_rec_attrs() argument 752 struct sa_path_rec *sa_rec = query->mad_buf->context[1]; in ib_nl_set_path_rec_attrs() 753 struct ib_sa_mad *mad = query->mad_buf->mad; in ib_nl_set_path_rec_attrs() 759 query->mad_buf->context[1] = NULL; in ib_nl_set_path_rec_attrs() 763 memcpy(header->device_name, dev_name(&query->port->agent->device->dev), in ib_nl_set_path_rec_attrs() 765 header->port_num = query->port->port_num; in ib_nl_set_path_rec_attrs() [all …]
|
D | cma_priv.h | 74 struct ib_sa_query *query; member
|
D | multicast.c | 108 struct ib_sa_query *query; member 341 &group->query); in send_join() 361 group, &group->query); in send_leave()
|
/drivers/gpu/drm/i915/ |
D | i915_query.c | 105 struct drm_i915_query_engine_info query; in query_engine_info() local 117 ret = copy_query_item(&query, sizeof(query), len, query_item); in query_engine_info() 121 if (query.num_engines || query.rsvd[0] || query.rsvd[1] || in query_engine_info() 122 query.rsvd[2]) in query_engine_info() 135 query.num_engines++; in query_engine_info() 139 if (__copy_to_user(query_ptr, &query, sizeof(query))) in query_engine_info()
|
/drivers/input/touchscreen/ |
D | wacom_w8001.c | 188 static void parse_touchquery(u8 *data, struct w8001_touch_query *query) in parse_touchquery() argument 190 memset(query, 0, sizeof(*query)); in parse_touchquery() 192 query->panel_res = data[1]; in parse_touchquery() 193 query->sensor_id = data[2] & 0x7; in parse_touchquery() 194 query->capacity_res = data[7]; in parse_touchquery() 196 query->x = data[3] << 9; in parse_touchquery() 197 query->x |= data[4] << 2; in parse_touchquery() 198 query->x |= (data[2] >> 5) & 0x3; in parse_touchquery() 200 query->y = data[5] << 9; in parse_touchquery() 201 query->y |= data[6] << 2; in parse_touchquery() [all …]
|
/drivers/input/rmi4/ |
D | rmi_f11.c | 633 struct f11_2d_sensor_queries *query = &f11->sens_query; in f11_2d_construct_data() local 637 sensor->nbr_fingers = (query->nr_fingers == 5 ? 10 : in f11_2d_construct_data() 638 query->nr_fingers + 1); in f11_2d_construct_data() 642 if (query->has_abs) { in f11_2d_construct_data() 647 if (query->has_rel) in f11_2d_construct_data() 651 if (query->query7_nonzero) in f11_2d_construct_data() 655 if (query->query7_nonzero || query->query8_nonzero) in f11_2d_construct_data() 658 if (query->has_pinch || query->has_flick || query->has_rotate) { in f11_2d_construct_data() 660 if (!query->has_flick) in f11_2d_construct_data() 662 if (!query->has_rotate) in f11_2d_construct_data() [all …]
|
/drivers/staging/android/ion/ |
D | ion.c | 65 static int ion_query_heaps(struct ion_heap_query *query) in ion_query_heaps() argument 68 struct ion_heap_data __user *buffer = u64_to_user_ptr(query->heaps); in ion_query_heaps() 77 query->cnt = dev->heap_cnt; in ion_query_heaps() 82 if (query->cnt <= 0) in ion_query_heaps() 85 max_cnt = query->cnt; in ion_query_heaps() 103 query->cnt = cnt; in ion_query_heaps() 112 struct ion_heap_query query; member 120 if (arg->query.reserved0 || in validate_ioctl_arg() 121 arg->query.reserved1 || in validate_ioctl_arg() 122 arg->query.reserved2) in validate_ioctl_arg() [all …]
|
/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
D | core.c | 101 struct mlx5_fpga_query query; in mlx5_fpga_device_load_check() local 104 err = mlx5_fpga_query(fdev->mdev, &query); in mlx5_fpga_device_load_check() 110 fdev->last_admin_image = query.admin_image; in mlx5_fpga_device_load_check() 111 fdev->last_oper_image = query.oper_image; in mlx5_fpga_device_load_check() 114 query.status, query.admin_image, query.oper_image); in mlx5_fpga_device_load_check() 116 if (query.status != MLX5_FPGA_STATUS_SUCCESS) { in mlx5_fpga_device_load_check() 119 query.status); in mlx5_fpga_device_load_check()
|
D | cmd.c | 126 int mlx5_fpga_query(struct mlx5_core_dev *dev, struct mlx5_fpga_query *query) in mlx5_fpga_query() argument 137 query->status = MLX5_GET(fpga_ctrl, out, status); in mlx5_fpga_query() 138 query->admin_image = MLX5_GET(fpga_ctrl, out, flash_select_admin); in mlx5_fpga_query() 139 query->oper_image = MLX5_GET(fpga_ctrl, out, flash_select_oper); in mlx5_fpga_query()
|
D | cmd.h | 76 int mlx5_fpga_query(struct mlx5_core_dev *dev, struct mlx5_fpga_query *query);
|
/drivers/media/rc/ |
D | bpf-lirc.c | 296 __u32 __user *prog_ids = u64_to_user_ptr(attr->query.prog_ids); in lirc_prog_query() 302 if (attr->query.query_flags) in lirc_prog_query() 305 rcdev = rc_dev_get_from_fd(attr->query.target_fd); in lirc_prog_query() 321 if (copy_to_user(&uattr->query.prog_cnt, &cnt, sizeof(cnt))) { in lirc_prog_query() 326 if (copy_to_user(&uattr->query.attach_flags, &flags, sizeof(flags))) { in lirc_prog_query() 331 if (attr->query.prog_cnt != 0 && prog_ids && cnt) in lirc_prog_query()
|
/drivers/soc/qcom/ |
D | cmd-db.c | 142 u8 query[8]; in cmd_db_get_header() local 149 strncpy(query, id, sizeof(query)); in cmd_db_get_header() 158 if (memcmp(ent->id, query, sizeof(ent->id)) == 0) { in cmd_db_get_header()
|
/drivers/platform/x86/ |
D | hp-wmi.c | 207 static int hp_wmi_perform_query(int query, enum hp_wmi_command command, in hp_wmi_perform_query() argument 217 .commandtype = query, in hp_wmi_perform_query() 250 pr_warn("query 0x%x returned error 0x%x\n", query, ret); in hp_wmi_perform_query() 267 static int hp_wmi_read_int(int query) in hp_wmi_read_int() argument 271 ret = hp_wmi_perform_query(query, HPWMI_READ, &val, in hp_wmi_read_int() 324 int query = BIT(r + 8) | ((!blocked) << r); in hp_wmi_set_block() local 328 &query, sizeof(query), 0); in hp_wmi_set_block()
|
/drivers/media/usb/uvc/ |
D | uvc_video.c | 28 static int __uvc_query_ctrl(struct uvc_device *dev, u8 query, u8 unit, in __uvc_query_ctrl() argument 35 pipe = (query & 0x80) ? usb_rcvctrlpipe(dev->udev, 0) in __uvc_query_ctrl() 37 type |= (query & 0x80) ? USB_DIR_IN : USB_DIR_OUT; in __uvc_query_ctrl() 39 return usb_control_msg(dev->udev, pipe, query, type, cs << 8, in __uvc_query_ctrl() 43 static const char *uvc_query_name(u8 query) in uvc_query_name() argument 45 switch (query) { in uvc_query_name() 67 int uvc_query_ctrl(struct uvc_device *dev, u8 query, u8 unit, in uvc_query_ctrl() argument 74 ret = __uvc_query_ctrl(dev, query, unit, intfnum, cs, data, size, in uvc_query_ctrl() 81 uvc_query_name(query), cs, unit, ret, size); in uvc_query_ctrl() 216 struct uvc_streaming_control *ctrl, int probe, u8 query) in uvc_get_video_ctrl() argument [all …]
|
D | uvc_ctrl.c | 366 u8 query, const u8 *data) in uvc_ctrl_get_zoom() argument 370 switch (query) { in uvc_ctrl_get_zoom() 391 u8 query, const u8 *data) in uvc_ctrl_get_rel_speed() argument 396 switch (query) { in uvc_ctrl_get_rel_speed() 765 u8 query, const u8 *data) in uvc_get_le_value() argument 1894 switch (xqry->query) { in uvc_xu_ctrl_query() 1940 if (xqry->query == UVC_SET_CUR && in uvc_xu_ctrl_query() 1946 ret = uvc_query_ctrl(chain->dev, xqry->query, xqry->unit, in uvc_xu_ctrl_query() 1951 if (xqry->query != UVC_SET_CUR && in uvc_xu_ctrl_query()
|
D | uvcvideo.h | 247 s32 (*get)(struct uvc_control_mapping *mapping, u8 query, 799 int uvc_query_ctrl(struct uvc_device *dev, u8 query, u8 unit,
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | d3.c | 1701 struct iwl_scan_offload_profiles_query *query; in iwl_mvm_netdetect_query_results() local 1733 query = (void *)cmd.resp_pkt->data; in iwl_mvm_netdetect_query_results() 1735 results->matched_profiles = le32_to_cpu(query->matched_profiles); in iwl_mvm_netdetect_query_results() 1736 memcpy(results->matches, query->matches, matches_len); in iwl_mvm_netdetect_query_results() 1739 mvm->last_netdetect_scans = le32_to_cpu(query->n_scans_done); in iwl_mvm_netdetect_query_results() 1748 struct iwl_mvm_nd_query_results *query, in iwl_mvm_query_num_match_chans() argument 1756 (struct iwl_scan_offload_profile_match *)query->matches; in iwl_mvm_query_num_match_chans() 1762 (struct iwl_scan_offload_profile_match_v1 *)query->matches; in iwl_mvm_query_num_match_chans() 1772 struct iwl_mvm_nd_query_results *query, in iwl_mvm_query_set_freqs() argument 1781 (struct iwl_scan_offload_profile_match *)query->matches; in iwl_mvm_query_set_freqs() [all …]
|
/drivers/net/hyperv/ |
D | rndis_filter.c | 503 struct rndis_query_request *query; in rndis_filter_query_device() local 519 query = &request->request_msg.msg.query_req; in rndis_filter_query_device() 520 query->oid = oid; in rndis_filter_query_device() 521 query->info_buf_offset = sizeof(struct rndis_query_request); in rndis_filter_query_device() 522 query->info_buflen = 0; in rndis_filter_query_device() 523 query->dev_vc_handle = 0; in rndis_filter_query_device() 543 query->info_buflen = size; in rndis_filter_query_device() 545 ((unsigned long)query + query->info_buf_offset); in rndis_filter_query_device() 556 query->info_buflen = sizeof(struct ndis_recv_scale_cap); in rndis_filter_query_device() 557 cap = (struct ndis_recv_scale_cap *)((unsigned long)query + in rndis_filter_query_device() [all …]
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_stats.c | 111 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 …]
|
/drivers/media/mc/ |
D | Kconfig | 10 Enable the media controller API used to query media devices internal
|
/drivers/xen/ |
D | grant-table.c | 704 struct gnttab_query_size query; in __max_nr_grant_frames() local 707 query.dom = DOMID_SELF; in __max_nr_grant_frames() 709 rc = HYPERVISOR_grant_table_op(GNTTABOP_query_size, &query, 1); in __max_nr_grant_frames() 710 if ((rc < 0) || (query.status != GNTST_okay)) in __max_nr_grant_frames() 713 return query.max_nr_frames; in __max_nr_grant_frames()
|
/drivers/platform/chrome/wilco_ec/ |
D | Kconfig | 36 If you say Y here, you get support to query EC telemetry data from
|
/drivers/infiniband/ulp/ipoib/ |
D | ipoib_main.c | 727 if (path->query) in ipoib_flush_paths() 728 ib_sa_cancel_query(path->query_id, path->query); in ipoib_flush_paths() 838 path->query = NULL; in path_rec_completion() 917 path, &path->query); in path_rec_start() 920 path->query = NULL; in path_rec_start() 940 if (!path->query) in neigh_refresh_path() 1013 if (!path->query && path_rec_start(dev, path)) in neigh_add_path() 1067 if (!path->query && path_rec_start(dev, path)) { in unicast_arp_send()
|
/drivers/media/usb/pvrusb2/ |
D | Kconfig | 26 interface for query and control of the pvrusb2 driver.
|
/drivers/media/usb/dvb-usb-v2/ |
D | dvb_usb.h | 129 int (*query) (struct dvb_usb_device *d); member
|