/linux-6.1.9/drivers/pinctrl/spear/ |
D | pinctrl-spear.c | 32 static void muxregs_endisable(struct spear_pmx *pmx, in muxregs_endisable() argument 41 val = pmx_readl(pmx, muxreg->reg); in muxregs_endisable() 50 pmx_writel(pmx, val, muxreg->reg); in muxregs_endisable() 54 static int set_mode(struct spear_pmx *pmx, int mode) in set_mode() argument 60 if (!pmx->machdata->pmx_modes || !pmx->machdata->npmx_modes) in set_mode() 63 for (i = 0; i < pmx->machdata->npmx_modes; i++) { in set_mode() 64 if (pmx->machdata->pmx_modes[i]->mode == (1 << mode)) { in set_mode() 65 pmx_mode = pmx->machdata->pmx_modes[i]; in set_mode() 73 val = pmx_readl(pmx, pmx_mode->reg); in set_mode() 76 pmx_writel(pmx, val, pmx_mode->reg); in set_mode() [all …]
|
/linux-6.1.9/drivers/pinctrl/tegra/ |
D | pinctrl-tegra.c | 28 static inline u32 pmx_readl(struct tegra_pmx *pmx, u32 bank, u32 reg) in pmx_readl() argument 30 return readl(pmx->regs[bank] + reg); in pmx_readl() 33 static inline void pmx_writel(struct tegra_pmx *pmx, u32 val, u32 bank, u32 reg) in pmx_writel() argument 35 writel_relaxed(val, pmx->regs[bank] + reg); in pmx_writel() 37 pmx_readl(pmx, bank, reg); in pmx_writel() 42 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in tegra_pinctrl_get_groups_count() local 44 return pmx->soc->ngroups; in tegra_pinctrl_get_groups_count() 50 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in tegra_pinctrl_get_group_name() local 52 return pmx->soc->groups[group].name; in tegra_pinctrl_get_group_name() 60 struct tegra_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in tegra_pinctrl_get_group_pins() local [all …]
|
/linux-6.1.9/drivers/pinctrl/renesas/ |
D | pinctrl.c | 49 struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); in sh_pfc_get_groups_count() local 51 return pmx->pfc->info->nr_groups; in sh_pfc_get_groups_count() 57 struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); in sh_pfc_get_group_name() local 59 return pmx->pfc->info->groups[selector].name; in sh_pfc_get_group_name() 65 struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); in sh_pfc_get_group_pins() local 67 *pins = pmx->pfc->info->groups[selector].pins; in sh_pfc_get_group_pins() 68 *num_pins = pmx->pfc->info->groups[selector].nr_pins; in sh_pfc_get_group_pins() 106 struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); in sh_pfc_dt_subnode_to_map() local 107 struct device *dev = pmx->pfc->dev; in sh_pfc_dt_subnode_to_map() 125 if (!pmx->func_prop_name) { in sh_pfc_dt_subnode_to_map() [all …]
|
/linux-6.1.9/drivers/pinctrl/ |
D | pinctrl-artpec6.c | 660 struct artpec6_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in artpec6_pmx_select_func() local 684 regval = readl(pmx->base + reg); in artpec6_pmx_select_func() 687 writel(regval, pmx->base + reg); in artpec6_pmx_select_func() 695 struct artpec6_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in artpec6_pmx_set() local 697 dev_dbg(pmx->dev, "enabling %s function for pin group %s\n", in artpec6_pmx_set() 710 struct artpec6_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in artpec6_pmx_request_gpio() local 717 val = readl_relaxed(pmx->base + reg); in artpec6_pmx_request_gpio() 720 writel_relaxed(val, pmx->base + reg); in artpec6_pmx_request_gpio() 736 struct artpec6_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in artpec6_pconf_get() local 741 if (pin >= pmx->num_pins) { in artpec6_pconf_get() [all …]
|
D | pinctrl-gemini.c | 1958 struct gemini_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in gemini_get_groups_count() local 1960 if (pmx->is_3512) in gemini_get_groups_count() 1962 if (pmx->is_3516) in gemini_get_groups_count() 1970 struct gemini_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in gemini_get_group_name() local 1972 if (pmx->is_3512) in gemini_get_group_name() 1974 if (pmx->is_3516) in gemini_get_group_name() 1984 struct gemini_pmx *pmx = pinctrl_dev_get_drvdata(pctldev); in gemini_get_group_pins() local 1987 if (pmx->flash_pin && in gemini_get_group_pins() 1988 pmx->is_3512 && in gemini_get_group_pins() 1994 if (pmx->flash_pin && in gemini_get_group_pins() [all …]
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | kirkwood-dnskw.dtsi | 61 pmx_sata0: pmx-sata0 { 65 pmx_sata1: pmx-sata1 { 69 pmx_led_power: pmx-led-power { 73 pmx_led_red_right_hdd: pmx-led-red-right-hdd { 77 pmx_led_red_left_hdd: pmx-led-red-left-hdd { 81 pmx_led_red_usb_325: pmx-led-red-usb-325 { 85 pmx_button_power: pmx-button-power { 89 pmx_led_red_usb_320: pmx-led-red-usb-320 { 93 pmx_power_off: pmx-power-off { 97 pmx_power_back_on: pmx-power-back-on { [all …]
|
D | kirkwood-iomega_ix2_200.dts | 35 pmx_button_reset: pmx-button-reset { 39 pmx_button_power: pmx-button-power { 43 pmx_led_backup: pmx-led-backup { 47 pmx_led_power: pmx-led-power { 51 pmx_button_otb: pmx-button-otb { 55 pmx_led_rebuild: pmx-led-rebuild { 59 pmx_led_health: pmx-led_health { 63 pmx_led_sata_brt_ctrl_1: pmx-led-sata-brt-ctrl-1 { 67 pmx_led_sata_brt_ctrl_2: pmx-led-sata-brt-ctrl-2 { 71 pmx_led_backup_brt_ctrl_1: pmx-led-backup-brt-ctrl-1 { [all …]
|
D | kirkwood-linkstation-6282.dtsi | 16 pmx_power_hdd0: pmx-power-hdd0 { 20 pmx_usb_vbus: pmx-usb-vbus { 24 pmx_fan_high: pmx-fan-high { 28 pmx_fan_low: pmx-fan-low { 32 pmx_led_alarm: pmx-led-alarm { 36 pmx_led_function_red: pmx-led-function-red { 40 pmx_led_info: pmx-led-info { 44 pmx_led_function_blue: pmx-led-function-blue { 48 pmx_led_power: pmx-led-power { 52 pmx_fan_lock: pmx-fan-lock { [all …]
|
D | kirkwood-nsa320.dts | 32 pmx_sata0: pmx-sata0 { 37 pmx_sata1: pmx-sata1 { 42 pmx_led_hdd2_green: pmx-led-hdd2-green { 47 pmx_led_hdd2_red: pmx-led-hdd2-red { 52 pmx_mcu_data: pmx-mcu-data { 57 pmx_led_usb_green: pmx-led-usb-green { 62 pmx_mcu_clk: pmx-mcu-clk { 67 pmx_mcu_act: pmx-mcu-act { 72 pmx_led_sys_green: pmx-led-sys-green { 77 pmx_led_sys_orange: pmx-led-sys-orange { [all …]
|
D | dove.dtsi | 503 pmx_gpio_0: pmx-gpio-0 { 508 pmx_gpio_1: pmx-gpio-1 { 513 pmx_gpio_2: pmx-gpio-2 { 518 pmx_gpio_3: pmx-gpio-3 { 523 pmx_gpio_4: pmx-gpio-4 { 528 pmx_gpio_5: pmx-gpio-5 { 533 pmx_gpio_6: pmx-gpio-6 { 538 pmx_gpio_7: pmx-gpio-7 { 543 pmx_gpio_8: pmx-gpio-8 { 548 pmx_gpio_9: pmx-gpio-9 { [all …]
|
D | kirkwood-nsa325.dts | 32 pmx_led_hdd2_green: pmx-led-hdd2-green { 37 pmx_led_hdd2_red: pmx-led-hdd2-red { 42 pmx_mcu_data: pmx-mcu-data { 47 pmx_led_usb_green: pmx-led-usb-green { 52 pmx_mcu_clk: pmx-mcu-clk { 57 pmx_mcu_act: pmx-mcu-act { 62 pmx_led_sys_green: pmx-led-sys-green { 67 pmx_led_sys_orange: pmx-led-sys-orange { 72 pmx_led_hdd1_green: pmx-led-hdd1-green { 77 pmx_led_hdd1_red: pmx-led-hdd1-red { [all …]
|
D | kirkwood-lsxl.dtsi | 14 pmx_uart0: pmx-uart0 { 18 pmx_power_hdd: pmx-power-hdd { 22 pmx_usb_vbus: pmx-usb-vbus { 26 pmx_fan_high: pmx-fan-high { 30 pmx_fan_low: pmx-fan-low { 34 pmx_led_function_blue: pmx-led-function-blue { 38 pmx_led_alarm: pmx-led-alarm { 42 pmx_led_info: pmx-led-info { 46 pmx_led_power: pmx-led-power { 50 pmx_fan_lock: pmx-fan-lock { [all …]
|
D | kirkwood-linkstation-duo-6281.dtsi | 16 pmx_power_hdd0: pmx-power-hdd0 { 20 pmx_power_hdd1: pmx-power-hdd1 { 24 pmx_usb_vbus: pmx-usb-vbus { 28 pmx_led_alarm: pmx-led-alarm { 32 pmx_led_function_red: pmx-led-function-red { 36 pmx_led_function_blue: pmx-led-function-blue { 40 pmx_led_info: pmx-led-info { 44 pmx_led_power: pmx-led-power { 48 pmx_button_function: pmx-button-function { 52 pmx_power_switch: pmx-power-switch { [all …]
|
D | kirkwood-synology.dtsi | 13 pmx_alarmled_12: pmx-alarmled-12 { 18 pmx_fanctrl_15: pmx-fanctrl-15 { 23 pmx_fanctrl_16: pmx-fanctrl-16 { 28 pmx_fanctrl_17: pmx-fanctrl-17 { 33 pmx_fanalarm_18: pmx-fanalarm-18 { 38 pmx_hddled_20: pmx-hddled-20 { 43 pmx_hddled_21: pmx-hddled-21 { 48 pmx_hddled_22: pmx-hddled-22 { 53 pmx_hddled_23: pmx-hddled-23 { 58 pmx_hddled_24: pmx-hddled-24 { [all …]
|
D | kirkwood-linkstation.dtsi | 17 pmx_power_hdd0: pmx-power-hdd0 { 20 pmx_usb_vbus: pmx-usb-vbus { 23 pmx_led_alarm: pmx-led-alarm { 26 pmx_led_function_red: pmx-led-function-red { 29 pmx_led_function_blue: pmx-led-function-blue { 32 pmx_led_info: pmx-led-info { 35 pmx_led_power: pmx-led-power { 38 pmx_button_function: pmx-button-function { 41 pmx_power_switch: pmx-power-switch { 44 pmx_power_auto_switch: pmx-power-auto-switch {
|
D | kirkwood-goflexnet.dts | 23 pmx_usb_power_enable: pmx-usb-power-enable { 27 pmx_led_right_cap_0: pmx-led_right_cap_0 { 31 pmx_led_right_cap_1: pmx-led_right_cap_1 { 35 pmx_led_right_cap_2: pmx-led_right_cap_2 { 39 pmx_led_right_cap_3: pmx-led_right_cap_3 { 43 pmx_led_left_cap_0: pmx-led_left_cap_0 { 47 pmx_led_left_cap_1: pmx-led_left_cap_1 { 51 pmx_led_left_cap_2: pmx-led_left_cap_2 { 55 pmx_led_left_cap_3: pmx-led_left_cap_3 { 59 pmx_led_green: pmx-led_green { [all …]
|
D | kirkwood-iconnect.dts | 25 pmx_button_reset: pmx-button-reset { 29 pmx_button_otb: pmx-button-otb { 33 pmx_led_level: pmx-led-level { 37 pmx_led_power_blue: pmx-led-power-blue { 41 pmx_led_power_red: pmx-power-red { 45 pmx_led_usb1: pmx-led-usb1 { 49 pmx_led_usb2: pmx-led-usb2 { 53 pmx_led_usb3: pmx-led-usb3 { 57 pmx_led_usb4: pmx-led-usb4 { 61 pmx_led_otb: pmx-led-otb {
|
D | kirkwood-nsa310.dts | 24 pmx_led_esata_green: pmx-led-esata-green { 29 pmx_led_esata_red: pmx-led-esata-red { 34 pmx_led_usb_green: pmx-led-usb-green { 39 pmx_led_usb_red: pmx-led-usb-red { 44 pmx_led_sys_green: pmx-led-sys-green { 49 pmx_led_sys_red: pmx-led-sys-red { 54 pmx_led_hdd_green: pmx-led-hdd-green { 59 pmx_led_hdd_red: pmx-led-hdd-red { 64 pmx_unknown: pmx-unknown {
|
D | kirkwood-topkick.dts | 38 pmx_led_disk_yellow: pmx-led-disk-yellow { 43 pmx_sata0_pwr_enable: pmx-sata0-pwr-enable { 48 pmx_led_sys_red: pmx-led-sys-red { 53 pmx_led_sys_blue: pmx-led-sys-blue { 58 pmx_led_wifi_green: pmx-led-wifi-green { 63 pmx_sw_left: pmx-sw-left { 68 pmx_sw_right: pmx-sw-right { 73 pmx_sw_idle: pmx-sw-idle { 78 pmx_sw_left2: pmx-sw-left2 { 83 pmx_led_wifi_yellow: pmx-led-wifi-yellow {
|
D | kirkwood-mplcec4.dts | 23 pmx_led_health: pmx-led-health { 28 pmx_sata1: pmx-sata1 { 33 pmx_sata0: pmx-sata0 { 38 pmx_led_user1o: pmx-led-user1o { 43 pmx_led_user1g: pmx-led-user1g { 48 pmx_led_user0o: pmx-led-user0o { 53 pmx_led_user0g: pmx-led-user0g { 58 pmx_led_misc: pmx-led-misc { 63 pmx_sdio_cd: pmx-sdio-cd {
|
D | kirkwood-openblocks_a6.dts | 48 pmx_uart0: pmx-uart0 { 54 pmx_uart1: pmx-uart1 { 60 pmx_sysrst: pmx-sysrst { 65 pmx_dip_switches: pmx-dip-switches { 70 pmx_gpio_header: pmx-gpio-header { 76 pmx_gpio_init: pmx-init { 81 pmx_usb_oc: pmx-usb-oc { 86 pmx_leds: pmx-leds {
|
D | kirkwood-nsa310a.dts | 28 pmx_led_esata_green: pmx-led-esata-green { 33 pmx_led_esata_red: pmx-led-esata-red { 38 pmx_led_usb_green: pmx-led-usb-green { 43 pmx_led_sys_green: pmx-led-sys-green { 48 pmx_led_sys_red: pmx-led-sys-red { 53 pmx_led_hdd_green: pmx-led-hdd-green { 58 pmx_led_hdd_red: pmx-led-hdd-red {
|
D | kirkwood-nsa3x0-common.dtsi | 11 pmx_usb_power: pmx-usb-power { 16 pmx_pwr_off: pmx-pwr-off { 21 pmx_btn_reset: pmx-btn-reset { 26 pmx_btn_copy: pmx-btn-copy { 31 pmx_btn_power: pmx-btn-power { 36 pmx_led_copy_green: pmx-led-copy-green { 41 pmx_led_copy_red: pmx-led-copy-red {
|
D | orion5x-linkstation-lschl.dts | 108 pmx_led_power: pmx-leds { 113 pmx_power_hdd: pmx-power-hdd { 118 pmx_led_alarm: pmx-leds { 123 pmx_led_info: pmx-leds { 128 pmx_fan_lock: pmx-fan-lock { 133 pmx_power_switch: pmx-power-switch { 138 pmx_power_usb: pmx-power-usb { 143 pmx_fan_high: pmx-fan-high { 148 pmx_fan_low: pmx-fan-low { 153 pmx_led_func: pmx-leds { [all …]
|
D | kirkwood-netgear_readynas_nv+_v2.dts | 29 pmx_button_power: pmx-button-power { 34 pmx_button_backup: pmx-button-backup { 39 pmx_button_reset: pmx-button-reset { 44 pmx_led_blue_power: pmx-led-blue-power { 49 pmx_led_blue_backup: pmx-led-blue-backup { 54 pmx_led_blue_disk1: pmx-led-blue-disk1 { 59 pmx_led_blue_disk2: pmx-led-blue-disk2 { 64 pmx_led_blue_disk3: pmx-led-blue-disk3 { 69 pmx_led_blue_disk4: pmx-led-blue-disk4 { 74 pmx_poweroff: pmx-poweroff {
|