Home
last modified time | relevance | path

Searched refs:adap (Results 1 – 24 of 24) sorted by relevance

/external/u-boot/drivers/i2c/
Dlpc32xx_i2c.c227 static void lpc32xx_i2c_init(struct i2c_adapter *adap, in lpc32xx_i2c_init() argument
230 __i2c_init(lpc32xx_i2c[adap->hwadapnr], requested_speed, slaveadd, in lpc32xx_i2c_init()
231 adap->hwadapnr); in lpc32xx_i2c_init()
234 static int lpc32xx_i2c_probe_chip(struct i2c_adapter *adap, u8 dev) in lpc32xx_i2c_probe_chip() argument
236 return __i2c_probe_chip(lpc32xx_i2c[adap->hwadapnr], dev); in lpc32xx_i2c_probe_chip()
239 static int lpc32xx_i2c_read(struct i2c_adapter *adap, u8 dev, uint addr, in lpc32xx_i2c_read() argument
242 return __i2c_read(lpc32xx_i2c[adap->hwadapnr], dev, addr, in lpc32xx_i2c_read()
246 static int lpc32xx_i2c_write(struct i2c_adapter *adap, u8 dev, uint addr, in lpc32xx_i2c_write() argument
249 return __i2c_write(lpc32xx_i2c[adap->hwadapnr], dev, addr, in lpc32xx_i2c_write()
253 static unsigned int lpc32xx_i2c_set_bus_speed(struct i2c_adapter *adap, in lpc32xx_i2c_set_bus_speed() argument
[all …]
Ddesignware_i2c.c418 static struct i2c_regs *i2c_get_base(struct i2c_adapter *adap) in i2c_get_base() argument
420 switch (adap->hwadapnr) { in i2c_get_base()
436 printf("Wrong I2C-adapter number %d\n", adap->hwadapnr); in i2c_get_base()
442 static unsigned int dw_i2c_set_bus_speed(struct i2c_adapter *adap, in dw_i2c_set_bus_speed() argument
445 adap->speed = speed; in dw_i2c_set_bus_speed()
446 return __dw_i2c_set_bus_speed(i2c_get_base(adap), NULL, speed, IC_CLK); in dw_i2c_set_bus_speed()
449 static void dw_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in dw_i2c_init() argument
451 __dw_i2c_init(i2c_get_base(adap), speed, slaveaddr); in dw_i2c_init()
454 static int dw_i2c_read(struct i2c_adapter *adap, u8 dev, uint addr, in dw_i2c_read() argument
457 return __dw_i2c_read(i2c_get_base(adap), dev, addr, alen, buffer, len); in dw_i2c_read()
[all …]
Dkona_i2c.c621 struct bcm_kona_i2c_dev *kona_get_dev(struct i2c_adapter *adap) in kona_get_dev() argument
623 return &g_i2c_devs[adap->hwadapnr]; in kona_get_dev()
626 static void kona_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in kona_i2c_init() argument
628 struct bcm_kona_i2c_dev *dev = kona_get_dev(adap); in kona_i2c_init()
636 static int kona_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, in kona_i2c_read() argument
642 struct bcm_kona_i2c_dev *dev = kona_get_dev(adap); in kona_i2c_read()
658 kona_i2c_init(adap, adap->speed, adap->slaveaddr); in kona_i2c_read()
665 static int kona_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, in kona_i2c_write() argument
671 struct bcm_kona_i2c_dev *dev = kona_get_dev(adap); in kona_i2c_write()
682 kona_i2c_init(adap, adap->speed, adap->slaveaddr); in kona_i2c_write()
[all …]
Ddavinci_i2c.c342 static struct i2c_regs *davinci_get_base(struct i2c_adapter *adap) in davinci_get_base() argument
344 switch (adap->hwadapnr) { in davinci_get_base()
357 printf("wrong hwadapnr: %d\n", adap->hwadapnr); in davinci_get_base()
363 static uint davinci_i2c_setspeed(struct i2c_adapter *adap, uint speed) in davinci_i2c_setspeed() argument
365 struct i2c_regs *i2c_base = davinci_get_base(adap); in davinci_i2c_setspeed()
368 adap->speed = speed; in davinci_i2c_setspeed()
374 static void davinci_i2c_init(struct i2c_adapter *adap, int speed, in davinci_i2c_init() argument
377 struct i2c_regs *i2c_base = davinci_get_base(adap); in davinci_i2c_init()
379 adap->speed = speed; in davinci_i2c_init()
385 static int davinci_i2c_read(struct i2c_adapter *adap, uint8_t chip, in davinci_i2c_read() argument
[all …]
Dsh_i2c.c205 sh_i2c_init(struct i2c_adapter *adap, int speed, int slaveadd) in sh_i2c_init() argument
239 static int sh_i2c_read(struct i2c_adapter *adap, uint8_t chip, in sh_i2c_read() argument
243 struct sh_i2c *dev = (struct sh_i2c *)i2c_dev[adap->hwadapnr]; in sh_i2c_read()
257 static int sh_i2c_write(struct i2c_adapter *adap, uint8_t chip, uint addr, in sh_i2c_write() argument
260 struct sh_i2c *dev = (struct sh_i2c *)i2c_dev[adap->hwadapnr]; in sh_i2c_write()
272 sh_i2c_probe(struct i2c_adapter *adap, u8 dev) in sh_i2c_probe() argument
276 return sh_i2c_read(adap, dev, 0, 0, dummy, sizeof dummy); in sh_i2c_probe()
279 static unsigned int sh_i2c_set_bus_speed(struct i2c_adapter *adap, in sh_i2c_set_bus_speed() argument
282 struct sh_i2c *dev = (struct sh_i2c *)i2c_dev[adap->hwadapnr]; in sh_i2c_set_bus_speed()
285 sh_i2c_init(adap, speed, 0); in sh_i2c_set_bus_speed()
Domap24xx_i2c.c842 static void __iomem *omap24_get_base(struct i2c_adapter *adap) in omap24_get_base() argument
844 switch (adap->hwadapnr) { in omap24_get_base()
867 printf("wrong hwadapnr: %d\n", adap->hwadapnr); in omap24_get_base()
883 static int omap24_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, in omap24_i2c_read() argument
886 void __iomem *i2c_base = omap24_get_base(adap); in omap24_i2c_read()
889 return __omap24_i2c_read(i2c_base, ip_rev, adap->waitdelay, chip, addr, in omap24_i2c_read()
893 static int omap24_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, in omap24_i2c_write() argument
896 void __iomem *i2c_base = omap24_get_base(adap); in omap24_i2c_write()
899 return __omap24_i2c_write(i2c_base, ip_rev, adap->waitdelay, chip, addr, in omap24_i2c_write()
903 static uint omap24_i2c_setspeed(struct i2c_adapter *adap, uint speed) in omap24_i2c_setspeed() argument
[all …]
Dfsl_i2c.c498 static void fsl_i2c_init(struct i2c_adapter *adap, int speed, int slaveadd) in fsl_i2c_init() argument
500 __i2c_init(i2c_base[adap->hwadapnr], speed, slaveadd, in fsl_i2c_init()
501 get_i2c_clock(adap->hwadapnr), adap->hwadapnr); in fsl_i2c_init()
504 static int fsl_i2c_probe_chip(struct i2c_adapter *adap, uchar chip) in fsl_i2c_probe_chip() argument
506 return __i2c_probe_chip(i2c_base[adap->hwadapnr], chip); in fsl_i2c_probe_chip()
509 static int fsl_i2c_read(struct i2c_adapter *adap, u8 chip_addr, uint offset, in fsl_i2c_read() argument
514 return __i2c_read(i2c_base[adap->hwadapnr], chip_addr, &o[4 - olen], in fsl_i2c_read()
518 static int fsl_i2c_write(struct i2c_adapter *adap, u8 chip_addr, uint offset, in fsl_i2c_write() argument
523 return __i2c_write(i2c_base[adap->hwadapnr], chip_addr, &o[4 - olen], in fsl_i2c_write()
527 static uint fsl_i2c_set_bus_speed(struct i2c_adapter *adap, uint speed) in fsl_i2c_set_bus_speed() argument
[all …]
Dmvtwsi.c192 static struct mvtwsi_registers *twsi_get_base(struct i2c_adapter *adap) in twsi_get_base() argument
194 switch (adap->hwadapnr) { in twsi_get_base()
220 printf("Missing mvtwsi controller %d base\n", adap->hwadapnr); in twsi_get_base()
684 static void twsi_i2c_init(struct i2c_adapter *adap, int speed, in twsi_i2c_init() argument
687 struct mvtwsi_registers *twsi = twsi_get_base(adap); in twsi_i2c_init()
691 static uint twsi_i2c_set_bus_speed(struct i2c_adapter *adap, in twsi_i2c_set_bus_speed() argument
694 struct mvtwsi_registers *twsi = twsi_get_base(adap); in twsi_i2c_set_bus_speed()
699 static int twsi_i2c_probe(struct i2c_adapter *adap, uchar chip) in twsi_i2c_probe() argument
701 struct mvtwsi_registers *twsi = twsi_get_base(adap); in twsi_i2c_probe()
705 static int twsi_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, in twsi_i2c_read() argument
[all …]
Dihs_i2c.c250 static int ihs_i2c_access(struct i2c_adapter *adap, uchar chip, u8 *addr, in ihs_i2c_access()
360 static void ihs_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in ihs_i2c_init() argument
372 static int ihs_i2c_probe(struct i2c_adapter *adap, uchar chip) in ihs_i2c_probe() argument
384 static int ihs_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, in ihs_i2c_read() argument
391 return ihs_i2c_access(adap, chip, addr_bytes, alen, buffer, len, in ihs_i2c_read()
395 static int ihs_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, in ihs_i2c_write() argument
402 return ihs_i2c_access(adap, chip, addr_bytes, alen, buffer, len, in ihs_i2c_write()
406 static unsigned int ihs_i2c_set_bus_speed(struct i2c_adapter *adap, in ihs_i2c_set_bus_speed() argument
409 if (speed != adap->speed) in ihs_i2c_set_bus_speed()
Di2c_core.c58 static int i2c_mux_set(struct i2c_adapter *adap, int mux_id, int chip, in i2c_mux_set() argument
67 ret = adap->write(adap, chip, 0, 0, &buf, 1); in i2c_mux_set()
100 ret = adap->write(adap, chip, 0, 0, &buf, 1); in i2c_mux_set()
Dmxc_i2c.c712 struct mxc_i2c_bus *i2c_get_base(struct i2c_adapter *adap) in i2c_get_base() argument
714 return &mxc_i2c_buses[adap->hwadapnr]; in i2c_get_base()
717 static int mxc_i2c_read(struct i2c_adapter *adap, uint8_t chip, in mxc_i2c_read() argument
721 return bus_i2c_read(i2c_get_base(adap), chip, addr, alen, buffer, len); in mxc_i2c_read()
724 static int mxc_i2c_write(struct i2c_adapter *adap, uint8_t chip, in mxc_i2c_write() argument
728 return bus_i2c_write(i2c_get_base(adap), chip, addr, alen, buffer, len); in mxc_i2c_write()
734 static int mxc_i2c_probe(struct i2c_adapter *adap, uint8_t chip) in mxc_i2c_probe() argument
736 return bus_i2c_write(i2c_get_base(adap), chip, 0, 0, NULL, 0); in mxc_i2c_probe()
791 static void mxc_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in mxc_i2c_init() argument
793 bus_i2c_init(adap->hwadapnr, speed, slaveaddr, NULL, NULL); in mxc_i2c_init()
[all …]
Dsoft_i2c.c284 static void soft_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in soft_i2c_init() argument
307 static int soft_i2c_probe(struct i2c_adapter *adap, uint8_t addr) in soft_i2c_probe() argument
325 static int soft_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, in soft_i2c_read() argument
400 static int soft_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, in soft_i2c_write() argument
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DParserDebugger.cs32 ITreeAdaptor adap = new CommonTreeAdaptor(); in ParserDebugger()
33 TreeAdaptor = adap; in ParserDebugger()
34 proxy.TreeAdaptor = adap; in ParserDebugger()
38 ITreeAdaptor adap = new CommonTreeAdaptor(); in ParserDebugger()
39 TreeAdaptor = adap; in ParserDebugger()
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/ObjC/
DASTDbg.stg71 CommonTreeAdaptor *adap = [CommonTreeAdaptor newTreeAdaptor];
72 [self setTreeAdaptor:adap];
73 [proxy setTreeAdaptor:adap];
77 CommonTreeAdaptor *adap = [CommonTreeAdaptor newTreeAdaptor];
78 [self setTreeAdaptor:adap];
79 [proxy setTreeAdaptor:adap];
86 CommonTreeAdaptor *adap = [CommonTreeAdaptor newTreeAdaptor];
87 [self setTreeAdaptor:adap];<\n>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/
DASTDbg.stg75 ITreeAdaptor adap = new CommonTreeAdaptor();
76 TreeAdaptor = adap;
77 proxy.TreeAdaptor = adap;
81 ITreeAdaptor adap = new CommonTreeAdaptor();
82 TreeAdaptor = adap;
89 ITreeAdaptor adap = new CommonTreeAdaptor();
90 TreeAdaptor = adap;<\n>
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/
DASTDbg.stg66 TreeAdaptor adap = new CommonTreeAdaptor();
67 setTreeAdaptor(adap);
68 proxy.setTreeAdaptor(adap);
72 TreeAdaptor adap = new CommonTreeAdaptor();
73 setTreeAdaptor(adap);
80 TreeAdaptor adap = new CommonTreeAdaptor();
81 setTreeAdaptor(adap);
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp3/
DASTDbg.stg79 ITreeAdaptor adap = new CommonTreeAdaptor();
80 TreeAdaptor = adap;
81 proxy.TreeAdaptor = adap;
85 ITreeAdaptor adap = new CommonTreeAdaptor();
86 TreeAdaptor = adap;
93 ITreeAdaptor adap = new CommonTreeAdaptor();
94 TreeAdaptor = adap;<\n>
/external/u-boot/include/
Di2c.h520 void (*init)(struct i2c_adapter *adap, int speed,
522 int (*probe)(struct i2c_adapter *adap, uint8_t chip);
523 int (*read)(struct i2c_adapter *adap, uint8_t chip,
526 int (*write)(struct i2c_adapter *adap, uint8_t chip,
529 uint (*set_bus_speed)(struct i2c_adapter *adap,
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/
DDebugGrammarParser.cs79 ITreeAdaptor adap = new CommonTreeAdaptor(); in DebugGrammarParser()
80 TreeAdaptor = adap; in DebugGrammarParser()
81 proxy.TreeAdaptor = adap; in DebugGrammarParser()
90 ITreeAdaptor adap = new CommonTreeAdaptor(); in DebugGrammarParser()
91 TreeAdaptor = adap; in DebugGrammarParser()
DProfileGrammarParser.cs70 ITreeAdaptor adap = new CommonTreeAdaptor(); in ProfileGrammarParser()
71 TreeAdaptor = adap; in ProfileGrammarParser()
72 proxy.TreeAdaptor = adap; in ProfileGrammarParser()
83 ITreeAdaptor adap = new CommonTreeAdaptor(); in ProfileGrammarParser()
84 TreeAdaptor = adap; in ProfileGrammarParser()
/external/antlr/tool/
DCHANGES.txt281 proxy.setTreeAdaptor(adap);
/external/hyphenation-patterns/de/
Dhyph-de-1996.pat.txt742 3adap
Dhyph-de-ch-1901.pat.txt740 3adap
Dhyph-de-1901.pat.txt761 3adap