/hardware/intel/img/psb_video/src/ |
D | tng_enc_trace.h | 59 #define CONFIG_CMD(bus,device_fn,where) \ argument 60 (0x80000000|((bus&0xff) << 16)|((device_fn&0xff) << 8)|((where&0xff) & ~3)) 62 static inline unsigned long pci_get_long(int bus,int device_fn, int where) in pci_get_long() argument 64 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pci_get_long() 68 static inline int pci_set_long(int bus,int device_fn, int where,unsigned long value) in pci_set_long() argument 70 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pci_set_long() 75 static inline int pci_get_short(int bus,int device_fn, int where) in pci_get_short() argument 77 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pci_get_short() 82 static inline int pci_set_short(int bus,int device_fn, int where,unsigned short value) in pci_set_short() argument 84 outl(CONFIG_CMD(bus,device_fn,where), 0xCF8); in pci_set_short()
|
/hardware/bsp/intel/peripheral/libmraa/examples/ |
D | mraa-i2c.c | 64 int i, bus; in print_bus() local 76 bus = i; in print_bus() 81 bus = mraa_get_sub_platform_id(i); in print_bus() 88 fprintf(stdout, "Bus %3d: id=%02d type=%s ", bus, id, busType); in print_bus() 107 i2c_get(int bus, uint8_t device_address, uint8_t register_address, uint8_t* data) in i2c_get() argument 110 mraa_i2c_context i2c = mraa_i2c_init(bus); in i2c_get() 132 i2c_set(int bus, uint8_t device_address, uint8_t register_address, uint8_t data) in i2c_set() argument 135 mraa_i2c_context i2c = mraa_i2c_init(bus); in i2c_set() 155 i2c_detect_devices(int bus) in i2c_detect_devices() argument 158 mraa_i2c_context i2c = mraa_i2c_init(bus); in i2c_detect_devices() [all …]
|
/hardware/bsp/intel/peripheral/libmraa/src/i2c/ |
D | i2c.c | 72 mraa_i2c_init_internal(mraa_adv_func_t* advance_func, unsigned int bus) in mraa_i2c_init_internal() argument 86 dev->busnum = bus; in mraa_i2c_init_internal() 89 status = advance_func->i2c_init_pre(bus); in mraa_i2c_init_internal() 100 snprintf(filepath, 32, "/dev/i2c-%u", bus); in mraa_i2c_init_internal() 132 mraa_i2c_init(int bus) in mraa_i2c_init() argument 140 if (mraa_is_sub_platform_id(bus)) { in mraa_i2c_init() 147 bus = mraa_get_sub_platform_index(bus); in mraa_i2c_init() 149 syslog(LOG_NOTICE, "i2c: Selected bus %d", bus); in mraa_i2c_init() 155 if (bus >= board->i2c_bus_count) { in mraa_i2c_init() 160 if (board->i2c_bus[bus].bus_id == -1) { in mraa_i2c_init() [all …]
|
/hardware/bsp/intel/peripheral/libmraa/src/spi/ |
D | spi.c | 53 mraa_spi_init(int bus) in mraa_spi_init() argument 59 if (mraa_is_sub_platform_id(bus)) { in mraa_spi_init() 68 bus = plat->def_spi_bus; in mraa_spi_init() 70 if (bus >= plat->spi_bus_count) { in mraa_spi_init() 75 if (plat->adv_func->spi_init_pre(bus) != MRAA_SUCCESS) { in mraa_spi_init() 81 int pos = plat->spi_bus[bus].sclk; in mraa_spi_init() 89 pos = plat->spi_bus[bus].mosi; in mraa_spi_init() 97 pos = plat->spi_bus[bus].miso; in mraa_spi_init() 105 pos = plat->spi_bus[bus].cs; in mraa_spi_init() 113 mraa_spi_context dev = mraa_spi_init_raw(plat->spi_bus[bus].bus_id, plat->spi_bus[bus].slave_s); in mraa_spi_init() [all …]
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | bcmdefs.h | 101 #define BUSTYPE(bus) (BCMBUSTYPE) argument 103 #define BUSTYPE(bus) (bus) argument 108 #define CHIPTYPE(bus) (BCMCHIPTYPE) argument 110 #define CHIPTYPE(bus) (bus) argument
|
/hardware/bsp/intel/peripheral/libmraa/src/usb/ |
D | ftdi_ft4222.c | 260 mraa_ftdi_ft4222_i2c_select_bus(int bus) in mraa_ftdi_ft4222_i2c_select_bus() argument 262 if (bus != currentI2cBus) { in mraa_ftdi_ft4222_i2c_select_bus() 264 if (bus == 0) in mraa_ftdi_ft4222_i2c_select_bus() 267 data = 1 << (bus-1); in mraa_ftdi_ft4222_i2c_select_bus() 269 currentI2cBus = bus; in mraa_ftdi_ft4222_i2c_select_bus() 684 int bus = 0; in mraa_ftdi_ft4222() local 686 sub_plat->def_i2c_bus = bus; in mraa_ftdi_ft4222() 687 sub_plat->i2c_bus[bus].bus_id = bus; in mraa_ftdi_ft4222() 696 sub_plat->i2c_bus[bus].scl = pinIndex; in mraa_ftdi_ft4222() 703 sub_plat->i2c_bus[bus].sda = pinIndex; in mraa_ftdi_ft4222() [all …]
|
/hardware/bsp/intel/peripheral/libupm/docs/ |
D | knownlimitations.md | 34 * **Grove I2C ADC Converter** does not show up on the I2C bus on the Intel 37 the inability to change the I2C bus speed to 100 KHz. 45 * **Adafruit Motor Shield** (1438) is not detected on the I2C bus when 51 Edison SPI bus limitation. Sensor works as expected with the Intel Galileo 54 on Intel Edison boards also due to SPI bus limitation and data corruption. 61 other sensors connected to the I2C bus are unusable. While there is no generic 66 The Intel Edison *SPI* bus can corrupt data being sent across when certain 68 slightly or make the sensor entirely unusable. Unlike the I2C bus limitation, 72 On the Intel Galileo boards, the *UART* bus might drop data if several bytes
|
/hardware/bsp/intel/peripheral/libupm/src/mpu9150/ |
D | mpu9150.cxx | 34 MPU9150::MPU9150 (int bus, int address, int magAddress, bool enableAk8975) : in MPU9150() argument 35 m_mag(0), MPU60X0(bus, address) in MPU9150() 38 m_i2cBus = bus; in MPU9150()
|
D | mpu9250.cxx | 34 MPU9250::MPU9250 (int bus, int address, int magAddress) : in MPU9250() argument 35 MPU9150(bus, address, magAddress) in MPU9250()
|
/hardware/bsp/intel/peripheral/libupm/src/mlx90614/ |
D | mlx90614.cxx | 34 MLX90614::MLX90614 (int bus, int devAddr) : m_i2Ctx(bus) { in MLX90614() argument 38 m_bus = bus; in MLX90614()
|
/hardware/bsp/intel/peripheral/libmraa/api/mraa/ |
D | i2c.hpp | 54 I2c(int bus, bool raw = false) in I2c() argument 57 m_i2c = mraa_i2c_init_raw(bus); in I2c() 59 m_i2c = mraa_i2c_init(bus); in I2c()
|
D | spi.h | 75 mraa_spi_context mraa_spi_init(int bus); 84 mraa_spi_context mraa_spi_init_raw(unsigned int bus, unsigned int cs);
|
D | i2c.h | 61 mraa_i2c_context mraa_i2c_init(int bus); 69 mraa_i2c_context mraa_i2c_init_raw(unsigned int bus);
|
/hardware/bsp/intel/peripheral/libupm/src/max44000/ |
D | max44000.cxx | 35 MAX44000::MAX44000 (int bus, int devAddr) : m_i2cMaxControlCtx(bus) { in MAX44000() argument 39 m_bus = bus; in MAX44000()
|
/hardware/bsp/intel/peripheral/libmraa/docs/ |
D | minnow_max.md | 19 bus and no other. 28 Documentation shows i2c on bus #5, ACPI shows it on bus #6, but driver uses 29 bus #7.
|
D | i2c.txt | 3 on that bus. Multiple instances of the same bus can exist.
|
/hardware/bsp/intel/peripheral/libupm/src/maxds3231m/ |
D | maxds3231m.cxx | 34 MAXDS3231M::MAXDS3231M (int bus, int devAddr) : m_i2Ctx(bus) { in MAXDS3231M() argument 38 m_bus = bus; in MAXDS3231M()
|
/hardware/bsp/intel/peripheral/libupm/src/lcd/ |
D | jhd1313m1.cxx | 37 Jhd1313m1::Jhd1313m1(int bus, int lcdAddress, int rgbAddress) in Jhd1313m1() argument 38 : m_i2c_lcd_rgb(bus), Lcm1602(bus, lcdAddress, false) in Jhd1313m1()
|
/hardware/bsp/intel/peripheral/libupm/src/max31855/ |
D | max31855.cxx | 38 MAX31855::MAX31855(int bus, int cs) in MAX31855() argument 50 m_sensor = mraa_spi_init(bus); in MAX31855()
|
/hardware/bsp/intel/peripheral/sensors/mraa/sensors/ |
D | LSM303dOrientation.cpp | 50 int bus, int address) in LSM303dOrientation() argument 51 : LSM303d(bus, address), pollFd(pollFd) { in LSM303dOrientation()
|
D | LSM303dAccelerometer.cpp | 50 int bus, int address, int scale) in LSM303dAccelerometer() argument 51 : LSM303d(bus, address, scale), pollFd(pollFd), scale(scale) { in LSM303dAccelerometer()
|
D | LSM9DS0Accelerometer.cpp | 53 int bus, uint8_t gAddress, uint8_t xmAddress) in LSM9DS0Accelerometer() argument 54 : LSM9DS0 (bus, gAddress, xmAddress), pollFd(pollFd) { in LSM9DS0Accelerometer()
|
D | MPU9150Accelerometer.cpp | 52 MPU9150Accelerometer::MPU9150Accelerometer(int pollFd, int bus, int address, in MPU9150Accelerometer() argument 54 : MPU9150(bus, address, magAddress, enableAk8975), pollFd(pollFd) { in MPU9150Accelerometer()
|
/hardware/bsp/intel/peripheral/libupm/src/th02/ |
D | th02.cxx | 38 TH02::TH02 (int bus, uint8_t addr) : m_i2c(bus) { in TH02() argument
|
/hardware/bsp/intel/peripheral/libupm/src/micsv89/ |
D | micsv89.cxx | 29 MICSV89::MICSV89 (int bus, uint8_t address) { in MICSV89() argument 33 i2c = new mraa::I2c(bus); in MICSV89()
|