Home
last modified time | relevance | path

Searched defs:adap (Results 1 – 25 of 33) sorted by relevance

12

/linux-2.4.37.9/drivers/i2c/
Di2c-algo-bit.c68 #define setsda(adap,val) adap->setsda(adap->data, val) argument
69 #define setscl(adap,val) adap->setscl(adap->data, val) argument
70 #define getsda(adap) adap->getsda(adap->data) argument
71 #define getscl(adap) adap->getscl(adap->data) argument
73 static inline void sdalo(struct i2c_algo_bit_data *adap) in sdalo()
79 static inline void sdahi(struct i2c_algo_bit_data *adap) in sdahi()
85 static inline void scllo(struct i2c_algo_bit_data *adap) in scllo()
98 static inline int sclhi(struct i2c_algo_bit_data *adap) in sclhi()
132 static void i2c_start(struct i2c_algo_bit_data *adap) in i2c_start()
140 static void i2c_repstart(struct i2c_algo_bit_data *adap) in i2c_repstart()
[all …]
Di2c-algo-pcf.c57 #define set_pcf(adap, ctl, val) adap->setpcf(adap->data, ctl, val) argument
58 #define get_pcf(adap, ctl) adap->getpcf(adap->data, ctl) argument
59 #define get_own(adap) adap->getown(adap->data) argument
60 #define get_clock(adap) adap->getclock(adap->data) argument
61 #define i2c_outb(adap, val) adap->setpcf(adap->data, 0, val) argument
62 #define i2c_inb(adap) adap->getpcf(adap->data, 0) argument
66 static void i2c_start(struct i2c_algo_pcf_data *adap) in i2c_start()
72 static void i2c_repstart(struct i2c_algo_pcf_data *adap) in i2c_repstart()
79 static void i2c_stop(struct i2c_algo_pcf_data *adap) in i2c_stop()
86 static int wait_for_bb(struct i2c_algo_pcf_data *adap) { in wait_for_bb()
[all …]
Di2c-algo-ite.c87 #define get_clock(adap) adap->getclock(adap->data) argument
88 #define iic_outw(adap, reg, val) adap->setiic(adap->data, reg, val) argument
89 #define iic_inw(adap, reg) adap->getiic(adap->data, reg) argument
94 static void iic_start(struct i2c_algo_iic_data *adap) in iic_start()
99 static void iic_stop(struct i2c_algo_iic_data *adap) in iic_stop()
105 static void iic_reset(struct i2c_algo_iic_data *adap) in iic_reset()
111 static int wait_for_bb(struct i2c_algo_iic_data *adap) in wait_for_bb()
142 static int wait_for_pin(struct i2c_algo_iic_data *adap, short *status) { in wait_for_pin()
166 static int wait_for_fe(struct i2c_algo_iic_data *adap, short *status) in wait_for_fe()
183 static int iic_init (struct i2c_algo_iic_data *adap) in iic_init()
[all …]
Di2c-algo-sgi.c39 static int wait_xfer_done(struct i2c_algo_sgi_data *adap) in wait_xfer_done()
52 static int wait_ack(struct i2c_algo_sgi_data *adap) in wait_ack()
67 static int force_idle(struct i2c_algo_sgi_data *adap) in force_idle()
84 static int do_address(struct i2c_algo_sgi_data *adap, unsigned int addr, in do_address()
103 static int i2c_read(struct i2c_algo_sgi_data *adap, unsigned char *buf, in i2c_read()
120 static int i2c_write(struct i2c_algo_sgi_data *adap, unsigned char *buf, in i2c_write()
137 struct i2c_algo_sgi_data *adap = i2c_adap->algo_data; in sgi_xfer() local
155 static u32 sgi_func(struct i2c_adapter *adap) in sgi_func()
170 int i2c_sgi_add_bus(struct i2c_adapter *adap) in i2c_sgi_add_bus()
179 int i2c_sgi_del_bus(struct i2c_adapter *adap) in i2c_sgi_del_bus()
Di2c-algo-sibyte.c53 struct i2c_algo_sibyte_data *adap = i2c_adap->algo_data; in smbus_xfer() local
129 static u32 bit_func(struct i2c_adapter *adap) in bit_func()
155 struct i2c_algo_sibyte_data *adap = i2c_adap->algo_data; in i2c_sibyte_add_bus() local
192 int i2c_sibyte_del_bus(struct i2c_adapter *adap) in i2c_sibyte_del_bus()
Di2c-core.c43 #define I2C_LOCK(adap) down(&adap->lock) argument
44 #define I2C_UNLOCK(adap) up(&adap->lock) argument
113 int i2c_add_adapter(struct i2c_adapter *adap) in i2c_add_adapter()
184 int i2c_del_adapter(struct i2c_adapter *adap) in i2c_del_adapter()
328 struct i2c_adapter *adap = adapters[k]; in i2c_del_driver() local
717 int i2c_transfer(struct i2c_adapter * adap, struct i2c_msg *msgs,int num) in i2c_transfer()
740 struct i2c_adapter *adap=client->adapter; in i2c_master_send() local
769 struct i2c_adapter *adap=client->adapter; in i2c_master_recv() local
805 struct i2c_adapter *adap = client->adapter; in i2c_control() local
951 int i2c_adapter_id(struct i2c_adapter *adap) in i2c_adapter_id()
[all …]
Di2c-sibyte.c41 static void sibyte_inc_use(struct i2c_adapter *adap) in sibyte_inc_use()
48 static void sibyte_dec_use(struct i2c_adapter *adap) in sibyte_dec_use()
Dscx200_i2c.c79 static void scx200_i2c_inc_use(struct i2c_adapter *adap) in scx200_i2c_inc_use()
84 static void scx200_i2c_dec_use(struct i2c_adapter *adap) in scx200_i2c_dec_use()
Di2c-elv.c129 static void bit_elv_inc_use(struct i2c_adapter *adap) in bit_elv_inc_use()
136 static void bit_elv_dec_use(struct i2c_adapter *adap) in bit_elv_dec_use()
Di2c-velleman.c122 static void bit_velle_inc_use(struct i2c_adapter *adap) in bit_velle_inc_use()
129 static void bit_velle_dec_use(struct i2c_adapter *adap) in bit_velle_dec_use()
Di2c-adap-ite.c197 static void iic_ite_inc_use(struct i2c_adapter *adap) in iic_ite_inc_use()
205 static void iic_ite_dec_use(struct i2c_adapter *adap) in iic_ite_dec_use()
Di2c-elektor.c182 static void pcf_isa_inc_use(struct i2c_adapter *adap) in pcf_isa_inc_use()
189 static void pcf_isa_dec_use(struct i2c_adapter *adap) in pcf_isa_dec_use()
Di2c-max1617.c121 static int max1617_attach(struct i2c_adapter *adap, int addr, unsigned short flags, int kind) in max1617_attach()
159 static int max1617_probe(struct i2c_adapter *adap) in max1617_probe()
Di2c-philips-par.c143 static void bit_lp_inc_use(struct i2c_adapter *adap) in bit_lp_inc_use()
148 static void bit_lp_dec_use(struct i2c_adapter *adap) in bit_lp_dec_use()
Di2c-keywest.c223 keywest_smbus_xfer( struct i2c_adapter* adap, in keywest_smbus_xfer()
330 keywest_xfer( struct i2c_adapter *adap, in keywest_xfer()
/linux-2.4.37.9/drivers/media/video/
Dtda9875.c142 static int i2c_read_register(struct i2c_adapter *adap, int addr, int reg) in i2c_read_register()
229 static int tda9875_checkit(struct i2c_adapter *adap, int addr) in tda9875_checkit()
245 static int tda9875_attach(struct i2c_adapter *adap, int addr, in tda9875_attach()
276 static int tda9875_probe(struct i2c_adapter *adap) in tda9875_probe()
Dindycam.c38 static int indycam_attach(struct i2c_adapter *adap, int addr, int kind) in indycam_attach()
103 static int indycam_probe(struct i2c_adapter *adap) in indycam_probe()
Dbt832.c171 static int bt832_attach(struct i2c_adapter *adap, int addr, in bt832_attach()
199 static int bt832_probe(struct i2c_adapter *adap) in bt832_probe()
Dtuner-3036.c117 tuner_attach(struct i2c_adapter *adap, int addr, in tuner_attach()
175 tuner_probe(struct i2c_adapter *adap) in tuner_probe()
Dsaa7191.c43 static int saa7191_attach(struct i2c_adapter *adap, int addr, int kind) in saa7191_attach()
120 static int saa7191_probe(struct i2c_adapter *adap) in saa7191_probe()
Di2c-compat.h34 static inline void i2c_clients_command(struct i2c_adapter *adap, in i2c_clients_command()
Dbttv-if.c193 static void bttv_inc_use(struct i2c_adapter *adap) in bttv_inc_use()
198 static void bttv_dec_use(struct i2c_adapter *adap) in bttv_dec_use()
Dtda7432.c316 static int tda7432_attach(struct i2c_adapter *adap, int addr, in tda7432_attach()
342 static int tda7432_probe(struct i2c_adapter *adap) in tda7432_probe()
Dtda9887.c347 static int tda9887_attach(struct i2c_adapter *adap, int addr, in tda9887_attach()
370 static int tda9887_probe(struct i2c_adapter *adap) in tda9887_probe()
/linux-2.4.37.9/drivers/acorn/char/
Dpcf8583.c38 pcf8583_attach(struct i2c_adapter *adap, int addr, unsigned short flags, in pcf8583_attach()
67 pcf8583_probe(struct i2c_adapter *adap) in pcf8583_probe()

12