Searched refs:chipid (Results 1 – 9 of 9) sorted by relevance
/hardware/bsp/intel/peripheral/libmraa/api/mraa/ |
D | pwm.hpp | 53 Pwm(int pin, bool owner = true, int chipid = -1) in Pwm() argument 55 if (chipid == -1) { in Pwm() 58 m_pwm = mraa_pwm_init_raw(chipid, pin); in Pwm()
|
D | pwm.h | 65 mraa_pwm_context mraa_pwm_init_raw(int chipid, int pin);
|
/hardware/bsp/intel/peripheral/libmraa/src/pwm/ |
D | pwm.c | 41 snprintf(bu, MAX_SIZE, "/sys/class/pwm/pwmchip%d/pwm%d/duty_cycle", dev->chipid, dev->pin); in mraa_pwm_setup_duty_fp() 61 snprintf(bu, MAX_SIZE, "/sys/class/pwm/pwmchip%d/pwm%d/period", dev->chipid, dev->pin); in mraa_pwm_write_period() 100 snprintf(bu, MAX_SIZE, "/sys/class/pwm/pwmchip%d/pwm%d/period", dev->chipid, dev->pin); in mraa_pwm_read_period() 170 dev->chipid = chipin; in mraa_pwm_init_internal() 254 snprintf(directory, MAX_SIZE, SYSFS_PWM "/pwmchip%d/pwm%d", dev->chipid, dev->pin); in mraa_pwm_init_raw() 261 snprintf(buffer, MAX_SIZE, "/sys/class/pwm/pwmchip%d/export", dev->chipid); in mraa_pwm_init_raw() 360 snprintf(bu, MAX_SIZE, "/sys/class/pwm/pwmchip%d/pwm%d/enable", dev->chipid, dev->pin); in mraa_pwm_enable() 383 snprintf(filepath, MAX_SIZE, "/sys/class/pwm/pwmchip%d/unexport", dev->chipid); in mraa_pwm_unexport_force()
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | bcmdevs.h | 301 #define BCM4707_CHIP(chipid) (((chipid) == BCM4707_CHIP_ID) || ((chipid) == BCM53018_CHIP_ID)) argument
|
D | bcmutils.h | 804 extern char *bcm_chipname(uint chipid, char *buf, uint len);
|
/hardware/bsp/intel/peripheral/libmraa/include/ |
D | mraa_internal_types.h | 100 int chipid; /**< the chip id, which the pwm resides */ member
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/ |
D | bcmutils.c | 1794 bcm_chipname(uint chipid, char *buf, uint len) in bcm_chipname() argument 1798 fmt = ((chipid > 0xa000) || (chipid < 0x4000)) ? "%d" : "%x"; in bcm_chipname() 1799 snprintf(buf, len, fmt, chipid); in bcm_chipname()
|
/hardware/bsp/intel/peripheral/libmraa/src/x86/ |
D | intel_galileo_rev_g.c | 124 snprintf(bu, MAX_SIZE, "/sys/class/pwm/pwmchip%d/device/pwm_period", dev->chipid); in mraa_intel_galileo_gen2_pwm_period_replace()
|
/hardware/bsp/intel/peripheral/libmraa/src/arm/ |
D | beaglebone.c | 363 dev->chipid = -1; in mraa_beaglebone_pwm_init_replace()
|