Lines Matching full:static

117 static const struct pinctrl_pin_desc zynq_pins[] = {
179 static const unsigned int ethernet0_0_pins[] = {16, 17, 18, 19, 20, 21, 22, 23,
181 static const unsigned int ethernet1_0_pins[] = {28, 29, 30, 31, 32, 33, 34, 35,
183 static const unsigned int mdio0_0_pins[] = {52, 53};
184 static const unsigned int mdio1_0_pins[] = {52, 53};
185 static const unsigned int qspi0_0_pins[] = {1, 2, 3, 4, 5, 6};
187 static const unsigned int qspi1_0_pins[] = {9, 10, 11, 12, 13};
188 static const unsigned int qspi_cs1_pins[] = {0};
189 static const unsigned int qspi_fbclk_pins[] = {8};
190 static const unsigned int spi0_0_pins[] = {16, 17, 21};
191 static const unsigned int spi0_0_ss0_pins[] = {18};
192 static const unsigned int spi0_0_ss1_pins[] = {19};
193 static const unsigned int spi0_0_ss2_pins[] = {20,};
194 static const unsigned int spi0_1_pins[] = {28, 29, 33};
195 static const unsigned int spi0_1_ss0_pins[] = {30};
196 static const unsigned int spi0_1_ss1_pins[] = {31};
197 static const unsigned int spi0_1_ss2_pins[] = {32};
198 static const unsigned int spi0_2_pins[] = {40, 41, 45};
199 static const unsigned int spi0_2_ss0_pins[] = {42};
200 static const unsigned int spi0_2_ss1_pins[] = {43};
201 static const unsigned int spi0_2_ss2_pins[] = {44};
202 static const unsigned int spi1_0_pins[] = {10, 11, 12};
203 static const unsigned int spi1_0_ss0_pins[] = {13};
204 static const unsigned int spi1_0_ss1_pins[] = {14};
205 static const unsigned int spi1_0_ss2_pins[] = {15};
206 static const unsigned int spi1_1_pins[] = {22, 23, 24};
207 static const unsigned int spi1_1_ss0_pins[] = {25};
208 static const unsigned int spi1_1_ss1_pins[] = {26};
209 static const unsigned int spi1_1_ss2_pins[] = {27};
210 static const unsigned int spi1_2_pins[] = {34, 35, 36};
211 static const unsigned int spi1_2_ss0_pins[] = {37};
212 static const unsigned int spi1_2_ss1_pins[] = {38};
213 static const unsigned int spi1_2_ss2_pins[] = {39};
214 static const unsigned int spi1_3_pins[] = {46, 47, 48, 49};
215 static const unsigned int spi1_3_ss0_pins[] = {49};
216 static const unsigned int spi1_3_ss1_pins[] = {50};
217 static const unsigned int spi1_3_ss2_pins[] = {51};
219 static const unsigned int sdio0_0_pins[] = {16, 17, 18, 19, 20, 21};
220 static const unsigned int sdio0_1_pins[] = {28, 29, 30, 31, 32, 33};
221 static const unsigned int sdio0_2_pins[] = {40, 41, 42, 43, 44, 45};
222 static const unsigned int sdio1_0_pins[] = {10, 11, 12, 13, 14, 15};
223 static const unsigned int sdio1_1_pins[] = {22, 23, 24, 25, 26, 27};
224 static const unsigned int sdio1_2_pins[] = {34, 35, 36, 37, 38, 39};
225 static const unsigned int sdio1_3_pins[] = {46, 47, 48, 49, 50, 51};
226 static const unsigned int sdio0_emio_wp_pins[] = {54};
227 static const unsigned int sdio0_emio_cd_pins[] = {55};
228 static const unsigned int sdio1_emio_wp_pins[] = {56};
229 static const unsigned int sdio1_emio_cd_pins[] = {57};
230 static const unsigned int smc0_nor_pins[] = {0, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13,
234 static const unsigned int smc0_nor_cs1_pins[] = {1};
235 static const unsigned int smc0_nor_addr25_pins[] = {1};
236 static const unsigned int smc0_nand_pins[] = {0, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11,
239 static const unsigned int smc0_nand8_pins[] = {0, 2, 3, 4, 5, 6, 7,
242 static const unsigned int can0_0_pins[] = {10, 11};
243 static const unsigned int can0_1_pins[] = {14, 15};
244 static const unsigned int can0_2_pins[] = {18, 19};
245 static const unsigned int can0_3_pins[] = {22, 23};
246 static const unsigned int can0_4_pins[] = {26, 27};
247 static const unsigned int can0_5_pins[] = {30, 31};
248 static const unsigned int can0_6_pins[] = {34, 35};
249 static const unsigned int can0_7_pins[] = {38, 39};
250 static const unsigned int can0_8_pins[] = {42, 43};
251 static const unsigned int can0_9_pins[] = {46, 47};
252 static const unsigned int can0_10_pins[] = {50, 51};
253 static const unsigned int can1_0_pins[] = {8, 9};
254 static const unsigned int can1_1_pins[] = {12, 13};
255 static const unsigned int can1_2_pins[] = {16, 17};
256 static const unsigned int can1_3_pins[] = {20, 21};
257 static const unsigned int can1_4_pins[] = {24, 25};
258 static const unsigned int can1_5_pins[] = {28, 29};
259 static const unsigned int can1_6_pins[] = {32, 33};
260 static const unsigned int can1_7_pins[] = {36, 37};
261 static const unsigned int can1_8_pins[] = {40, 41};
262 static const unsigned int can1_9_pins[] = {44, 45};
263 static const unsigned int can1_10_pins[] = {48, 49};
264 static const unsigned int can1_11_pins[] = {52, 53};
265 static const unsigned int uart0_0_pins[] = {10, 11};
266 static const unsigned int uart0_1_pins[] = {14, 15};
267 static const unsigned int uart0_2_pins[] = {18, 19};
268 static const unsigned int uart0_3_pins[] = {22, 23};
269 static const unsigned int uart0_4_pins[] = {26, 27};
270 static const unsigned int uart0_5_pins[] = {30, 31};
271 static const unsigned int uart0_6_pins[] = {34, 35};
272 static const unsigned int uart0_7_pins[] = {38, 39};
273 static const unsigned int uart0_8_pins[] = {42, 43};
274 static const unsigned int uart0_9_pins[] = {46, 47};
275 static const unsigned int uart0_10_pins[] = {50, 51};
276 static const unsigned int uart1_0_pins[] = {8, 9};
277 static const unsigned int uart1_1_pins[] = {12, 13};
278 static const unsigned int uart1_2_pins[] = {16, 17};
279 static const unsigned int uart1_3_pins[] = {20, 21};
280 static const unsigned int uart1_4_pins[] = {24, 25};
281 static const unsigned int uart1_5_pins[] = {28, 29};
282 static const unsigned int uart1_6_pins[] = {32, 33};
283 static const unsigned int uart1_7_pins[] = {36, 37};
284 static const unsigned int uart1_8_pins[] = {40, 41};
285 static const unsigned int uart1_9_pins[] = {44, 45};
286 static const unsigned int uart1_10_pins[] = {48, 49};
287 static const unsigned int uart1_11_pins[] = {52, 53};
288 static const unsigned int i2c0_0_pins[] = {10, 11};
289 static const unsigned int i2c0_1_pins[] = {14, 15};
290 static const unsigned int i2c0_2_pins[] = {18, 19};
291 static const unsigned int i2c0_3_pins[] = {22, 23};
292 static const unsigned int i2c0_4_pins[] = {26, 27};
293 static const unsigned int i2c0_5_pins[] = {30, 31};
294 static const unsigned int i2c0_6_pins[] = {34, 35};
295 static const unsigned int i2c0_7_pins[] = {38, 39};
296 static const unsigned int i2c0_8_pins[] = {42, 43};
297 static const unsigned int i2c0_9_pins[] = {46, 47};
298 static const unsigned int i2c0_10_pins[] = {50, 51};
299 static const unsigned int i2c1_0_pins[] = {12, 13};
300 static const unsigned int i2c1_1_pins[] = {16, 17};
301 static const unsigned int i2c1_2_pins[] = {20, 21};
302 static const unsigned int i2c1_3_pins[] = {24, 25};
303 static const unsigned int i2c1_4_pins[] = {28, 29};
304 static const unsigned int i2c1_5_pins[] = {32, 33};
305 static const unsigned int i2c1_6_pins[] = {36, 37};
306 static const unsigned int i2c1_7_pins[] = {40, 41};
307 static const unsigned int i2c1_8_pins[] = {44, 45};
308 static const unsigned int i2c1_9_pins[] = {48, 49};
309 static const unsigned int i2c1_10_pins[] = {52, 53};
310 static const unsigned int ttc0_0_pins[] = {18, 19};
311 static const unsigned int ttc0_1_pins[] = {30, 31};
312 static const unsigned int ttc0_2_pins[] = {42, 43};
313 static const unsigned int ttc1_0_pins[] = {16, 17};
314 static const unsigned int ttc1_1_pins[] = {28, 29};
315 static const unsigned int ttc1_2_pins[] = {40, 41};
316 static const unsigned int swdt0_0_pins[] = {14, 15};
317 static const unsigned int swdt0_1_pins[] = {26, 27};
318 static const unsigned int swdt0_2_pins[] = {38, 39};
319 static const unsigned int swdt0_3_pins[] = {50, 51};
320 static const unsigned int swdt0_4_pins[] = {52, 53};
321 static const unsigned int gpio0_0_pins[] = {0};
322 static const unsigned int gpio0_1_pins[] = {1};
323 static const unsigned int gpio0_2_pins[] = {2};
324 static const unsigned int gpio0_3_pins[] = {3};
325 static const unsigned int gpio0_4_pins[] = {4};
326 static const unsigned int gpio0_5_pins[] = {5};
327 static const unsigned int gpio0_6_pins[] = {6};
328 static const unsigned int gpio0_7_pins[] = {7};
329 static const unsigned int gpio0_8_pins[] = {8};
330 static const unsigned int gpio0_9_pins[] = {9};
331 static const unsigned int gpio0_10_pins[] = {10};
332 static const unsigned int gpio0_11_pins[] = {11};
333 static const unsigned int gpio0_12_pins[] = {12};
334 static const unsigned int gpio0_13_pins[] = {13};
335 static const unsigned int gpio0_14_pins[] = {14};
336 static const unsigned int gpio0_15_pins[] = {15};
337 static const unsigned int gpio0_16_pins[] = {16};
338 static const unsigned int gpio0_17_pins[] = {17};
339 static const unsigned int gpio0_18_pins[] = {18};
340 static const unsigned int gpio0_19_pins[] = {19};
341 static const unsigned int gpio0_20_pins[] = {20};
342 static const unsigned int gpio0_21_pins[] = {21};
343 static const unsigned int gpio0_22_pins[] = {22};
344 static const unsigned int gpio0_23_pins[] = {23};
345 static const unsigned int gpio0_24_pins[] = {24};
346 static const unsigned int gpio0_25_pins[] = {25};
347 static const unsigned int gpio0_26_pins[] = {26};
348 static const unsigned int gpio0_27_pins[] = {27};
349 static const unsigned int gpio0_28_pins[] = {28};
350 static const unsigned int gpio0_29_pins[] = {29};
351 static const unsigned int gpio0_30_pins[] = {30};
352 static const unsigned int gpio0_31_pins[] = {31};
353 static const unsigned int gpio0_32_pins[] = {32};
354 static const unsigned int gpio0_33_pins[] = {33};
355 static const unsigned int gpio0_34_pins[] = {34};
356 static const unsigned int gpio0_35_pins[] = {35};
357 static const unsigned int gpio0_36_pins[] = {36};
358 static const unsigned int gpio0_37_pins[] = {37};
359 static const unsigned int gpio0_38_pins[] = {38};
360 static const unsigned int gpio0_39_pins[] = {39};
361 static const unsigned int gpio0_40_pins[] = {40};
362 static const unsigned int gpio0_41_pins[] = {41};
363 static const unsigned int gpio0_42_pins[] = {42};
364 static const unsigned int gpio0_43_pins[] = {43};
365 static const unsigned int gpio0_44_pins[] = {44};
366 static const unsigned int gpio0_45_pins[] = {45};
367 static const unsigned int gpio0_46_pins[] = {46};
368 static const unsigned int gpio0_47_pins[] = {47};
369 static const unsigned int gpio0_48_pins[] = {48};
370 static const unsigned int gpio0_49_pins[] = {49};
371 static const unsigned int gpio0_50_pins[] = {50};
372 static const unsigned int gpio0_51_pins[] = {51};
373 static const unsigned int gpio0_52_pins[] = {52};
374 static const unsigned int gpio0_53_pins[] = {53};
375 static const unsigned int usb0_0_pins[] = {28, 29, 30, 31, 32, 33, 34, 35, 36,
377 static const unsigned int usb1_0_pins[] = {40, 41, 42, 43, 44, 45, 46, 47, 48,
387 static const struct zynq_pctrl_group zynq_pctrl_groups[] = {
578 static const char * const ethernet0_groups[] = {"ethernet0_0_grp"};
579 static const char * const ethernet1_groups[] = {"ethernet1_0_grp"};
580 static const char * const usb0_groups[] = {"usb0_0_grp"};
581 static const char * const usb1_groups[] = {"usb1_0_grp"};
582 static const char * const mdio0_groups[] = {"mdio0_0_grp"};
583 static const char * const mdio1_groups[] = {"mdio1_0_grp"};
584 static const char * const qspi0_groups[] = {"qspi0_0_grp"};
585 static const char * const qspi1_groups[] = {"qspi1_0_grp"};
586 static const char * const qspi_fbclk_groups[] = {"qspi_fbclk_grp"};
587 static const char * const qspi_cs1_groups[] = {"qspi_cs1_grp"};
588 static const char * const spi0_groups[] = {"spi0_0_grp", "spi0_1_grp",
590 static const char * const spi1_groups[] = {"spi1_0_grp", "spi1_1_grp",
592 static const char * const spi0_ss_groups[] = {"spi0_0_ss0_grp",
596 static const char * const spi1_ss_groups[] = {"spi1_0_ss0_grp",
601 static const char * const sdio0_groups[] = {"sdio0_0_grp", "sdio0_1_grp",
603 static const char * const sdio1_groups[] = {"sdio1_0_grp", "sdio1_1_grp",
605 static const char * const sdio0_pc_groups[] = {"gpio0_0_grp",
615 static const char * const sdio1_pc_groups[] = {"gpio0_1_grp",
625 static const char * const sdio0_cd_groups[] = {"gpio0_0_grp",
644 static const char * const sdio0_wp_groups[] = {"gpio0_0_grp",
663 static const char * const sdio1_cd_groups[] = {"gpio0_0_grp",
682 static const char * const sdio1_wp_groups[] = {"gpio0_0_grp",
701 static const char * const smc0_nor_groups[] = {"smc0_nor_grp"};
702 static const char * const smc0_nor_cs1_groups[] = {"smc0_nor_cs1_grp"};
703 static const char * const smc0_nor_addr25_groups[] = {"smc0_nor_addr25_grp"};
704 static const char * const smc0_nand_groups[] = {"smc0_nand_grp",
706 static const char * const can0_groups[] = {"can0_0_grp", "can0_1_grp",
710 static const char * const can1_groups[] = {"can1_0_grp", "can1_1_grp",
714 static const char * const uart0_groups[] = {"uart0_0_grp", "uart0_1_grp",
718 static const char * const uart1_groups[] = {"uart1_0_grp", "uart1_1_grp",
722 static const char * const i2c0_groups[] = {"i2c0_0_grp", "i2c0_1_grp",
726 static const char * const i2c1_groups[] = {"i2c1_0_grp", "i2c1_1_grp",
730 static const char * const ttc0_groups[] = {"ttc0_0_grp", "ttc0_1_grp",
732 static const char * const ttc1_groups[] = {"ttc1_0_grp", "ttc1_1_grp",
734 static const char * const swdt0_groups[] = {"swdt0_0_grp", "swdt0_1_grp",
736 static const char * const gpio0_groups[] = {"gpio0_0_grp",
780 static const struct zynq_pinmux_function zynq_pmux_functions[] = {
825 static int zynq_pctrl_get_groups_count(struct pinctrl_dev *pctldev) in zynq_pctrl_get_groups_count()
832 static const char *zynq_pctrl_get_group_name(struct pinctrl_dev *pctldev, in zynq_pctrl_get_group_name()
840 static int zynq_pctrl_get_group_pins(struct pinctrl_dev *pctldev, in zynq_pctrl_get_group_pins()
853 static const struct pinctrl_ops zynq_pctrl_ops = {
862 static int zynq_pmux_get_functions_count(struct pinctrl_dev *pctldev) in zynq_pmux_get_functions_count()
869 static const char *zynq_pmux_get_function_name(struct pinctrl_dev *pctldev, in zynq_pmux_get_function_name()
877 static int zynq_pmux_get_function_groups(struct pinctrl_dev *pctldev, in zynq_pmux_get_function_groups()
889 static int zynq_pinmux_set_mux(struct pinctrl_dev *pctldev, in zynq_pinmux_set_mux()
938 static const struct pinmux_ops zynq_pinmux_ops = {
970 static const struct pinconf_generic_params zynq_dt_params[] = {
975 static const struct pin_config_item zynq_conf_items[ARRAY_SIZE(zynq_dt_params)]
980 static unsigned int zynq_pinconf_iostd_get(u32 reg) in zynq_pinconf_iostd_get()
985 static int zynq_pinconf_cfg_get(struct pinctrl_dev *pctldev, in zynq_pinconf_cfg_get()
1043 static int zynq_pinconf_cfg_set(struct pinctrl_dev *pctldev, in zynq_pinconf_cfg_set()
1120 static int zynq_pinconf_group_set(struct pinctrl_dev *pctldev, in zynq_pinconf_group_set()
1139 static const struct pinconf_ops zynq_pinconf_ops = {
1146 static struct pinctrl_desc zynq_desc = {
1161 static int zynq_pinctrl_probe(struct platform_device *pdev) in zynq_pinctrl_probe()
1201 static const struct of_device_id zynq_pinctrl_of_match[] = {
1207 static struct platform_driver zynq_pinctrl_driver = {