Searched refs:i2c_master_recv (Results 1 - 87 of 87) sorted by relevance

/linux-4.1.27/drivers/staging/iio/meter/
H A Dade7854-i2c.c116 ret = i2c_master_recv(st->i2c, st->rx, 1); ade7854_i2c_read_reg_8()
142 ret = i2c_master_recv(st->i2c, st->rx, 2); ade7854_i2c_read_reg_16()
168 ret = i2c_master_recv(st->i2c, st->rx, 3); ade7854_i2c_read_reg_24()
194 ret = i2c_master_recv(st->i2c, st->rx, 3); ade7854_i2c_read_reg_32()
/linux-4.1.27/drivers/nfc/nxp-nci/
H A Di2c.c117 r = i2c_master_recv(client, (u8 *) &header, NXP_NCI_FW_HDR_LEN); nxp_nci_i2c_fw_read()
137 r = i2c_master_recv(client, skb_put(*skb, frame_len), frame_len); nxp_nci_i2c_fw_read()
161 r = i2c_master_recv(client, (u8 *) &header, NCI_CTRL_HDR_SIZE); nxp_nci_i2c_nci_read()
179 r = i2c_master_recv(client, skb_put(*skb, header.plen), header.plen); nxp_nci_i2c_nci_read()
/linux-4.1.27/drivers/media/i2c/
H A Dtda9840.c73 if (1 != i2c_master_recv(client, &byte, 1)) { tda9840_status()
75 "i2c_master_recv() failed\n"); tda9840_status()
H A Dupd64083.c97 i2c_master_recv(client, buf, sizeof(buf)); upd64083_read()
141 i2c_master_recv(client, buf, 7); upd64083_log_status()
H A Dir-kbd-i2c.c72 if (size != i2c_master_recv(ir->c, buf, size)) get_key_haup_common()
138 if (1 != i2c_master_recv(ir->c, &b, 1)) { get_key_pixelview()
155 if (4 != i2c_master_recv(ir->c, buf, 4)) { get_key_fusionhdtv()
180 if (1 != i2c_master_recv(ir->c, &b, 1)) { get_key_knc1()
H A Dsaa6752hs.c282 i2c_master_recv(client, buf, 1); saa6752hs_chip_command()
532 i2c_master_recv(client, buf2, 4); saa6752hs_init()
679 i2c_master_recv(client, data, sizeof(data)); saa6752hs_probe()
H A Dupd64031a.c92 i2c_master_recv(client, buf, 2); upd64031a_read()
H A Dsaa6588.c270 if (6 != i2c_master_recv(client, &tmpbuf[0], 6)) { saa6588_i2c_poll()
H A Dmt9v011.c81 rc = i2c_master_recv(c, (char *)&buffer, 2); mt9v011_read()
H A Dvs6624.c503 i2c_master_recv(client, buf, 1); vs6624_read()
H A Dtvaudio.c220 if (1 != i2c_master_recv(c, &buffer, 1)) { chip_read()
/linux-4.1.27/drivers/input/misc/
H A Dad714x-i2c.c59 error = i2c_master_recv(client, (u8 *)chip->xfer_buf, ad714x_i2c_read()
H A Dadxl34x-i2c.c52 ret = i2c_master_recv(client, buf, count); adxl34x_i2c_read_block()
/linux-4.1.27/drivers/macintosh/
H A Dwindfarm_ad7417_sensor.c52 rc = i2c_master_recv(pv->i2c, buf, 2); wf_ad7417_temp_get()
128 rc = i2c_master_recv(pv->i2c, buf, 2); wf_ad7417_adc_get()
213 rc = i2c_master_recv(pv->i2c, buf, 1); wf_ad7417_init_chip()
H A Dwindfarm_lm87_sensor.c54 rc = i2c_master_recv(chip, &buf, 1); wf_lm87_read_reg()
H A Dtherm_windtunnel.c147 if( i2c_master_recv(cl, buf, len) != len ) read_reg()
H A Dtherm_adt746x.c121 rc = i2c_master_recv(th->clt, (char *)&data, 1); read_reg()
H A Dwindfarm_fcu_controls.c110 nr = i2c_master_recv(pv->i2c, buf, nb); wf_fcu_read_reg()
/linux-4.1.27/drivers/hwmon/
H A Dshtc1.c77 * is blocked for other traffic, thus the call to i2c_master_recv() shtc1_update_values()
85 ret = i2c_master_recv(client, buf, bufsize); shtc1_update_values()
200 ret = i2c_master_recv(client, id_reg, sizeof(id_reg)); shtc1_probe()
H A Dmcp3021.c63 ret = i2c_master_recv(client, (char *)&buf, 2); mcp3021_read16()
H A Dsmm665.c219 * We could also try to use i2c_master_recv(), smm665_read_adc()
/linux-4.1.27/drivers/nfc/microread/
H A Di2c.c159 r = i2c_master_recv(client, &len, 1); microread_i2c_read()
180 r = i2c_master_recv(client, skb_put(*skb, len), len); microread_i2c_read()
203 if (i2c_master_recv(client, tmp, sizeof(tmp)) < 0) microread_i2c_read()
/linux-4.1.27/drivers/nfc/st21nfcb/
H A Di2c.c143 r = i2c_master_recv(client, buf, ST21NFCB_NCI_I2C_MIN_SIZE); st21nfcb_nci_i2c_read()
146 r = i2c_master_recv(client, buf, ST21NFCB_NCI_I2C_MIN_SIZE); st21nfcb_nci_i2c_read()
169 r = i2c_master_recv(client, buf, len); st21nfcb_nci_i2c_read()
/linux-4.1.27/drivers/media/usb/cx231xx/
H A Dcx231xx-input.c36 rc = i2c_master_recv(ir->c, &cmd, 1); get_key_isdbt()
H A Dcx231xx-i2c.c507 rc = i2c_master_recv(&client, &buf, 0); cx231xx_do_i2c_scan()
/linux-4.1.27/drivers/misc/
H A Dhmc6352.c87 ret = i2c_master_recv(client, i2c_data, 2); compass_heading_data_show()
/linux-4.1.27/drivers/input/touchscreen/
H A Dar1021_i2c.c35 retval = i2c_master_recv(ar1021->client, ar1021_i2c_irq()
H A Dpixcir_i2c_ts.c80 ret = i2c_master_recv(tsdata->client, rdbuf, readsize); pixcir_ts_parse()
83 "%s: i2c_master_recv failed(), ret=%d\n", pixcir_ts_parse()
H A Dsx8654.c104 retval = i2c_master_recv(sx8654->client, data, sizeof(data)); sx8654_irq()
H A Dwacom_i2c.c103 error = i2c_master_recv(wac_i2c->client, wacom_i2c_irq()
H A Deeti_ts.c78 i2c_master_recv(priv->client, buf, sizeof(buf)); eeti_ts_read()
H A Degalax_ts.c79 ret = i2c_master_recv(client, buf, MAX_I2C_DATA_LEN); egalax_ts_interrupt()
H A Dmigor_ts.c74 if (i2c_master_recv(priv->client, buf, sizeof(buf)) != sizeof(buf)) { migor_ts_isr()
H A Dzforce_ts.c421 ret = i2c_master_recv(client, buf, 2); zforce_read_packet()
441 ret = i2c_master_recv(client, &buf[PAYLOAD_BODY], buf[PAYLOAD_LENGTH]); zforce_read_packet()
H A Delants_i2c.c168 ret = i2c_master_recv(client, data, size); elants_i2c_read()
841 len = i2c_master_recv(client, ts->buf, sizeof(ts->buf)); elants_i2c_irq()
/linux-4.1.27/drivers/iio/adc/
H A Dmcp3422.c122 ret = i2c_master_recv(adc->i2c, buf, 4); mcp3422_read()
126 ret = i2c_master_recv(adc->i2c, buf, 3); mcp3422_read()
H A Dmax1363.c1575 st->recv = i2c_master_recv; max1363_probe()
/linux-4.1.27/drivers/iio/dac/
H A Dmcp4725.c101 ret = i2c_master_recv(data->client, inoutbuf, 3); mcp4725_store_eeprom()
312 err = i2c_master_recv(client, inbuf, 3); mcp4725_probe()
H A Dmax5821.c197 ret = i2c_master_recv(client, inbuf, 2); max5821_get_value()
/linux-4.1.27/drivers/spi/
H A Dspi-sc18is602.c62 err = i2c_master_recv(hw->client, dummy, 1); sc18is602_wait_ready()
123 ret = i2c_master_recv(hw->client, hw->buffer, rlen); sc18is602_txrx()
H A Dspi-xcomm.c126 ret = i2c_master_recv(spi_xcomm->i2c, t->rx_buf, t->len); spi_xcomm_txrx_bufs()
/linux-4.1.27/drivers/char/tpm/
H A Dtpm_i2c_atmel.c99 rc = i2c_master_recv(client, buf, expected_len); i2c_atmel_recv()
127 rc = i2c_master_recv(client, priv->buffer, sizeof(priv->buffer)); i2c_atmel_read_status()
/linux-4.1.27/drivers/media/pci/saa7134/
H A Dsaa7134-input.c153 if (1 != i2c_master_recv(ir->c, &b, 1)) { get_key_flydvb_trio()
193 if (1 != i2c_master_recv(ir->c, &b, 1)) { get_key_msi_tvanywhere_plus()
242 if (1 != i2c_master_recv(ir->c, &b, 1)) { get_key_kworld_pc150u()
267 if (1 != i2c_master_recv(ir->c, &b, 1)) { get_key_purpletv()
292 if (5 != i2c_master_recv(ir->c, buf, 5)) get_key_hvr1110()
336 if (12 != i2c_master_recv(ir->c, data, 12)) { get_key_beholdm6xx()
361 if (4 != i2c_master_recv(ir->c, b, 4)) { get_key_pinnacle()
H A Dsaa7134-i2c.c366 if (len != (err = i2c_master_recv(&dev->i2c_client,eedata,len))) { saa7134_i2c_eeprom()
396 rc = i2c_master_recv(c,&buf,0); do_i2c_scan()
H A Dsaa7134-cards.c7786 board = (i2c_master_recv(&dev->i2c_client, &buf, 0) < 0) saa7134_board_init2()
/linux-4.1.27/drivers/staging/media/lirc/
H A Dlirc_zilog.c405 ret = i2c_master_recv(rx->c, keybuf, sizeof(keybuf)); add_to_buf()
409 "i2c_master_recv failed with %d -- keeping last read buffer\n", add_to_buf()
708 ret = i2c_master_recv(tx->c, buf, 4); send_boot_data()
710 dev_err(tx->ir->l.dev, "i2c_master_recv failed with %d\n", ret); send_boot_data()
1024 ret = i2c_master_recv(tx->c, buf, 1); send_code()
1026 dev_err(tx->ir->l.dev, "i2c_master_recv failed with %d\n", ret); send_code()
1046 * last i2c_master_recv always fails with a -5, so for now, we're send_code()
1078 i = i2c_master_recv(tx->c, buf, 1); send_code()
1080 dev_err(tx->ir->l.dev, "i2c_master_recv failed with %d\n", ret); send_code()
/linux-4.1.27/drivers/input/mouse/
H A Delan_i2c_i2c.c148 error = i2c_master_recv(client, val, ETP_I2C_INF_LENGTH); elan_i2c_initialize()
581 len = i2c_master_recv(client, buffer, ETP_I2C_INF_LENGTH); elan_i2c_finish_fw_update()
596 len = i2c_master_recv(client, report, ETP_I2C_REPORT_LEN); elan_i2c_get_report()
H A Dcyapa_gen5.c414 ret = i2c_master_recv(cyapa->client, buf, size); cyapa_i2c_pip_read()
/linux-4.1.27/drivers/media/pci/cx88/
H A Dcx88-i2c.c127 rc = i2c_master_recv(c,&buf,0); do_i2c_scan()
/linux-4.1.27/drivers/media/radio/
H A Dtef6862.c74 int err = i2c_master_recv(client, buf, sizeof(buf)); tef6862_sigstr()
/linux-4.1.27/drivers/media/pci/bt8xx/
H A Dbttv-i2c.c283 if (1 != i2c_master_recv(&btv->i2c_client, &buffer, 1)) { bttv_I2CRead()
341 rc = i2c_master_recv(c,&buf,0); do_i2c_scan()
H A Dbttv-input.c345 if (1 != i2c_master_recv(ir->c, &b, 1)) { get_key_pv951()
/linux-4.1.27/drivers/media/usb/em28xx/
H A Dem28xx-camera.c123 ret = i2c_master_recv(&client, (u8 *)&id_be, 2); em28xx_probe_sensor_micron()
138 ret = i2c_master_recv(&client, (u8 *)&id_be, 2); em28xx_probe_sensor_micron()
H A Dem28xx-input.c90 if (1 != i2c_master_recv(i2c_dev, &b, 1)) em28xx_get_key_terratec()
115 size = i2c_master_recv(i2c_dev, buf, sizeof(buf)); em28xx_get_key_em_haup()
145 if (3 != i2c_master_recv(i2c_dev, buf, 3)) em28xx_get_key_pinnacle_usb_grey()
H A Dem28xx-i2c.c642 ret = i2c_master_recv(&dev->i2c_client[bus], data, rsize); em28xx_i2c_read_block()
674 err = i2c_master_recv(&dev->i2c_client[bus], &buf, 0); em28xx_i2c_eeprom()
914 rc = i2c_master_recv(&dev->i2c_client[bus], &buf, 0); em28xx_do_i2c_scan()
/linux-4.1.27/drivers/mfd/
H A Dab3100-core.c184 err = i2c_master_recv(ab3100->i2c_client, regval, 1); ab3100_get_register_interruptible()
247 err = i2c_master_recv(ab3100->i2c_client, regvals, numregs); ab3100_get_register_page_interruptible()
305 err = i2c_master_recv(ab3100->i2c_client, &regandval[1], 1); ab3100_mask_and_set_register_interruptible()
H A Daat2870-core.c126 ret = i2c_master_recv(aat2870->client, val, 1); __aat2870_read()
H A Dsi476x-i2c.c452 err = i2c_master_recv(core->client, buf, count); si476x_core_i2c_xfer()
/linux-4.1.27/drivers/nfc/st21nfca/
H A Di2c.c133 r = i2c_master_recv(phy->i2c_dev, tmp, st21nfca_hci_platform_init()
388 r = i2c_master_recv(client, buf, len); st21nfca_hci_i2c_read()
/linux-4.1.27/drivers/media/pci/cx23885/
H A Dcx23885-i2c.c300 rc = i2c_master_recv(c, &buf, 0); do_i2c_scan()
/linux-4.1.27/drivers/media/tuners/
H A Dmxl301rf.c68 ret = i2c_master_recv(state->i2c, val, 1); reg_read()
H A Dsi2157.c46 ret = i2c_master_recv(client, cmd->args, cmd->rlen); si2157_cmd_execute()
/linux-4.1.27/drivers/media/usb/au0828/
H A Dau0828-i2c.c366 rc = i2c_master_recv(c, &buf, 0); do_i2c_scan()
/linux-4.1.27/drivers/regulator/
H A Dad5398.c44 ret = i2c_master_recv(client, (char *)&val, 2); ad5398_read_reg()
/linux-4.1.27/drivers/rtc/
H A Drtc-pcf2127.c54 i2c_master_recv(client, buf, sizeof(buf)) != sizeof(buf)) { pcf2127_get_datetime()
/linux-4.1.27/drivers/nfc/pn544/
H A Di2c.c381 r = i2c_master_recv(client, &len, 1); pn544_hci_i2c_read()
402 r = i2c_master_recv(client, skb_put(*skb, len), len); pn544_hci_i2c_read()
425 if (i2c_master_recv(client, tmp, sizeof(tmp)) < 0) pn544_hci_i2c_read()
439 r = i2c_master_recv(client, (char *) &response, sizeof(response)); pn544_hci_i2c_fw_read_status()
/linux-4.1.27/drivers/gpu/drm/bridge/
H A Dptn3460.c75 ret = i2c_master_recv(ptn_bridge->client, buf, len); ptn3460_read_bytes()
/linux-4.1.27/drivers/char/tpm/st33zp24/
H A Di2c.c71 status = i2c_master_recv(phy->client, tpm_data, tpm_size); read8_reg()
/linux-4.1.27/drivers/gpio/
H A Dgpio-pcf857x.c129 status = i2c_master_recv(client, buf, 2); i2c_read_le16()
H A Dgpio-max732x.c317 ret = i2c_master_recv(chip->client_group_a, (char *)val, 2); max732x_readw()
/linux-4.1.27/drivers/gpu/drm/i2c/
H A Dsil164_drv.c126 ret = i2c_master_recv(client, &val, sizeof(val)); sil164_read()
H A Dch7006_drv.c404 ret = i2c_master_recv(client, &val, sizeof(val)); ch7006_probe()
H A Dch7006_mode.c389 ret = i2c_master_recv(client, &val, sizeof(val)); ch7006_read()
H A Dtda998x_drv.c370 ret = i2c_master_recv(client, &val, sizeof(val)); cec_read()
417 ret = i2c_master_recv(client, buf, cnt); reg_read_range()
/linux-4.1.27/drivers/input/keyboard/
H A Dqt2160.c149 error = i2c_master_recv(client, buffer, count); qt2160_read_block()
H A Dlm8323.c228 ret = i2c_master_recv(lm->client, buf, len); lm8323_read()
/linux-4.1.27/drivers/i2c/
H A Di2c-dev.c154 ret = i2c_master_recv(client, tmp, count); i2cdev_read()
H A Di2c-core.c2148 * i2c_master_recv - issue a single I2C message in master receive mode
2155 int i2c_master_recv(const struct i2c_client *client, char *buf, int count) i2c_master_recv() function
2175 EXPORT_SYMBOL(i2c_master_recv); variable
/linux-4.1.27/drivers/media/i2c/soc_camera/
H A Dov5642.c655 ret = i2c_master_recv(client, val, 1); reg_read()
/linux-4.1.27/drivers/media/pci/ivtv/
H A Divtv-i2c.c159 if (i2c_master_recv(ir->c, keybuf, sizeof(keybuf)) != sizeof(keybuf)) { get_key_adaptec()
/linux-4.1.27/drivers/media/common/
H A Dtveeprom.c779 err = i2c_master_recv(c, eedata, len); tveeprom_read()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dsi2168.c46 ret = i2c_master_recv(client, cmd->args, cmd->rlen); si2168_cmd_execute()
/linux-4.1.27/sound/soc/codecs/
H A Duda1380.c117 i2c_master_recv(codec->control_data, data, 2); uda1380_write()
/linux-4.1.27/drivers/media/v4l2-core/
H A Dtuner-core.c623 rc = i2c_master_recv(client, buffer, sizeof(buffer)); tuner_probe()
/linux-4.1.27/drivers/hid/i2c-hid/
H A Di2c-hid.c385 ret = i2c_master_recv(ihid->client, ihid->inbuf, size); i2c_hid_get_input()
/linux-4.1.27/include/linux/
H A Di2c.h64 extern int i2c_master_recv(const struct i2c_client *client, char *buf,
/linux-4.1.27/drivers/media/radio/si4713/
H A Dsi4713.c242 err = i2c_master_recv(client, response, respn); si4713_send_command()

Completed in 1616 milliseconds