Lines Matching refs:i2c_props
102 #define tuner_warn(fmt, arg...) __tuner_warn(priv->i2c_props, fmt, ##arg)
103 #define tuner_info(fmt, arg...) __tuner_info(priv->i2c_props, fmt, ##arg)
104 #define tuner_err(fmt, arg...) __tuner_err(priv->i2c_props, fmt, ##arg)
105 #define tuner_dbg(fmt, arg...) __tuner_dbg(priv->i2c_props, fmt, ##arg)
123 if (((i2cadap) && (state->i2c_props.adap)) && \
124 ((i2c_adapter_id(state->i2c_props.adap) == \
126 (i2caddr == state->i2c_props.addr))) { \
127 __tuner_info(state->i2c_props, \
129 state->i2c_props.count++; \
130 __ret = state->i2c_props.count; \
140 state->i2c_props.addr = i2caddr; \
141 state->i2c_props.adap = i2cadap; \
142 state->i2c_props.name = devname; \
143 __tuner_info(state->i2c_props, \
146 state->i2c_props.count++; \
147 __ret = state->i2c_props.count; \
156 state->i2c_props.count--; \
157 __ret = state->i2c_props.count; \
158 if (!state->i2c_props.count) { \
159 __tuner_info(state->i2c_props, "destroying instance\n");\
170 __ret = state->i2c_props.count; \