Searched defs:pwm_id (Results 1 - 6 of 6) sorted by relevance
/arch/blackfin/kernel/ |
H A D | pwm.c | 26 struct pwm_device *pwm_request(int pwm_id, const char *label) argument 31 /* XXX: pwm_id really should be unsigned */ 32 if (pwm_id < 0) 39 pwm->id = pwm_id;
|
/arch/arm/mach-vt8500/ |
H A D | pwm.c | 41 unsigned int pwm_id; member in struct:pwm_device 83 pwm_busy_wait(pwm->regbase + 0x40 + pwm->pwm_id, (1 << 1)); 84 writel(prescale, pwm->regbase + 0x4 + (pwm->pwm_id << 4)); 86 pwm_busy_wait(pwm->regbase + 0x40 + pwm->pwm_id, (1 << 2)); 87 writel(pv, pwm->regbase + 0x8 + (pwm->pwm_id << 4)); 89 pwm_busy_wait(pwm->regbase + 0x40 + pwm->pwm_id, (1 << 3)); 90 writel(dc, pwm->regbase + 0xc + (pwm->pwm_id << 4)); 98 pwm_busy_wait(pwm->regbase + 0x40 + pwm->pwm_id, (1 << 0)); 99 writel(5, pwm->regbase + (pwm->pwm_id << 4)); 106 pwm_busy_wait(pwm->regbase + 0x40 + pwm->pwm_id, ( 111 pwm_request(int pwm_id, const char *label) argument [all...] |
/arch/unicore32/kernel/ |
H A D | pwm.c | 35 unsigned int pwm_id; member in struct:pwm_device 106 struct pwm_device *pwm_request(int pwm_id, const char *label) argument 114 if (pwm->pwm_id == pwm_id) { 156 unsigned int pwm_id, struct pwm_device *parent_pwm) 176 pwm->pwm_id = pwm_id; 155 pwm_probe(struct platform_device *pdev, unsigned int pwm_id, struct pwm_device *parent_pwm) argument
|
/arch/arm/plat-mxc/ |
H A D | pwm.c | 55 unsigned int pwm_id; member in struct:pwm_device 157 struct pwm_device *pwm_request(int pwm_id, const char *label) argument 165 if (pwm->pwm_id == pwm_id) { 221 pwm->pwm_id = pdev->id;
|
/arch/arm/plat-pxa/ |
H A D | pwm.c | 57 unsigned int pwm_id; member in struct:pwm_device 128 struct pwm_device *pwm_request(int pwm_id, const char *label) argument 136 if (pwm->pwm_id == pwm_id) { 198 pwm->pwm_id = PWM_ID_BASE(id->driver_data) + pdev->id; 234 secondary->pwm_id = pdev->id + 2;
|
/arch/arm/plat-samsung/ |
H A D | pwm.c | 41 unsigned char pwm_id; member in struct:pwm_device 56 struct pwm_device *pwm_request(int pwm_id, const char *label) argument 64 if (pwm->pwm_id == pwm_id) { 94 printk(KERN_ERR "PWM%d device already freed\n", pwm->pwm_id); 188 tcmp = __raw_readl(S3C2410_TCMPB(pwm->pwm_id)); 189 tcnt = __raw_readl(S3C2410_TCNTB(pwm->pwm_id)); 232 __raw_writel(tcmp, S3C2410_TCMPB(pwm->pwm_id)); 233 __raw_writel(tcnt, S3C2410_TCNTB(pwm->pwm_id)); 283 pwm->pwm_id [all...] |
Completed in 654 milliseconds