/external/u-boot/drivers/i2c/ |
D | mxs_i2c.c | 26 static struct mxs_i2c_regs *mxs_i2c_get_base(struct i2c_adapter *adap) in mxs_i2c_get_base() argument 28 if (adap->hwadapnr == 0) in mxs_i2c_get_base() 34 static unsigned int mxs_i2c_get_bus_speed(struct i2c_adapter *adap) in mxs_i2c_get_bus_speed() argument 36 struct mxs_i2c_regs *i2c_regs = mxs_i2c_get_base(adap); in mxs_i2c_get_bus_speed() 48 static uint mxs_i2c_set_bus_speed(struct i2c_adapter *adap, uint speed) in mxs_i2c_set_bus_speed() argument 50 struct mxs_i2c_regs *i2c_regs = mxs_i2c_get_base(adap); in mxs_i2c_set_bus_speed() 89 static void mxs_i2c_reset(struct i2c_adapter *adap) in mxs_i2c_reset() argument 91 struct mxs_i2c_regs *i2c_regs = mxs_i2c_get_base(adap); in mxs_i2c_reset() 93 int speed = mxs_i2c_get_bus_speed(adap); in mxs_i2c_reset() 108 mxs_i2c_set_bus_speed(adap, speed); in mxs_i2c_reset() [all …]
|
D | designware_i2c.c | 397 static struct i2c_regs *i2c_get_base(struct i2c_adapter *adap) in i2c_get_base() argument 399 switch (adap->hwadapnr) { in i2c_get_base() 415 printf("Wrong I2C-adapter number %d\n", adap->hwadapnr); in i2c_get_base() 421 static unsigned int dw_i2c_set_bus_speed(struct i2c_adapter *adap, in dw_i2c_set_bus_speed() argument 424 adap->speed = speed; in dw_i2c_set_bus_speed() 425 return __dw_i2c_set_bus_speed(i2c_get_base(adap), NULL, speed); in dw_i2c_set_bus_speed() 428 static void dw_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in dw_i2c_init() argument 430 __dw_i2c_init(i2c_get_base(adap), speed, slaveaddr); in dw_i2c_init() 433 static int dw_i2c_read(struct i2c_adapter *adap, u8 dev, uint addr, in dw_i2c_read() argument 436 return __dw_i2c_read(i2c_get_base(adap), dev, addr, alen, buffer, len); in dw_i2c_read() [all …]
|
D | zynq_i2c.c | 69 static struct zynq_i2c_registers *i2c_select(struct i2c_adapter *adap) in i2c_select() argument 71 return adap->hwadapnr ? in i2c_select() 79 static void zynq_i2c_init(struct i2c_adapter *adap, int requested_speed, in zynq_i2c_init() argument 82 struct zynq_i2c_registers *zynq_i2c = i2c_select(adap); in zynq_i2c_init() 159 static int zynq_i2c_probe(struct i2c_adapter *adap, u8 dev) in zynq_i2c_probe() argument 161 struct zynq_i2c_registers *zynq_i2c = i2c_select(adap); in zynq_i2c_probe() 180 static int zynq_i2c_read(struct i2c_adapter *adap, u8 dev, uint addr, in zynq_i2c_read() argument 186 struct zynq_i2c_registers *zynq_i2c = i2c_select(adap); in zynq_i2c_read() 249 static int zynq_i2c_write(struct i2c_adapter *adap, u8 dev, uint addr, in zynq_i2c_write() argument 253 struct zynq_i2c_registers *zynq_i2c = i2c_select(adap); in zynq_i2c_write() [all …]
|
D | lpc32xx_i2c.c | 227 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 …]
|
D | kona_i2c.c | 621 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 …]
|
D | davinci_i2c.c | 342 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 …]
|
D | omap24xx_i2c.c | 698 static struct i2c *omap24_get_base(struct i2c_adapter *adap) argument 700 switch (adap->hwadapnr) { 723 printf("wrong hwadapnr: %d\n", adap->hwadapnr); 730 static int omap24_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, argument 733 struct i2c *i2c_base = omap24_get_base(adap); 735 return __omap24_i2c_read(i2c_base, adap->waitdelay, chip, addr, 740 static int omap24_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, argument 743 struct i2c *i2c_base = omap24_get_base(adap); 745 return __omap24_i2c_write(i2c_base, adap->waitdelay, chip, addr, 749 static uint omap24_i2c_setspeed(struct i2c_adapter *adap, uint speed) argument [all …]
|
D | sh_i2c.c | 205 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()
|
D | fsl_i2c.c | 497 static void fsl_i2c_init(struct i2c_adapter *adap, int speed, int slaveadd) in fsl_i2c_init() argument 499 __i2c_init(i2c_base[adap->hwadapnr], speed, slaveadd, in fsl_i2c_init() 500 get_i2c_clock(adap->hwadapnr), adap->hwadapnr); in fsl_i2c_init() 503 static int fsl_i2c_probe_chip(struct i2c_adapter *adap, uchar chip) in fsl_i2c_probe_chip() argument 505 return __i2c_probe_chip(i2c_base[adap->hwadapnr], chip); in fsl_i2c_probe_chip() 508 static int fsl_i2c_read(struct i2c_adapter *adap, u8 chip_addr, uint offset, in fsl_i2c_read() argument 513 return __i2c_read(i2c_base[adap->hwadapnr], chip_addr, &o[4 - olen], in fsl_i2c_read() 517 static int fsl_i2c_write(struct i2c_adapter *adap, u8 chip_addr, uint offset, in fsl_i2c_write() argument 522 return __i2c_write(i2c_base[adap->hwadapnr], chip_addr, &o[4 - olen], in fsl_i2c_write() 526 static uint fsl_i2c_set_bus_speed(struct i2c_adapter *adap, uint speed) in fsl_i2c_set_bus_speed() argument [all …]
|
D | mvtwsi.c | 192 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() 673 static void twsi_i2c_init(struct i2c_adapter *adap, int speed, in twsi_i2c_init() argument 676 struct mvtwsi_registers *twsi = twsi_get_base(adap); in twsi_i2c_init() 680 static uint twsi_i2c_set_bus_speed(struct i2c_adapter *adap, in twsi_i2c_set_bus_speed() argument 683 struct mvtwsi_registers *twsi = twsi_get_base(adap); in twsi_i2c_set_bus_speed() 688 static int twsi_i2c_probe(struct i2c_adapter *adap, uchar chip) in twsi_i2c_probe() argument 690 struct mvtwsi_registers *twsi = twsi_get_base(adap); in twsi_i2c_probe() 694 static int twsi_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, in twsi_i2c_read() argument [all …]
|
D | ihs_i2c.c | 248 static int ihs_i2c_access(struct i2c_adapter *adap, uchar chip, u8 *addr, in ihs_i2c_access() 354 static void ihs_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in ihs_i2c_init() argument 366 static int ihs_i2c_probe(struct i2c_adapter *adap, uchar chip) in ihs_i2c_probe() argument 376 static int ihs_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, in ihs_i2c_read() argument 383 return ihs_i2c_access(adap, chip, addr_bytes, alen, buffer, len, in ihs_i2c_read() 387 static int ihs_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, in ihs_i2c_write() argument 394 return ihs_i2c_access(adap, chip, addr_bytes, alen, buffer, len, in ihs_i2c_write() 398 static unsigned int ihs_i2c_set_bus_speed(struct i2c_adapter *adap, in ihs_i2c_set_bus_speed() argument 401 if (speed != adap->speed) in ihs_i2c_set_bus_speed()
|
D | mxc_i2c.c | 630 struct mxc_i2c_bus *i2c_get_base(struct i2c_adapter *adap) in i2c_get_base() argument 632 return &mxc_i2c_buses[adap->hwadapnr]; in i2c_get_base() 635 static int mxc_i2c_read(struct i2c_adapter *adap, uint8_t chip, in mxc_i2c_read() argument 639 return bus_i2c_read(i2c_get_base(adap), chip, addr, alen, buffer, len); in mxc_i2c_read() 642 static int mxc_i2c_write(struct i2c_adapter *adap, uint8_t chip, in mxc_i2c_write() argument 646 return bus_i2c_write(i2c_get_base(adap), chip, addr, alen, buffer, len); in mxc_i2c_write() 652 static int mxc_i2c_probe(struct i2c_adapter *adap, uint8_t chip) in mxc_i2c_probe() argument 654 return bus_i2c_write(i2c_get_base(adap), chip, 0, 0, NULL, 0); in mxc_i2c_probe() 716 static void mxc_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) in mxc_i2c_init() argument 718 bus_i2c_init(adap->hwadapnr, speed, slaveaddr, NULL, NULL); in mxc_i2c_init() [all …]
|
D | i2c_core.c | 58 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()
|
D | soft_i2c.c | 284 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/ |
D | ParserDebugger.cs | 32 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/ |
D | ASTDbg.stg | 71 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/Java/ |
D | ASTDbg.stg | 66 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/CSharp2/ |
D | ASTDbg.stg | 75 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/CSharp3/ |
D | ASTDbg.stg | 79 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/ |
D | i2c.h | 577 void (*init)(struct i2c_adapter *adap, int speed, 579 int (*probe)(struct i2c_adapter *adap, uint8_t chip); 580 int (*read)(struct i2c_adapter *adap, uint8_t chip, 583 int (*write)(struct i2c_adapter *adap, uint8_t chip, 586 uint (*set_bus_speed)(struct i2c_adapter *adap,
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/ |
D | DebugGrammarParser.cs | 79 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()
|
D | ProfileGrammarParser.cs | 70 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/ |
D | CHANGES.txt | 281 proxy.setTreeAdaptor(adap);
|
/external/hyphenation-patterns/de/ |
D | hyph-de-1901.pat.txt | 761 3adap
|
D | hyph-de-ch-1901.pat.txt | 740 3adap
|