/linux-master/drivers/net/ethernet/microchip/lan966x/ |
H A D | lan966x_ptp.c | 546 int pin, i; local 552 /* Go through all domains and see which pin generated the interrupt */ 557 pin = ptp_find_pin_unlocked(phc->clock, PTP_PF_EXTTS, 0); 558 if (pin == -1) 561 if (!(lan_rd(lan966x, PTP_PIN_INTR) & BIT(pin))) 569 lan_wr(BIT(pin), lan966x, PTP_PIN_INTR); 572 s = lan_rd(lan966x, PTP_TOD_SEC_MSB(pin)); 574 s |= lan_rd(lan966x, PTP_TOD_SEC_LSB(pin)); 575 ns = lan_rd(lan966x, PTP_TOD_NSEC(pin)); 587 ptp_event.index = pin; 767 lan966x_ptp_verify(struct ptp_clock_info *ptp, unsigned int pin, enum ptp_pin_function func, unsigned int chan) argument 816 int pin; local 914 int pin; local [all...] |
/linux-master/drivers/pinctrl/bcm/ |
H A D | pinctrl-bcm6358.c | 261 unsigned pin; local 263 for (pin = 0; pin < pg->grp.npins; pin++) 264 mask |= (unsigned long)bcm6358_pins[pin].drv_data; 268 for (pin = 0; pin < pg->grp.npins; pin++) { 270 unsigned int hw_gpio = bcm6358_pins[pin].number; 276 if (pg->direction & BIT(pin)) [all...] |
H A D | pinctrl-bcm281xx.c | 23 /* Function Select bits are the same for all pin control registers */ 27 /* Standard pin register */ 41 /* I2C pin register */ 49 /* HDMI pin register */ 56 * bcm281xx_pin_type - types of pin register 70 * bcm281xx_pin_function- define pin function 373 * the PADCTRLREG block in the RDB, since the pin number is used as an index 921 /* Every pin can implement all ALT1-ALT4 functions */ 944 unsigned pin) 948 if (pin > 943 pin_type_get(struct pinctrl_dev *pctldev, unsigned pin) argument 1084 bcm281xx_pinctrl_pin_config_get(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *config) argument 1093 bcm281xx_std_pin_update(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs, u32 *val, u32 *mask) argument 1209 bcm281xx_i2c_pin_update(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs, u32 *val, u32 *mask) argument 1279 bcm281xx_hdmi_pin_update(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs, u32 *val, u32 *mask) argument 1323 bcm281xx_pinctrl_pin_config_set(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs) argument [all...] |
/linux-master/drivers/pinctrl/ |
H A D | pinctrl-rockchip.c | 218 .pin = PIN, \ 258 * given a pin number that is local to a pin controller, find out the pin bank 259 * and the register base of the pin bank. 262 unsigned pin) 266 while (pin >= (b->pin_base + b->nr_pins)) 400 .pin = 0, 406 .pin = 1, 412 .pin 261 pin_to_bank(struct rockchip_pinctrl *info, unsigned pin) argument 657 rockchip_get_recalced_mux(struct rockchip_pin_bank *bank, int pin, int *reg, u8 *bit, int *mask) argument 1017 rockchip_get_mux_route(struct rockchip_pin_bank *bank, int pin, int mux, u32 *loc, u32 *reg, u32 *value) argument 1042 rockchip_get_mux(struct rockchip_pin_bank *bank, int pin) argument 1119 rockchip_verify_mux(struct rockchip_pin_bank *bank, int pin, int mux) argument 1157 rockchip_set_mux(struct rockchip_pin_bank *bank, int pin, int mux) argument 2123 u32 pin = bank_num * 32 + pin_num; local 2148 u32 pin = bank_num * 32 + pin_num; local 2174 u32 pin = bank_num * 32 + pin_num; local 2766 rockchip_pinconf_defer_pin(struct rockchip_pin_bank *bank, unsigned int pin, u32 param, u32 arg) argument 2785 rockchip_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, unsigned long *configs, unsigned num_configs) argument 2891 rockchip_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin, unsigned long *config) argument 3141 int pin, bank, ret; local 3284 int pin = 0; local 3294 int pin = 0; local [all...] |
H A D | core.c | 3 * Core driver for the pin control subsystem 51 /* Global list of pin control devices (struct pinctrl_dev) */ 54 /* List of pin controller handles (struct pinctrl) */ 94 * get_pinctrl_dev_from_devname() - look up pin controller device 97 * Looks up a pin control device matching a certain device name or pure device 140 * pin_get_from_name() - look up a pin number from a name 141 * @pctldev: the pin control device to lookup the pin on 142 * @name: the name of the pin to look up 146 unsigned int i, pin; local 167 pin_get_name(struct pinctrl_dev *pctldev, const unsigned int pin) argument 204 pinctrl_register_one_pin(struct pinctrl_dev *pctldev, const struct pinctrl_pin_desc *pin) argument 284 unsigned int pin = gc->base + offset - range->base; local 481 pinctrl_find_gpio_range_from_pin_nolock(struct pinctrl_dev *pctldev, unsigned int pin) argument 510 pinctrl_find_gpio_range_from_pin(struct pinctrl_dev *pctldev, unsigned int pin) argument 764 int pin; local 800 int ret, pin; local 835 int ret, pin; local 858 int pin; local 922 int ret, pin; local 1649 unsigned int i, pin; local [all...] |
H A D | pinmux.c | 3 * Core driver for the pin muxing portions of the pin control subsystem 78 * pinmux_can_be_used_for_gpio() - check if a specific pin 81 * @pctldev: the associated pin controller device 82 * @pin: the pin number in the global pin space 87 bool pinmux_can_be_used_for_gpio(struct pinctrl_dev *pctldev, unsigned int pin) argument 89 struct pin_desc *desc = pin_desc_get(pctldev, pin); 92 /* Can't inspect pin, assum 111 pin_request(struct pinctrl_dev *pctldev, int pin, const char *owner, struct pinctrl_gpio_range *gpio_range) argument 208 pin_free(struct pinctrl_dev *pctldev, int pin, struct pinctrl_gpio_range *gpio_range) argument 263 pinmux_request_gpio(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned int pin, unsigned int gpio) argument 288 pinmux_free_gpio(struct pinctrl_dev *pctldev, unsigned int pin, struct pinctrl_gpio_range *range) argument 304 pinmux_gpio_direction(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned int pin, bool input) argument 587 unsigned int i, pin; local [all...] |
H A D | pinctrl-artpec6.c | 2 * Driver for the Axis ARTPEC-6 pin controller 27 #define ARTPEC6_MAX_MUXABLE 35 /* Last pin with muxable function */ 396 * The register map has two holes where the pin number 406 static unsigned int artpec6_pmx_reg_offset(unsigned int pin) argument 411 if (pin <= pin_register[i].end) { 412 return (pin - pin_register[i].start) * 4 + 418 * get here if pin is outside registered range. 420 pr_err("%s: Impossible pin %d\n", __func__, pin); 697 dev_dbg(pmx->dev, "enabling %s function for pin grou 706 artpec6_pmx_request_gpio(struct pinctrl_dev *pctldev, struct pinctrl_gpio_range *range, unsigned int pin) argument 733 artpec6_pconf_get(struct pinctrl_dev *pctldev, unsigned int pin, unsigned long *config) argument 794 artpec6_pconf_set(struct pinctrl_dev *pctldev, unsigned int pin, unsigned long *configs, unsigned int num_configs) argument [all...] |
H A D | pinctrl-sx150x.c | 372 static bool sx150x_pin_is_oscio(struct sx150x_pinctrl *pctl, unsigned int pin) argument 374 if (pin >= pctl->data->npins) 377 /* OSCIO pin is only present in 789 devices */ 381 return !strcmp(pctl->data->pins[pin].name, "oscio"); 601 static int sx150x_pinconf_get(struct pinctrl_dev *pctldev, unsigned int pin, argument 610 if (sx150x_pin_is_oscio(pctl, pin)) { 644 data &= BIT(pin); 659 data &= BIT(pin); 677 data &= BIT(pin); 695 data &= BIT(pin); 732 sx150x_pinconf_set(struct pinctrl_dev *pctldev, unsigned int pin, unsigned long *configs, unsigned int num_configs) argument [all...] |
H A D | pinctrl-lpc18xx.c | 32 /* LPC18XX SCU pin register definitions */ 54 /* LPC18XX SCU pin interrupt select registers */ 66 /* LPC18xx pin types */ 75 /* LPC18xx pin functions */ 213 #define LPC_P(port, pin, f0, f1, f2, f3, f4, f5, f6, f7, a, t) \ 214 static struct lpc18xx_pin_caps lpc18xx_pin_p##port##_##pin = { \ 215 .offset = 0x##port * 32 * 4 + pin * 4, \ 425 #define LPC18XX_PIN_P(port, pin) { \ 426 .number = 0x##port * 32 + pin, \ 427 .name = "p"#port"_"#pin, \ 677 lpc18xx_pconf_get_i2c0(enum pin_config_param param, int *arg, u32 reg, unsigned pin) argument 723 lpc18xx_pin_to_gpio(struct pinctrl_dev *pctldev, unsigned pin) argument 761 lpc18xx_pconf_get_gpio_pin_int(struct pinctrl_dev *pctldev, int *arg, unsigned pin) argument 786 lpc18xx_pconf_get_pin(struct pinctrl_dev *pctldev, unsigned param, int *arg, u32 reg, unsigned pin, struct lpc18xx_pin_caps *pin_cap) argument 862 lpc18xx_get_pin_caps(unsigned pin) argument 874 lpc18xx_pconf_get(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *config) argument 932 lpc18xx_pconf_set_i2c0(struct pinctrl_dev *pctldev, enum pin_config_param param, u32 param_val, u32 *reg, unsigned pin) argument 983 lpc18xx_pconf_set_gpio_pin_int(struct pinctrl_dev *pctldev, u32 param_val, unsigned pin) argument 1009 lpc18xx_pconf_set_pin(struct pinctrl_dev *pctldev, unsigned param, u32 param_val, u32 *reg, unsigned pin, struct lpc18xx_pin_caps *pin_cap) argument 1087 lpc18xx_pconf_set(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs) argument 1158 struct lpc18xx_pin_caps *pin = lpc18xx_pins[group].drv_data; local 1275 lpc18xx_valid_pin_function(unsigned pin, unsigned function) argument [all...] |
/linux-master/drivers/pinctrl/freescale/ |
H A D | pinctrl-imx.c | 3 // Core driver for the imx pin controller 33 #define IMX_NO_PAD_CTL 0x80000000 /* no pin config need */ 67 struct imx_pin *pin; local 85 pin = &((struct imx_pin *)(grp->data))[i]; 86 if (!(pin->conf.mmio.config & IMX_NO_PAD_CTL)) 113 pin = &((struct imx_pin *)(grp->data))[i]; 120 (pin->conf.mmio.config & IMX_NO_PAD_CTL)) 125 pin_get_name(pctldev, pin->pin); 133 (unsigned long *)&pin 165 imx_pmx_set_one_pin_mmio(struct imx_pinctrl *ipctl, struct imx_pin *pin) argument 250 struct imx_pin *pin; local 427 struct imx_pin *pin = &((struct imx_pin *)(grp->data))[i]; local 460 imx_pinctrl_parse_pin_mmio(struct imx_pinctrl *ipctl, unsigned int *pin_id, struct imx_pin *pin, const __be32 **list_p, struct device_node *np) argument 513 struct imx_pin *pin; local [all...] |
/linux-master/include/trace/events/ |
H A D | kvm.h | 99 TP_PROTO(__u64 e, int pin, bool coalesced), 100 TP_ARGS(e, pin, coalesced), 104 __field( int, pin ) 110 __entry->pin = pin; 114 TP_printk("pin %u dst %x vec %u (%s|%s|%s%s)%s", 115 __entry->pin, (u8)(__entry->e >> 56), (u8)__entry->e, 176 #define kvm_ack_irq_string "irqchip %s pin %u" 177 #define kvm_ack_irq_parm __print_symbolic(__entry->irqchip, kvm_irqchips), __entry->pin 179 #define kvm_ack_irq_string "irqchip %d pin [all...] |
/linux-master/drivers/pinctrl/uniphier/ |
H A D | pinctrl-uniphier-core.c | 150 unsigned int pin, unsigned int *reg, 155 const struct pin_desc *desc = pin_desc_get(pctldev, pin); 192 /* drive strength control is not supported for this pin */ 207 unsigned int pin, 211 const struct pin_desc *desc = pin_desc_get(pctldev, pin); 258 unsigned int pin, u32 *strength) 265 ret = uniphier_conf_get_drvctrl_data(pctldev, pin, ®, &shift, 284 unsigned int pin) 287 const struct pin_desc *desc = pin_desc_get(pctldev, pin); 293 /* This pin i 149 uniphier_conf_get_drvctrl_data(struct pinctrl_dev *pctldev, unsigned int pin, unsigned int *reg, unsigned int *shift, unsigned int *mask, const unsigned int **strengths) argument 206 uniphier_conf_pin_bias_get(struct pinctrl_dev *pctldev, unsigned int pin, enum pin_config_param param) argument 257 uniphier_conf_pin_drive_get(struct pinctrl_dev *pctldev, unsigned int pin, u32 *strength) argument 283 uniphier_conf_pin_input_enable_get(struct pinctrl_dev *pctldev, unsigned int pin) argument 309 uniphier_conf_pin_config_get(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs) argument 343 uniphier_conf_pin_bias_set(struct pinctrl_dev *pctldev, unsigned int pin, enum pin_config_param param, u32 arg) argument 418 uniphier_conf_pin_drive_set(struct pinctrl_dev *pctldev, unsigned int pin, u32 strength) argument 456 uniphier_conf_pin_input_enable(struct pinctrl_dev *pctldev, unsigned int pin, u32 enable) argument 485 uniphier_conf_pin_config_set(struct pinctrl_dev *pctldev, unsigned pin, unsigned long *configs, unsigned num_configs) argument 580 uniphier_pmx_set_one_mux(struct pinctrl_dev *pctldev, unsigned pin, int muxval) argument [all...] |
/linux-master/drivers/md/bcache/ |
H A D | journal.c | 302 * journal.pin should never fill up - we never write a journal 310 i->pin = NULL; 313 if (fifo_free(&j->pin) > 1) { 314 fifo_push_front(&j->pin, p); 315 atomic_set(&fifo_front(&j->pin), 0); 318 if (fifo_free(&j->pin) > 1) { 319 fifo_push_front(&j->pin, p); 320 i->pin = &fifo_front(&j->pin); 321 atomic_set(i->pin, [all...] |
/linux-master/drivers/leds/blink/ |
H A D | leds-lgm-sso.c | 27 #define GET_FREQ_OFFSET(pin, src) (((pin) * 6) + ((src) * 2)) 28 #define GET_SRC_OFFSET(pinc) (((pin) * 6) + 4) 112 u32 pin; member in struct:sso_led_desc 156 static unsigned int sso_led_pin_to_group(u32 pin) argument 158 if (pin < LED_GRP0_PIN_MAX) 160 else if (pin < LED_GRP1_PIN_MAX) 176 static u32 sso_led_pin_blink_off(u32 pin, unsigned int group) argument 179 return pin - LED_GRP1_PIN_MAX; 181 return pin 192 sso_led_freq_set(struct sso_led_priv *priv, u32 pin, int freq_idx) argument [all...] |
/linux-master/drivers/pinctrl/spear/ |
H A D | pinctrl-plgpio.c | 27 #define PIN_OFFSET(pin) (pin % MAX_GPIO_PER_REG) 28 #define REG_OFFSET(base, reg, pin) (base + reg + (pin / MAX_GPIO_PER_REG) \ 59 * p2o: function ptr for pin to offset conversion. This is required only for 60 * machines where mapping b/w pin and offset is not 1-to-1. 61 * o2p: function ptr for offset to pin conversion. This is required only for 62 * machines where mapping b/w pin and offset is not 1-to-1. 72 int (*p2o)(int pin); /* pin_to_offset */ 82 static inline u32 is_plgpio_set(struct regmap *regmap, u32 pin, u3 argument 93 plgpio_reg_set(struct regmap *regmap, u32 pin, u32 reg) argument 103 plgpio_reg_reset(struct regmap *regmap, u32 pin, u32 reg) argument 373 int regs_count, count, pin, offset, i = 0; local 427 spear310_p2o(int pin) argument [all...] |
/linux-master/arch/xtensa/lib/ |
H A D | pci-auto.c | 124 u8 pin; local 127 pci_read_config_byte(dev, PCI_INTERRUPT_PIN, &pin); 129 /* Fix illegal pin numbers. */ 131 if (pin == 0 || pin > 4) 132 pin = 1; 135 irq = pci_ctrl->map_irq(dev, PCI_SLOT(devfn), pin); 140 pr_debug("PCI Autoconfig: Interrupt %d, pin %d\n", irq, pin);
|
/linux-master/arch/sh/boards/mach-x3proto/ |
H A D | gpio.c | 65 int pin; local 70 for_each_set_bit(pin, &mask, NR_BASEBOARD_GPIOS) 71 generic_handle_domain_irq(x3proto_irq_domain, pin);
|
/linux-master/arch/mips/pci/ |
H A D | fixup-lemote2f.c | 28 /* all the pci device has the PCIA pin, check the datasheet. */ 50 int pcibios_map_irq(const struct pci_dev *dev, u8 slot, u8 pin) argument 56 virq = irq_tab[slot][pin]; 57 printk(KERN_INFO "slot: %d, pin: %d, irq: %d\n", slot, pin, 104 /* setting the mutex pin as IDE function */
|
/linux-master/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_ptp.h | 36 #define TSIO_PIN_VALID(pin) ((pin) >= 0 && (pin) < (BNXT_MAX_TSIO_PINS))
|
/linux-master/drivers/net/ethernet/intel/igc/ |
H A D | igc_ptp.c | 127 static void igc_pin_direction(int pin, int input, u32 *ctrl, u32 *ctrl_ext) argument 129 u32 *ptr = pin < 2 ? ctrl : ctrl_ext; 138 *ptr &= ~mask[pin]; 140 *ptr |= mask[pin]; 143 static void igc_pin_perout(struct igc_adapter *igc, int chan, int pin, int freq) argument 181 igc_pin_direction(pin, 0, &ctrl, &ctrl_ext); 183 /* Make sure this pin is not enabled as an input. */ 184 if ((tssdp & IGC_AUX0_SEL_SDP3) == igc_aux0_sel_sdp[pin]) 187 if ((tssdp & IGC_AUX1_SEL_SDP3) == igc_aux1_sel_sdp[pin]) 190 tssdp &= ~igc_ts_sdp_sel_clr[pin]; 209 igc_pin_extts(struct igc_adapter *igc, int chan, int pin) argument 253 int use_freq = 0, pin = -1; local 417 igc_ptp_verify_pin(struct ptp_clock_info *ptp, unsigned int pin, enum ptp_pin_function func, unsigned int chan) argument [all...] |
/linux-master/sound/pci/hda/ |
H A D | hda_generic.c | 202 * pin control value accesses 205 #define update_pin_ctl(codec, pin, val) \ 206 snd_hda_codec_write_cache(codec, pin, 0, \ 210 static inline void restore_pin_ctl(struct hda_codec *codec, hda_nid_t pin) argument 212 update_pin_ctl(codec, pin, snd_hda_codec_get_pin_target(codec, pin)); 216 static void set_pin_target(struct hda_codec *codec, hda_nid_t pin, argument 219 if (!pin) 221 val = snd_hda_correct_pin_ctl(codec, pin, val); 222 snd_hda_codec_set_pin_target(codec, pin, va 513 get_preferred_dac(struct hda_codec *codec, hda_nid_t pin) argument 527 look_for_dac(struct hda_codec *codec, hda_nid_t pin, bool is_digital) argument 917 set_pin_eapd(struct hda_codec *codec, hda_nid_t pin, bool enable) argument 1362 try_dac(struct hda_codec *codec, hda_nid_t dac, hda_nid_t pin) argument 1384 hda_nid_t pin = pins[i]; local 1461 get_dac_if_single(struct hda_codec *codec, hda_nid_t pin) argument 1653 hda_nid_t path_dac, dac, pin; local 2570 hda_nid_t pin; local 2720 get_jack_mode_name(struct hda_codec *codec, hda_nid_t pin, char *name, size_t name_len) argument 2733 get_out_jack_num_items(struct hda_codec *codec, hda_nid_t pin) argument 2751 hda_nid_t pin = pins[i]; local 2781 get_vref_caps(struct hda_codec *codec, hda_nid_t pin) argument 2875 get_in_jack_num_items(struct hda_codec *codec, hda_nid_t pin) argument 2884 create_in_jack_mode(struct hda_codec *codec, hda_nid_t pin) argument 3021 create_hp_mic_jack_mode(struct hda_codec *codec, hda_nid_t pin) argument 3057 look_for_mix_leaf_ctls(struct hda_codec *codec, hda_nid_t mix_nid, hda_nid_t pin, unsigned int *mix_val, unsigned int *mute_val) argument 3093 new_analog_input(struct hda_codec *codec, int input_idx, hda_nid_t pin, const char *ctlname, int ctlidx, hda_nid_t mix_nid) argument 3254 parse_capture_source(struct hda_codec *codec, hda_nid_t pin, int cfg_idx, int num_adcs, const char *label, int anchor) argument 3303 hda_nid_t pin = cfg->inputs[i].pin; local 3347 hda_nid_t pin; local 4029 hda_nid_t dig_nid, pin; local 4167 detect_pin_state(struct hda_codec *codec, hda_nid_t pin) argument 4180 set_pin_power_jack(struct hda_codec *codec, hda_nid_t pin, int power) argument 4346 snd_hda_gen_fix_pin_power(struct hda_codec *codec, hda_nid_t pin) argument 4578 hda_nid_t pin = spec->am_entry[i].pin; local 5802 hda_nid_t pin; local 5852 hda_nid_t pin = spec->multi_io[i].pin; local 5940 hda_nid_t pin; local 5956 const struct hda_pincfg *pin; local [all...] |
/linux-master/drivers/pinctrl/intel/ |
H A D | pinctrl-cherryview.c | 601 static u32 chv_readl(struct intel_pinctrl *pctrl, unsigned int pin, unsigned int offset) argument 603 return readl(chv_padreg(pctrl, pin, offset)); 606 static void chv_writel(struct intel_pinctrl *pctrl, unsigned int pin, unsigned int offset, u32 value) argument 608 void __iomem *reg = chv_padreg(pctrl, pin, offset); 676 dev_warn(dev, "unable to set mode for locked pin %u\n", grp->grp.pins[i]); 682 int pin = grp->grp.pins[i]; local 687 /* Check if there is pin-specific config */ 697 value = chv_readl(pctrl, pin, CHV_PADCTRL0); 703 chv_writel(pctrl, pin, CHV_PADCTRL0, value); 706 value = chv_readl(pctrl, pin, CHV_PADCTRL 833 chv_config_get(struct pinctrl_dev *pctldev, unsigned int pin, unsigned long *config) argument 917 chv_config_set_pull(struct intel_pinctrl *pctrl, unsigned int pin, enum pin_config_param param, u32 arg) argument 978 chv_config_set_oden(struct intel_pinctrl *pctrl, unsigned int pin, bool enable) argument 997 chv_config_set(struct pinctrl_dev *pctldev, unsigned int pin, unsigned long *configs, unsigned int nconfigs) argument 1275 chv_gpio_set_intr_line(struct intel_pinctrl *pctrl, unsigned int pin) argument [all...] |
/linux-master/drivers/net/ethernet/intel/igb/ |
H A D | igb_ptp.c | 371 static void igb_pin_direction(int pin, int input, u32 *ctrl, u32 *ctrl_ext) argument 373 u32 *ptr = pin < 2 ? ctrl : ctrl_ext; 382 *ptr &= ~mask[pin]; 384 *ptr |= mask[pin]; 387 static void igb_pin_extts(struct igb_adapter *igb, int chan, int pin) argument 405 igb_pin_direction(pin, 1, &ctrl, &ctrl_ext); 407 /* Make sure this pin is not enabled as an output. */ 408 tssdp &= ~ts_sdp_en[pin]; 412 tssdp |= aux1_sel_sdp[pin] | AUX1_TS_SDP_EN; 415 tssdp |= aux0_sel_sdp[pin] | AUX0_TS_SDP_E 423 igb_pin_perout(struct igb_adapter *igb, int chan, int pin, int freq) argument 500 int pin = -1; local 650 int use_freq = 0, pin = -1; local 793 igb_ptp_verify_pin(struct ptp_clock_info *ptp, unsigned int pin, enum ptp_pin_function func, unsigned int chan) argument [all...] |
/linux-master/drivers/gpio/ |
H A D | gpiolib-acpi.c | 34 "controller@pin combos on which to ignore the ACPI wake flag " 35 "ignore_wake=controller@pin[,controller@pin[,...]]"); 40 "controller@pin combos on which to ignore interrupt " 41 "ignore_interrupt=controller@pin[,controller@pin[,...]]"); 55 * @pin: GPIO pin number on the struct gpio_chip 60 * @desc: struct gpio_desc for the GPIO pin for this event 66 unsigned int pin; member in struct:acpi_gpio_event 76 unsigned int pin; member in struct:acpi_gpio_connection 144 acpi_get_gpiod(char *path, unsigned int pin) argument 311 unsigned int pin = agpio->pin_table[index]; local 333 unsigned int pin; local 368 unsigned int pin = agpio->pin_table[0]; local 392 unsigned int pin; local 1132 unsigned int pin = agpio->pin_table[i]; local [all...] |
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_audio.c | 38 void dce6_audio_enable(struct radeon_device *rdev, struct r600_audio_pin *pin, 188 struct r600_audio_pin *pin, u8 enable_mask) 195 if (!pin) 203 if (dig->pin == pin) 213 rdev->audio.funcs->enable(rdev, pin, enable_mask); 215 radeon_audio_component_notify(rdev, pin->id); 269 rdev->audio.pin[i].channels = -1; 270 rdev->audio.pin[i].rate = -1; 271 rdev->audio.pin[ 187 radeon_audio_enable(struct radeon_device *rdev, struct r600_audio_pin *pin, u8 enable_mask) argument [all...] |