/linux-6.6.21/drivers/pinctrl/freescale/ ! |
D | pinctrl-imx1-core.c | 78 static void __iomem *imx1_mem(struct imx1_pinctrl *ipctl, unsigned int pin_id) in imx1_mem() argument 80 unsigned int port = pin_id / 32; in imx1_mem() 88 static void imx1_write_2bit(struct imx1_pinctrl *ipctl, unsigned int pin_id, in imx1_write_2bit() argument 91 void __iomem *reg = imx1_mem(ipctl, pin_id) + reg_offset; in imx1_write_2bit() 92 int offset = (pin_id % 16) * 2; /* offset, regardless of register used */ in imx1_write_2bit() 98 if (pin_id % 32 >= 16) in imx1_write_2bit() 115 static void imx1_write_bit(struct imx1_pinctrl *ipctl, unsigned int pin_id, in imx1_write_bit() argument 118 void __iomem *reg = imx1_mem(ipctl, pin_id) + reg_offset; in imx1_write_bit() 119 int offset = pin_id % 32; in imx1_write_bit() 135 static int imx1_read_2bit(struct imx1_pinctrl *ipctl, unsigned int pin_id, in imx1_read_2bit() argument [all …]
|
D | pinctrl-scu.c | 60 int imx_pinconf_get_scu(struct pinctrl_dev *pctldev, unsigned pin_id, in imx_pinconf_get_scu() argument 73 msg.pad = pin_id; in imx_pinconf_get_scu() 86 int imx_pinconf_set_scu(struct pinctrl_dev *pctldev, unsigned pin_id, in imx_pinconf_set_scu() argument 105 wmsg.pad = pin_id; in imx_pinconf_set_scu() 110 pin_id, *configs); in imx_pinconf_set_scu() 128 msg.pad = pin_id; in imx_pinconf_set_scu() 134 pin_id, conf, val); in imx_pinconf_set_scu() 141 unsigned int *pin_id, struct imx_pin *pin, in imx_pinctrl_parse_pin_scu() argument 149 *pin_id = pin->pin; in imx_pinctrl_parse_pin_scu()
|
D | pinctrl-imx.c | 171 unsigned int pin_id; in imx_pmx_set_one_pin_mmio() local 173 pin_id = pin->pin; in imx_pmx_set_one_pin_mmio() 174 pin_reg = &ipctl->pin_regs[pin_id]; in imx_pmx_set_one_pin_mmio() 178 info->pins[pin_id].name); in imx_pmx_set_one_pin_mmio() 295 static int imx_pinconf_get_mmio(struct pinctrl_dev *pctldev, unsigned pin_id, in imx_pinconf_get_mmio() argument 300 const struct imx_pin_reg *pin_reg = &ipctl->pin_regs[pin_id]; in imx_pinconf_get_mmio() 304 info->pins[pin_id].name); in imx_pinconf_get_mmio() 317 unsigned pin_id, unsigned long *config) in imx_pinconf_get() argument 323 return info->imx_pinconf_get(pctldev, pin_id, config); in imx_pinconf_get() 325 return imx_pinconf_get_mmio(pctldev, pin_id, config); in imx_pinconf_get() [all …]
|
D | pinctrl-imx.h | 98 int (*imx_pinconf_get)(struct pinctrl_dev *pctldev, unsigned int pin_id, 100 int (*imx_pinconf_set)(struct pinctrl_dev *pctldev, unsigned int pin_id, 103 unsigned int *pin_id, struct imx_pin *pin, 128 int imx_pinconf_get_scu(struct pinctrl_dev *pctldev, unsigned pin_id, 130 int imx_pinconf_set_scu(struct pinctrl_dev *pctldev, unsigned pin_id, 133 unsigned int *pin_id, struct imx_pin *pin,
|
D | pinctrl-imx1.h | 23 unsigned int pin_id; member
|
/linux-6.6.21/drivers/pinctrl/ ! |
D | pinctrl-at91-pio4.c | 68 #define ATMEL_PIO_BANK(pin_id) (pin_id / ATMEL_PIO_NPINS_PER_BANK) argument 69 #define ATMEL_PIO_LINE(pin_id) (pin_id % ATMEL_PIO_NPINS_PER_BANK) argument 98 unsigned int pin_id; member 449 unsigned int pin_id) in atmel_pin_config_read() argument 452 unsigned int bank = atmel_pioctrl->pins[pin_id]->bank; in atmel_pin_config_read() 453 unsigned int line = atmel_pioctrl->pins[pin_id]->line; in atmel_pin_config_read() 465 unsigned int pin_id, u32 conf) in atmel_pin_config_write() argument 468 unsigned int bank = atmel_pioctrl->pins[pin_id]->bank; in atmel_pin_config_write() 469 unsigned int line = atmel_pioctrl->pins[pin_id]->line; in atmel_pin_config_write() 529 unsigned int pin_id, func_id; in atmel_pctl_xlate_pinfunc() local [all …]
|
D | pinctrl-digicolor.c | 297 int pin_id = i*PINS_PER_COLLECTION + j; in dc_pinctrl_probe() local 298 char *name = &pin_names[pin_id * name_len]; in dc_pinctrl_probe() 302 pins[pin_id].number = pin_id; in dc_pinctrl_probe() 303 pins[pin_id].name = name; in dc_pinctrl_probe() 304 pmap->pin_names[pin_id] = name; in dc_pinctrl_probe()
|
D | pinctrl-st.c | 422 int pin_id, int function) in st_pctl_set_function() argument 426 int pin = st_gpio_pin(pin_id); in st_pctl_set_function() 969 static int st_pinconf_set(struct pinctrl_dev *pctldev, unsigned pin_id, in st_pinconf_set() argument 972 int pin = st_gpio_pin(pin_id); in st_pinconf_set() 974 struct st_pio_control *pc = st_get_pio_control(pctldev, pin_id); in st_pinconf_set() 986 unsigned pin_id, unsigned long *config) in st_pinconf_get() argument 988 int pin = st_gpio_pin(pin_id); in st_pinconf_get() 990 struct st_pio_control *pc = st_get_pio_control(pctldev, pin_id); in st_pinconf_get() 1000 struct seq_file *s, unsigned pin_id) in st_pinconf_dbg_show() argument 1005 int offset = st_gpio_pin(pin_id); in st_pinconf_dbg_show() [all …]
|
D | pinctrl-at91.c | 983 unsigned pin_id, unsigned long *config) in at91_pinconf_get() argument 992 dev_dbg(info->dev, "%s:%d, pin_id=%d", __func__, __LINE__, pin_id); in at91_pinconf_get() 993 pio = pin_to_controller(info, pin_to_bank(pin_id)); in at91_pinconf_get() 998 pin = pin_id % MAX_NB_GPIO_PER_BANK; in at91_pinconf_get() 1026 unsigned pin_id, unsigned long *configs, in at91_pinconf_set() argument 1041 __func__, __LINE__, pin_id, config); in at91_pinconf_set() 1042 pio = pin_to_controller(info, pin_to_bank(pin_id)); in at91_pinconf_set() 1047 pin = pin_id % MAX_NB_GPIO_PER_BANK; in at91_pinconf_set() 1098 struct seq_file *s, unsigned pin_id) in at91_pinconf_dbg_show() argument 1103 at91_pinconf_get(pctldev, pin_id, &config); in at91_pinconf_dbg_show()
|
D | pinctrl-equilibrium.c | 707 unsigned int *pinmux, pin_id, pinmux_id; in eqbr_build_groups() local 740 if (of_property_read_u32_index(np, "pins", j, &pin_id)) { in eqbr_build_groups() 746 if (pin_id >= drvdata->pctl_desc.npins) { in eqbr_build_groups() 748 group.name, j, pin_id); in eqbr_build_groups() 752 group.pins[j] = pin_id; in eqbr_build_groups()
|
D | pinctrl-as3722.c | 144 #define AS3722_PINGROUP(pg_name, pin_id) \ argument 147 .pins = {AS3722_PIN_##pin_id}, \
|
D | pinctrl-max77620.c | 158 #define MAX77620_PINGROUP(pg_name, pin_id, option) \ argument 161 .pins = {MAX77620_##pin_id}, \
|
D | pinctrl-palmas.c | 492 #define PALMAS_PINGROUP(pg_name, pin_id, base, reg, _mask, _bshift, o0, o1, o2, o3) \ argument 495 .pins = {PALMAS_PIN_##pin_id}, \
|
/linux-6.6.21/drivers/pinctrl/sprd/ ! |
D | pinctrl-sprd.c | 315 unsigned int pin_id; in sprd_dt_node_to_map() local 318 pin_id = grp->pins[0]; in sprd_dt_node_to_map() 319 group_or_pin = pin_get_name(pctldev, pin_id); in sprd_dt_node_to_map() 418 unsigned int pin_id = grp->pins[i]; in sprd_pmx_set_mux() local 419 struct sprd_pin *pin = sprd_pinctrl_get_pin_by_id(pctl, pin_id); in sprd_pmx_set_mux() 440 static int sprd_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin_id, in sprd_pinconf_get() argument 444 struct sprd_pin *pin = sprd_pinctrl_get_pin_by_id(pctl, pin_id); in sprd_pinconf_get() 592 static int sprd_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin_id, in sprd_pinconf_set() argument 596 struct sprd_pin *pin = sprd_pinctrl_get_pin_by_id(pctl, pin_id); in sprd_pinconf_set() 749 unsigned int pin_id; in sprd_pinconf_group_get() local [all …]
|
/linux-6.6.21/drivers/pinctrl/nxp/ ! |
D | pinctrl-s32cc.c | 71 unsigned int pin_id; member 393 gpio_pin->pin_id = offset; in s32_pmx_gpio_request_enable() 418 if (gpio_pin->pin_id == offset) { in s32_pmx_gpio_disable_free() 419 ret = s32_regmap_write(pctldev, gpio_pin->pin_id, in s32_pmx_gpio_disable_free() 558 unsigned int pin_id, in s32_pinconf_mscr_update() argument 566 ret = s32_check_pin(pctldev, pin_id); in s32_pinconf_mscr_update() 571 pin_get_name(pctldev, pin_id), num_configs); in s32_pinconf_mscr_update() 582 dev_dbg(ipctl->dev, "update: pin %u cfg 0x%x\n", pin_id, config); in s32_pinconf_mscr_update() 584 return s32_regmap_update(pctldev, pin_id, mask, config); in s32_pinconf_mscr_update() 588 unsigned int pin_id, in s32_pinconf_get() argument [all …]
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/ ! |
D | bnxt_ptp.c | 443 int pin_id; in bnxt_ptp_enable() local 449 pin_id = ptp_find_pin(ptp->ptp_clock, PTP_PF_EXTTS, in bnxt_ptp_enable() 451 if (!TSIO_PIN_VALID(pin_id)) in bnxt_ptp_enable() 455 rc = bnxt_ptp_cfg_pin(bp, pin_id, BNXT_PPS_PIN_PPS_IN); in bnxt_ptp_enable() 460 ptp->pps_info.pins[pin_id].event = BNXT_PPS_EVENT_EXTERNAL; in bnxt_ptp_enable() 464 pin_id = ptp_find_pin(ptp->ptp_clock, PTP_PF_PEROUT, in bnxt_ptp_enable() 466 if (!TSIO_PIN_VALID(pin_id)) in bnxt_ptp_enable() 471 rc = bnxt_ptp_cfg_pin(bp, pin_id, BNXT_PPS_PIN_PPS_OUT); in bnxt_ptp_enable() 490 return bnxt_ptp_cfg_pin(bp, pin_id, BNXT_PPS_PIN_NONE); in bnxt_ptp_enable()
|
/linux-6.6.21/Documentation/devicetree/bindings/pinctrl/ ! |
D | fsl,scu-pinctrl.yaml | 38 and pad setting for the pin. The first 2 integers - pin_id and mux_val - are 47 "pin_id" indicates the pin ID
|
/linux-6.6.21/sound/soc/intel/skylake/ ! |
D | skl-pcm.c | 1301 struct skl_module_inst_id *pin_id; in skl_get_module_info() local 1336 pin_id = &mconfig->m_in_pin[i].id; in skl_get_module_info() 1337 if (guid_equal(&pin_id->mod_uuid, &module->uuid)) in skl_get_module_info() 1338 pin_id->module_id = module->id; in skl_get_module_info() 1342 pin_id = &mconfig->m_out_pin[i].id; in skl_get_module_info() 1343 if (guid_equal(&pin_id->mod_uuid, &module->uuid)) in skl_get_module_info() 1344 pin_id->module_id = module->id; in skl_get_module_info()
|
/linux-6.6.21/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 | 221 bool pp_atomfwctrl_get_pp_assign_pin(struct pp_hwmgr *hwmgr, const uint32_t pin_id,
|
/linux-6.6.21/sound/soc/intel/catpt/ ! |
D | pcm.c | 903 enum catpt_pin_id pin_id) in catpt_stream_volume_get() argument 914 stream = catpt_stream_find(cdev, pin_id); in catpt_stream_volume_get() 938 enum catpt_pin_id pin_id) in catpt_stream_volume_put() argument 947 stream = catpt_stream_find(cdev, pin_id); in catpt_stream_volume_put()
|
/linux-6.6.21/drivers/pinctrl/renesas/ ! |
D | pinctrl-rzn1.c | 732 u32 pin_id = be32_to_cpu(*list++); in rzn1_pinctrl_parse_groups() local 734 grp->pins[i] = pin_id & 0xff; in rzn1_pinctrl_parse_groups() 735 grp->pin_ids[i] = (pin_id >> 8) & 0x7f; in rzn1_pinctrl_parse_groups()
|
/linux-6.6.21/drivers/gpu/drm/amd/include/ ! |
D | atomfirmware.h | 807 …uint8_t pin_id; //Corresponding block in GPIO_PIN_INFO table gives the pin info … member
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/bios/ ! |
D | bios_parser2.c | 592 info->hpd_int_gpio_uid = record->pin_id; in bios_parser_get_hpd_info()
|