/linux-6.1.9/drivers/gpu/drm/tests/ |
D | drm_dp_mst_helper_test.c | 63 #define IN in->u.i2c_read in sideband_msg_req_equal() 64 #define OUT out->u.i2c_read in sideband_msg_req_equal() 163 for (i = 0; i < out->u.i2c_read.num_transactions; i++) in sideband_msg_req_encode_decode() 164 kfree(out->u.i2c_read.transactions[i].bytes); in sideband_msg_req_encode_decode() 234 in.u.i2c_read.port_number = 0xf; in drm_test_dp_mst_sideband_msg_req_decode() 236 in.u.i2c_read.read_i2c_device_id = 0x7f; in drm_test_dp_mst_sideband_msg_req_decode() 238 in.u.i2c_read.num_transactions = 3; in drm_test_dp_mst_sideband_msg_req_decode() 239 in.u.i2c_read.num_bytes_read = ARRAY_SIZE(data) * 3; in drm_test_dp_mst_sideband_msg_req_decode() 240 for (i = 0; i < in.u.i2c_read.num_transactions; i++) { in drm_test_dp_mst_sideband_msg_req_decode() 241 in.u.i2c_read.transactions[i].bytes = data; in drm_test_dp_mst_sideband_msg_req_decode() [all …]
|
/linux-6.1.9/drivers/media/usb/gspca/ |
D | zc3xx.c | 5571 static u16 i2c_read(struct gspca_dev *gspca_dev, in i2c_read() function 5772 return (i2c_read(gspca_dev, 0x25) << 9) in getexposure() 5773 | (i2c_read(gspca_dev, 0x26) << 1) in getexposure() 5774 | (i2c_read(gspca_dev, 0x27) >> 7); in getexposure() 5776 return i2c_read(gspca_dev, 0x10); in getexposure() 6052 checkword = ((i2c_read(gspca_dev, 0x00) & 0x0f) << 4) in sif_probe() 6053 | ((i2c_read(gspca_dev, 0x01) & 0xf0) >> 4); in sif_probe() 6068 retword = i2c_read(gspca_dev, 0x01); in vga_2wr_probe() 6074 retword = i2c_read(gspca_dev, 0x01); in vga_2wr_probe() 6081 retword = i2c_read(gspca_dev, 0x11); in vga_2wr_probe() [all …]
|
D | spca561.c | 341 static int i2c_read(struct gspca_dev *gspca_dev, __u16 reg, __u8 mode) in i2c_read() function 677 expotimes = i2c_read(gspca_dev, 0x09, 0x10); in do_autogain() 680 gainG = i2c_read(gspca_dev, 0x35, 0x10); in do_autogain()
|
/linux-6.1.9/drivers/gpu/drm/msm/dp/ |
D | dp_aux.c | 211 bool i2c_read = input_msg->request & in dp_aux_update_offset_and_segment() local 215 if (aux->native || i2c_read || ((input_msg->address != edid_address) && in dp_aux_update_offset_and_segment() 248 bool i2c_read = input_msg->request & in dp_aux_transfer_helper() local 251 if (!i2c_mot || !i2c_read || (input_msg->size == 0)) in dp_aux_transfer_helper()
|
/linux-6.1.9/drivers/gpu/drm/display/ |
D | drm_dp_mst_topology.c | 401 buf[idx] = (req->u.i2c_read.port_number & 0xf) << 4; in drm_dp_encode_sideband_req() 402 buf[idx] |= (req->u.i2c_read.num_transactions & 0x3); in drm_dp_encode_sideband_req() 404 for (i = 0; i < (req->u.i2c_read.num_transactions & 0x3); i++) { in drm_dp_encode_sideband_req() 405 buf[idx] = req->u.i2c_read.transactions[i].i2c_dev_id & 0x7f; in drm_dp_encode_sideband_req() 407 buf[idx] = req->u.i2c_read.transactions[i].num_bytes; in drm_dp_encode_sideband_req() 409 …memcpy(&buf[idx], req->u.i2c_read.transactions[i].bytes, req->u.i2c_read.transactions[i].num_bytes… in drm_dp_encode_sideband_req() 410 idx += req->u.i2c_read.transactions[i].num_bytes; in drm_dp_encode_sideband_req() 412 buf[idx] = (req->u.i2c_read.transactions[i].no_stop_bit & 0x1) << 4; in drm_dp_encode_sideband_req() 413 buf[idx] |= (req->u.i2c_read.transactions[i].i2c_transaction_delay & 0xf); in drm_dp_encode_sideband_req() 416 buf[idx] = (req->u.i2c_read.read_i2c_device_id) & 0x7f; in drm_dp_encode_sideband_req() [all …]
|
/linux-6.1.9/drivers/i2c/busses/ |
D | i2c-au1550.c | 155 static int i2c_read(struct i2c_au1550_data *adap, unsigned char *buf, in i2c_read() function 228 err = i2c_read(adap, p->buf, p->len); in au1550_xfer()
|
D | i2c-amd-mp2-plat.c | 105 if ((i2c_common->reqcmd == i2c_read || in i2c_amd_check_cmd_completion() 145 amd_mp2_rw(i2c_common, i2c_read); in i2c_amd_xfer_msg()
|
D | i2c-amd-mp2.h | 47 i2c_read = 0, enumerator
|
D | i2c-amd-mp2-pci.c | 149 case i2c_read: in __amd_mp2_process_event()
|
/linux-6.1.9/drivers/infiniband/hw/hfi1/ |
D | qsfp.h | 192 int i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr,
|
D | qsfp.c | 332 int i2c_read(struct hfi1_pportdata *ppd, u32 target, int i2c_addr, int offset, in i2c_read() function
|
D | debugfs.c | 803 total_read = i2c_read(ppd, target, i2c_addr, offset, buff, count); in __i2c_debugfs_read()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link_ddc.c | 354 static bool i2c_read( in i2c_read() function 402 if (!i2c_read( in dal_ddc_service_i2c_query_dp_dual_mode_adaptor() 409 if (i2c_read(ddc, in dal_ddc_service_i2c_query_dp_dual_mode_adaptor()
|
/linux-6.1.9/drivers/media/pci/ddbridge/ |
D | ddbridge-i2c.h | 44 static int __maybe_unused i2c_read(struct i2c_adapter *adapter, u8 adr, u8 *val) in i2c_read() function
|
D | ddbridge-core.c | 1696 if (i2c_read(&port->i2c->adap, 0x29, &val) < 0) in port_has_drxks() 1698 if (i2c_read(&port->i2c->adap, 0x2a, &val) < 0) in port_has_drxks()
|
/linux-6.1.9/include/trace/events/ |
D | i2c.h | 58 TRACE_EVENT_FN(i2c_read,
|
/linux-6.1.9/drivers/media/dvb-frontends/ |
D | stv6111.c | 295 static int i2c_read(struct i2c_adapter *adap, in i2c_read() function 339 return i2c_read(state->i2c, state->adr, ®, 1, val, 1); in read_reg()
|
D | drxd_hard.c | 198 static int i2c_read(struct i2c_adapter *adap, in i2c_read() function 232 if (i2c_read(state->i2c, adr, mm1, 4, mm2, 2) < 0) in Read16() 247 if (i2c_read(state->i2c, adr, mm1, 4, mm2, 4) < 0) in Read32()
|
D | mxl5xx.c | 129 static int i2c_read(struct i2c_adapter *adap, u8 adr, in i2c_read() function 140 return i2c_read(state->base->i2c, state->base->adr, data, len); in i2cread()
|
D | drxk_hard.c | 249 static int i2c_read(struct drxk_state *state, in i2c_read() function 303 status = i2c_read(state, adr, mm1, len, mm2, 2); in read16_flags() 337 status = i2c_read(state, adr, mm1, len, mm2, 4); in read32_flags()
|
/linux-6.1.9/include/drm/display/ |
D | drm_dp_mst_helper.h | 448 struct drm_dp_remote_i2c_read i2c_read; member
|
/linux-6.1.9/drivers/media/pci/ngene/ |
D | ngene-cards.c | 70 static int i2c_read(struct i2c_adapter *adapter, u8 adr, u8 *val) in i2c_read() function 448 if (i2c_read(i2c, 0x29+port, &val) < 0) in port_has_drxk()
|