Searched refs:pin (Results 301 - 325 of 829) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/pinctrl/
H A Dpinctrl-cy8c95x0.c3 * CY8C95X0 20/40/60 pin I2C GPIO port expander with interrupt support
109 * On Intel Galileo Gen 1 board the IRQ pin is provided
147 * @pctldev: pin controller device
148 * @pinctrl_desc: pin controller description
318 unsigned int pin, bool input);
320 static inline u8 cypress_get_port(struct cy8c95x0_pinctrl *chip, unsigned int pin) argument
323 return CY8C95X0_PIN_TO_OFFSET(pin) / BANK_SZ;
326 static int cypress_get_pin_mask(struct cy8c95x0_pinctrl *chip, unsigned int pin) argument
329 return BIT(CY8C95X0_PIN_TO_OFFSET(pin) % BANK_SZ);
1008 dev_err(dev, "failed to add GPIO pin rang
1243 cy8c95x0_pin_dbg_show(struct pinctrl_dev *pctldev, struct seq_file *s, unsigned int pin) argument
1331 cy8c95x0_gpio_request_enable(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned int pin) argument
1340 cy8c95x0_pinmux_direction(struct cy8c95x0_pinctrl *chip, unsigned int pin, bool input) argument
1366 cy8c95x0_gpio_set_direction(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned int pin, bool input) argument
1385 cy8c95x0_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin, unsigned long *config) argument
1393 cy8c95x0_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, unsigned long *configs, unsigned int num_configs) argument
[all...]
H A Dpinctrl-stmfx.c216 unsigned int pin, unsigned long *config)
224 range = pinctrl_find_gpio_range_from_pin_nolock(pctldev, pin);
228 dir = stmfx_gpio_get_direction(&pctl->gpio_chip, pin);
238 type = stmfx_pinconf_get_type(pctl, pin);
241 pupd = stmfx_pinconf_get_pupd(pctl, pin);
270 ret = stmfx_gpio_get(&pctl->gpio_chip, pin);
285 static int stmfx_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, argument
294 range = pinctrl_find_gpio_range_from_pin_nolock(pctldev, pin);
296 dev_err(pctldev->dev, "pin %d is not available\n", pin);
215 stmfx_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin, unsigned long *config) argument
[all...]
/linux-master/arch/mips/include/asm/txx9/
H A Dgeneric.h40 int (*pci_map_irq)(const struct pci_dev *dev, u8 slot, u8 pin);
H A Drbtx4927.h90 int rbtx4927_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin);
/linux-master/arch/sh/drivers/pci/
H A Dfixups-rts7751r2d.c31 int pcibios_map_platform_irq(const struct pci_dev *pdev, u8 slot, u8 pin) argument
H A Dfixups-dreamcast.c74 int pcibios_map_platform_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
/linux-master/sound/pci/lola/
H A Dlola_proc.c111 chip->pin[CAPT].num_pins, chip->pin[PLAY].num_pins);
117 for (i = 0; i < chip->pin[CAPT].num_pins; i++, nid++)
120 for (i = 0; i < chip->pin[PLAY].num_pins; i++, nid++)
/linux-master/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Dgpio.h40 struct hw_gpio_pin *pin; member in struct:gpio
/linux-master/drivers/gpu/drm/radeon/
H A Devergreen_hdmi.h50 void dce4_audio_enable(struct radeon_device *rdev, struct r600_audio_pin *pin,
/linux-master/include/soc/mscc/
H A Docelot_ptp.h53 int ocelot_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin,
/linux-master/arch/arm/mach-pxa/
H A Dmfp-pxa2xx.h45 #define MFP_CFG_IN(pin, af) \
47 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_DIR_IN))
52 #define MFP_CFG_OUT(pin, af, state) \
54 (MFP_PIN(MFP_PIN_##pin) | MFP_##af | MFP_DIR_OUT | MFP_LPM_##state))
/linux-master/arch/sh/include/asm/
H A Dpci.h81 int pcibios_map_platform_irq(const struct pci_dev *dev, u8 slot, u8 pin);
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
H A Dpriv.h35 u64 (*pin)(struct nvkm_fault_buffer *); member in struct:nvkm_fault_func::__anon941
/linux-master/arch/arm/mach-orion5x/
H A Dcommon.h65 int orion5x_pci_map_irq(const struct pci_dev *dev, u8 slot, u8 pin);
/linux-master/sound/soc/ti/
H A Domap-twl4030.c118 .pin = "Headset Mic",
122 .pin = "Headset Stereophone",
137 int connected, char *pin)
140 snd_soc_dapm_disable_pin(dapm, pin);
136 twl4030_disconnect_pin(struct snd_soc_dapm_context *dapm, int connected, char *pin) argument
/linux-master/drivers/net/ethernet/intel/ice/
H A Dice_dpll.h12 * @pin: dpll pin structure
14 * @idx: ice pin private idx
17 * @flags: pin flags returned from HW
18 * @state: state of a pin
19 * @prop: pin properties
20 * @freq: current frequency of a pin
24 struct dpll_pin *pin; member in struct:ice_dpll_pin
44 * @phase_offset: phase offset of active pin vs dpll signal
45 * @prev_phase_offset: previous phase offset of active pin v
[all...]
/linux-master/arch/mips/include/asm/
H A Dpci.h63 extern int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin);
/linux-master/arch/x86/include/asm/
H A Dhw_irq.h45 int pin; member in struct:ioapic_alloc_info
/linux-master/drivers/pwm/
H A Dpwm-stmpe.c101 unsigned int i, pin; local
116 /* Connect the PWM to the pin */
117 pin = pwm->hwpwm;
122 pin += STMPE_PWM_24XX_PINBASE;
124 ret = stmpe_set_altfunc(stmpe_pwm->stmpe, BIT(pin),
127 dev_err(pwmchip_parent(chip), "unable to connect PWM#%u to pin\n",
/linux-master/arch/x86/kernel/
H A Ddevicetree.c82 u8 pin; local
84 ret = pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin);
87 if (!pin)
226 tmp.ioapic.pin = fwspec->param[0];
/linux-master/include/sound/
H A Dsoc-jack.h12 * struct snd_soc_jack_pin - Describes a pin to update based on jack detection
14 * @pin: name of the pin to update
16 * @invert: if non-zero then pin is enabled when status is not reported
21 const char *pin; member in struct:snd_soc_jack_pin
45 * struct snd_soc_jack_gpio - Describes a gpio pin for jack detection
/linux-master/arch/x86/kvm/
H A Dioapic.c56 int pin);
534 int pin)
537 union kvm_ioapic_redirect_entry *ent = &ioapic->redirtbl[pin];
548 kvm_notify_acked_irq(ioapic->kvm, KVM_IRQCHIP_IOAPIC, pin);
557 if (!ent->fields.mask && (ioapic->irr & (1 << pin))) {
558 ++ioapic->irq_eoi[pin];
559 if (ioapic->irq_eoi[pin] == IOAPIC_SUCCESSIVE_IRQ_MAX_COUNT) {
569 ioapic->irq_eoi[pin] = 0;
572 ioapic_service(ioapic, pin, false);
575 ioapic->irq_eoi[pin]
531 kvm_ioapic_update_eoi_one(struct kvm_vcpu *vcpu, struct kvm_ioapic *ioapic, int trigger_mode, int pin) argument
[all...]
/linux-master/drivers/pinctrl/realtek/
H A Dpinctrl-rtd.c3 * Realtek DHC pin controller driver
147 static const struct rtd_pin_desc *rtd_pinctrl_find_mux(struct rtd_pinctrl *data, unsigned int pin) argument
149 if (data->info->muxes[pin].name)
150 return &data->info->muxes[pin];
156 unsigned int pin, const char *func_name)
163 mux = rtd_pinctrl_find_mux(data, pin);
169 dev_err(pcdev->dev, "NULL pin has no functions\n");
171 dev_err(pcdev->dev, "No functions available for pin %s\n", mux->name);
184 dev_err(pcdev->dev, "NULL pin provided for function %s\n", func_name);
188 dev_err(pcdev->dev, "No function %s available for pin
155 rtd_pinctrl_set_one_mux(struct pinctrl_dev *pcdev, unsigned int pin, const char *func_name) argument
250 rtd_pinctrl_find_config(struct rtd_pinctrl *data, unsigned int pin) argument
258 rtd_pinctrl_find_sconfig(struct rtd_pinctrl *data, unsigned int pin) argument
[all...]
/linux-master/drivers/pinctrl/mediatek/
H A Dpinctrl-moore.c64 int pin = grp->grp.pins[i]; local
66 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin];
82 unsigned int pin)
87 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin];
97 unsigned int pin, bool input)
102 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin];
111 unsigned int pin, unsigned long *config)
118 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin];
249 static int mtk_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, argument
257 desc = (const struct mtk_pin_desc *)&hw->soc->pins[pin];
80 mtk_pinmux_gpio_request_enable(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned int pin) argument
95 mtk_pinmux_gpio_set_direction(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned int pin, bool input) argument
110 mtk_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin, unsigned long *config) argument
[all...]
/linux-master/include/linux/firmware/
H A Dxlnx-zynqmp.h579 int zynqmp_pm_pinctrl_request(const u32 pin);
580 int zynqmp_pm_pinctrl_release(const u32 pin);
581 int zynqmp_pm_pinctrl_set_function(const u32 pin, const u32 id);
582 int zynqmp_pm_pinctrl_get_config(const u32 pin, const u32 param,
584 int zynqmp_pm_pinctrl_set_config(const u32 pin, const u32 param,
817 static inline int zynqmp_pm_pinctrl_request(const u32 pin) argument
822 static inline int zynqmp_pm_pinctrl_release(const u32 pin) argument
832 static inline int zynqmp_pm_pinctrl_set_function(const u32 pin, const u32 id) argument
837 static inline int zynqmp_pm_pinctrl_get_config(const u32 pin, const u32 param, argument
843 static inline int zynqmp_pm_pinctrl_set_config(const u32 pin, cons argument
[all...]

Completed in 321 milliseconds

<<11121314151617181920>>