Lines Matching defs:props
24 static inline int tuner_i2c_xfer_send(struct tuner_i2c_props *props,
27 struct i2c_msg msg = { .addr = props->addr, .flags = 0,
29 int ret = i2c_transfer(props->adap, &msg, 1);
34 static inline int tuner_i2c_xfer_recv(struct tuner_i2c_props *props,
37 struct i2c_msg msg = { .addr = props->addr, .flags = I2C_M_RD,
39 int ret = i2c_transfer(props->adap, &msg, 1);
44 static inline int tuner_i2c_xfer_send_recv(struct tuner_i2c_props *props,
48 struct i2c_msg msg[2] = { { .addr = props->addr, .flags = 0,
50 { .addr = props->addr, .flags = I2C_M_RD,
52 int ret = i2c_transfer(props->adap, msg, 2);