/external/u-boot/drivers/i2c/ |
mxs_i2c.c | 26 static struct mxs_i2c_regs *mxs_i2c_get_base(struct i2c_adapter *adap) 28 if (adap->hwadapnr == 0) 34 static unsigned int mxs_i2c_get_bus_speed(struct i2c_adapter *adap) 36 struct mxs_i2c_regs *i2c_regs = mxs_i2c_get_base(adap); 48 static uint mxs_i2c_set_bus_speed(struct i2c_adapter *adap, uint speed) 50 struct mxs_i2c_regs *i2c_regs = mxs_i2c_get_base(adap); 89 static void mxs_i2c_reset(struct i2c_adapter *adap) 91 struct mxs_i2c_regs *i2c_regs = mxs_i2c_get_base(adap); 93 int speed = mxs_i2c_get_bus_speed(adap); 108 mxs_i2c_set_bus_speed(adap, speed) [all...] |
zynq_i2c.c | 69 static struct zynq_i2c_registers *i2c_select(struct i2c_adapter *adap) 71 return adap->hwadapnr ? 79 static void zynq_i2c_init(struct i2c_adapter *adap, int requested_speed, 82 struct zynq_i2c_registers *zynq_i2c = i2c_select(adap); 159 static int zynq_i2c_probe(struct i2c_adapter *adap, u8 dev) 161 struct zynq_i2c_registers *zynq_i2c = i2c_select(adap); 180 static int zynq_i2c_read(struct i2c_adapter *adap, u8 dev, uint addr, 186 struct zynq_i2c_registers *zynq_i2c = i2c_select(adap); 249 static int zynq_i2c_write(struct i2c_adapter *adap, u8 dev, uint addr, 253 struct zynq_i2c_registers *zynq_i2c = i2c_select(adap); [all...] |
sh_i2c.c | 205 sh_i2c_init(struct i2c_adapter *adap, int speed, int slaveadd) 239 static int sh_i2c_read(struct i2c_adapter *adap, uint8_t chip, 243 struct sh_i2c *dev = (struct sh_i2c *)i2c_dev[adap->hwadapnr]; 257 static int sh_i2c_write(struct i2c_adapter *adap, uint8_t chip, uint addr, 260 struct sh_i2c *dev = (struct sh_i2c *)i2c_dev[adap->hwadapnr]; 272 sh_i2c_probe(struct i2c_adapter *adap, u8 dev) 276 return sh_i2c_read(adap, dev, 0, 0, dummy, sizeof dummy); 279 static unsigned int sh_i2c_set_bus_speed(struct i2c_adapter *adap, 282 struct sh_i2c *dev = (struct sh_i2c *)i2c_dev[adap->hwadapnr]; 285 sh_i2c_init(adap, speed, 0) [all...] |
designware_i2c.c | 397 static struct i2c_regs *i2c_get_base(struct i2c_adapter *adap) 399 switch (adap->hwadapnr) { 415 printf("Wrong I2C-adapter number %d\n", adap->hwadapnr); 421 static unsigned int dw_i2c_set_bus_speed(struct i2c_adapter *adap, 424 adap->speed = speed; 425 return __dw_i2c_set_bus_speed(i2c_get_base(adap), NULL, speed); 428 static void dw_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) 430 __dw_i2c_init(i2c_get_base(adap), speed, slaveaddr); 433 static int dw_i2c_read(struct i2c_adapter *adap, u8 dev, uint addr, 436 return __dw_i2c_read(i2c_get_base(adap), dev, addr, alen, buffer, len) [all...] |
lpc32xx_i2c.c | 227 static void lpc32xx_i2c_init(struct i2c_adapter *adap, 230 __i2c_init(lpc32xx_i2c[adap->hwadapnr], requested_speed, slaveadd, 231 adap->hwadapnr); 234 static int lpc32xx_i2c_probe_chip(struct i2c_adapter *adap, u8 dev) 236 return __i2c_probe_chip(lpc32xx_i2c[adap->hwadapnr], dev); 239 static int lpc32xx_i2c_read(struct i2c_adapter *adap, u8 dev, uint addr, 242 return __i2c_read(lpc32xx_i2c[adap->hwadapnr], dev, addr, 246 static int lpc32xx_i2c_write(struct i2c_adapter *adap, u8 dev, uint addr, 249 return __i2c_write(lpc32xx_i2c[adap->hwadapnr], dev, addr, 253 static unsigned int lpc32xx_i2c_set_bus_speed(struct i2c_adapter *adap, [all...] |
davinci_i2c.c | 342 static struct i2c_regs *davinci_get_base(struct i2c_adapter *adap) 344 switch (adap->hwadapnr) { 357 printf("wrong hwadapnr: %d\n", adap->hwadapnr); 363 static uint davinci_i2c_setspeed(struct i2c_adapter *adap, uint speed) 365 struct i2c_regs *i2c_base = davinci_get_base(adap); 368 adap->speed = speed; 374 static void davinci_i2c_init(struct i2c_adapter *adap, int speed, 377 struct i2c_regs *i2c_base = davinci_get_base(adap); 379 adap->speed = speed; 385 static int davinci_i2c_read(struct i2c_adapter *adap, uint8_t chip [all...] |
omap24xx_i2c.c | 698 static struct i2c *omap24_get_base(struct i2c_adapter *adap) 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, 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, 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 [all...] |
kona_i2c.c | 621 struct bcm_kona_i2c_dev *kona_get_dev(struct i2c_adapter *adap) 623 return &g_i2c_devs[adap->hwadapnr]; 626 static void kona_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) 628 struct bcm_kona_i2c_dev *dev = kona_get_dev(adap); 636 static int kona_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, 642 struct bcm_kona_i2c_dev *dev = kona_get_dev(adap); 658 kona_i2c_init(adap, adap->speed, adap->slaveaddr); 665 static int kona_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr [all...] |
fsl_i2c.c | 497 static void fsl_i2c_init(struct i2c_adapter *adap, int speed, int slaveadd) 499 __i2c_init(i2c_base[adap->hwadapnr], speed, slaveadd, 500 get_i2c_clock(adap->hwadapnr), adap->hwadapnr); 503 static int fsl_i2c_probe_chip(struct i2c_adapter *adap, uchar chip) 505 return __i2c_probe_chip(i2c_base[adap->hwadapnr], chip); 508 static int fsl_i2c_read(struct i2c_adapter *adap, u8 chip_addr, uint offset, 513 return __i2c_read(i2c_base[adap->hwadapnr], chip_addr, &o[4 - olen], 517 static int fsl_i2c_write(struct i2c_adapter *adap, u8 chip_addr, uint offset, 522 return __i2c_write(i2c_base[adap->hwadapnr], chip_addr, &o[4 - olen] [all...] |
mvtwsi.c | 189 * @adap: Adapter to get the register base for. 192 static struct mvtwsi_registers *twsi_get_base(struct i2c_adapter *adap) 194 switch (adap->hwadapnr) { 220 printf("Missing mvtwsi controller %d base\n", adap->hwadapnr); 673 static void twsi_i2c_init(struct i2c_adapter *adap, int speed, 676 struct mvtwsi_registers *twsi = twsi_get_base(adap); 680 static uint twsi_i2c_set_bus_speed(struct i2c_adapter *adap, 683 struct mvtwsi_registers *twsi = twsi_get_base(adap); 688 static int twsi_i2c_probe(struct i2c_adapter *adap, uchar chip) 690 struct mvtwsi_registers *twsi = twsi_get_base(adap); [all...] |
ihs_i2c.c | 248 static int ihs_i2c_access(struct i2c_adapter *adap, uchar chip, u8 *addr, 354 static void ihs_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) 366 static int ihs_i2c_probe(struct i2c_adapter *adap, uchar chip) 376 static int ihs_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, 383 return ihs_i2c_access(adap, chip, addr_bytes, alen, buffer, len, 387 static int ihs_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr, 394 return ihs_i2c_access(adap, chip, addr_bytes, alen, buffer, len, 398 static unsigned int ihs_i2c_set_bus_speed(struct i2c_adapter *adap, 401 if (speed != adap->speed)
|
i2c_core.c | 58 static int i2c_mux_set(struct i2c_adapter *adap, int mux_id, int chip, 67 ret = adap->write(adap, chip, 0, 0, &buf, 1); 100 ret = adap->write(adap, chip, 0, 0, &buf, 1);
|
soft_i2c.c | 284 static void soft_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) 307 static int soft_i2c_probe(struct i2c_adapter *adap, uint8_t addr) 325 static int soft_i2c_read(struct i2c_adapter *adap, uchar chip, uint addr, 400 static int soft_i2c_write(struct i2c_adapter *adap, uchar chip, uint addr,
|
mxc_i2c.c | 630 struct mxc_i2c_bus *i2c_get_base(struct i2c_adapter *adap) 632 return &mxc_i2c_buses[adap->hwadapnr]; 635 static int mxc_i2c_read(struct i2c_adapter *adap, uint8_t chip, 639 return bus_i2c_read(i2c_get_base(adap), chip, addr, alen, buffer, len); 642 static int mxc_i2c_write(struct i2c_adapter *adap, uint8_t chip, 646 return bus_i2c_write(i2c_get_base(adap), chip, addr, alen, buffer, len); 652 static int mxc_i2c_probe(struct i2c_adapter *adap, uint8_t chip) 654 return bus_i2c_write(i2c_get_base(adap), chip, 0, 0, NULL, 0); 716 static void mxc_i2c_init(struct i2c_adapter *adap, int speed, int slaveaddr) 718 bus_i2c_init(adap->hwadapnr, speed, slaveaddr, NULL, NULL) [all...] |
/external/antlr/tool/src/main/resources/org/antlr/codegen/templates/CSharp2/ |
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/ |
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/antlr/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
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/ObjC/ |
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>
|
/development/samples/MySampleRss/src/com/example/codelab/rssexample/ |
MyRssReader2.java | 56 RssDataAdapter<RssItem> adap = new RssDataAdapter<RssItem>(this, R.layout.add_item, mFeeds); local 57 if(adap == null){ 63 mRssList.setAdapter(adap);
|
/external/u-boot/include/ |
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,
|
/development/samples/training/multiscreen/newsreader/src/com/example/android/newsreader/ |
NewsReaderActivity.java | 152 SpinnerAdapter adap = new ArrayAdapter<String>(this, R.layout.actionbar_list_item, local 154 actionBar.setListNavigationCallbacks(adap, handler);
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/BuildOptions/ |
DebugGrammarParser.cs | 79 ITreeAdaptor adap = new CommonTreeAdaptor(); 80 TreeAdaptor = adap; 81 proxy.TreeAdaptor = adap; 90 ITreeAdaptor adap = new CommonTreeAdaptor(); 91 TreeAdaptor = adap; [all...] |
ProfileGrammarParser.cs | 70 ITreeAdaptor adap = new CommonTreeAdaptor(); 71 TreeAdaptor = adap; 72 proxy.TreeAdaptor = adap; 83 ITreeAdaptor adap = new CommonTreeAdaptor(); 84 TreeAdaptor = adap; [all...] |
/bionic/benchmarks/ |
expf_input.cpp | 191 0x1.996adap+2, [all...] |
powf_input.cpp | [all...] |