Lines Matching refs:d
49 struct pxa_device_desc *d = NULL; in pxa168_add_uart() local
52 case 1: d = &pxa168_device_uart1; break; in pxa168_add_uart()
53 case 2: d = &pxa168_device_uart2; break; in pxa168_add_uart()
54 case 3: d = &pxa168_device_uart3; break; in pxa168_add_uart()
57 if (d == NULL) in pxa168_add_uart()
60 return pxa_register_device(d, NULL, 0); in pxa168_add_uart()
66 struct pxa_device_desc *d = NULL; in pxa168_add_twsi() local
70 case 0: d = &pxa168_device_twsi0; break; in pxa168_add_twsi()
71 case 1: d = &pxa168_device_twsi1; break; in pxa168_add_twsi()
80 return pxa_register_device(d, data, sizeof(*data)); in pxa168_add_twsi()
85 struct pxa_device_desc *d = NULL; in pxa168_add_pwm() local
88 case 1: d = &pxa168_device_pwm1; break; in pxa168_add_pwm()
89 case 2: d = &pxa168_device_pwm2; break; in pxa168_add_pwm()
90 case 3: d = &pxa168_device_pwm3; break; in pxa168_add_pwm()
91 case 4: d = &pxa168_device_pwm4; break; in pxa168_add_pwm()
96 return pxa_register_device(d, NULL, 0); in pxa168_add_pwm()
101 struct pxa_device_desc *d = NULL; in pxa168_add_ssp() local
104 case 1: d = &pxa168_device_ssp1; break; in pxa168_add_ssp()
105 case 2: d = &pxa168_device_ssp2; break; in pxa168_add_ssp()
106 case 3: d = &pxa168_device_ssp3; break; in pxa168_add_ssp()
107 case 4: d = &pxa168_device_ssp4; break; in pxa168_add_ssp()
108 case 5: d = &pxa168_device_ssp5; break; in pxa168_add_ssp()
112 return pxa_register_device(d, NULL, 0); in pxa168_add_ssp()