Searched refs:pin (Results 126 - 150 of 826) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_gmbus.h40 unsigned int pin);
44 intel_gmbus_get_adapter(struct drm_i915_private *dev_priv, unsigned int pin);
H A Dintel_hotplug.h29 bool intel_hpd_disable(struct drm_i915_private *dev_priv, enum hpd_pin pin);
30 void intel_hpd_enable(struct drm_i915_private *dev_priv, enum hpd_pin pin);
/linux-master/drivers/pinctrl/freescale/
H A Dpinctrl-scu.c141 unsigned int *pin_id, struct imx_pin *pin,
145 struct imx_pin_scu *pin_scu = &pin->conf.scu;
148 pin->pin = be32_to_cpu(*list++);
149 *pin_id = pin->pin;
154 dev_dbg(ipctl->dev, "%s: 0x%x 0x%08lx", info->pins[pin->pin].name,
140 imx_pinctrl_parse_pin_scu(struct imx_pinctrl *ipctl, unsigned int *pin_id, struct imx_pin *pin, const __be32 **list_p) argument
/linux-master/drivers/pinctrl/starfive/
H A Dpinctrl-starfive-jh7110-aon.c77 unsigned int pin,
81 if (pin < sfp->gc.ngpio && func == 0)
82 jh7110_set_gpiomux(sfp, pin, din, dout, doen);
88 unsigned int pin)
90 if (pin < PAD_GMAC0_MDC)
101 unsigned int pin; local
106 for_each_set_bit(pin, &mis, JH7110_AON_NGPIO)
107 generic_handle_domain_irq(sfp->gc.irq.domain, pin);
76 jh7110_aon_set_one_pin_mux(struct jh7110_pinctrl *sfp, unsigned int pin, unsigned int din, u32 dout, u32 doen, u32 func) argument
87 jh7110_aon_get_padcfg_base(struct jh7110_pinctrl *sfp, unsigned int pin) argument
H A Dpinctrl-starfive-jh7110.h58 unsigned int pin,
63 unsigned int pin);
68 void jh7110_set_gpiomux(struct jh7110_pinctrl *sfp, unsigned int pin,
/linux-master/arch/mips/include/asm/octeon/
H A Dpci-octeon.h33 u8 slot, u8 pin);
/linux-master/drivers/pinctrl/bcm/
H A Dpinctrl-bcm6318.c335 static inline unsigned int bcm6318_mux_off(unsigned int pin) argument
337 return BCM6318_MUX_REG + (pin / 16) * 4;
340 static inline unsigned int bcm6318_pad_off(unsigned int pin) argument
342 return BCM6318_PAD_REG + (pin / 8) * 4;
388 static inline void bcm6318_rmw_mux(struct bcm63xx_pinctrl *pc, unsigned pin, argument
391 if (pin < BCM63XX_BANK_GPIOS)
392 regmap_update_bits(pc->regs, BCM6318_MODE_REG, BIT(pin),
393 mode ? BIT(pin) : 0);
395 if (pin < BCM6318_NUM_MUX)
397 bcm6318_mux_off(pin),
402 bcm6318_set_pad(struct bcm63xx_pinctrl *pc, unsigned pin, uint8_t val) argument
[all...]
/linux-master/drivers/soc/pxa/
H A Dmfp.c66 * The pullup and pulldown state of the MFP pin at run mode is by default
171 int pin, af, drv, lpm, edge, pull; local
173 pin = MFP_PIN(c);
174 BUG_ON(pin >= MFP_PIN_MAX);
175 p = &mfp_table[pin];
269 int pin; local
271 for (pin = 0; pin < ARRAY_SIZE(mfp_table); pin++, p++)
278 int pin; local
[all...]
/linux-master/drivers/dpll/
H A Ddpll_core.h40 * struct dpll_pin - structure for a dpll pin
41 * @id: unique id number for pin given by dpll subsystem
42 * @pin_idx: index of a pin given by dev driver
45 * @dpll_refs: hold referencees to dplls pin was registered with
46 * @parent_refs: hold references to parent pins pin was registered with
47 * @prop: pin properties copied from the registerer
48 * @rclk_dev_name: holds name of device when pin can recover clock from it
67 * @pin: pointer to a pin
74 struct dpll_pin *pin; member in union:dpll_pin_ref::__anon3
[all...]
/linux-master/sound/soc/ti/
H A Dams-delta.c68 /* Selection <-> pin translation */
105 int pin, changed = 0; local
120 pin = !!(pins & (1 << AMS_DELTA_MOUTHPIECE));
122 if (pin != snd_soc_dapm_get_pin_status(dapm, "Mouthpiece")) {
124 if (pin)
129 pin = !!(pins & (1 << AMS_DELTA_EARPIECE));
130 if (pin != snd_soc_dapm_get_pin_status(dapm, "Earpiece")) {
132 if (pin)
137 pin = !!(pins & (1 << AMS_DELTA_MICROPHONE));
138 if (pin !
[all...]
/linux-master/drivers/irqchip/
H A Dirq-qcom-mpm.c38 * up by a MPM pin/interrupt, and RPM will copy STATUS registers into vMPM.
72 /* MPM pin map to GIC hwirq */
74 int pin; member in struct:mpm_gic_map
112 int pin = d->hwirq; local
113 unsigned int index = pin / 32;
114 unsigned int shift = pin % 32;
159 int pin = d->hwirq; local
160 unsigned int index = pin / 32;
161 unsigned int shift = pin % 32;
202 static struct mpm_gic_map *get_mpm_gic_map(struct qcom_mpm_priv *priv, int pin) argument
222 irq_hw_number_t pin; local
278 unsigned int pin = 32 * i + j; local
363 u32 pin, hwirq; local
[all...]
/linux-master/sound/soc/codecs/
H A Dhdac_hdmi.c88 struct hdac_hdmi_pin *pin; member in struct:hdac_hdmi_port
161 struct hdac_device *hdev = port->pin->hdev;
238 * Get the port entry select on the pin. Return the port entry
239 * id selected on the pin. Return 0 means the first port entry
245 return snd_hdac_codec_read(hdev, port->pin->nid,
258 if (!port->pin->mst_capable)
262 num_ports = hdac_hdmi_get_port_len(hdev, port->pin->nid);
272 snd_hdac_codec_write(hdev, port->pin->nid, 0,
362 struct hdac_hdmi_pin *pin = port->pin; local
491 hdac_hdmi_query_port_connlist(struct hdac_device *hdev, struct hdac_hdmi_pin *pin, struct hdac_hdmi_port *port) argument
969 struct hdac_hdmi_pin *pin = port->pin; local
1083 struct hdac_hdmi_pin *pin; local
1253 hdac_hdmi_present_sense(struct hdac_hdmi_pin *pin, struct hdac_hdmi_port *port) argument
1339 hdac_hdmi_add_ports(struct hdac_device *hdev, struct hdac_hdmi_pin *pin) argument
1369 struct hdac_hdmi_pin *pin; local
1695 hdac_hdmi_pin2port(void *aptr, int pin) argument
1704 struct hdac_hdmi_pin *pin; local
1775 struct hdac_hdmi_pin *pin; local
1819 struct hdac_hdmi_pin *pin; local
1942 struct hdac_hdmi_pin *pin; local
2215 struct hdac_hdmi_pin *pin; local
[all...]
/linux-master/drivers/pinctrl/sunxi/
H A Dpinctrl-sunxi.c59 * They take a pin number which is relative to the start of the current device.
62 u32 pin, u32 *reg, u32 *shift, u32 *mask)
64 u32 bank = pin / PINS_PER_BANK;
65 u32 offset = pin % PINS_PER_BANK * MUX_FIELD_WIDTH;
74 u32 pin, u32 *reg, u32 *shift, u32 *mask)
76 u32 bank = pin / PINS_PER_BANK;
77 u32 offset = pin % PINS_PER_BANK * DATA_FIELD_WIDTH;
86 u32 pin, u32 *reg, u32 *shift, u32 *mask)
88 u32 bank = pin / PINS_PER_BANK;
89 u32 offset = pin
61 sunxi_mux_reg(const struct sunxi_pinctrl *pctl, u32 pin, u32 *reg, u32 *shift, u32 *mask) argument
73 sunxi_data_reg(const struct sunxi_pinctrl *pctl, u32 pin, u32 *reg, u32 *shift, u32 *mask) argument
85 sunxi_dlevel_reg(const struct sunxi_pinctrl *pctl, u32 pin, u32 *reg, u32 *shift, u32 *mask) argument
97 sunxi_pull_reg(const struct sunxi_pinctrl *pctl, u32 pin, u32 *reg, u32 *shift, u32 *mask) argument
150 const struct sunxi_desc_pin *pin = pctl->desc->pins + i; local
177 const struct sunxi_desc_pin *pin = pctl->desc->pins + i; local
514 sunxi_pconf_reg(const struct sunxi_pinctrl *pctl, u32 pin, enum pin_config_param param, u32 *reg, u32 *shift, u32 *mask) argument
536 sunxi_pconf_get(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *config) argument
598 sunxi_pconf_set(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs) argument
678 sunxi_pinctrl_set_io_bias_cfg(struct sunxi_pinctrl *pctl, unsigned pin, struct regulator *supply) argument
774 sunxi_pmx_set(struct pinctrl_dev *pctldev, unsigned pin, u8 config) argument
926 u32 pin = offset + chip->base; local
979 int pin, base; local
1192 int pin, base; local
1289 const struct sunxi_desc_pin *pin = pctl->desc->pins + i; local
1316 const struct sunxi_desc_pin *pin = pctl->desc->pins + i; local
1348 const struct sunxi_desc_pin *pin = pctl->desc->pins + i; local
1531 const struct sunxi_desc_pin *pin = pctl->desc->pins + i; local
1596 const struct sunxi_desc_pin *pin = pctl->desc->pins + i; local
[all...]
/linux-master/drivers/gpio/
H A Dgpio-xgs-iproc.c48 int pin = d->hwirq; local
56 event_status |= BIT(pin);
67 int pin = d->hwirq; local
72 gpiochip_enable_irq(gc, pin);
79 event_mask |= 1 << pin;
83 int_mask |= 1 << pin;
94 int pin = d->hwirq; local
105 event_mask &= ~BIT(pin);
109 int_mask &= ~BIT(pin);
114 gpiochip_disable_irq(gc, pin);
121 int pin = d->hwirq; local
[all...]
H A Dgpio-loongson-64bit.c45 static inline void loongson_commit_direction(struct loongson_gpio_chip *lgpio, unsigned int pin, argument
50 writeb(bval, lgpio->reg_base + lgpio->chip_data->conf_offset + pin);
53 static void loongson_commit_level(struct loongson_gpio_chip *lgpio, unsigned int pin, int high) argument
57 writeb(bval, lgpio->reg_base + lgpio->chip_data->out_offset + pin);
60 static int loongson_gpio_direction_input(struct gpio_chip *chip, unsigned int pin) argument
66 loongson_commit_direction(lgpio, pin, 1);
72 static int loongson_gpio_direction_output(struct gpio_chip *chip, unsigned int pin, int value) argument
78 loongson_commit_level(lgpio, pin, value);
79 loongson_commit_direction(lgpio, pin, 0);
85 static int loongson_gpio_get(struct gpio_chip *chip, unsigned int pin) argument
97 loongson_gpio_get_direction(struct gpio_chip *chip, unsigned int pin) argument
109 loongson_gpio_set(struct gpio_chip *chip, unsigned int pin, int value) argument
[all...]
/linux-master/drivers/media/usb/dvb-usb-v2/
H A Dmxl111sf-gpio.c22 static int mxl111sf_set_gpo_state(struct mxl111sf_state *state, u8 pin, u8 val) argument
27 mxl_debug_adv("(%d, %d)", pin, val);
29 if ((pin > 0) && (pin < 8)) {
33 tmp &= ~(1 << (pin - 1));
34 tmp |= (val << (pin - 1));
38 } else if (pin <= 10) {
39 if (pin == 0)
40 pin += 7;
44 tmp &= ~(1 << (pin
55 mxl111sf_get_gpi_state(struct mxl111sf_state *state, u8 pin, u8 *val) argument
99 u8 pin; member in struct:mxl_gpio_cfg
[all...]
/linux-master/arch/powerpc/platforms/8xx/
H A Dcpm1.c156 static void __init cpm1_set_pin32(int port, int pin, int flags) argument
159 pin = 1 << (31 - pin);
169 setbits32(&iop->dir, pin);
171 clrbits32(&iop->dir, pin);
174 setbits32(&iop->par, pin);
176 clrbits32(&iop->par, pin);
180 setbits16(&mpc8xx_immr->im_cpm.cp_pbodr, pin);
182 clrbits16(&mpc8xx_immr->im_cpm.cp_pbodr, pin);
187 setbits32(&iop->sor, pin);
198 cpm1_set_pin16(int port, int pin, int flags) argument
236 cpm1_set_pin(enum cpm_port port, int pin, int flags) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/dce80/
H A Dhw_factory_dce80.c117 struct hw_gpio_pin *pin,
120 struct hw_ddc *ddc = HW_DDC_FROM_BASE(pin);
122 switch (pin->id) {
141 static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en) argument
143 struct hw_hpd *hpd = HW_HPD_FROM_BASE(pin);
116 define_ddc_registers( struct hw_gpio_pin *pin, uint32_t en) argument
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/dce120/
H A Dhw_factory_dce120.c130 struct hw_gpio_pin *pin,
133 struct hw_ddc *ddc = HW_DDC_FROM_BASE(pin);
135 switch (pin->id) {
154 static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en) argument
156 struct hw_hpd *hpd = HW_HPD_FROM_BASE(pin);
180 * Initialize HW factory function pointers and pin info
129 define_ddc_registers( struct hw_gpio_pin *pin, uint32_t en) argument
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/dce60/
H A Dhw_factory_dce60.c117 struct hw_gpio_pin *pin,
120 struct hw_ddc *ddc = HW_DDC_FROM_BASE(pin);
122 switch (pin->id) {
141 static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en) argument
143 struct hw_hpd *hpd = HW_HPD_FROM_BASE(pin);
116 define_ddc_registers( struct hw_gpio_pin *pin, uint32_t en) argument
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/dce110/
H A Dhw_factory_dce110.c113 struct hw_gpio_pin *pin,
116 struct hw_ddc *ddc = HW_DDC_FROM_BASE(pin);
118 switch (pin->id) {
137 static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en) argument
139 struct hw_hpd *hpd = HW_HPD_FROM_BASE(pin);
162 * Initialize HW factory function pointers and pin info
112 define_ddc_registers( struct hw_gpio_pin *pin, uint32_t en) argument
/linux-master/arch/alpha/kernel/
H A Dsys_miata.c155 miata_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument
205 int slot, pin = *pinp; local
224 pin = pci_swizzle_interrupt_pin(dev, pin);
232 *pinp = pin;
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/dcn21/
H A Dhw_factory_dcn21.c159 static void define_generic_registers(struct hw_gpio_pin *pin, uint32_t en) argument
161 struct hw_generic *generic = HW_GENERIC_FROM_BASE(pin);
170 struct hw_gpio_pin *pin,
173 struct hw_ddc *ddc = HW_DDC_FROM_BASE(pin);
175 switch (pin->id) {
194 static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en) argument
196 struct hw_hpd *hpd = HW_HPD_FROM_BASE(pin);
221 * Initialize HW factory function pointers and pin info
169 define_ddc_registers( struct hw_gpio_pin *pin, uint32_t en) argument
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/dcn10/
H A Dhw_factory_dcn10.c151 static void define_generic_registers(struct hw_gpio_pin *pin, uint32_t en) argument
153 struct hw_generic *generic = HW_GENERIC_FROM_BASE(pin);
162 struct hw_gpio_pin *pin,
165 struct hw_ddc *ddc = HW_DDC_FROM_BASE(pin);
167 switch (pin->id) {
186 static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en) argument
188 struct hw_hpd *hpd = HW_HPD_FROM_BASE(pin);
213 * Initialize HW factory function pointers and pin info
161 define_ddc_registers( struct hw_gpio_pin *pin, uint32_t en) argument
/linux-master/drivers/gpu/drm/amd/display/dc/gpio/dcn315/
H A Dhw_factory_dcn315.c180 static void define_generic_registers(struct hw_gpio_pin *pin, uint32_t en) argument
182 struct hw_generic *generic = HW_GENERIC_FROM_BASE(pin);
191 struct hw_gpio_pin *pin,
194 struct hw_ddc *ddc = HW_DDC_FROM_BASE(pin);
196 switch (pin->id) {
215 static void define_hpd_registers(struct hw_gpio_pin *pin, uint32_t en) argument
217 struct hw_hpd *hpd = HW_HPD_FROM_BASE(pin);
242 * Initialize HW factory function pointers and pin info
190 define_ddc_registers( struct hw_gpio_pin *pin, uint32_t en) argument

Completed in 229 milliseconds

1234567891011>>