Home
last modified time | relevance | path

Searched refs:chipid (Results 1 – 9 of 9) sorted by relevance

/hardware/bsp/intel/peripheral/libmraa/api/mraa/
Dpwm.hpp53 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()
Dpwm.h65 mraa_pwm_context mraa_pwm_init_raw(int chipid, int pin);
/hardware/bsp/intel/peripheral/libmraa/src/pwm/
Dpwm.c41 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/
Dbcmdevs.h301 #define BCM4707_CHIP(chipid) (((chipid) == BCM4707_CHIP_ID) || ((chipid) == BCM53018_CHIP_ID)) argument
Dbcmutils.h804 extern char *bcm_chipname(uint chipid, char *buf, uint len);
/hardware/bsp/intel/peripheral/libmraa/include/
Dmraa_internal_types.h100 int chipid; /**< the chip id, which the pwm resides */ member
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Dbcmutils.c1794 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/
Dintel_galileo_rev_g.c124 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/
Dbeaglebone.c363 dev->chipid = -1; in mraa_beaglebone_pwm_init_replace()