Lines Matching refs:d
34 struct pxa_device_desc *d = NULL; in pxa910_add_uart() local
37 case 1: d = &pxa910_device_uart1; break; in pxa910_add_uart()
38 case 2: d = &pxa910_device_uart2; break; in pxa910_add_uart()
41 if (d == NULL) in pxa910_add_uart()
44 return pxa_register_device(d, NULL, 0); in pxa910_add_uart()
50 struct pxa_device_desc *d = NULL; in pxa910_add_twsi() local
54 case 0: d = &pxa910_device_twsi0; break; in pxa910_add_twsi()
55 case 1: d = &pxa910_device_twsi1; break; in pxa910_add_twsi()
64 return pxa_register_device(d, data, sizeof(*data)); in pxa910_add_twsi()
69 struct pxa_device_desc *d = NULL; in pxa910_add_pwm() local
72 case 1: d = &pxa910_device_pwm1; break; in pxa910_add_pwm()
73 case 2: d = &pxa910_device_pwm2; break; in pxa910_add_pwm()
74 case 3: d = &pxa910_device_pwm3; break; in pxa910_add_pwm()
75 case 4: d = &pxa910_device_pwm4; break; in pxa910_add_pwm()
80 return pxa_register_device(d, NULL, 0); in pxa910_add_pwm()