• Home
  • Raw
  • Download

Lines Matching refs:u

62 #define IN in->u.i2c_read  in sideband_msg_req_equal()
63 #define OUT out->u.i2c_read in sideband_msg_req_equal()
90 #define IN in->u.dpcd_write in sideband_msg_req_equal()
91 #define OUT out->u.dpcd_write in sideband_msg_req_equal()
102 #define IN in->u.i2c_write in sideband_msg_req_equal()
103 #define OUT out->u.i2c_write in sideband_msg_req_equal()
159 kfree(out->u.dpcd_write.bytes); in sideband_msg_req_encode_decode()
162 for (i = 0; i < out->u.i2c_read.num_transactions; i++) in sideband_msg_req_encode_decode()
163 kfree(out->u.i2c_read.transactions[i].bytes); in sideband_msg_req_encode_decode()
166 kfree(out->u.i2c_write.bytes); in sideband_msg_req_encode_decode()
171 memset(&in->u, 0, sizeof(in->u)); in sideband_msg_req_encode_decode()
188 in.u.port_num.port_number = 5; in igt_dp_mst_sideband_msg_req_decode()
192 in.u.port_num.port_number = 5; in igt_dp_mst_sideband_msg_req_decode()
196 in.u.port_num.port_number = 5; in igt_dp_mst_sideband_msg_req_decode()
200 in.u.allocate_payload.number_sdp_streams = 3; in igt_dp_mst_sideband_msg_req_decode()
201 for (i = 0; i < in.u.allocate_payload.number_sdp_streams; i++) in igt_dp_mst_sideband_msg_req_decode()
202 in.u.allocate_payload.sdp_stream_sink[i] = i + 1; in igt_dp_mst_sideband_msg_req_decode()
204 in.u.allocate_payload.port_number = 0xf; in igt_dp_mst_sideband_msg_req_decode()
206 in.u.allocate_payload.vcpi = 0x7f; in igt_dp_mst_sideband_msg_req_decode()
208 in.u.allocate_payload.pbn = U16_MAX; in igt_dp_mst_sideband_msg_req_decode()
212 in.u.query_payload.port_number = 0xf; in igt_dp_mst_sideband_msg_req_decode()
214 in.u.query_payload.vcpi = 0x7f; in igt_dp_mst_sideband_msg_req_decode()
218 in.u.dpcd_read.port_number = 0xf; in igt_dp_mst_sideband_msg_req_decode()
220 in.u.dpcd_read.dpcd_address = 0xfedcb; in igt_dp_mst_sideband_msg_req_decode()
222 in.u.dpcd_read.num_bytes = U8_MAX; in igt_dp_mst_sideband_msg_req_decode()
226 in.u.dpcd_write.port_number = 0xf; in igt_dp_mst_sideband_msg_req_decode()
228 in.u.dpcd_write.dpcd_address = 0xfedcb; in igt_dp_mst_sideband_msg_req_decode()
230 in.u.dpcd_write.num_bytes = ARRAY_SIZE(data); in igt_dp_mst_sideband_msg_req_decode()
231 in.u.dpcd_write.bytes = data; in igt_dp_mst_sideband_msg_req_decode()
235 in.u.i2c_read.port_number = 0xf; in igt_dp_mst_sideband_msg_req_decode()
237 in.u.i2c_read.read_i2c_device_id = 0x7f; in igt_dp_mst_sideband_msg_req_decode()
239 in.u.i2c_read.num_transactions = 3; in igt_dp_mst_sideband_msg_req_decode()
240 in.u.i2c_read.num_bytes_read = ARRAY_SIZE(data) * 3; in igt_dp_mst_sideband_msg_req_decode()
241 for (i = 0; i < in.u.i2c_read.num_transactions; i++) { in igt_dp_mst_sideband_msg_req_decode()
242 in.u.i2c_read.transactions[i].bytes = data; in igt_dp_mst_sideband_msg_req_decode()
243 in.u.i2c_read.transactions[i].num_bytes = ARRAY_SIZE(data); in igt_dp_mst_sideband_msg_req_decode()
244 in.u.i2c_read.transactions[i].i2c_dev_id = 0x7f & ~i; in igt_dp_mst_sideband_msg_req_decode()
245 in.u.i2c_read.transactions[i].i2c_transaction_delay = 0xf & ~i; in igt_dp_mst_sideband_msg_req_decode()
250 in.u.i2c_write.port_number = 0xf; in igt_dp_mst_sideband_msg_req_decode()
252 in.u.i2c_write.write_i2c_device_id = 0x7f; in igt_dp_mst_sideband_msg_req_decode()
254 in.u.i2c_write.num_bytes = ARRAY_SIZE(data); in igt_dp_mst_sideband_msg_req_decode()
255 in.u.i2c_write.bytes = data; in igt_dp_mst_sideband_msg_req_decode()
259 in.u.enc_status.stream_id = 1; in igt_dp_mst_sideband_msg_req_decode()
261 get_random_bytes(in.u.enc_status.client_id, in igt_dp_mst_sideband_msg_req_decode()
262 sizeof(in.u.enc_status.client_id)); in igt_dp_mst_sideband_msg_req_decode()
264 in.u.enc_status.stream_event = 3; in igt_dp_mst_sideband_msg_req_decode()
266 in.u.enc_status.valid_stream_event = 0; in igt_dp_mst_sideband_msg_req_decode()
268 in.u.enc_status.stream_behavior = 3; in igt_dp_mst_sideband_msg_req_decode()
270 in.u.enc_status.valid_stream_behavior = 1; in igt_dp_mst_sideband_msg_req_decode()