/kernel/linux/linux-5.10/drivers/pinctrl/sunxi/ |
H A D | pinctrl-sunxi.c | 90 const struct sunxi_desc_pin *pin = pctl->desc->pins + i; in sunxi_pinctrl_desc_find_function_by_name() 117 const struct sunxi_desc_pin *pin = pctl->desc->pins + i; in sunxi_pinctrl_desc_find_function_by_pin() 151 const unsigned **pins, in sunxi_pctrl_get_group_pins() 156 *pins = (unsigned *)&pctl->groups[group].pin; in sunxi_pctrl_get_group_pins() 255 count = of_property_count_strings(node, "pins"); in sunxi_pctrl_find_pins_prop() 258 return "pins"; in sunxi_pctrl_find_pins_prop() 262 count = of_property_count_strings(node, "allwinner,pins"); in sunxi_pctrl_find_pins_prop() 265 return "allwinner,pins"; in sunxi_pctrl_find_pins_prop() 351 dev_err(pctl->dev, "missing pins property in node %pOFn\n", in sunxi_pctrl_dt_node_to_map() 1204 * We assume that the number of groups is the number of pins in sunxi_pinctrl_build_state() 149 sunxi_pctrl_get_group_pins(struct pinctrl_dev *pctldev, unsigned group, const unsigned **pins, unsigned *num_pins) sunxi_pctrl_get_group_pins() argument 1409 struct pinctrl_pin_desc *pins; sunxi_pinctrl_init_with_variant() local [all...] |
/kernel/linux/linux-5.10/drivers/pinctrl/qcom/ |
H A D | pinctrl-msm.h | 25 * @pins: A list of pins assigned to this pingroup. 26 * @npins: Number of entries in @pins. 60 const unsigned *pins; member 97 * struct msm_gpio_wakeirq_map - Map of GPIOs and their wakeup pins 108 * @pins: An array describing all pins the pin controller affects. 109 * @npins: The number of entries in @pins. 124 const struct pinctrl_pin_desc *pins; member
|
/kernel/linux/linux-5.10/drivers/pinctrl/intel/ |
H A D | pinctrl-intel.h | 26 * struct intel_pingroup - Description about group of pins 28 * @pins: All pins in this group 29 * @npins: Number of pins in this groups 30 * @mode: Native mode in which the group is muxed out @pins. Used if @modes 32 * @modes: If not %NULL this will hold mode for each pin in @pins 36 const unsigned int *pins; member 99 * @pin_base: Starting pin of pins in this community 100 * @npins: Number of pins in this community 150 * @p: An array of pins thi 190 const struct pinctrl_pin_desc *pins; global() member [all...] |
H A D | pinctrl-broxton.c | 180 .pins = bxt_north_pins, 297 .pins = bxt_northwest_pins, 404 .pins = bxt_west_pins, 480 .pins = bxt_southwest_pins, 519 .pins = bxt_south_pins, 658 .pins = apl_north_pins, 778 .pins = apl_northwest_pins, 888 .pins = apl_west_pins, 980 .pins = apl_southwest_pins,
|
/kernel/linux/linux-5.10/drivers/pinctrl/mvebu/ |
H A D | pinctrl-mvebu.h | 32 * @npins: number of pins controlled by this control 38 * A mpp_ctrl describes a muxable unit, e.g. pin, group of pins, or 45 * to allow pin settings with varying gpio pins. 51 unsigned *pins; member 138 .pins = (unsigned[_idh - _idl + 1]) { }, \ 150 .pins = (unsigned[_idh - _idl + 1]) { }, \
|
/kernel/linux/linux-5.10/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier.h | 128 const unsigned *pins; member 140 const struct pinctrl_pin_desc *pins; member 162 .pins = grp##_pins, \
|
/kernel/linux/linux-6.6/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier.h | 128 const unsigned *pins; member 140 const struct pinctrl_pin_desc *pins; member 162 .pins = grp##_pins, \
|
/kernel/linux/linux-6.6/drivers/pinctrl/mvebu/ |
H A D | pinctrl-mvebu.h | 32 * @npins: number of pins controlled by this control 38 * A mpp_ctrl describes a muxable unit, e.g. pin, group of pins, or 45 * to allow pin settings with varying gpio pins. 51 unsigned *pins; member 138 .pins = (unsigned[_idh - _idl + 1]) { }, \ 150 .pins = (unsigned[_idh - _idl + 1]) { }, \
|
/kernel/linux/linux-5.10/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx.c | 71 * config maps for pins in imx_dt_node_to_map() 176 info->pins[pin_id].name); in imx_pmx_set_one_pin_mmio() 358 info->pins[pin_id].name); in imx_pinconf_get_mmio() 393 info->pins[pin_id].name); in imx_pinconf_set_mmio() 398 info->pins[pin_id].name); in imx_pinconf_set_mmio() 499 * Each pin represented in fsl,pins consists of a number of u32 PIN_FUNC_ID 564 dev_dbg(ipctl->dev, "%s: 0x%x 0x%08lx", info->pins[*pin_id].name, in imx_pinctrl_parse_pin_mmio() 595 * the binding format is fsl,pins = <PIN_FUNC_ID CONFIG ...>, in imx_pinctrl_parse_groups() 596 * do sanity check and calculate pins number in imx_pinctrl_parse_groups() 598 * First try legacy 'fsl,pins' propert in imx_pinctrl_parse_groups() [all...] |
/kernel/linux/linux-5.10/drivers/pinctrl/renesas/ |
H A D | pinctrl-rzn1.c | 61 * There are 170 configurable pins (called PL_GPIO in the datasheet). 94 * @npins: the number of pins in this group array, i.e. the number of 95 * elements in .pins so we can iterate over that array 96 * @pins: array of pins. Needed due to pinctrl_ops.get_group_pins() 103 unsigned int *pins; member 311 unsigned int selector, const unsigned int **pins, in rzn1_get_group_pins() 319 *pins = ipctl->groups[selector].pins; in rzn1_get_group_pins() 329 * Each 'Group' uses pinmux = <...> to detail the pins an 310 rzn1_get_group_pins(struct pinctrl_dev *pctldev, unsigned int selector, const unsigned int **pins, unsigned int *npins) rzn1_get_group_pins() argument [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/renesas/ |
H A D | pinctrl-rzn1.c | 65 * There are 170 configurable pins (called PL_GPIO in the datasheet). 98 * @npins: the number of pins in this group array, i.e. the number of 99 * elements in .pins so we can iterate over that array 100 * @pins: array of pins. Needed due to pinctrl_ops.get_group_pins() 107 unsigned int *pins; member 315 unsigned int selector, const unsigned int **pins, in rzn1_get_group_pins() 323 *pins = ipctl->groups[selector].pins; in rzn1_get_group_pins() 333 * Each 'Group' uses pinmux = <...> to detail the pins an 314 rzn1_get_group_pins(struct pinctrl_dev *pctldev, unsigned int selector, const unsigned int **pins, unsigned int *npins) rzn1_get_group_pins() argument [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx.c | 73 * config maps for pins in imx_dt_node_to_map() 178 info->pins[pin_id].name); in imx_pmx_set_one_pin_mmio() 304 info->pins[pin_id].name); in imx_pinconf_get_mmio() 339 info->pins[pin_id].name); in imx_pinconf_set_mmio() 344 info->pins[pin_id].name); in imx_pinconf_set_mmio() 445 * Each pin represented in fsl,pins consists of a number of u32 PIN_FUNC_ID 503 dev_dbg(ipctl->dev, "%s: 0x%x 0x%08lx", info->pins[*pin_id].name, in imx_pinctrl_parse_pin_mmio() 531 * the binding format is fsl,pins = <PIN_FUNC_ID CONFIG ...>, in imx_pinctrl_parse_groups() 532 * do sanity check and calculate pins number in imx_pinctrl_parse_groups() 534 * First try legacy 'fsl,pins' propert in imx_pinctrl_parse_groups() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_gmbus.c | 155 const struct gmbus_pin *pins; in get_gmbus_pin() local 159 pins = gmbus_pins_dg2; in get_gmbus_pin() 162 pins = gmbus_pins_dg1; in get_gmbus_pin() 165 pins = gmbus_pins_mtp; in get_gmbus_pin() 168 pins = gmbus_pins_icp; in get_gmbus_pin() 171 pins = gmbus_pins_cnp; in get_gmbus_pin() 174 pins = gmbus_pins_bxt; in get_gmbus_pin() 177 pins = gmbus_pins_skl; in get_gmbus_pin() 180 pins = gmbus_pins_bdw; in get_gmbus_pin() 183 pins in get_gmbus_pin() [all...] |
/kernel/linux/linux-5.10/sound/pci/hda/ |
H A D | patch_sigmatel.c | 286 * funky external mute control using GPIO pins. 801 /* check whether a built-in speaker is included in parsed pins */ 1373 .v.pins = ref9200_pin_configs, 1377 .v.pins = oqo9200_pin_configs, 1383 .v.pins = dell9200_d21_pin_configs, 1387 .v.pins = dell9200_d22_pin_configs, 1391 .v.pins = dell9200_d23_pin_configs, 1395 .v.pins = dell9200_m21_pin_configs, 1399 .v.pins = dell9200_m22_pin_configs, 1403 .v.pins [all...] |
H A D | patch_conexant.c | 27 /* extra EAPD pins */ 110 * pins, and we can control EAPD per pin. in cx_auto_parse_eapd() 112 * thus it might control over all pins. in cx_auto_parse_eapd() 119 const hda_nid_t *pins, bool on) in cx_auto_turn_eapd() 123 if (snd_hda_query_pin_caps(codec, pins[i]) & AC_PINCAP_EAPD) in cx_auto_turn_eapd() 124 snd_hda_codec_write(codec, pins[i], 0, in cx_auto_turn_eapd() 376 /* Set up mic pins for port-B, C and F dynamically as the recording in olpc_xo_update_mic_pins() 444 /* toggle spec->recording flag and update mic pins accordingly in olpc_xo_capture_hook() 750 .v.pins = cxt_pincfg_lenovo_x200, 754 .v.pins 118 cx_auto_turn_eapd(struct hda_codec *codec, int num_pins, const hda_nid_t *pins, bool on) cx_auto_turn_eapd() argument [all...] |
/kernel/linux/linux-6.6/sound/pci/hda/ |
H A D | patch_sigmatel.c | 286 * funky external mute control using GPIO pins. 801 /* check whether a built-in speaker is included in parsed pins */ 1373 .v.pins = ref9200_pin_configs, 1377 .v.pins = oqo9200_pin_configs, 1383 .v.pins = dell9200_d21_pin_configs, 1387 .v.pins = dell9200_d22_pin_configs, 1391 .v.pins = dell9200_d23_pin_configs, 1395 .v.pins = dell9200_m21_pin_configs, 1399 .v.pins = dell9200_m22_pin_configs, 1403 .v.pins [all...] |
H A D | patch_realtek.c | 549 static const hda_nid_t pins[] = { in alc_auto_setup_eapd() local 553 for (p = pins; *p; p++) in alc_auto_setup_eapd() 565 /* don't shut up pins when unloading the driver; otherwise it breaks in alc_headset_mic_no_shutup() 1285 .v.pins = (const struct hda_pintbl[]) { 1286 /* disable bogus unused pins */ 1295 .v.pins = (const struct hda_pintbl[]) { 1303 .v.pins = (const struct hda_pintbl[]) { 1304 /* disable bogus unused pins */ 1336 /* override all pins as BIOS on old Amilo is broken */ 1338 .v.pins [all...] |
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/ |
H A D | network_security_config.cpp | 440 cJSON *pins = cJSON_GetObjectItem(root, TAG_PIN.c_str()); in ParseJsonPinSet() local 441 if (pins == nullptr || !cJSON_IsArray(pins)) { in ParseJsonPinSet() 444 uint32_t size = cJSON_GetArraySize(pins); in ParseJsonPinSet() 447 cJSON *pinsItem = cJSON_GetArrayItem(pins, i); in ParseJsonPinSet() 561 int32_t NetworkSecurityConfig::GetPinSetForHostName(const std::string &hostname, std::string &pins) in GetPinSetForHostName() argument 600 pins = ss.str(); in GetPinSetForHostName() 601 if (!pins.empty()) { in GetPinSetForHostName() 602 pins.pop_back(); in GetPinSetForHostName() 666 NETMGR_LOG_I("domainConfigs_.domains_.pinSet_.pins[ in DumpConfigs() [all...] |
/kernel/linux/linux-5.10/drivers/pinctrl/bcm/ |
H A D | pinctrl-nsp-gpio.c | 86 * Mapping from PINCONF pins to GPIO pins is 1-to-1 574 * local GPIO pins 579 struct pinctrl_pin_desc *pins; in nsp_gpio_register_pinconf() local 583 pins = devm_kcalloc(chip->dev, gc->ngpio, sizeof(*pins), GFP_KERNEL); in nsp_gpio_register_pinconf() 584 if (!pins) in nsp_gpio_register_pinconf() 587 pins[i].number = i; in nsp_gpio_register_pinconf() 588 pins[i].name = devm_kasprintf(chip->dev, GFP_KERNEL, in nsp_gpio_register_pinconf() 590 if (!pins[ in nsp_gpio_register_pinconf() [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/bcm/ |
H A D | pinctrl-nsp-gpio.c | 74 * Mapping from PINCONF pins to GPIO pins is 1-to-1 573 * local GPIO pins 578 struct pinctrl_pin_desc *pins; in nsp_gpio_register_pinconf() local 582 pins = devm_kcalloc(chip->dev, gc->ngpio, sizeof(*pins), GFP_KERNEL); in nsp_gpio_register_pinconf() 583 if (!pins) in nsp_gpio_register_pinconf() 586 pins[i].number = i; in nsp_gpio_register_pinconf() 587 pins[i].name = devm_kasprintf(chip->dev, GFP_KERNEL, in nsp_gpio_register_pinconf() 589 if (!pins[ in nsp_gpio_register_pinconf() [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/intel/ |
H A D | pinctrl-broxton.c | 171 .pins = bxt_north_pins, 288 .pins = bxt_northwest_pins, 395 .pins = bxt_west_pins, 471 .pins = bxt_southwest_pins, 510 .pins = bxt_south_pins, 649 .pins = apl_north_pins, 769 .pins = apl_northwest_pins, 879 .pins = apl_west_pins, 971 .pins = apl_southwest_pins,
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/qib/ |
H A D | qib_twsi.c | 267 u32 pins, mask; in qib_twsi_reset() local 275 * Force pins to desired innocuous state. in qib_twsi_reset() 304 pins = dd->f_gpio_mod(dd, 0, 0, 0); in qib_twsi_reset() 305 if ((pins & mask) != mask) in qib_twsi_reset() 306 qib_dev_err(dd, "GPIO pins not at rest: %d\n", in qib_twsi_reset() 307 pins & mask); in qib_twsi_reset()
|
/kernel/linux/linux-5.10/drivers/pinctrl/spear/ |
H A D | pinctrl-spear.h | 53 const unsigned *pins; member 84 .pins = __pins, \ 105 * @pins: array containing pin numbers 106 * @npins: size of pins array 110 * A representation of a group of pins in the SPEAr pin controller. Each group 115 const unsigned *pins; member 136 * @pins: An array describing all pins the pin controller affects. 137 * All pins which are also GPIOs must be listed first within the *array, 139 * @npins: The numbmer of entries in @pins 153 const struct pinctrl_pin_desc *pins; global() member [all...] |
/kernel/linux/linux-6.6/drivers/pinctrl/spear/ |
H A D | pinctrl-spear.h | 54 const unsigned *pins; member 85 .pins = __pins, \ 106 * @pins: array containing pin numbers 107 * @npins: size of pins array 111 * A representation of a group of pins in the SPEAr pin controller. Each group 116 const unsigned *pins; member 137 * @pins: An array describing all pins the pin controller affects. 138 * All pins which are also GPIOs must be listed first within the *array, 140 * @npins: The numbmer of entries in @pins 154 const struct pinctrl_pin_desc *pins; global() member [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/qib/ |
H A D | qib_twsi.c | 268 u32 pins, mask; in qib_twsi_reset() local 276 * Force pins to desired innocuous state. in qib_twsi_reset() 305 pins = dd->f_gpio_mod(dd, 0, 0, 0); in qib_twsi_reset() 306 if ((pins & mask) != mask) in qib_twsi_reset() 307 qib_dev_err(dd, "GPIO pins not at rest: %d\n", in qib_twsi_reset() 308 pins & mask); in qib_twsi_reset()
|