/kernel/linux/linux-5.10/drivers/pinctrl/freescale/ |
D | pinctrl-imx1-core.c | 75 static void __iomem *imx1_mem(struct imx1_pinctrl *ipctl, unsigned int pin_id) in imx1_mem() argument 77 unsigned int port = pin_id / 32; in imx1_mem() 85 static void imx1_write_2bit(struct imx1_pinctrl *ipctl, unsigned int pin_id, in imx1_write_2bit() argument 88 void __iomem *reg = imx1_mem(ipctl, pin_id) + reg_offset; in imx1_write_2bit() 89 int offset = (pin_id % 16) * 2; /* offset, regardless of register used */ in imx1_write_2bit() 95 if (pin_id % 32 >= 16) in imx1_write_2bit() 112 static void imx1_write_bit(struct imx1_pinctrl *ipctl, unsigned int pin_id, in imx1_write_bit() argument 115 void __iomem *reg = imx1_mem(ipctl, pin_id) + reg_offset; in imx1_write_bit() 116 int offset = pin_id % 32; in imx1_write_bit() 132 static int imx1_read_2bit(struct imx1_pinctrl *ipctl, unsigned int pin_id, in imx1_read_2bit() argument [all …]
|
D | pinctrl-scu.c | 47 int imx_pinconf_get_scu(struct pinctrl_dev *pctldev, unsigned pin_id, in imx_pinconf_get_scu() argument 60 msg.pad = pin_id; in imx_pinconf_get_scu() 73 int imx_pinconf_set_scu(struct pinctrl_dev *pctldev, unsigned pin_id, in imx_pinconf_set_scu() argument 97 msg.pad = pin_id; in imx_pinconf_set_scu() 103 pin_id, conf, val); in imx_pinconf_set_scu() 110 unsigned int *pin_id, struct imx_pin *pin, in imx_pinctrl_parse_pin_scu() argument 118 *pin_id = pin->pin; in imx_pinctrl_parse_pin_scu()
|
D | pinctrl-imx.c | 169 unsigned int pin_id; in imx_pmx_set_one_pin_mmio() local 171 pin_id = pin->pin; in imx_pmx_set_one_pin_mmio() 172 pin_reg = &ipctl->pin_regs[pin_id]; in imx_pmx_set_one_pin_mmio() 176 info->pins[pin_id].name); in imx_pmx_set_one_pin_mmio() 349 static int imx_pinconf_get_mmio(struct pinctrl_dev *pctldev, unsigned pin_id, in imx_pinconf_get_mmio() argument 354 const struct imx_pin_reg *pin_reg = &ipctl->pin_regs[pin_id]; in imx_pinconf_get_mmio() 358 info->pins[pin_id].name); in imx_pinconf_get_mmio() 371 unsigned pin_id, unsigned long *config) in imx_pinconf_get() argument 377 return info->imx_pinconf_get(pctldev, pin_id, config); in imx_pinconf_get() 379 return imx_pinconf_get_mmio(pctldev, pin_id, config); in imx_pinconf_get() [all …]
|
D | pinctrl-imx.h | 116 int (*imx_pinconf_get)(struct pinctrl_dev *pctldev, unsigned int pin_id, 118 int (*imx_pinconf_set)(struct pinctrl_dev *pctldev, unsigned int pin_id, 121 unsigned int *pin_id, struct imx_pin *pin, 152 int imx_pinconf_get_scu(struct pinctrl_dev *pctldev, unsigned pin_id, 154 int imx_pinconf_set_scu(struct pinctrl_dev *pctldev, unsigned pin_id, 157 unsigned int *pin_id, struct imx_pin *pin,
|
D | pinctrl-imx1.h | 23 unsigned int pin_id; member
|
/kernel/linux/linux-5.10/drivers/pinctrl/ |
D | pinctrl-at91-pio4.c | 63 #define ATMEL_PIO_BANK(pin_id) (pin_id / ATMEL_PIO_NPINS_PER_BANK) argument 64 #define ATMEL_PIO_LINE(pin_id) (pin_id % ATMEL_PIO_NPINS_PER_BANK) argument 84 unsigned pin_id; member 436 unsigned pin_id) in atmel_pin_config_read() argument 439 unsigned bank = atmel_pioctrl->pins[pin_id]->bank; in atmel_pin_config_read() 440 unsigned line = atmel_pioctrl->pins[pin_id]->line; in atmel_pin_config_read() 452 unsigned pin_id, u32 conf) in atmel_pin_config_write() argument 455 unsigned bank = atmel_pioctrl->pins[pin_id]->bank; in atmel_pin_config_write() 456 unsigned line = atmel_pioctrl->pins[pin_id]->line; in atmel_pin_config_write() 515 unsigned pin_id, func_id; in atmel_pctl_xlate_pinfunc() local [all …]
|
D | pinctrl-digicolor.c | 298 int pin_id = i*PINS_PER_COLLECTION + j; in dc_pinctrl_probe() local 299 char *name = &pin_names[pin_id * name_len]; in dc_pinctrl_probe() 303 pins[pin_id].number = pin_id; in dc_pinctrl_probe() 304 pins[pin_id].name = name; in dc_pinctrl_probe() 305 pmap->pin_names[pin_id] = name; in dc_pinctrl_probe()
|
D | pinctrl-st.c | 418 int pin_id, int function) in st_pctl_set_function() argument 422 int pin = st_gpio_pin(pin_id); in st_pctl_set_function() 966 static int st_pinconf_set(struct pinctrl_dev *pctldev, unsigned pin_id, in st_pinconf_set() argument 969 int pin = st_gpio_pin(pin_id); in st_pinconf_set() 971 struct st_pio_control *pc = st_get_pio_control(pctldev, pin_id); in st_pinconf_set() 983 unsigned pin_id, unsigned long *config) in st_pinconf_get() argument 985 int pin = st_gpio_pin(pin_id); in st_pinconf_get() 987 struct st_pio_control *pc = st_get_pio_control(pctldev, pin_id); in st_pinconf_get() 997 struct seq_file *s, unsigned pin_id) in st_pinconf_dbg_show() argument 1002 int offset = st_gpio_pin(pin_id); in st_pinconf_dbg_show() [all …]
|
D | pinctrl-at91.c | 963 unsigned pin_id, unsigned long *config) in at91_pinconf_get() argument 972 dev_dbg(info->dev, "%s:%d, pin_id=%d", __func__, __LINE__, pin_id); in at91_pinconf_get() 973 pio = pin_to_controller(info, pin_to_bank(pin_id)); in at91_pinconf_get() 978 pin = pin_id % MAX_NB_GPIO_PER_BANK; in at91_pinconf_get() 1006 unsigned pin_id, unsigned long *configs, in at91_pinconf_set() argument 1021 __func__, __LINE__, pin_id, config); in at91_pinconf_set() 1022 pio = pin_to_controller(info, pin_to_bank(pin_id)); in at91_pinconf_set() 1027 pin = pin_id % MAX_NB_GPIO_PER_BANK; in at91_pinconf_set() 1078 struct seq_file *s, unsigned pin_id) in at91_pinconf_dbg_show() argument 1083 at91_pinconf_get(pctldev, pin_id, &config); in at91_pinconf_dbg_show()
|
D | pinctrl-equilibrium.c | 701 unsigned int *pinmux, pin_id, pinmux_id; in eqbr_build_groups() local 729 if (of_property_read_u32_index(np, "pins", j, &pin_id)) { in eqbr_build_groups() 734 if (pin_id >= drvdata->pctl_desc.npins) { in eqbr_build_groups() 736 group.name, j, pin_id); in eqbr_build_groups() 739 group.pins[j] = pin_id; in eqbr_build_groups()
|
D | pinctrl-as3722.c | 156 #define AS3722_PINGROUP(pg_name, pin_id) \ argument 159 .pins = {AS3722_PIN_##pin_id}, \
|
D | pinctrl-max77620.c | 156 #define MAX77620_PINGROUP(pg_name, pin_id, option) \ argument 159 .pins = {MAX77620_##pin_id}, \
|
D | pinctrl-palmas.c | 506 #define PALMAS_PINGROUP(pg_name, pin_id, base, reg, _mask, _bshift, o0, o1, o2, o3) \ argument 509 .pins = {PALMAS_PIN_##pin_id}, \
|
/kernel/linux/linux-5.10/drivers/pinctrl/sprd/ |
D | pinctrl-sprd.c | 313 unsigned int pin_id; in sprd_dt_node_to_map() local 316 pin_id = grp->pins[0]; in sprd_dt_node_to_map() 317 group_or_pin = pin_get_name(pctldev, pin_id); in sprd_dt_node_to_map() 416 unsigned int pin_id = grp->pins[i]; in sprd_pmx_set_mux() local 417 struct sprd_pin *pin = sprd_pinctrl_get_pin_by_id(pctl, pin_id); in sprd_pmx_set_mux() 438 static int sprd_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin_id, in sprd_pinconf_get() argument 442 struct sprd_pin *pin = sprd_pinctrl_get_pin_by_id(pctl, pin_id); in sprd_pinconf_get() 590 static int sprd_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin_id, in sprd_pinconf_set() argument 594 struct sprd_pin *pin = sprd_pinctrl_get_pin_by_id(pctl, pin_id); in sprd_pinconf_set() 747 unsigned int pin_id; in sprd_pinconf_group_get() local [all …]
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0031_linux_drivers_perf_phy_pinctrl_ptp_pwm.patch | 2032 + const unsigned int pin_id) 2037 + if (info->pins[i].number == pin_id) 2150 + pin_get_name(pctldev, grp->pins[i].pin_id); 2183 + unsigned int npins, pin_id; 2200 + pin_id = pin->pin_id; 2202 + writel(pin->config, ipctl->base + S32V_PAD_CONFIG(pin_id)); 2204 + S32V_PAD_CONFIG(pin_id), pin->config); 2249 + unsigned int pin_id, unsigned long *config) 2253 + *config = readl(ipctl->base + S32V_PAD_CONFIG(pin_id)); 2259 + unsigned int pin_id, unsigned long *configs, [all …]
|
D | 0019_linux_drivers_gpio.patch | 179 + u32 pin_id; 246 + msg.data.req.pad = port->pad_wakeup[i].pin_id; 274 + msg.pad = port->pad_wakeup[i].pin_id; 417 + * <pin_id, type, line>, these info should be put in each 430 + i * 3 + 0, &port->pad_wakeup[i].pin_id);
|
/kernel/linux/linux-5.10/sound/soc/intel/skylake/ |
D | skl-pcm.c | 1308 struct skl_module_inst_id *pin_id; in skl_get_module_info() local 1343 pin_id = &mconfig->m_in_pin[i].id; in skl_get_module_info() 1344 if (guid_equal(&pin_id->mod_uuid, &module->uuid)) in skl_get_module_info() 1345 pin_id->module_id = module->id; in skl_get_module_info() 1349 pin_id = &mconfig->m_out_pin[i].id; in skl_get_module_info() 1350 if (guid_equal(&pin_id->mod_uuid, &module->uuid)) in skl_get_module_info() 1351 pin_id->module_id = module->id; in skl_get_module_info()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | ppatomfwctrl.c | 180 const uint32_t pin_id, in pp_atomfwctrl_lookup_gpio_pin() argument 193 if (pin_id == pin_assignment->gpio_id) { in pp_atomfwctrl_lookup_gpio_pin() 209 const uint32_t pin_id, in pp_atomfwctrl_get_pp_assign_pin() argument 222 pin_id, gpio_pin_assignment); in pp_atomfwctrl_get_pp_assign_pin()
|
D | ppatomfwctrl.h | 222 bool pp_atomfwctrl_get_pp_assign_pin(struct pp_hwmgr *hwmgr, const uint32_t pin_id,
|
/kernel/linux/linux-5.10/drivers/pinctrl/tegra/ |
D | pinctrl-tegra194.c | 26 enum pin_id { enum
|
/kernel/linux/linux-5.10/sound/soc/intel/catpt/ |
D | pcm.c | 895 enum catpt_pin_id pin_id) in catpt_stream_volume_get() argument 905 stream = catpt_stream_find(cdev, pin_id); in catpt_stream_volume_get() 927 enum catpt_pin_id pin_id) in catpt_stream_volume_put() argument 936 stream = catpt_stream_find(cdev, pin_id); in catpt_stream_volume_put()
|
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/ |
D | pinctrl-rzn1.c | 728 u32 pin_id = be32_to_cpu(*list++); in rzn1_pinctrl_parse_groups() local 730 grp->pins[i] = pin_id & 0xff; in rzn1_pinctrl_parse_groups() 731 grp->pin_ids[i] = (pin_id >> 8) & 0x7f; in rzn1_pinctrl_parse_groups()
|
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/arm/freescale/ |
D | fsl,scu.txt | 117 integers <pin_id mux_mode> are specified using a
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/bios/ |
D | bios_parser2.c | 440 info->hpd_int_gpio_uid = record->pin_id; in bios_parser_get_hpd_info()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/include/ |
D | atomfirmware.h | 747 …uint8_t pin_id; //Corresponding block in GPIO_PIN_INFO table gives the pin info … member
|