Home
last modified time | relevance | path

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

1234

/drivers/infiniband/core/
A Dsa_query.c920 query->callback(query, 0, mad); in ib_nl_process_good_resolve_rsp()
941 query->callback(query, status, mad); in ib_nl_process_good_resolve_rsp()
1278 query->sm_ah = query->port->sm_ah; in alloc_mad()
1302 query->mad_buf->ah = query->sm_ah->ah; in alloc_mad()
1354 query->mad_buf->context[0] = query; in send_mad()
1869 query->callback(query->context); in ib_sa_classport_info_rec_callback()
2000 query->callback(query, -EINTR, NULL); in send_handler()
2003 query->callback(query, -EIO, NULL); in send_handler()
2014 query->release(query); in send_handler()
2029 query->callback(query, in recv_handler()
[all …]
/drivers/gpu/drm/xe/
A Dxe_query.c129 query->size = size; in query_engine_cycles()
199 query->size = size; in query_engines()
257 query->size = size; in query_mem_regions()
327 query->size = size; in query_config()
375 query->size = size; in query_gt_list()
445 query->size = size; in query_hwconfig()
514 query->size = size; in query_gt_topology()
572 query->size = size; in query_uc_fw_version()
804 XE_IOCTL_DBG(xe, query->reserved[0] || query->reserved[1])) in xe_query_ioctl()
807 if (XE_IOCTL_DBG(xe, query->query >= ARRAY_SIZE(xe_query_funcs))) in xe_query_ioctl()
[all …]
/drivers/gpu/drm/i915/
A Di915_query.c148 ret = copy_query_item(&query, sizeof(query), len, query_item); in query_engine_info()
152 if (query.num_engines || query.rsvd[0] || query.rsvd[1] || in query_engine_info()
153 query.rsvd[2]) in query_engine_info()
168 query.num_engines++; in query_engine_info()
172 if (copy_to_user(query_ptr, &query, sizeof(query))) in query_engine_info()
476 total_length = sizeof(query); in query_memregion_info()
484 ret = copy_query_item(&query, sizeof(query), total_length, query_item); in query_memregion_info()
488 if (query.num_regions) in query_memregion_info()
492 if (query.rsvd[i]) in query_memregion_info()
522 query.num_regions++; in query_memregion_info()
[all …]
/drivers/input/touchscreen/
A Dwacom_w8001.c190 memset(query, 0, sizeof(*query)); in parse_touchquery()
192 query->panel_res = data[1]; in parse_touchquery()
196 query->x = data[3] << 9; in parse_touchquery()
197 query->x |= data[4] << 2; in parse_touchquery()
200 query->y = data[5] << 9; in parse_touchquery()
201 query->y |= data[6] << 2; in parse_touchquery()
205 if (!query->x && !query->y) { in parse_touchquery()
206 query->x = 1024; in parse_touchquery()
207 query->y = 1024; in parse_touchquery()
208 if (query->panel_res) in parse_touchquery()
[all …]
/drivers/gpu/drm/imagination/
A Dpvr_vm.c998 if (!query.static_data_areas.array) { in pvr_static_data_areas_get()
1016 args->size = sizeof(query); in pvr_static_data_areas_get()
1024 struct drm_pvr_dev_query_heap_info query = {0}; in pvr_heap_info_get() local
1037 if (!query.heaps.array) { in pvr_heap_info_get()
1038 query.heaps.count = ARRAY_SIZE(pvr_heaps); in pvr_heap_info_get()
1043 if (query.heaps.count > ARRAY_SIZE(pvr_heaps)) in pvr_heap_info_get()
1044 query.heaps.count = ARRAY_SIZE(pvr_heaps); in pvr_heap_info_get()
1047 dest = query.heaps.array; in pvr_heap_info_get()
1048 for (size_t i = 0; i < query.heaps.count; i++) { in pvr_heap_info_get()
1058 dest += query.heaps.stride; in pvr_heap_info_get()
[all …]
A Dpvr_drv.c484 if (query._padding_c) in pvr_dev_query_quirks_get()
499 if (!query.quirks) in pvr_dev_query_quirks_get()
501 if (query.count < out_count) in pvr_dev_query_quirks_get()
512 query.count = out_count; in pvr_dev_query_quirks_get()
517 args->size = sizeof(query); in pvr_dev_query_quirks_get()
572 if (query._padding_a) in pvr_dev_query_enhancements_get()
574 if (query._padding_c) in pvr_dev_query_enhancements_get()
582 if (!query.enhancements) in pvr_dev_query_enhancements_get()
584 if (query.count < out_idx) in pvr_dev_query_enhancements_get()
593 query.count = out_idx; in pvr_dev_query_enhancements_get()
[all …]
/drivers/input/rmi4/
A Drmi_f11.c668 if (query->has_abs) { in f11_2d_construct_data()
673 if (query->has_rel) in f11_2d_construct_data()
681 if (query->query7_nonzero || query->query8_nonzero) in f11_2d_construct_data()
684 if (query->has_pinch || query->has_flick || query->has_rotate) { in f11_2d_construct_data()
686 if (!query->has_flick) in f11_2d_construct_data()
688 if (!query->has_rotate) in f11_2d_construct_data()
704 if (query->has_abs) { in f11_2d_construct_data()
709 if (query->has_rel) { in f11_2d_construct_data()
719 if (query->query7_nonzero || query->query8_nonzero) { in f11_2d_construct_data()
724 if (query->has_pinch) { in f11_2d_construct_data()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/fpga/
A Dcore.c109 struct mlx5_fpga_query query; in mlx5_fpga_device_load_check() local
112 err = mlx5_fpga_query(fdev->mdev, &query); in mlx5_fpga_device_load_check()
118 fdev->last_admin_image = query.admin_image; in mlx5_fpga_device_load_check()
119 fdev->last_oper_image = query.oper_image; in mlx5_fpga_device_load_check()
122 query.status, query.admin_image, query.oper_image); in mlx5_fpga_device_load_check()
128 if (query.status != MLX5_FPGA_STATUS_SUCCESS) { in mlx5_fpga_device_load_check()
131 query.status); in mlx5_fpga_device_load_check()
A Dcmd.c125 int mlx5_fpga_query(struct mlx5_core_dev *dev, struct mlx5_fpga_query *query) in mlx5_fpga_query() argument
136 query->status = MLX5_GET(fpga_ctrl, out, status); in mlx5_fpga_query()
137 query->admin_image = MLX5_GET(fpga_ctrl, out, flash_select_admin); in mlx5_fpga_query()
138 query->oper_image = MLX5_GET(fpga_ctrl, out, flash_select_oper); in mlx5_fpga_query()
/drivers/gpu/drm/amd/display/modules/hdcp/
A Dhdcp.c485 uint8_t index, struct mod_hdcp_display_query *query) in mod_hdcp_query_display() argument
498 query->link = &hdcp->connection.link; in mod_hdcp_query_display()
499 query->display = display; in mod_hdcp_query_display()
500 query->trace = &hdcp->connection.trace; in mod_hdcp_query_display()
501 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP_OFF; in mod_hdcp_query_display()
505 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP1_ON; in mod_hdcp_query_display()
507 if (query->link->adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_0) in mod_hdcp_query_display()
508 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP2_TYPE0_ON; in mod_hdcp_query_display()
510 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP2_TYPE1_ON; in mod_hdcp_query_display()
512 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP2_ON; in mod_hdcp_query_display()
[all …]
/drivers/media/rc/
A Dbpf-lirc.c297 __u32 __user *prog_ids = u64_to_user_ptr(attr->query.prog_ids); in lirc_prog_query()
303 if (attr->query.query_flags) in lirc_prog_query()
306 rcdev = rc_dev_get_from_fd(attr->query.target_fd, false); in lirc_prog_query()
322 if (copy_to_user(&uattr->query.prog_cnt, &cnt, sizeof(cnt))) { in lirc_prog_query()
327 if (copy_to_user(&uattr->query.attach_flags, &flags, sizeof(flags))) { in lirc_prog_query()
332 if (attr->query.prog_cnt != 0 && prog_ids && cnt) in lirc_prog_query()
334 attr->query.prog_cnt); in lirc_prog_query()
/drivers/platform/x86/hp/hp-bioscfg/
A Dbiosattr-interface.c119 int hp_wmi_perform_query(int query, enum hp_wmi_command command, void *buffer, in hp_wmi_perform_query() argument
144 args->commandtype = query; in hp_wmi_perform_query()
160 pr_warn("query 0x%x returned wrong type or too small buffer\n", query); in hp_wmi_perform_query()
169 pr_warn("query 0x%x returned error 0x%x\n", query, ret); in hp_wmi_perform_query()
/drivers/media/usb/uvc/
A Duvc_video.c39 pipe = (query & 0x80) ? usb_rcvctrlpipe(dev->udev, 0) in __uvc_query_ctrl()
41 type |= (query & 0x80) ? USB_DIR_IN : USB_DIR_OUT; in __uvc_query_ctrl()
47 static const char *uvc_query_name(u8 query) in uvc_query_name() argument
49 switch (query) { in uvc_query_name()
96 if (ret > 0 && query != UVC_GET_INFO) { in uvc_query_ctrl()
100 uvc_query_name(query), cs, unit, ret, size); in uvc_query_ctrl()
107 uvc_query_name(query), cs, unit, ret, size); in uvc_query_ctrl()
124 uvc_query_name(query), cs, unit, ret); in uvc_query_ctrl()
298 query == UVC_GET_DEF) in uvc_get_video_ctrl()
309 if ((query == UVC_GET_MIN || query == UVC_GET_MAX) && ret == 2) { in uvc_get_video_ctrl()
[all …]
A Duvc_ctrl.c458 switch (query) { in uvc_ctrl_get_zoom()
491 u8 query, const void *uvc_in, in uvc_ctrl_get_rel_speed() argument
502 switch (query) { in uvc_ctrl_get_rel_speed()
1064 switch (query) { in uvc_get_le_value()
2296 u8 query; in uvc_mapping_get_xctrl_compound() local
2303 query = UVC_GET_CUR; in uvc_mapping_get_xctrl_compound()
2307 query = UVC_GET_MIN; in uvc_mapping_get_xctrl_compound()
2311 query = UVC_GET_MAX; in uvc_mapping_get_xctrl_compound()
2315 query = UVC_GET_DEF; in uvc_mapping_get_xctrl_compound()
2803 switch (xqry->query) { in uvc_xu_ctrl_query()
[all …]
/drivers/hid/intel-ish-hid/ishtp/
A Dloader.c358 struct loader_xfer_query query = { .header = cpu_to_le32(query_hdr.val32), }; in ishtp_loader_work() local
392 query.image_size = cpu_to_le32(ish_fw->size); in ishtp_loader_work()
393 rv = loader_xfer_cmd(dev, &query, sizeof(query), recv_msg.raw_data, in ishtp_loader_work()
/drivers/soc/qcom/
A Dcmd-db.c150 u8 query[sizeof(ent->id)] __nonstring; in cmd_db_get_header() local
156 strtomem_pad(query, id, 0); in cmd_db_get_header()
165 if (memcmp(ent->id, query, sizeof(ent->id)) == 0) { in cmd_db_get_header()
/drivers/net/hyperv/
A Drndis_filter.c632 struct rndis_query_request *query; in rndis_filter_query_device() local
649 query = &request->request_msg.msg.query_req; in rndis_filter_query_device()
650 query->oid = oid; in rndis_filter_query_device()
651 query->info_buf_offset = sizeof(struct rndis_query_request); in rndis_filter_query_device()
652 query->info_buflen = 0; in rndis_filter_query_device()
653 query->dev_vc_handle = 0; in rndis_filter_query_device()
673 query->info_buflen = size; in rndis_filter_query_device()
675 ((unsigned long)query + query->info_buf_offset); in rndis_filter_query_device()
686 query->info_buflen = sizeof(struct ndis_recv_scale_cap); in rndis_filter_query_device()
687 cap = (struct ndis_recv_scale_cap *)((unsigned long)query + in rndis_filter_query_device()
[all …]
/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_hdcp.c398 struct mod_hdcp_display_query query; in event_property_validate() local
418 query.encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP_OFF; in event_property_validate()
420 &query); in event_property_validate()
425 query.encryption_status, in event_property_validate()
428 if (query.encryption_status != in event_property_validate()
432 query.encryption_status); in event_property_validate()
435 query.encryption_status; in event_property_validate()
/drivers/net/ethernet/mellanox/mlx5/core/
A Dport.c411 struct mlx5_module_eeprom_query_params query = {0}; in mlx5_query_module_eeprom() local
415 err = mlx5_query_module_num(dev, &query.module_number); in mlx5_query_module_eeprom()
419 err = mlx5_query_module_id(dev, query.module_number, &module_id); in mlx5_query_module_eeprom()
425 mlx5_sfp_eeprom_params_set(&query.i2c_address, &query.page, &offset); in mlx5_query_module_eeprom()
430 mlx5_qsfp_eeprom_params_set(&query.i2c_address, &query.page, &offset); in mlx5_query_module_eeprom()
441 query.size = size; in mlx5_query_module_eeprom()
442 query.offset = offset; in mlx5_query_module_eeprom()
444 return mlx5_query_mcia(dev, &query, data); in mlx5_query_module_eeprom()
/drivers/platform/x86/hp/
A Dhp-wmi.c378 static int hp_wmi_perform_query(int query, enum hp_wmi_command command, in hp_wmi_perform_query() argument
404 args->commandtype = query; in hp_wmi_perform_query()
419 pr_warn("query 0x%x returned an invalid object 0x%x\n", query, ret); in hp_wmi_perform_query()
430 pr_warn("query 0x%x returned error 0x%x\n", query, ret); in hp_wmi_perform_query()
503 static int hp_wmi_read_int(int query) in hp_wmi_read_int() argument
507 ret = hp_wmi_perform_query(query, HPWMI_READ, &val, in hp_wmi_read_int()
702 int query = BIT(r + 8) | ((!blocked) << r); in hp_wmi_set_block() local
706 &query, sizeof(query), 0); in hp_wmi_set_block()
/drivers/gpu/drm/v3d/
A Dv3d_submit.c666 struct v3d_performance_query *query = &query_info->queries[i]; in v3d_copy_query_info() local
681 query->kperfmon_ids = in v3d_copy_query_info()
685 if (!query->kperfmon_ids) { in v3d_copy_query_info()
694 kvfree(query->kperfmon_ids); in v3d_copy_query_info()
699 query->kperfmon_ids[j] = id; in v3d_copy_query_info()
702 query->syncobj = drm_syncobj_find(file_priv, sync); in v3d_copy_query_info()
703 if (!query->syncobj) { in v3d_copy_query_info()
704 kvfree(query->kperfmon_ids); in v3d_copy_query_info()
/drivers/gpu/drm/ci/xfails/
A Dvirtio_gpu-none-fails.txt176 kms_vblank@query-busy,Fail
177 kms_vblank@query-forked,Fail
178 kms_vblank@query-forked-busy,Fail
179 kms_vblank@query-idle,Fail
/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_devlink.c816 struct hwrm_fw_livepatch_query_input *query; in bnxt_dl_livepatch_info_put() local
824 rc = hwrm_req_init(bp, query, HWRM_FW_LIVEPATCH_QUERY); in bnxt_dl_livepatch_info_put()
829 query->fw_target = FW_LIVEPATCH_QUERY_REQ_FW_TARGET_SECURE_FW; in bnxt_dl_livepatch_info_put()
831 query->fw_target = FW_LIVEPATCH_QUERY_REQ_FW_TARGET_COMMON_FW; in bnxt_dl_livepatch_info_put()
835 resp = hwrm_req_hold(bp, query); in bnxt_dl_livepatch_info_put()
836 rc = hwrm_req_send(bp, query); in bnxt_dl_livepatch_info_put()
856 hwrm_req_drop(bp, query); in bnxt_dl_livepatch_info_put()
/drivers/net/ethernet/broadcom/bnx2x/
A 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()
1471 cur_query_entry = &bp->fw_stats_req->query[BNX2X_PORT_QUERY_IDX]; in bnx2x_prep_fw_stats_req()
1485 cur_query_entry = &bp->fw_stats_req->query[BNX2X_PF_QUERY_IDX]; in bnx2x_prep_fw_stats_req()
1500 &bp->fw_stats_req->query[BNX2X_FCOE_QUERY_IDX]; in bnx2x_prep_fw_stats_req()
1527 query[first_queue_query_index + i]; in bnx2x_prep_fw_stats_req()
[all …]
/drivers/misc/
A Dgehc-achc.c196 u8 query[] = {EZPORT_CMD_SE, (address >> 16) & 0xff, (address >> 8) & 0xff, address & 0xff}; in ezport_section_erase() local
208 ret = spi_write(spi, query, sizeof(query)); in ezport_section_erase()

Completed in 69 milliseconds

1234