Lines Matching defs:ctx
4 lws_i2c_command(lws_i2c_ops_t *ctx, uint8_t ads, uint8_t c)
6 if (ctx->start(ctx))
9 if (ctx->write(ctx, ads << 1)) {
10 ctx->stop(ctx);
15 ctx->write(ctx, 0);
16 ctx->write(ctx, c);
17 ctx->stop(ctx);
23 lws_i2c_command_list(lws_i2c_ops_t *ctx, uint8_t ads, const uint8_t *buf, size_t len)
26 if (lws_i2c_command(ctx, ads, *buf++))