Lines Matching refs:d
50 struct pxa_device_desc *d = NULL; in pxa168_add_uart() local
53 case 1: d = &pxa168_device_uart1; break; in pxa168_add_uart()
54 case 2: d = &pxa168_device_uart2; break; in pxa168_add_uart()
55 case 3: d = &pxa168_device_uart3; break; in pxa168_add_uart()
58 if (d == NULL) in pxa168_add_uart()
61 return pxa_register_device(d, NULL, 0); in pxa168_add_uart()
67 struct pxa_device_desc *d = NULL; in pxa168_add_twsi() local
71 case 0: d = &pxa168_device_twsi0; break; in pxa168_add_twsi()
72 case 1: d = &pxa168_device_twsi1; break; in pxa168_add_twsi()
81 return pxa_register_device(d, data, sizeof(*data)); in pxa168_add_twsi()
86 struct pxa_device_desc *d = NULL; in pxa168_add_pwm() local
89 case 1: d = &pxa168_device_pwm1; break; in pxa168_add_pwm()
90 case 2: d = &pxa168_device_pwm2; break; in pxa168_add_pwm()
91 case 3: d = &pxa168_device_pwm3; break; in pxa168_add_pwm()
92 case 4: d = &pxa168_device_pwm4; break; in pxa168_add_pwm()
97 return pxa_register_device(d, NULL, 0); in pxa168_add_pwm()
102 struct pxa_device_desc *d = NULL; in pxa168_add_ssp() local
105 case 1: d = &pxa168_device_ssp1; break; in pxa168_add_ssp()
106 case 2: d = &pxa168_device_ssp2; break; in pxa168_add_ssp()
107 case 3: d = &pxa168_device_ssp3; break; in pxa168_add_ssp()
108 case 4: d = &pxa168_device_ssp4; break; in pxa168_add_ssp()
109 case 5: d = &pxa168_device_ssp5; break; in pxa168_add_ssp()
113 return pxa_register_device(d, NULL, 0); in pxa168_add_ssp()