/linux-master/drivers/media/tuners/ |
H A D | tuner-i2c.h | 67 * struct tuner_i2c_props 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 [all...] |
H A D | tda8290.c | 31 struct tuner_i2c_props i2c_props; member in struct:tda8290_priv 60 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2); 65 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2); 82 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2); 87 tuner_i2c_xfer_send_recv(&priv->i2c_props, msg, 1, &msg[1], 1); 91 tuner_i2c_xfer_send(&priv->i2c_props, buf, 3); 95 tuner_i2c_xfer_send(&priv->i2c_props, msg, 2); 195 tuner_i2c_xfer_send(&priv->i2c_props, easy_mode, 2); 196 tuner_i2c_xfer_send(&priv->i2c_props, agc_out_on, 2); 197 tuner_i2c_xfer_send(&priv->i2c_props, soft_rese 658 tda8290_probe(struct tuner_i2c_props *i2c_props) argument 684 tda8295_probe(struct tuner_i2c_props *i2c_props) argument 822 struct tuner_i2c_props i2c_props = { local [all...] |
H A D | mt20xx.c | 45 struct tuner_i2c_props i2c_props; member in struct:microtune_priv 190 tuner_i2c_xfer_send(&priv->i2c_props,buf,1); 191 tuner_i2c_xfer_recv(&priv->i2c_props,buf,1); 211 tuner_i2c_xfer_send(&priv->i2c_props,buf,1); 212 tuner_i2c_xfer_recv(&priv->i2c_props,buf,1); 235 tuner_i2c_xfer_send(&priv->i2c_props,buf,2); 253 ret=tuner_i2c_xfer_send(&priv->i2c_props,buf,1); 254 tuner_i2c_xfer_recv(&priv->i2c_props,buf,21); 263 ret=tuner_i2c_xfer_send(&priv->i2c_props,buf,4); 265 ret=tuner_i2c_xfer_send(&priv->i2c_props,bu [all...] |
H A D | tda18271-common.c | 116 { .addr = priv->i2c_props.addr, .flags = 0, 118 { .addr = priv->i2c_props.addr, .flags = I2C_M_RD, 125 ret = i2c_transfer(priv->i2c_props.adap, msg, 2); 146 { .addr = priv->i2c_props.addr, .flags = 0, 148 { .addr = priv->i2c_props.addr, .flags = I2C_M_RD, 155 ret = i2c_transfer(priv->i2c_props.adap, msg, 2); 184 struct i2c_msg msg = { .addr = priv->i2c_props.addr, .flags = 0, 216 i2c_lock_bus(priv->i2c_props.adap, I2C_LOCK_SEGMENT); 229 ret = __i2c_transfer(priv->i2c_props.adap, &msg, 1); 237 i2c_unlock_bus(priv->i2c_props [all...] |
H A D | tea5767.c | 26 struct tuner_i2c_props i2c_props; member in struct:tea5767_priv 269 if (5 != (rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 5))) 273 if (5 != (rc = tuner_i2c_xfer_recv(&priv->i2c_props, buffer, 5))) 290 if (5 != (rc = tuner_i2c_xfer_recv(&priv->i2c_props, buffer, 5))) { 362 if (5 != (rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 5))) 449 priv->i2c_props.addr = i2c_addr; 450 priv->i2c_props.adap = i2c_adap; 451 priv->i2c_props.name = "tea5767";
|
H A D | tea5761.c | 20 struct tuner_i2c_props i2c_props; member in struct:tea5761_priv 170 if (7 != (rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 7))) 204 if (16 != (rc = tuner_i2c_xfer_recv(&priv->i2c_props, buffer, 16))) { 323 priv->i2c_props.addr = i2c_addr; 324 priv->i2c_props.adap = i2c_adap; 325 priv->i2c_props.name = "tea5761";
|
H A D | tuner-simple.c | 111 struct tuner_i2c_props i2c_props; member in struct:tuner_simple_priv 129 if (1 != tuner_i2c_xfer_recv(&priv->i2c_props, &byte, 1)) 172 if (priv->i2c_props.adap == NULL) 194 if (priv->i2c_props.adap == NULL || !priv->radio_mode) 392 struct tuner_i2c_props i2c = priv->i2c_props; 433 rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 2); 463 rc = tuner_i2c_xfer_recv(&priv->i2c_props, 484 rc = tuner_i2c_xfer_send(&priv->i2c_props, buffer, 4); 649 i2c_clients_command(priv->i2c_props.adap, TUNER_SET_CONFIG, 655 rc = tuner_i2c_xfer_send(&priv->i2c_props, buffe [all...] |
H A D | mxl5007t.c | 141 struct tuner_i2c_props i2c_props; member in struct:mxl5007t_state 442 struct i2c_msg msg = { .addr = state->i2c_props.addr, .flags = 0, 446 ret = i2c_transfer(state->i2c_props.adap, &msg, 1); 472 { .addr = state->i2c_props.addr, .flags = 0, 474 { .addr = state->i2c_props.addr, .flags = I2C_M_RD, 479 ret = i2c_transfer(state->i2c_props.adap, msg, 2); 491 .addr = state->i2c_props.addr, .flags = 0, 494 int ret = i2c_transfer(state->i2c_props.adap, &msg, 1); 824 i2c_adapter_id(state->i2c_props.adap), 825 state->i2c_props [all...] |
H A D | xc5000.c | 40 struct tuner_i2c_props i2c_props; member in struct:xc5000_priv 246 struct i2c_msg msg = { .addr = priv->i2c_props.addr, 249 if (i2c_transfer(priv->i2c_props.adap, &msg, 1) != 1) { 262 struct i2c_msg msg = { .addr = priv->i2c_props.addr, 265 if (i2c_transfer(priv->i2c_props.adap, &msg, 1) != 1) { 278 { .addr = priv->i2c_props.addr, 280 { .addr = priv->i2c_props.addr, 284 if (i2c_transfer(priv->i2c_props.adap, msg, 2) != 2) { 303 priv->i2c_props.adap->algo_data, 1040 if (priv->i2c_props [all...] |
H A D | tda9887.c | 32 struct tuner_i2c_props i2c_props; member in struct:tda9887_priv 540 rc = tuner_i2c_xfer_recv(&priv->i2c_props, buf, 1); 582 if (4 != (rc = tuner_i2c_xfer_send(&priv->i2c_props,priv->data,4))) 613 if (1 == tuner_i2c_xfer_recv(&priv->i2c_props, ®, 1))
|
H A D | xc4000.c | 74 struct tuner_i2c_props i2c_props; member in struct:xc4000_priv 243 struct i2c_msg msg = { .addr = priv->i2c_props.addr, 245 if (i2c_transfer(priv->i2c_props.adap, &msg, 1) != 1) { 268 priv->i2c_props.adap->algo_data, 534 { .addr = priv->i2c_props.addr, 536 { .addr = priv->i2c_props.addr, 540 if (i2c_transfer(priv->i2c_props.adap, msg, 2) != 2) { 718 priv->i2c_props.adap->dev.parent); 723 priv->i2c_props.adap->dev.parent); 728 priv->i2c_props [all...] |
H A D | tda18271-fe.c | 867 ret = fe->callback(priv->i2c_props.adap->algo_data, 1158 i2c_adapter_id(priv->i2c_props.adap), 1159 priv->i2c_props.addr); 1174 regs[R_ID], i2c_adapter_id(priv->i2c_props.adap), 1175 priv->i2c_props.addr); 1180 i2c_adapter_id(priv->i2c_props.adap), priv->i2c_props.addr);
|
H A D | xc2028.c | 103 struct tuner_i2c_props i2c_props; member in struct:xc2028_data 125 _rc = tuner_i2c_xfer_send(&priv->i2c_props, buf, size); \ 136 _rc = tuner_i2c_xfer_send_recv(&priv->i2c_props, obuf, osize, \ 150 (_rc = tuner_i2c_xfer_send(&priv->i2c_props, \ 538 fe->dvb->priv : priv->i2c_props.adap->algo_data, 1422 priv->i2c_props.adap->dev.parent,
|
H A D | tda18271-priv.h | 95 struct tuner_i2c_props i2c_props; member in struct:tda18271_priv
|
H A D | r820t.c | 74 struct tuner_i2c_props i2c_props; member in struct:r820t_priv 390 rc = tuner_i2c_xfer_send(&priv->i2c_props, priv->buf, size + 1); 447 rc = tuner_i2c_xfer_send_recv(&priv->i2c_props, priv->buf, 1, p, len);
|
/linux-master/drivers/input/mouse/ |
H A D | elantech.c | 1901 struct property_entry i2c_props[11] = {}; local 1908 i2c_props[idx++] = PROPERTY_ENTRY_U32("touchscreen-size-x", 1910 i2c_props[idx++] = PROPERTY_ENTRY_U32("touchscreen-size-y", 1912 i2c_props[idx++] = PROPERTY_ENTRY_U32("touchscreen-min-x", 1914 i2c_props[idx++] = PROPERTY_ENTRY_U32("touchscreen-min-y", 1917 i2c_props[idx++] = PROPERTY_ENTRY_U32("touchscreen-x-mm", 1920 i2c_props[idx++] = PROPERTY_ENTRY_U32("touchscreen-y-mm", 1924 i2c_props[idx++] = PROPERTY_ENTRY_BOOL("elan,trackpoint"); 1927 i2c_props[idx++] = PROPERTY_ENTRY_BOOL("elan,middle-button"); 1930 i2c_props[id [all...] |
/linux-master/drivers/net/ethernet/wangxun/txgbe/ |
H A D | txgbe_type.h | 158 struct property_entry i2c_props[3]; member in struct:txgbe_nodes
|
H A D | txgbe_phy.c | 55 nodes->i2c_props[0] = PROPERTY_ENTRY_STRING("compatible", "snps,designware-i2c"); 56 nodes->i2c_props[1] = PROPERTY_ENTRY_BOOL("wx,i2c-snps-model"); 57 nodes->i2c_props[2] = PROPERTY_ENTRY_U32("clock-frequency", I2C_MAX_STANDARD_MODE_FREQ); 58 swnodes[SWNODE_I2C] = NODE_PROP(nodes->i2c_name, nodes->i2c_props);
|
/linux-master/drivers/media/dvb-frontends/ |
H A D | au8522_priv.h | 45 struct tuner_i2c_props i2c_props; member in struct:au8522_state
|
H A D | cx24117.c | 192 struct tuner_i2c_props i2c_props; member in struct:cx24117_priv
|