/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A 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() 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() 764 dev_name(&query->port->agent->device->dev), in ib_nl_set_path_rec_attrs() 766 header->port_num = query in ib_nl_set_path_rec_attrs() 749 ib_nl_set_path_rec_attrs(struct sk_buff *skb, struct ib_sa_query *query) ib_nl_set_path_rec_attrs() argument 833 ib_nl_make_request(struct ib_sa_query *query, gfp_t gfp_mask) ib_nl_make_request() argument 894 ib_nl_cancel_request(struct ib_sa_query *query) ib_nl_cancel_request() argument 920 ib_nl_process_good_resolve_rsp(struct ib_sa_query *query, const struct nlmsghdr *nlh) ib_nl_process_good_resolve_rsp() argument 975 struct ib_sa_query *query; ib_nl_request_timeout() local 1018 struct ib_sa_query *query; ib_nl_handle_set_timeout() local 1092 struct ib_sa_query *query; ib_nl_handle_resolve_resp() local 1173 ib_sa_cancel_query(int id, struct ib_sa_query *query) ib_sa_cancel_query() argument 1292 alloc_mad(struct ib_sa_query *query, gfp_t gfp_mask) alloc_mad() argument 1332 free_mad(struct ib_sa_query *query) free_mad() argument 1338 init_mad(struct ib_sa_query *query, struct ib_mad_agent *agent) init_mad() argument 1359 send_mad(struct ib_sa_query *query, unsigned long timeout_ms, gfp_t gfp_mask) send_mad() argument 1468 struct ib_sa_path_query *query = ib_sa_path_rec_callback() local 1503 struct ib_sa_path_query *query = ib_sa_path_rec_release() local 1546 struct ib_sa_path_query *query; ib_sa_path_rec_get() local 1645 struct ib_sa_service_query *query = ib_sa_service_rec_callback() local 1701 struct ib_sa_service_query *query; ib_sa_service_rec_query() local 1768 struct ib_sa_mcmember_query *query = ib_sa_mcmember_rec_callback() local 1798 struct ib_sa_mcmember_query *query; ib_sa_mcmember_rec_query() local 1860 struct ib_sa_guidinfo_query *query = ib_sa_guidinfo_rec_callback() local 1889 struct ib_sa_guidinfo_query *query; ib_sa_guid_info_rec_query() local 1995 struct ib_sa_classport_info_query *query = ib_sa_classport_info_rec_callback() local 2055 struct ib_sa_classport_info_query *query; ib_sa_classport_info_rec_query() local 2158 struct ib_sa_query *query = mad_send_wc->send_buf->context[0]; send_handler() local 2191 struct ib_sa_query *query; recv_handler() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/core/ |
H A D | sa_query.c | 689 static inline void ib_sa_disable_local_svc(struct ib_sa_query *query) in ib_sa_disable_local_svc() argument 691 query->flags &= ~IB_SA_ENABLE_LOCAL_SERVICE; in ib_sa_disable_local_svc() 694 static inline int ib_sa_query_cancelled(struct ib_sa_query *query) in ib_sa_query_cancelled() argument 696 return (query->flags & IB_SA_CANCEL); in ib_sa_query_cancelled() 700 struct ib_sa_query *query) in ib_nl_set_path_rec_attrs() 702 struct sa_path_rec *sa_rec = query->mad_buf->context[1]; in ib_nl_set_path_rec_attrs() 703 struct ib_sa_mad *mad = query->mad_buf->mad; in ib_nl_set_path_rec_attrs() 709 query->mad_buf->context[1] = NULL; in ib_nl_set_path_rec_attrs() 714 dev_name(&query->port->agent->device->dev), in ib_nl_set_path_rec_attrs() 716 header->port_num = query in ib_nl_set_path_rec_attrs() 699 ib_nl_set_path_rec_attrs(struct sk_buff *skb, struct ib_sa_query *query) ib_nl_set_path_rec_attrs() argument 783 ib_nl_make_request(struct ib_sa_query *query, gfp_t gfp_mask) ib_nl_make_request() argument 844 ib_nl_cancel_request(struct ib_sa_query *query) ib_nl_cancel_request() argument 870 ib_nl_process_good_resolve_rsp(struct ib_sa_query *query, const struct nlmsghdr *nlh) ib_nl_process_good_resolve_rsp() argument 952 struct ib_sa_query *query; ib_nl_request_timeout() local 995 struct ib_sa_query *query; ib_nl_handle_set_timeout() local 1069 struct ib_sa_query *query = NULL, *iter; ib_nl_handle_resolve_resp() local 1150 ib_sa_cancel_query(int id, struct ib_sa_query *query) ib_sa_cancel_query() argument 1267 alloc_mad(struct ib_sa_query *query, gfp_t gfp_mask) alloc_mad() argument 1307 free_mad(struct ib_sa_query *query) free_mad() argument 1313 init_mad(struct ib_sa_query *query, struct ib_mad_agent *agent) init_mad() argument 1334 send_mad(struct ib_sa_query *query, unsigned long timeout_ms, gfp_t gfp_mask) send_mad() argument 1449 struct ib_sa_path_query *query = ib_sa_path_rec_callback() local 1484 struct ib_sa_path_query *query = ib_sa_path_rec_release() local 1527 struct ib_sa_path_query *query; ib_sa_path_rec_get() local 1624 struct ib_sa_mcmember_query *query = ib_sa_mcmember_rec_callback() local 1654 struct ib_sa_mcmember_query *query; ib_sa_mcmember_rec_query() local 1715 struct ib_sa_guidinfo_query *query = ib_sa_guidinfo_rec_callback() local 1744 struct ib_sa_guidinfo_query *query; ib_sa_guid_info_rec_query() local 1825 struct ib_sa_classport_info_query *query = ib_sa_classport_info_rec_callback() local 1885 struct ib_sa_classport_info_query *query; ib_sa_classport_info_rec_query() local 1988 struct ib_sa_query *query = mad_send_wc->send_buf->context[0]; send_handler() local 2021 struct ib_sa_query *query; recv_handler() local [all...] |
/kernel/linux/linux-5.10/tools/perf/scripts/python/ |
H A D | export-to-postgresql.py | 144 # Note that some of the examples are not the most optimal SQL query. 204 # query = QSqlQuery(db) 207 # ret = query.exec_('SELECT * FROM call_paths_view WHERE id = ' + str(call_path_id)) 209 # raise Exception("Query failed: " + query.lastError().text()) 210 # if not query.next(): 212 # print "{0:>6} {1:>10} {2:>9} {3:<30} {4:>6} {5:<30}".format(query.value(0), query.value(1), query.value(2), query.value(3), query 323 query = QSqlQuery(db) global() variable 338 query = QSqlQuery(db) global() variable [all...] |
H A D | export-to-sqlite.py | 160 query = QSqlQuery(db) variable 162 do_query(query, 'PRAGMA journal_mode = OFF') 163 do_query(query, 'BEGIN TRANSACTION') 165 do_query(query, 'CREATE TABLE selected_events (' 168 do_query(query, 'CREATE TABLE machines (' 172 do_query(query, 'CREATE TABLE threads (' 178 do_query(query, 'CREATE TABLE comms (' 184 do_query(query, 'CREATE TABLE comm_threads (' 188 do_query(query, 'CREATE TABLE dsos (' 194 do_query(query, 'CREAT [all...] |
H A D | exported-sql-viewer.py | 182 def QueryExec(query, stmt): 183 ret = query.exec_(stmt) 185 raise Exception("Query failed: " + query.lastError().text()) 539 query = QSqlQuery(self.glb.db) 544 QueryExec(query, "SELECT call_path_id, name, short_name, COUNT(calls.id), SUM(return_time - call_time)" + ipc_str + ", SUM(branch_count)" 554 while query.next(): 556 insn_cnt = int(query.value(5)) 557 cyc_cnt = int(query.value(6)) 558 branch_count = int(query.value(7)) 562 branch_count = int(query [all...] |
/kernel/linux/linux-6.6/tools/perf/scripts/python/ |
H A D | export-to-postgresql.py | 144 # Note that some of the examples are not the most optimal SQL query. 204 # query = QSqlQuery(db) 207 # ret = query.exec_('SELECT * FROM call_paths_view WHERE id = ' + str(call_path_id)) 209 # raise Exception("Query failed: " + query.lastError().text()) 210 # if not query.next(): 212 # print "{0:>6} {1:>10} {2:>9} {3:<30} {4:>6} {5:<30}".format(query.value(0), query.value(1), query.value(2), query.value(3), query 323 query = QSqlQuery(db) global() variable 338 query = QSqlQuery(db) global() variable [all...] |
H A D | export-to-sqlite.py | 160 query = QSqlQuery(db) variable 162 do_query(query, 'PRAGMA journal_mode = OFF') 163 do_query(query, 'BEGIN TRANSACTION') 165 do_query(query, 'CREATE TABLE selected_events (' 168 do_query(query, 'CREATE TABLE machines (' 172 do_query(query, 'CREATE TABLE threads (' 178 do_query(query, 'CREATE TABLE comms (' 184 do_query(query, 'CREATE TABLE comm_threads (' 188 do_query(query, 'CREATE TABLE dsos (' 194 do_query(query, 'CREAT [all...] |
H A D | exported-sql-viewer.py | 183 def QueryExec(query, stmt): 184 ret = query.exec_(stmt) 186 raise Exception("Query failed: " + query.lastError().text()) 540 query = QSqlQuery(self.glb.db) 545 QueryExec(query, "SELECT call_path_id, name, short_name, COUNT(calls.id), SUM(return_time - call_time)" + ipc_str + ", SUM(branch_count)" 555 while query.next(): 557 insn_cnt = int(query.value(5)) 558 cyc_cnt = int(query.value(6)) 559 branch_count = int(query.value(7)) 563 branch_count = int(query [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
H A D | tp_attach_query.c | 10 struct perf_event_query_bpf *query; in test_tp_attach_query() local 36 query = malloc(sizeof(*query) + sizeof(__u32) * num_progs); in test_tp_attach_query() 66 /* check NULL prog array query */ in test_tp_attach_query() 67 query->ids_len = num_progs; in test_tp_attach_query() 68 err = ioctl(pmu_fd[i], PERF_EVENT_IOC_QUERY_BPF, query); in test_tp_attach_query() 69 if (CHECK(err || query->prog_cnt != 0, in test_tp_attach_query() 71 "err %d errno %d query->prog_cnt %u\n", in test_tp_attach_query() 72 err, errno, query->prog_cnt)) in test_tp_attach_query() 83 query in test_tp_attach_query() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | tp_attach_query.c | 10 struct perf_event_query_bpf *query; in serial_test_tp_attach_query() local 41 query = malloc(sizeof(*query) + sizeof(__u32) * num_progs); in serial_test_tp_attach_query() 72 /* check NULL prog array query */ in serial_test_tp_attach_query() 73 query->ids_len = num_progs; in serial_test_tp_attach_query() 74 err = ioctl(pmu_fd[i], PERF_EVENT_IOC_QUERY_BPF, query); in serial_test_tp_attach_query() 75 if (CHECK(err || query->prog_cnt != 0, in serial_test_tp_attach_query() 77 "err %d errno %d query->prog_cnt %u\n", in serial_test_tp_attach_query() 78 err, errno, query->prog_cnt)) in serial_test_tp_attach_query() 89 query in serial_test_tp_attach_query() [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | dynamic_debug.c | 122 static void vpr_info_dq(const struct ddebug_query *query, const char *msg) in vpr_info_dq() argument 127 if (query->format) { in vpr_info_dq() 128 fmtlen = strlen(query->format); in vpr_info_dq() 129 while (fmtlen && query->format[fmtlen - 1] == '\n') in vpr_info_dq() 135 query->function ?: "", in vpr_info_dq() 136 query->filename ?: "", in vpr_info_dq() 137 query->module ?: "", in vpr_info_dq() 138 fmtlen, query->format ?: "", in vpr_info_dq() 139 query->first_lineno, query in vpr_info_dq() 148 ddebug_change(const struct ddebug_query *query, struct flag_settings *modifiers) ddebug_change() argument 311 parse_linerange(struct ddebug_query *query, const char *first) parse_linerange() argument 374 ddebug_parse_query(char *words[], int nwords, struct ddebug_query *query, const char *modname) ddebug_parse_query() argument 496 struct ddebug_query query = {}; ddebug_exec_query() local 526 ddebug_exec_queries(char *query, const char *modname) ddebug_exec_queries() argument [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | dynamic_debug.c | 130 static void vpr_info_dq(const struct ddebug_query *query, const char *msg) in vpr_info_dq() argument 135 if (query->format) { in vpr_info_dq() 136 fmtlen = strlen(query->format); in vpr_info_dq() 137 while (fmtlen && query->format[fmtlen - 1] == '\n') in vpr_info_dq() 143 query->function ?: "", in vpr_info_dq() 144 query->filename ?: "", in vpr_info_dq() 145 query->module ?: "", in vpr_info_dq() 146 fmtlen, query->format ?: "", in vpr_info_dq() 147 query->first_lineno, query in vpr_info_dq() 174 ddebug_change(const struct ddebug_query *query, struct flag_settings *modifiers) ddebug_change() argument 349 parse_linerange(struct ddebug_query *query, const char *first) parse_linerange() argument 412 ddebug_parse_query(char *words[], int nwords, struct ddebug_query *query, const char *modname) ddebug_parse_query() argument 536 struct ddebug_query query = {}; ddebug_exec_query() local 566 ddebug_exec_queries(char *query, const char *modname) ddebug_exec_queries() argument 605 char query[QUERY_SIZE]; ddebug_apply_class_bitmap() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
H A D | i915_query.c | 134 struct drm_i915_query_engine_info query; in query_engine_info() local 148 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() 468 struct drm_i915_query_memory_regions query; query_memregion_info() local [all...] |
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | wacom_w8001.c | 71 /* touch query reply packet */ 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 in parse_touchquery() [all...] |
/kernel/linux/linux-6.6/drivers/input/touchscreen/ |
H A D | wacom_w8001.c | 71 /* touch query reply packet */ 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 in parse_touchquery() [all...] |
/kernel/linux/linux-5.10/drivers/input/rmi4/ |
H A D | rmi_f11.c | 36 * a given sensor are described by its query registers. The number of query 38 * queries as well as the sensor query information. 42 * by parsing that sensors query registers. 46 * sensors data registers must be determined by parsing its query registers. 48 * The short story is that we need to read and parse a lot of query 214 * @has_jitter_filter - query 13 and control 73..76 exist. 241 * @query7_nonzero - true if none of the query 7 bits are set 242 * @query8_nonzero - true if none of the query 8 bits are set 257 * Touch shape info (query 1 637 struct f11_2d_sensor_queries *query = &f11->sens_query; f11_2d_construct_data() local 748 f11_write_control_regs(struct rmi_function *fn, struct f11_2d_sensor_queries *query, struct f11_2d_ctrl *ctrl, u16 ctrl_base_addr) f11_write_control_regs() argument [all...] |
/kernel/linux/linux-6.6/drivers/input/rmi4/ |
H A D | rmi_f11.c | 36 * The properties for a given sensor are described by its query registers. The 37 * number of query registers and the layout of their contents are described by 38 * the F11 device queries as well as the sensor query information. 42 * by parsing that sensors query registers. 46 * sensors data registers must be determined by parsing its query registers. 48 * The short story is that we need to read and parse a lot of query 216 * @has_jitter_filter: query 13 and control 73..76 exist. 252 * @query7_nonzero: true if none of the query 7 bits are set 253 * @query8_nonzero: true if none of the query 8 bits are set 275 * Touch shape info (query 1 659 struct f11_2d_sensor_queries *query = &f11->sens_query; f11_2d_construct_data() local 770 f11_write_control_regs(struct rmi_function *fn, struct f11_2d_sensor_queries *query, struct f11_2d_ctrl *ctrl, u16 ctrl_base_addr) f11_write_control_regs() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A D | core.c | 110 struct mlx5_fpga_query query; in mlx5_fpga_device_load_check() local 113 err = mlx5_fpga_query(fdev->mdev, &query); in mlx5_fpga_device_load_check() 115 mlx5_fpga_err(fdev, "Failed to query status: %d\n", err); in mlx5_fpga_device_load_check() 119 fdev->last_admin_image = query.admin_image; in mlx5_fpga_device_load_check() 120 fdev->last_oper_image = query.oper_image; in mlx5_fpga_device_load_check() 123 query.status, query.admin_image, query.oper_image); in mlx5_fpga_device_load_check() 129 if (query.status != MLX5_FPGA_STATUS_SUCCESS) { in mlx5_fpga_device_load_check() 132 query in mlx5_fpga_device_load_check() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A D | core.c | 109 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() 114 mlx5_fpga_err(fdev, "Failed to query status: %d\n", err); 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 in mlx5_fpga_device_load_check() [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/android/ion/ |
H A D | ionutils.c | 53 struct ion_heap_query query; in ion_export_buffer_fd() local 69 memset(&query, 0, sizeof(query)); in ion_export_buffer_fd() 70 query.cnt = MAX_HEAP_COUNT; in ion_export_buffer_fd() 71 query.heaps = (unsigned long int)&heap_data[0]; in ion_export_buffer_fd() 73 ret = ioctl(ionfd, ION_IOC_HEAP_QUERY, &query); in ion_export_buffer_fd() 81 for (i = 0; i < query.cnt; i++) { in ion_export_buffer_fd()
|
/kernel/linux/linux-6.6/sound/virtio/ |
H A D | virtio_ctl_msg.c | 254 * @count: Item count to query. 265 struct virtio_snd_query_info *query; in virtsnd_ctl_query_info() local 268 msg = virtsnd_ctl_msg_alloc(sizeof(*query), in virtsnd_ctl_query_info() 273 query = virtsnd_ctl_msg_request(msg); in virtsnd_ctl_query_info() 274 query->hdr.code = cpu_to_le32(command); in virtsnd_ctl_query_info() 275 query->start_id = cpu_to_le32(start_id); in virtsnd_ctl_query_info() 276 query->count = cpu_to_le32(count); in virtsnd_ctl_query_info() 277 query->size = cpu_to_le32(size); in virtsnd_ctl_query_info()
|
/kernel/linux/linux-6.6/arch/s390/hypfs/ |
H A D | hypfs_vm.c | 27 static int diag2fc(int size, char* query, void *addr) in diag2fc() argument 33 memcpy(parm_list.userid, query, DIAG2FC_NAME_LEN); in diag2fc() 56 * Allocate buffer for "query" and store diag 2fc at "offset" 58 void *diag2fc_store(char *query, unsigned int *count, int offset) in diag2fc_store() argument 64 size = diag2fc(0, query, NULL); in diag2fc_store() 70 if (diag2fc(size, query, data + offset) == 0) in diag2fc_store()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp.c | 390 uint8_t index, struct mod_hdcp_display_query *query) in mod_hdcp_query_display() 402 /* populate query */ in mod_hdcp_query_display() 403 query->link = &hdcp->connection.link; in mod_hdcp_query_display() 404 query->display = display; in mod_hdcp_query_display() 405 query->trace = &hdcp->connection.trace; in mod_hdcp_query_display() 406 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP_OFF; in mod_hdcp_query_display() 410 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP1_ON; in mod_hdcp_query_display() 412 if (query->link->adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_0) in mod_hdcp_query_display() 413 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP2_TYPE0_ON; in mod_hdcp_query_display() 414 else if (query in mod_hdcp_query_display() 389 mod_hdcp_query_display(struct mod_hdcp *hdcp, uint8_t index, struct mod_hdcp_display_query *query) mod_hdcp_query_display() argument [all...] |
/kernel/linux/linux-6.6/kernel/bpf/ |
H A D | mprog.c | 408 if (attr->query.query_flags || attr->query.attach_flags) in bpf_mprog_query() 414 if (copy_to_user(&uattr->query.attach_flags, &flags, sizeof(flags))) in bpf_mprog_query() 416 if (copy_to_user(&uattr->query.revision, &revision, sizeof(revision))) in bpf_mprog_query() 418 if (copy_to_user(&uattr->query.count, &count, sizeof(count))) in bpf_mprog_query() 420 uprog_id = u64_to_user_ptr(attr->query.prog_ids); in bpf_mprog_query() 421 uprog_flags = u64_to_user_ptr(attr->query.prog_attach_flags); in bpf_mprog_query() 422 ulink_id = u64_to_user_ptr(attr->query.link_ids); in bpf_mprog_query() 423 ulink_flags = u64_to_user_ptr(attr->query.link_attach_flags); in bpf_mprog_query() 424 if (attr->query in bpf_mprog_query() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/modules/hdcp/ |
H A D | hdcp.c | 485 uint8_t index, struct mod_hdcp_display_query *query) in mod_hdcp_query_display() 497 /* populate query */ in mod_hdcp_query_display() 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() 509 else if (query in mod_hdcp_query_display() 484 mod_hdcp_query_display(struct mod_hdcp *hdcp, uint8_t index, struct mod_hdcp_display_query *query) mod_hdcp_query_display() argument [all...] |