Home
last modified time | relevance | path

Searched defs:pin (Results 1 – 25 of 572) sorted by relevance

12345678910>>...23

/linux-6.6.21/drivers/media/cec/core/
Dcec-pin.c111 static void cec_pin_update(struct cec_pin *pin, bool v, bool force) in cec_pin_update()
136 static bool cec_pin_read(struct cec_pin *pin) in cec_pin_read()
144 static void cec_pin_low(struct cec_pin *pin) in cec_pin_low()
150 static bool cec_pin_high(struct cec_pin *pin) in cec_pin_high()
156 static bool rx_error_inj(struct cec_pin *pin, unsigned int mode_offset, in rx_error_inj()
190 static bool rx_nack(struct cec_pin *pin) in rx_nack()
195 static bool rx_low_drive(struct cec_pin *pin) in rx_low_drive()
201 static bool rx_add_byte(struct cec_pin *pin) in rx_add_byte()
206 static bool rx_remove_byte(struct cec_pin *pin) in rx_remove_byte()
211 static bool rx_arb_lost(struct cec_pin *pin, u8 *poll) in rx_arb_lost()
[all …]
/linux-6.6.21/drivers/gpio/
Dgpio-lpc32xx.c179 unsigned pin, int input) in __set_gpio_dir_p012()
190 unsigned pin, int input) in __set_gpio_dir_p3()
201 unsigned pin, int high) in __set_gpio_level_p012()
212 unsigned pin, int high) in __set_gpio_level_p3()
223 unsigned pin, int high) in __set_gpo_level_p3()
232 unsigned pin) in __get_gpio_state_p012()
239 unsigned pin) in __get_gpio_state_p3()
251 unsigned pin) in __get_gpi_state_p3()
257 unsigned pin) in __get_gpo_state_p3()
266 unsigned pin) in lpc32xx_gpio_dir_input_p012()
[all …]
Dgpio-sama5d2-piobu.c58 static int sama5d2_piobu_setup_pin(struct gpio_chip *chip, unsigned int pin) in sama5d2_piobu_setup_pin()
79 static int sama5d2_piobu_write_value(struct gpio_chip *chip, unsigned int pin, in sama5d2_piobu_write_value()
95 static int sama5d2_piobu_read_value(struct gpio_chip *chip, unsigned int pin, in sama5d2_piobu_read_value()
115 unsigned int pin) in sama5d2_piobu_get_direction()
130 unsigned int pin) in sama5d2_piobu_direction_input()
139 unsigned int pin, int value) in sama5d2_piobu_direction_output()
153 static int sama5d2_piobu_get(struct gpio_chip *chip, unsigned int pin) in sama5d2_piobu_get()
172 static void sama5d2_piobu_set(struct gpio_chip *chip, unsigned int pin, in sama5d2_piobu_set()
Dgpio-zevio.c62 static inline u32 zevio_gpio_port_get(struct zevio_gpio *c, unsigned pin, in zevio_gpio_port_get()
69 static inline void zevio_gpio_port_set(struct zevio_gpio *c, unsigned pin, in zevio_gpio_port_set()
77 static int zevio_gpio_get(struct gpio_chip *chip, unsigned pin) in zevio_gpio_get()
93 static void zevio_gpio_set(struct gpio_chip *chip, unsigned pin, int value) in zevio_gpio_set()
109 static int zevio_gpio_direction_input(struct gpio_chip *chip, unsigned pin) in zevio_gpio_direction_input()
126 unsigned pin, int value) in zevio_gpio_direction_output()
148 static int zevio_gpio_to_irq(struct gpio_chip *chip, unsigned pin) in zevio_gpio_to_irq()
Dgpio-dln2.c65 __le16 pin; member
88 static int dln2_gpio_pin_cmd(struct dln2_gpio *dln2, int cmd, unsigned pin) in dln2_gpio_pin_cmd()
97 static int dln2_gpio_pin_val(struct dln2_gpio *dln2, int cmd, unsigned int pin) in dln2_gpio_pin_val()
115 static int dln2_gpio_pin_get_in_val(struct dln2_gpio *dln2, unsigned int pin) in dln2_gpio_pin_get_in_val()
125 static int dln2_gpio_pin_get_out_val(struct dln2_gpio *dln2, unsigned int pin) in dln2_gpio_pin_get_out_val()
136 unsigned int pin, int value) in dln2_gpio_pin_set_out_val()
285 static int dln2_gpio_set_event_cfg(struct dln2_gpio *dln2, unsigned pin, in dln2_gpio_set_event_cfg()
289 __le16 pin; in dln2_gpio_set_event_cfg() member
306 int pin = irqd_to_hwirq(irqd); in dln2_irq_unmask() local
316 int pin = irqd_to_hwirq(irqd); in dln2_irq_mask() local
[all …]
Dgpio-wcd934x.c21 static int wcd_gpio_get_direction(struct gpio_chip *chip, unsigned int pin) in wcd_gpio_get_direction()
37 static int wcd_gpio_direction_input(struct gpio_chip *chip, unsigned int pin) in wcd_gpio_direction_input()
45 static int wcd_gpio_direction_output(struct gpio_chip *chip, unsigned int pin, in wcd_gpio_direction_output()
58 static int wcd_gpio_get(struct gpio_chip *chip, unsigned int pin) in wcd_gpio_get()
68 static void wcd_gpio_set(struct gpio_chip *chip, unsigned int pin, int val) in wcd_gpio_set()
Dgpio-zynqmp-modepin.c31 static int modepin_gpio_get_value(struct gpio_chip *chip, unsigned int pin) in modepin_gpio_get_value()
60 static void modepin_gpio_set_value(struct gpio_chip *chip, unsigned int pin, in modepin_gpio_set_value()
89 static int modepin_gpio_dir_in(struct gpio_chip *chip, unsigned int pin) in modepin_gpio_dir_in()
102 static int modepin_gpio_dir_out(struct gpio_chip *chip, unsigned int pin, in modepin_gpio_dir_out()
Dgpio-loongson-64bit.c44 static inline void loongson_commit_direction(struct loongson_gpio_chip *lgpio, unsigned int pin, in loongson_commit_direction()
52 static void loongson_commit_level(struct loongson_gpio_chip *lgpio, unsigned int pin, int high) in loongson_commit_level()
59 static int loongson_gpio_direction_input(struct gpio_chip *chip, unsigned int pin) in loongson_gpio_direction_input()
71 static int loongson_gpio_direction_output(struct gpio_chip *chip, unsigned int pin, int value) in loongson_gpio_direction_output()
84 static int loongson_gpio_get(struct gpio_chip *chip, unsigned int pin) in loongson_gpio_get()
96 static int loongson_gpio_get_direction(struct gpio_chip *chip, unsigned int pin) in loongson_gpio_get_direction()
108 static void loongson_gpio_set(struct gpio_chip *chip, unsigned int pin, int value) in loongson_gpio_set()
/linux-6.6.21/drivers/pinctrl/
Dpinctrl-keembay.c58 #define KEEMBAY_GPIO_REG_OFFSET(pin) ((pin) * 4) argument
861 static inline u32 keembay_read_reg(void __iomem *base, unsigned int pin) in keembay_read_reg()
866 static inline u32 keembay_read_gpio_reg(void __iomem *base, unsigned int pin) in keembay_read_gpio_reg()
871 static inline u32 keembay_read_pin(void __iomem *base, unsigned int pin) in keembay_read_pin()
878 static inline void keembay_write_reg(u32 val, void __iomem *base, unsigned int pin) in keembay_write_reg()
883 static inline void keembay_write_gpio_reg(u32 val, void __iomem *base, unsigned int pin) in keembay_write_gpio_reg()
888 static void keembay_gpio_invert(struct keembay_pinctrl *kpc, unsigned int pin) in keembay_gpio_invert()
902 static void keembay_gpio_restore_default(struct keembay_pinctrl *kpc, unsigned int pin) in keembay_gpio_restore_default()
911 struct pinctrl_gpio_range *range, unsigned int pin) in keembay_request_gpio()
937 int pin; in keembay_set_mux() local
[all …]
Dpinctrl-at91.c143 uint32_t pin; member
370 static inline int pin_to_bank(unsigned pin) in pin_to_bank()
375 static unsigned pin_to_mask(unsigned int pin) in pin_to_mask()
380 static unsigned two_bit_pin_value_shift_amount(unsigned int pin) in two_bit_pin_value_shift_amount()
388 static unsigned sama5d3_get_drive_register(unsigned int pin) in sama5d3_get_drive_register()
396 static unsigned at91sam9x5_get_drive_register(unsigned int pin) in at91sam9x5_get_drive_register()
409 static unsigned at91_mux_get_pullup(void __iomem *pio, unsigned pin) in at91_mux_get_pullup()
422 static bool at91_mux_get_output(void __iomem *pio, unsigned int pin, bool *val) in at91_mux_get_output()
435 static unsigned at91_mux_get_multidrive(void __iomem *pio, unsigned pin) in at91_mux_get_multidrive()
509 static bool at91_mux_get_deglitch(void __iomem *pio, unsigned pin) in at91_mux_get_deglitch()
[all …]
/linux-6.6.21/drivers/pinctrl/mediatek/
Dpinctrl-mtk-common.c51 unsigned long pin) in mtk_get_regmap()
58 static unsigned int mtk_get_port(struct mtk_pinctrl *pctl, unsigned long pin) in mtk_get_port()
106 static int mtk_pconf_set_ies_smt(struct mtk_pinctrl *pctl, unsigned pin, in mtk_pconf_set_ies_smt()
153 unsigned int pin, int value, enum pin_config_param arg) in mtk_pconf_spec_set_ies_smt_range()
195 struct mtk_pinctrl *pctl, unsigned long pin) { in mtk_find_pin_drv_grp_by_pin()
209 unsigned int pin, unsigned char driving) in mtk_pconf_set_driving()
241 unsigned int pin, bool isup, unsigned int r1r0) in mtk_pctrl_spec_pull_set_samereg()
302 unsigned int pin, bool enable, bool isup, unsigned int arg) in mtk_pconf_set_pull_select()
367 unsigned int pin, enum pin_config_param param, in mtk_pconf_parse_conf()
442 mtk_pctrl_find_group_by_pin(struct mtk_pinctrl *pctl, u32 pin) in mtk_pctrl_find_group_by_pin()
[all …]
/linux-6.6.21/arch/arm/plat-orion/
Dgpio.c97 __set_direction(struct orion_gpio_chip *ochip, unsigned pin, int input) in __set_direction()
109 static void __set_level(struct orion_gpio_chip *ochip, unsigned pin, int high) in __set_level()
122 __set_blinking(struct orion_gpio_chip *ochip, unsigned pin, int blink) in __set_blinking()
135 orion_gpio_is_valid(struct orion_gpio_chip *ochip, unsigned pin, int mode) in orion_gpio_is_valid()
156 static int orion_gpio_request(struct gpio_chip *chip, unsigned pin) in orion_gpio_request()
167 static int orion_gpio_direction_input(struct gpio_chip *chip, unsigned pin) in orion_gpio_direction_input()
182 static int orion_gpio_get(struct gpio_chip *chip, unsigned pin) in orion_gpio_get()
197 orion_gpio_direction_output(struct gpio_chip *chip, unsigned pin, int value) in orion_gpio_direction_output()
214 static void orion_gpio_set(struct gpio_chip *chip, unsigned pin, int value) in orion_gpio_set()
224 static int orion_gpio_to_irq(struct gpio_chip *chip, unsigned pin) in orion_gpio_to_irq()
[all …]
/linux-6.6.21/drivers/acpi/
Dpci_irq.c28 u8 pin; member
33 static inline char pin_name(int pin) in pin_name()
84 unsigned char pin; member
137 int pin, struct acpi_pci_routing_table *prt, in acpi_pci_irq_check_entry()
200 int pin, struct acpi_prt_entry **entry_ptr) in acpi_pci_irq_find_prt_entry()
291 static struct acpi_prt_entry *acpi_pci_irq_lookup(struct pci_dev *dev, int pin) in acpi_pci_irq_lookup()
366 static inline bool acpi_pci_irq_valid(struct pci_dev *dev, u8 pin) in acpi_pci_irq_valid()
387 u8 pin; in acpi_pci_irq_enable() local
481 u8 pin; in acpi_pci_irq_disable() local
/linux-6.6.21/drivers/pinctrl/meson/
Dpinctrl-meson.c72 static int meson_get_bank(struct meson_pinctrl *pc, unsigned int pin, in meson_get_bank()
97 static void meson_calc_reg_and_bit(struct meson_bank *bank, unsigned int pin, in meson_calc_reg_and_bit()
180 unsigned int pin, in meson_pinconf_set_gpio_bit()
198 unsigned int pin, in meson_pinconf_get_gpio_bit()
218 unsigned int pin, in meson_pinconf_set_output()
225 unsigned int pin) in meson_pinconf_get_output()
236 unsigned int pin, in meson_pinconf_set_drive()
243 unsigned int pin) in meson_pinconf_get_drive()
249 unsigned int pin, in meson_pinconf_set_output_drive()
262 unsigned int pin) in meson_pinconf_disable_bias()
[all …]
/linux-6.6.21/drivers/pinctrl/aspeed/
Dpinmux-aspeed.h594 #define SIG_EXPR_LIST_ALIAS(pin, sig, group) \ argument
612 #define SIG_EXPR_LIST_DECL_SESG(pin, sig, func, ...) \ argument
628 #define SIG_EXPR_LIST_DECL_SEMG(pin, sig, group, func, ...) \ argument
644 #define SIG_EXPR_LIST_DECL_DESG(pin, sig, f0, f1) \ argument
652 #define PIN_EXPRS_SYM(pin) pin_exprs_ ## pin argument
653 #define PIN_EXPRS_PTR(pin) (&PIN_EXPRS_SYM(pin)[0]) argument
654 #define PIN_SYM(pin) pin_ ## pin argument
656 #define PIN_DECL_(pin, ...) \ argument
675 #define PIN_DECL_1(pin, other, sig) \ argument
692 #define SSSF_PIN_DECL(pin, other, sig, ...) \ argument
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/gpio/
Dhw_gpio.c64 struct hw_gpio *pin = FROM_HW_GPIO_PIN(ptr); in dal_hw_gpio_open() local
125 struct hw_gpio *pin = FROM_HW_GPIO_PIN(ptr); in dal_hw_gpio_change_mode() local
133 struct hw_gpio *pin = FROM_HW_GPIO_PIN(ptr); in dal_hw_gpio_close() local
180 struct hw_gpio *pin, in dal_hw_gpio_construct()
200 struct hw_gpio *pin) in dal_hw_gpio_destruct()
/linux-6.6.21/drivers/pinctrl/intel/
Dpinctrl-intel.c110 struct intel_community *intel_get_community(struct intel_pinctrl *pctrl, unsigned int pin) in intel_get_community()
129 unsigned int pin) in intel_community_get_padgroup()
144 unsigned int pin, unsigned int reg) in intel_get_padcfg()
163 static bool intel_pad_owned_by_host(struct intel_pinctrl *pctrl, unsigned int pin) in intel_pad_owned_by_host()
188 static bool intel_pad_acpi_mode(struct intel_pinctrl *pctrl, unsigned int pin) in intel_pad_acpi_mode()
231 static int intel_pad_locked(struct intel_pinctrl *pctrl, unsigned int pin) in intel_pad_locked()
269 static bool intel_pad_is_unlocked(struct intel_pinctrl *pctrl, unsigned int pin) in intel_pad_is_unlocked()
274 static bool intel_pad_usable(struct intel_pinctrl *pctrl, unsigned int pin) in intel_pad_usable()
307 unsigned int pin) in intel_pin_dbg_show()
484 unsigned int pin) in intel_gpio_request_enable()
[all …]
Dpinctrl-tangier.c68 unsigned int pin) in tng_get_family()
84 static bool tng_buf_available(struct tng_pinctrl *tp, unsigned int pin) in tng_buf_available()
95 static void __iomem *tng_get_bufcfg(struct tng_pinctrl *tp, unsigned int pin) in tng_get_bufcfg()
108 static int tng_read_bufcfg(struct tng_pinctrl *tp, unsigned int pin, u32 *value) in tng_read_bufcfg()
121 static void tng_update_bufcfg(struct tng_pinctrl *tp, unsigned int pin, in tng_update_bufcfg()
160 unsigned int pin) in tng_pin_dbg_show()
246 unsigned int pin) in tng_gpio_request_enable()
271 static int tng_config_get(struct pinctrl_dev *pctldev, unsigned int pin, in tng_config_get()
357 static int tng_config_set_pin(struct tng_pinctrl *tp, unsigned int pin, in tng_config_set_pin()
442 static int tng_config_set(struct pinctrl_dev *pctldev, unsigned int pin, in tng_config_set()
/linux-6.6.21/arch/arm/boot/dts/intel/pxa/
Dpxa2xx.dtsi10 #define PMGROUP(pin) #pin argument
11 #define PMMUX(func, pin, af) \ argument
16 #define PMMUX_LPM_LOW(func, pin, af) \ argument
22 #define PMMUX_LPM_HIGH(func, pin, af) \ argument
/linux-6.6.21/arch/x86/kernel/apic/
Dio_apic.c75 #define for_each_pin(idx, pin) \ argument
77 #define for_each_ioapic_pin(idx, pin) \ argument
90 int apic, pin; member
149 static inline u32 mp_pin_to_gsi(int ioapic, int pin) in mp_pin_to_gsi()
291 static struct IO_APIC_route_entry __ioapic_read_entry(int apic, int pin) in __ioapic_read_entry()
301 static struct IO_APIC_route_entry ioapic_read_entry(int apic, int pin) in ioapic_read_entry()
319 static void __ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e) in __ioapic_write_entry()
325 static void ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e) in ioapic_write_entry()
339 static void ioapic_mask_entry(int apic, int pin) in ioapic_mask_entry()
356 int node, int apic, int pin) in __add_pin_to_irq_node()
[all …]
/linux-6.6.21/drivers/pinctrl/renesas/
Dpinctrl.c116 const char *pin; in sh_pfc_dt_subnode_to_map() local
384 const struct sh_pfc_pin *pin = &pfc->info->pins[idx]; in sh_pfc_gpio_request_enable() local
428 const struct sh_pfc_pin *pin = &pfc->info->pins[idx]; in sh_pfc_gpio_set_direction() local
462 unsigned int pin, unsigned int *offset, unsigned int *size) in sh_pfc_pinconf_find_drive_strength_reg()
485 unsigned int pin) in sh_pfc_pinconf_get_drive_strength()
505 unsigned int pin, u16 strength) in sh_pfc_pinconf_set_drive_strength()
546 const struct sh_pfc_pin *pin = &pfc->info->pins[idx]; in sh_pfc_pinconf_validate() local
614 const struct sh_pfc_pin *pin = &pfc->info->pins[idx]; in sh_pfc_pinconf_get() local
687 const struct sh_pfc_pin *pin = &pfc->info->pins[idx]; in sh_pfc_pinconf_set() local
775 struct pinctrl_pin_desc *pin = &pmx->pins[i]; in sh_pfc_map_pins() local
[all …]
/linux-6.6.21/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
Dled.c9 void rtl8821ae_sw_led_on(struct ieee80211_hw *hw, enum rtl_led_pin pin) in rtl8821ae_sw_led_on()
37 void rtl8812ae_sw_led_on(struct ieee80211_hw *hw, enum rtl_led_pin pin) in rtl8812ae_sw_led_on()
68 void rtl8821ae_sw_led_off(struct ieee80211_hw *hw, enum rtl_led_pin pin) in rtl8821ae_sw_led_off()
107 void rtl8812ae_sw_led_off(struct ieee80211_hw *hw, enum rtl_led_pin pin) in rtl8812ae_sw_led_off()
/linux-6.6.21/drivers/pinctrl/sunxi/
Dpinctrl-sunxi.c62 u32 pin, u32 *reg, u32 *shift, u32 *mask) in sunxi_mux_reg()
74 u32 pin, u32 *reg, u32 *shift, u32 *mask) in sunxi_data_reg()
86 u32 pin, u32 *reg, u32 *shift, u32 *mask) in sunxi_dlevel_reg()
98 u32 pin, u32 *reg, u32 *shift, u32 *mask) in sunxi_pull_reg()
150 const struct sunxi_desc_pin *pin = pctl->desc->pins + i; in sunxi_pinctrl_desc_find_function_by_name() local
177 const struct sunxi_desc_pin *pin = pctl->desc->pins + i; in sunxi_pinctrl_desc_find_function_by_pin() local
515 u32 pin, enum pin_config_param param, in sunxi_pconf_reg()
536 static int sunxi_pconf_get(struct pinctrl_dev *pctldev, unsigned pin, in sunxi_pconf_get()
598 static int sunxi_pconf_set(struct pinctrl_dev *pctldev, unsigned pin, in sunxi_pconf_set()
679 unsigned pin, in sunxi_pinctrl_set_io_bias_cfg()
[all …]
/linux-6.6.21/drivers/net/dsa/mv88e6xxx/
Dglobal2_scratch.c107 unsigned int pin) in mv88e6352_g2_scratch_gpio_get_data()
128 unsigned int pin, int value) in mv88e6352_g2_scratch_gpio_set_data()
152 unsigned int pin) in mv88e6352_g2_scratch_gpio_get_dir()
173 unsigned int pin, bool input) in mv88e6352_g2_scratch_gpio_set_dir()
192 unsigned int pin, int *func) in mv88e6352_g2_scratch_gpio_get_pctl()
216 unsigned int pin, int func) in mv88e6352_g2_scratch_gpio_set_pctl()
/linux-6.6.21/drivers/pinctrl/qcom/
Dpinctrl-lpass-lpi.c41 static int lpi_gpio_read(struct lpi_pinctrl *state, unsigned int pin, in lpi_gpio_read()
47 static int lpi_gpio_write(struct lpi_pinctrl *state, unsigned int pin, in lpi_gpio_write()
97 int i, pin = g->pin; in lpi_gpio_set_mux() local
146 unsigned int pin, unsigned long *config) in lpi_config_get()
282 static int lpi_gpio_direction_input(struct gpio_chip *chip, unsigned int pin) in lpi_gpio_direction_input()
293 unsigned int pin, int val) in lpi_gpio_direction_output()
303 static int lpi_gpio_get(struct gpio_chip *chip, unsigned int pin) in lpi_gpio_get()
311 static void lpi_gpio_set(struct gpio_chip *chip, unsigned int pin, int value) in lpi_gpio_set()

12345678910>>...23