Searched refs:i2c (Results 1 - 25 of 385) sorted by relevance

1234567891011>>

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/i2c/busses/
H A Di2c-pxa.c24 #include <linux/i2c.h>
25 #include <linux/i2c-id.h>
32 #include <linux/i2c-pxa.h>
38 #include <asm/arch/i2c.h>
67 #define _IBMR(i2c) ((i2c)->reg_base + 0)
68 #define _IDBR(i2c) ((i2c)->reg_base + 8)
69 #define _ICR(i2c) ((i2c)
145 i2c_pxa_show_state(struct pxa_i2c *i2c, int lno, const char *fname) argument
164 i2c_pxa_scream_blue_murder(struct pxa_i2c *i2c, const char *why) argument
177 i2c_pxa_is_slavemode(struct pxa_i2c *i2c) argument
182 i2c_pxa_abort(struct pxa_i2c *i2c) argument
208 i2c_pxa_wait_bus_not_busy(struct pxa_i2c *i2c) argument
226 i2c_pxa_wait_master(struct pxa_i2c *i2c) argument
260 i2c_pxa_set_master(struct pxa_i2c *i2c) argument
278 i2c_pxa_wait_slave(struct pxa_i2c *i2c) argument
311 i2c_pxa_set_slave(struct pxa_i2c *i2c, int errcode) argument
345 i2c_pxa_reset(struct pxa_i2c *i2c) argument
380 i2c_pxa_slave_txempty(struct pxa_i2c *i2c, u32 isr) argument
395 i2c_pxa_slave_rxfull(struct pxa_i2c *i2c, u32 isr) argument
405 i2c_pxa_slave_start(struct pxa_i2c *i2c, u32 isr) argument
442 i2c_pxa_slave_stop(struct pxa_i2c *i2c) argument
461 i2c_pxa_slave_txempty(struct pxa_i2c *i2c, u32 isr) argument
471 i2c_pxa_slave_rxfull(struct pxa_i2c *i2c, u32 isr) argument
476 i2c_pxa_slave_start(struct pxa_i2c *i2c, u32 isr) argument
505 i2c_pxa_slave_stop(struct pxa_i2c *i2c) argument
526 i2c_pxa_start_message(struct pxa_i2c *i2c) argument
542 i2c_pxa_stop_message(struct pxa_i2c *i2c) argument
557 i2c_pxa_do_xfer(struct pxa_i2c *i2c, struct i2c_msg *msg, int num) argument
613 i2c_pxa_master_complete(struct pxa_i2c *i2c, int ret) argument
624 i2c_pxa_irq_txempty(struct pxa_i2c *i2c, u32 isr) argument
732 i2c_pxa_irq_rxfull(struct pxa_i2c *i2c, u32 isr) argument
761 struct pxa_i2c *i2c = dev_id; local
805 struct pxa_i2c *i2c = adap->algo_data; local
843 struct pxa_i2c *i2c; local
965 struct pxa_i2c *i2c = platform_get_drvdata(dev); local
[all...]
H A Di2c-s3c2410.c1 /* linux/drivers/i2c/busses/i2c-s3c2410.c
26 #include <linux/i2c.h>
27 #include <linux/i2c-id.h>
45 /* i2c controller state */
92 static inline int s3c24xx_i2c_is2440(struct s3c24xx_i2c *i2c) argument
94 struct platform_device *pdev = to_platform_device(i2c->dev);
96 return !strcmp(pdev->name, "s3c2440-i2c");
120 static inline void s3c24xx_i2c_master_complete(struct s3c24xx_i2c *i2c, int ret) argument
122 dev_dbg(i2c
134 s3c24xx_i2c_disable_ack(struct s3c24xx_i2c *i2c) argument
143 s3c24xx_i2c_enable_ack(struct s3c24xx_i2c *i2c) argument
154 s3c24xx_i2c_disable_irq(struct s3c24xx_i2c *i2c) argument
162 s3c24xx_i2c_enable_irq(struct s3c24xx_i2c *i2c) argument
176 s3c24xx_i2c_message_start(struct s3c24xx_i2c *i2c, struct i2c_msg *msg) argument
216 s3c24xx_i2c_stop(struct s3c24xx_i2c *i2c, int ret) argument
240 is_lastmsg(struct s3c24xx_i2c *i2c) argument
250 is_msglast(struct s3c24xx_i2c *i2c) argument
260 is_msgend(struct s3c24xx_i2c *i2c) argument
270 i2s_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat) argument
440 struct s3c24xx_i2c *i2c = dev_id; local
475 s3c24xx_i2c_set_master(struct s3c24xx_i2c *i2c) argument
500 s3c24xx_i2c_doxfer(struct s3c24xx_i2c *i2c, struct i2c_msg *msgs, int num) argument
553 struct s3c24xx_i2c *i2c = (struct s3c24xx_i2c *)adap->algo_data; local
647 s3c24xx_i2c_getdivisor(struct s3c24xx_i2c *i2c, struct s3c2410_platform_i2c *pdata, unsigned long *iicon, unsigned int *got) argument
702 s3c24xx_i2c_init(struct s3c24xx_i2c *i2c) argument
755 struct s3c24xx_i2c *i2c = &s3c24xx_i2c; local
872 struct s3c24xx_i2c *i2c = platform_get_drvdata(pdev); local
891 struct s3c24xx_i2c *i2c = platform_get_drvdata(dev); local
[all...]
H A DMakefile2 # Makefile for the i2c bus drivers.
5 obj-$(CONFIG_I2C_ALI1535) += i2c-ali1535.o
6 obj-$(CONFIG_I2C_ALI1563) += i2c-ali1563.o
7 obj-$(CONFIG_I2C_ALI15X3) += i2c-ali15x3.o
8 obj-$(CONFIG_I2C_AMD756) += i2c-amd756.o
9 obj-$(CONFIG_I2C_AMD756_S4882) += i2c-amd756-s4882.o
10 obj-$(CONFIG_I2C_AMD8111) += i2c-amd8111.o
11 obj-$(CONFIG_I2C_AT91) += i2c-at91.o
12 obj-$(CONFIG_I2C_AU1550) += i2c-au1550.o
13 obj-$(CONFIG_I2C_BLACKFIN_TWI) += i2c
[all...]
H A Di2c-ocores.c2 * i2c-ocores.c: I2C bus driver for OpenCores I2C controller
3 * (http://www.opencores.org/projects.cgi/web/i2c/overview).
17 #include <linux/i2c.h>
20 #include <linux/i2c-ocores.h>
65 static inline void oc_setreg(struct ocores_i2c *i2c, int reg, u8 value) argument
67 iowrite8(value, i2c->base + reg * i2c->regstep);
70 static inline u8 oc_getreg(struct ocores_i2c *i2c, int reg) argument
72 return ioread8(i2c->base + reg * i2c
75 ocores_process(struct ocores_i2c *i2c) argument
147 struct ocores_i2c *i2c = dev_id; local
156 struct ocores_i2c *i2c = i2c_get_adapdata(adap); local
176 ocores_init(struct ocores_i2c *i2c, struct ocores_i2c_platform_data *pdata) argument
215 struct ocores_i2c *i2c; local
289 struct ocores_i2c *i2c = platform_get_drvdata(pdev); local
[all...]
H A Di2c-mpc.c5 * This is a combined i2c adapter and algorithm driver for the
24 #include <linux/i2c.h>
60 static __inline__ void writeccr(struct mpc_i2c *i2c, u32 x) argument
62 writeb(x, i2c->base + MPC_I2C_CR);
67 struct mpc_i2c *i2c = dev_id; local
68 if (readb(i2c->base + MPC_I2C_SR) & CSR_MIF) {
70 i2c->interrupt = readb(i2c->base + MPC_I2C_SR);
71 writeb(0, i2c->base + MPC_I2C_SR);
72 wake_up_interruptible(&i2c
77 i2c_wait(struct mpc_i2c *i2c, unsigned timeout, int writing) argument
133 mpc_i2c_setclock(struct mpc_i2c *i2c) argument
145 mpc_i2c_start(struct mpc_i2c *i2c) argument
153 mpc_i2c_stop(struct mpc_i2c *i2c) argument
158 mpc_write(struct mpc_i2c *i2c, int target, const u8 * data, int length, int restart) argument
187 mpc_read(struct mpc_i2c *i2c, int target, u8 * data, int length, int restart) argument
236 struct mpc_i2c *i2c = i2c_get_adapdata(adap); local
292 struct mpc_i2c *i2c; local
352 struct mpc_i2c *i2c = platform_get_drvdata(pdev); local
[all...]
H A Di2c-versatile.c2 * i2c-versatile.c
13 #include <linux/i2c.h>
14 #include <linux/i2c-algo-bit.h>
34 struct i2c_versatile *i2c = data; local
36 writel(SDA, i2c->base + (state ? I2C_CONTROLS : I2C_CONTROLC));
41 struct i2c_versatile *i2c = data; local
43 writel(SCL, i2c->base + (state ? I2C_CONTROLS : I2C_CONTROLC));
48 struct i2c_versatile *i2c = data; local
49 return !!(readl(i2c->base + I2C_CONTROL) & SDA);
54 struct i2c_versatile *i2c local
69 struct i2c_versatile *i2c; local
122 struct i2c_versatile *i2c = platform_get_drvdata(dev); local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/i2c/
H A DMakefile2 # Makefile for the i2c core.
5 obj-$(CONFIG_I2C_BOARDINFO) += i2c-boardinfo.o
6 obj-$(CONFIG_I2C) += i2c-core.o
7 obj-$(CONFIG_I2C_CHARDEV) += i2c-dev.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/Documentation/video4linux/bttv/
H A DModprobe.conf0 # i2c
2 alias char-major-89 i2c-dev
3 options i2c-core i2c_debug=1
4 options i2c-algo-bit bit_test=1
H A DModules.conf4 # i2c
5 alias char-major-89 i2c-dev
6 options i2c-core i2c_debug=1
7 options i2c-algo-bit bit_test=1
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/i2c/algos/
H A DMakefile2 # Makefile for the i2c algorithms
5 obj-$(CONFIG_I2C_ALGOBIT) += i2c-algo-bit.o
6 obj-$(CONFIG_I2C_ALGOPCF) += i2c-algo-pcf.o
7 obj-$(CONFIG_I2C_ALGOPCA) += i2c-algo-pca.o
8 obj-$(CONFIG_I2C_ALGO_SGI) += i2c-algo-sgi.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/frontends/
H A Dtda826x.h26 #include <linux/i2c.h>
33 * @param addr i2c address of the tuner.
34 * @param i2c i2c adapter to use.
41 struct i2c_adapter *i2c,
46 struct i2c_adapter *i2c,
44 tda826x_attach(struct dvb_frontend *fe, int addr, struct i2c_adapter *i2c, int has_loopthrough) argument
H A Dtua6100.h34 #include <linux/i2c.h>
39 extern struct dvb_frontend *tua6100_attach(struct dvb_frontend *fe, int addr, struct i2c_adapter *i2c);
41 static inline struct dvb_frontend* tua6100_attach(struct dvb_frontend *fe, int addr, struct i2c_adapter *i2c) argument
H A Dtda827x.h27 #include <linux/i2c.h>
42 * @param addr i2c address of the tuner.
43 * @param i2c i2c adapter to use.
50 struct i2c_adapter *i2c,
55 struct i2c_adapter *i2c,
53 tda827x_attach(struct dvb_frontend *fe, int addr, struct i2c_adapter *i2c, struct tda827x_config *cfg) argument
H A Dcx22700.h30 /* the demodulator's i2c address */
37 struct i2c_adapter* i2c);
40 struct i2c_adapter* i2c)
39 cx22700_attach(const struct cx22700_config* config, struct i2c_adapter* i2c) argument
H A Dcx22702.h35 /* the demodulator's i2c address */
47 struct i2c_adapter* i2c);
50 struct i2c_adapter* i2c)
49 cx22702_attach(const struct cx22702_config* config, struct i2c_adapter* i2c) argument
H A Dl64781.h30 /* the demodulator's i2c address */
37 struct i2c_adapter* i2c);
40 struct i2c_adapter* i2c)
39 l64781_attach(const struct l64781_config* config, struct i2c_adapter* i2c) argument
H A Dmt312.h33 /* the demodulator's i2c address */
39 struct i2c_adapter* i2c);
42 struct i2c_adapter* i2c)
41 vp310_mt312_attach(const struct mt312_config* config, struct i2c_adapter* i2c) argument
H A Dnxt6000.h29 /* the demodulator's i2c address */
39 struct i2c_adapter* i2c);
42 struct i2c_adapter* i2c)
41 nxt6000_attach(const struct nxt6000_config* config, struct i2c_adapter* i2c) argument
H A Dqt1010.h35 * @param i2c i2c adapter to use
42 struct i2c_adapter *i2c,
46 struct i2c_adapter *i2c,
45 qt1010_attach(struct dvb_frontend *fe, struct i2c_adapter *i2c, struct qt1010_config *cfg) argument
H A Ds5h1420.h30 /* the demodulator's i2c address */
40 struct i2c_adapter* i2c);
43 struct i2c_adapter* i2c)
42 s5h1420_attach(const struct s5h1420_config* config, struct i2c_adapter* i2c) argument
H A Dtda8083.h34 /* the demodulator's i2c address */
41 struct i2c_adapter* i2c);
44 struct i2c_adapter* i2c)
43 tda8083_attach(const struct tda8083_config* config, struct i2c_adapter* i2c) argument
H A Dves1x93.h33 /* the demodulator's i2c address */
46 struct i2c_adapter* i2c);
49 struct i2c_adapter* i2c)
48 ves1x93_attach(const struct ves1x93_config* config, struct i2c_adapter* i2c) argument
H A Dzl10353.h35 /* set if no pll is connected to the secondary i2c bus */
45 struct i2c_adapter *i2c);
48 struct i2c_adapter *i2c)
47 zl10353_attach(const struct zl10353_config *config, struct i2c_adapter *i2c) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/i2c/
H A DMakefile6 snd-i2c-objs := i2c.o
17 obj-$(CONFIG_SND_INTERWAVE_STB) += snd-tea6330t.o snd-i2c.o
18 obj-$(CONFIG_SND_ICE1712) += snd-cs8427.o snd-i2c.o
19 obj-$(CONFIG_SND_ICE1724) += snd-i2c.o
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/media/dvb/ttpci/
H A Dttpci-eeprom.h29 #include <linux/i2c.h>

Completed in 77 milliseconds

1234567891011>>