Lines Matching refs:num_bytes
999 static void omap_i2c_receive_data(struct omap_i2c_dev *omap, u8 num_bytes, in omap_i2c_receive_data() argument
1004 while (num_bytes--) { in omap_i2c_receive_data()
1020 static int omap_i2c_transmit_data(struct omap_i2c_dev *omap, u8 num_bytes, in omap_i2c_transmit_data() argument
1025 while (num_bytes--) { in omap_i2c_transmit_data()
1126 u8 num_bytes = 1; in omap_i2c_xfer_data() local
1129 num_bytes = omap->buf_len; in omap_i2c_xfer_data()
1133 num_bytes = (omap_i2c_read_reg(omap, in omap_i2c_xfer_data()
1137 omap_i2c_receive_data(omap, num_bytes, true); in omap_i2c_xfer_data()
1143 u8 num_bytes = 1; in omap_i2c_xfer_data() local
1146 num_bytes = omap->threshold; in omap_i2c_xfer_data()
1148 omap_i2c_receive_data(omap, num_bytes, false); in omap_i2c_xfer_data()
1154 u8 num_bytes = 1; in omap_i2c_xfer_data() local
1158 num_bytes = omap->buf_len; in omap_i2c_xfer_data()
1160 ret = omap_i2c_transmit_data(omap, num_bytes, true); in omap_i2c_xfer_data()
1169 u8 num_bytes = 1; in omap_i2c_xfer_data() local
1173 num_bytes = omap->threshold; in omap_i2c_xfer_data()
1175 ret = omap_i2c_transmit_data(omap, num_bytes, false); in omap_i2c_xfer_data()