Home
last modified time | relevance | path

Searched refs:pmx (Results 1 – 25 of 89) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/pinctrl/spear/
Dpinctrl-spear.c31 static void muxregs_endisable(struct spear_pmx *pmx, in muxregs_endisable() argument
40 val = pmx_readl(pmx, muxreg->reg); in muxregs_endisable()
49 pmx_writel(pmx, val, muxreg->reg); in muxregs_endisable()
53 static int set_mode(struct spear_pmx *pmx, int mode) in set_mode() argument
59 if (!pmx->machdata->pmx_modes || !pmx->machdata->npmx_modes) in set_mode()
62 for (i = 0; i < pmx->machdata->npmx_modes; i++) { in set_mode()
63 if (pmx->machdata->pmx_modes[i]->mode == (1 << mode)) { in set_mode()
64 pmx_mode = pmx->machdata->pmx_modes[i]; in set_mode()
72 val = pmx_readl(pmx, pmx_mode->reg); in set_mode()
75 pmx_writel(pmx, val, pmx_mode->reg); in set_mode()
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/tegra/
Dpinctrl-tegra.c28 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 …]
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/
Dpinctrl.c50 struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); in sh_pfc_get_groups_count() local
52 return pmx->pfc->info->nr_groups; in sh_pfc_get_groups_count()
58 struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); in sh_pfc_get_group_name() local
60 return pmx->pfc->info->groups[selector].name; in sh_pfc_get_group_name()
66 struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); in sh_pfc_get_group_pins() local
68 *pins = pmx->pfc->info->groups[selector].pins; in sh_pfc_get_group_pins()
69 *num_pins = pmx->pfc->info->groups[selector].nr_pins; in sh_pfc_get_group_pins()
107 struct sh_pfc_pinctrl *pmx = pinctrl_dev_get_drvdata(pctldev); in sh_pfc_dt_subnode_to_map() local
108 struct device *dev = pmx->pfc->dev; in sh_pfc_dt_subnode_to_map()
126 if (!pmx->func_prop_name) { in sh_pfc_dt_subnode_to_map()
[all …]
/kernel/linux/linux-5.10/drivers/pinctrl/
Dpinctrl-artpec6.c660 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 …]
Dpinctrl-gemini.c1958 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 …]
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dkirkwood-dnskw.dtsi61 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 …]
Dkirkwood-iomega_ix2_200.dts35 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 …]
Ddove.dtsi483 pmx_gpio_0: pmx-gpio-0 {
488 pmx_gpio_1: pmx-gpio-1 {
493 pmx_gpio_2: pmx-gpio-2 {
498 pmx_gpio_3: pmx-gpio-3 {
503 pmx_gpio_4: pmx-gpio-4 {
508 pmx_gpio_5: pmx-gpio-5 {
513 pmx_gpio_6: pmx-gpio-6 {
518 pmx_gpio_7: pmx-gpio-7 {
523 pmx_gpio_8: pmx-gpio-8 {
528 pmx_gpio_9: pmx-gpio-9 {
[all …]
Dkirkwood-linkstation-6282.dtsi16 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 …]
Dkirkwood-nsa320.dts32 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 …]
Dkirkwood-nsa325.dts32 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 …]
Dkirkwood-linkstation-duo-6281.dtsi16 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 …]
Dkirkwood-synology.dtsi13 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 …]
Dkirkwood-lsxl.dtsi13 pmx_power_hdd: pmx-power-hdd {
17 pmx_usb_vbus: pmx-usb-vbus {
21 pmx_fan_high: pmx-fan-high {
25 pmx_fan_low: pmx-fan-low {
29 pmx_led_function_blue: pmx-led-function-blue {
33 pmx_led_alarm: pmx-led-alarm {
37 pmx_led_info: pmx-led-info {
41 pmx_led_power: pmx-led-power {
45 pmx_fan_lock: pmx-fan-lock {
49 pmx_button_function: pmx-button-function {
[all …]
Dkirkwood-linkstation.dtsi17 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 {
Dkirkwood-goflexnet.dts23 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 …]
Dkirkwood-iconnect.dts25 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 {
Dkirkwood-nsa310.dts24 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 {
Dkirkwood-topkick.dts38 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 {
Dkirkwood-mplcec4.dts23 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 {
Dkirkwood-openblocks_a6.dts48 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 {
Dkirkwood-nsa310a.dts28 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 {
Dkirkwood-nsa3x0-common.dtsi11 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 {
Dorion5x-linkstation-lschl.dts108 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 …]
Dkirkwood-dir665.dts37 pmx_led_usb: pmx-led-usb {
41 pmx_led_internet_blue: pmx-led-internet-blue {
45 pmx_led_internet_amber: pmx-led-internet-amber {
49 pmx_led_5g: pmx-led-5g {
53 pmx_led_status_blue: pmx-led-status-blue {
57 pmx_led_wps: pmx-led-wps {
61 pmx_led_status_amber: pmx-led-status-amber {
65 pmx_led_24g: pmx-led-24g {
69 pmx_btn_restart: pmx-btn-restart {
73 pmx_btn_wps: pmx-btn-wps {

1234