Searched refs:duty_fp (Results 1 – 3 of 3) sorted by relevance
/hardware/bsp/intel/peripheral/libmraa/src/pwm/ |
D | pwm.c | 43 dev->duty_fp = open(bu, O_RDWR); in mraa_pwm_setup_duty_fp() 44 if (dev->duty_fp == -1) { in mraa_pwm_setup_duty_fp() 83 if (dev->duty_fp == -1) { in mraa_pwm_write_duty() 90 if (write(dev->duty_fp, bu, length * sizeof(char)) == -1) in mraa_pwm_write_duty() 134 if (dev->duty_fp == -1) { in mraa_pwm_read_duty() 139 lseek(dev->duty_fp, 0, SEEK_SET); in mraa_pwm_read_duty() 141 off_t size = lseek(dev->duty_fp, 0, SEEK_END); in mraa_pwm_read_duty() 142 lseek(dev->duty_fp, 0, SEEK_SET); in mraa_pwm_read_duty() 144 ssize_t rb = read(dev->duty_fp, output, size + 1); in mraa_pwm_read_duty() 169 dev->duty_fp = -1; in mraa_pwm_init_internal()
|
/hardware/bsp/intel/peripheral/libmraa/include/ |
D | mraa_internal_types.h | 101 int duty_fp; /**< File pointer to duty file */ member
|
/hardware/bsp/intel/peripheral/libmraa/src/arm/ |
D | beaglebone.c | 362 dev->duty_fp = -1; in mraa_beaglebone_pwm_init_replace()
|