/Linux-v4.19/drivers/media/cec/ |
D | cec-pin.c | 111 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-v4.19/arch/mips/include/asm/mach-pnx833x/ |
D | gpio.h | 56 static inline void pnx833x_gpio_select_input(unsigned int pin) in pnx833x_gpio_select_input() 63 static inline void pnx833x_gpio_select_output(unsigned int pin) in pnx833x_gpio_select_output() 72 static inline void pnx833x_gpio_select_function_io(unsigned int pin) in pnx833x_gpio_select_function_io() 79 static inline void pnx833x_gpio_select_function_alt(unsigned int pin) in pnx833x_gpio_select_function_alt() 88 static inline int pnx833x_gpio_read(unsigned int pin) in pnx833x_gpio_read() 97 static inline void pnx833x_gpio_write(unsigned int val, unsigned int pin) in pnx833x_gpio_write() 119 static inline void pnx833x_gpio_setup_irq(int when, unsigned int pin) in pnx833x_gpio_setup_irq() 156 static inline void pnx833x_gpio_enable_irq(unsigned int pin) in pnx833x_gpio_enable_irq() 160 static inline void pnx833x_gpio_disable_irq(unsigned int pin) in pnx833x_gpio_disable_irq() 166 static inline void pnx833x_gpio_clear_irq(unsigned int pin) in pnx833x_gpio_clear_irq()
|
/Linux-v4.19/drivers/gpio/ |
D | gpio-lpc32xx.c | 180 unsigned pin, int input) in __set_gpio_dir_p012() 191 unsigned pin, int input) in __set_gpio_dir_p3() 202 unsigned pin, int high) in __set_gpio_level_p012() 213 unsigned pin, int high) in __set_gpio_level_p3() 224 unsigned pin, int high) in __set_gpo_level_p3() 233 unsigned pin) in __get_gpio_state_p012() 240 unsigned pin) in __get_gpio_state_p3() 252 unsigned pin) in __get_gpi_state_p3() 258 unsigned pin) in __get_gpo_state_p3() 267 unsigned pin) in lpc32xx_gpio_dir_input_p012() [all …]
|
D | gpio-ks8695.c | 40 static void ks8695_gpio_mode(unsigned int pin, short gpio) in ks8695_gpio_mode() 66 int ks8695_gpio_interrupt(unsigned int pin, unsigned int type) in ks8695_gpio_interrupt() 99 static int ks8695_gpio_direction_input(struct gpio_chip *gc, unsigned int pin) in ks8695_gpio_direction_input() 126 unsigned int pin, int state) in ks8695_gpio_direction_output() 161 unsigned int pin, int state) in ks8695_gpio_set_value() 185 static int ks8695_gpio_get_value(struct gpio_chip *gc, unsigned int pin) in ks8695_gpio_get_value() 200 static int ks8695_gpio_to_irq(struct gpio_chip *gc, unsigned int pin) in ks8695_gpio_to_irq()
|
D | gpio-zevio.c | 63 static inline u32 zevio_gpio_port_get(struct zevio_gpio *c, unsigned pin, in zevio_gpio_port_get() 70 static inline void zevio_gpio_port_set(struct zevio_gpio *c, unsigned pin, in zevio_gpio_port_set() 78 static int zevio_gpio_get(struct gpio_chip *chip, unsigned pin) in zevio_gpio_get() 94 static void zevio_gpio_set(struct gpio_chip *chip, unsigned pin, int value) in zevio_gpio_set() 110 static int zevio_gpio_direction_input(struct gpio_chip *chip, unsigned pin) in zevio_gpio_direction_input() 127 unsigned pin, int value) in zevio_gpio_direction_output() 149 static int zevio_gpio_to_irq(struct gpio_chip *chip, unsigned pin) in zevio_gpio_to_irq()
|
D | gpio-dln2.c | 68 __le16 pin; member 91 static int dln2_gpio_pin_cmd(struct dln2_gpio *dln2, int cmd, unsigned pin) in dln2_gpio_pin_cmd() 100 static int dln2_gpio_pin_val(struct dln2_gpio *dln2, int cmd, unsigned int pin) in dln2_gpio_pin_val() 118 static int dln2_gpio_pin_get_in_val(struct dln2_gpio *dln2, unsigned int pin) in dln2_gpio_pin_get_in_val() 128 static int dln2_gpio_pin_get_out_val(struct dln2_gpio *dln2, unsigned int pin) in dln2_gpio_pin_get_out_val() 139 unsigned int pin, int value) in dln2_gpio_pin_set_out_val() 288 static int dln2_gpio_set_event_cfg(struct dln2_gpio *dln2, unsigned pin, in dln2_gpio_set_event_cfg() 292 __le16 pin; in dln2_gpio_set_event_cfg() member 309 int pin = irqd_to_hwirq(irqd); in dln2_irq_unmask() local 318 int pin = irqd_to_hwirq(irqd); in dln2_irq_mask() local [all …]
|
D | gpio-vr41xx.c | 127 unsigned int pin; in mask_ack_giuint_low() local 185 unsigned int pin; in mask_ack_giuint_high() local 238 void vr41xx_set_irq_trigger(unsigned int pin, irq_trigger_t trigger, in vr41xx_set_irq_trigger() 317 void vr41xx_set_irq_level(unsigned int pin, irq_level_t level) in vr41xx_set_irq_level() 339 static int giu_set_direction(struct gpio_chip *chip, unsigned pin, int dir) in giu_set_direction() 387 int vr41xx_gpio_pullupdown(unsigned int pin, gpio_pull_t pull) in vr41xx_gpio_pullupdown() 425 static int vr41xx_gpio_get(struct gpio_chip *chip, unsigned pin) in vr41xx_gpio_get() 452 static void vr41xx_gpio_set(struct gpio_chip *chip, unsigned pin, in vr41xx_gpio_set() 522 unsigned int trigger, i, pin; in giu_probe() local
|
/Linux-v4.19/drivers/pinctrl/mediatek/ |
D | pinctrl-mtk-common.c | 62 unsigned long pin) in mtk_get_regmap() 69 static unsigned int mtk_get_port(struct mtk_pinctrl *pctl, unsigned long pin) in mtk_get_port() 117 static int mtk_pconf_set_ies_smt(struct mtk_pinctrl *pctl, unsigned pin, in mtk_pconf_set_ies_smt() 164 unsigned int pin, unsigned char align, int value) in mtk_pconf_spec_set_ies_smt_range() 189 struct mtk_pinctrl *pctl, unsigned long pin) { in mtk_find_pin_drv_grp_by_pin() 203 unsigned int pin, unsigned char driving) in mtk_pconf_set_driving() 235 unsigned int info_num, unsigned int pin, in mtk_pctrl_spec_pull_set_samereg() 294 unsigned int pin, bool enable, bool isup, unsigned int arg) in mtk_pconf_set_pull_select() 343 unsigned int pin, enum pin_config_param param, in mtk_pconf_parse_conf() 418 mtk_pctrl_find_group_by_pin(struct mtk_pinctrl *pctl, u32 pin) in mtk_pctrl_find_group_by_pin() [all …]
|
D | pinctrl-mt2701.c | 34 unsigned short pin; member 281 static int mt2701_spec_pull_set(struct regmap *regmap, unsigned int pin, in mt2701_spec_pull_set() 447 static int mt2701_ies_smt_set(struct regmap *regmap, unsigned int pin, in mt2701_ies_smt_set() 482 static void mt2701_spec_pinmux_set(struct regmap *reg, unsigned int pin, in mt2701_spec_pinmux_set() 506 static void mt2701_spec_dir_set(unsigned int *reg_addr, unsigned int pin) in mt2701_spec_dir_set()
|
/Linux-v4.19/arch/arm/plat-orion/ |
D | gpio.c | 96 __set_direction(struct orion_gpio_chip *ochip, unsigned pin, int input) in __set_direction() 108 static void __set_level(struct orion_gpio_chip *ochip, unsigned pin, int high) in __set_level() 121 __set_blinking(struct orion_gpio_chip *ochip, unsigned pin, int blink) in __set_blinking() 134 orion_gpio_is_valid(struct orion_gpio_chip *ochip, unsigned pin, int mode) in orion_gpio_is_valid() 155 static int orion_gpio_request(struct gpio_chip *chip, unsigned pin) in orion_gpio_request() 166 static int orion_gpio_direction_input(struct gpio_chip *chip, unsigned pin) in orion_gpio_direction_input() 181 static int orion_gpio_get(struct gpio_chip *chip, unsigned pin) in orion_gpio_get() 196 orion_gpio_direction_output(struct gpio_chip *chip, unsigned pin, int value) in orion_gpio_direction_output() 213 static void orion_gpio_set(struct gpio_chip *chip, unsigned pin, int value) in orion_gpio_set() 223 static int orion_gpio_to_irq(struct gpio_chip *chip, unsigned pin) in orion_gpio_to_irq() [all …]
|
/Linux-v4.19/drivers/input/misc/ |
D | ixp4xx-beeper.c | 33 static void ixp4xx_spkr_control(unsigned int pin, unsigned int count) in ixp4xx_spkr_control() 53 unsigned int pin = (unsigned int) input_get_drvdata(dev); in ixp4xx_spkr_event() local 79 unsigned int pin = (unsigned int) dev_id; in ixp4xx_spkr_interrupt() local 144 unsigned int pin = (unsigned int) input_get_drvdata(input_dev); in ixp4xx_spkr_remove() local 161 unsigned int pin = (unsigned int) input_get_drvdata(input_dev); in ixp4xx_spkr_shutdown() local
|
/Linux-v4.19/drivers/acpi/ |
D | pci_irq.c | 45 u8 pin; member 50 static inline char pin_name(int pin) in pin_name() 101 unsigned char pin; member 154 int pin, struct acpi_pci_routing_table *prt, in acpi_pci_irq_check_entry() 220 int pin, struct acpi_prt_entry **entry_ptr) in acpi_pci_irq_find_prt_entry() 311 static struct acpi_prt_entry *acpi_pci_irq_lookup(struct pci_dev *dev, int pin) in acpi_pci_irq_lookup() 391 static inline bool acpi_pci_irq_valid(struct pci_dev *dev, u8 pin) in acpi_pci_irq_valid() 412 u8 pin; in acpi_pci_irq_enable() local 504 u8 pin; in acpi_pci_irq_disable() local
|
/Linux-v4.19/sound/soc/ |
D | soc-utils.c | 56 const char *pin) in snd_soc_component_enable_pin() 78 const char *pin) in snd_soc_component_enable_pin_unlocked() 100 const char *pin) in snd_soc_component_disable_pin() 122 const char *pin) in snd_soc_component_disable_pin_unlocked() 144 const char *pin) in snd_soc_component_nc_pin() 166 const char *pin) in snd_soc_component_nc_pin_unlocked() 188 const char *pin) in snd_soc_component_get_pin_status() 210 const char *pin) in snd_soc_component_force_enable_pin() 233 const char *pin) in snd_soc_component_force_enable_pin_unlocked()
|
/Linux-v4.19/arch/arm/mach-imx/ |
D | iomux-v1.c | 61 unsigned int port, unsigned int pin, int on) in imx_iomuxv1_set_puen() 69 unsigned int port, unsigned int pin, int out) in imx_iomuxv1_set_ddir() 77 unsigned int port, unsigned int pin, int af) in imx_iomuxv1_set_gpr() 85 unsigned int port, unsigned int pin, int inuse) in imx_iomuxv1_set_gius() 93 unsigned int port, unsigned int pin, unsigned int ocr) in imx_iomuxv1_set_ocr() 104 unsigned int port, unsigned int pin, unsigned int aout) in imx_iomuxv1_set_iconfa() 115 unsigned int port, unsigned int pin, unsigned int bout) in imx_iomuxv1_set_iconfb() 127 unsigned int pin = gpio_mode & GPIO_PIN_MASK; in mxc_gpio_mode() local
|
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/gpio/ |
D | hw_gpio.c | 64 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-v4.19/drivers/pinctrl/qcom/ |
D | pinctrl-ssbi-gpio.c | 134 struct pm8xxx_pin_data *pin, int bank) in pm8xxx_read_bank() 155 struct pm8xxx_pin_data *pin, in pm8xxx_write_bank() 234 struct pm8xxx_pin_data *pin = pctrl->desc.pins[group].drv_data; in pm8xxx_pinmux_set_mux() local 257 struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data; in pm8xxx_pin_config_get() local 313 struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data; in pm8xxx_pin_config_set() local 448 struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data; in pm8xxx_gpio_direction_input() local 464 struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data; in pm8xxx_gpio_direction_output() local 482 struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data; in pm8xxx_gpio_get() local 500 struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data; in pm8xxx_gpio_set() local 529 struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data; in pm8xxx_gpio_to_irq() local [all …]
|
D | pinctrl-ssbi-mpp.c | 173 struct pm8xxx_pin_data *pin) in pm8xxx_mpp_update() 311 struct pm8xxx_pin_data *pin = pctrl->desc.pins[group].drv_data; in pm8xxx_pinmux_set_mux() local 331 struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data; in pm8xxx_pin_config_get() local 381 struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data; in pm8xxx_pin_config_set() local 453 struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data; in pm8xxx_mpp_direction_input() local 477 struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data; in pm8xxx_mpp_direction_output() local 501 struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data; in pm8xxx_mpp_get() local 518 struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data; in pm8xxx_mpp_set() local 542 struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data; in pm8xxx_mpp_to_irq() local 557 struct pm8xxx_pin_data *pin = pctrl->desc.pins[offset].drv_data; in pm8xxx_mpp_dbg_show_one() local [all …]
|
/Linux-v4.19/drivers/pinctrl/intel/ |
D | pinctrl-intel.c | 118 unsigned pin) in intel_get_community() 136 unsigned pin) in intel_community_get_padgroup() 150 static void __iomem *intel_get_padcfg(struct intel_pinctrl *pctrl, unsigned pin, in intel_get_padcfg() 170 static bool intel_pad_owned_by_host(struct intel_pinctrl *pctrl, unsigned pin) in intel_pad_owned_by_host() 195 static bool intel_pad_acpi_mode(struct intel_pinctrl *pctrl, unsigned pin) in intel_pad_acpi_mode() 219 static bool intel_pad_locked(struct intel_pinctrl *pctrl, unsigned pin) in intel_pad_locked() 256 static bool intel_pad_usable(struct intel_pinctrl *pctrl, unsigned pin) in intel_pad_usable() 288 unsigned pin) in intel_pin_dbg_show() 439 unsigned pin) in intel_gpio_request_enable() 464 unsigned pin, bool input) in intel_gpio_set_direction() [all …]
|
/Linux-v4.19/drivers/net/dsa/mv88e6xxx/ |
D | global2_scratch.c | 108 unsigned int pin) in mv88e6352_g2_scratch_gpio_get_data() 129 unsigned int pin, int value) in mv88e6352_g2_scratch_gpio_set_data() 153 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-v4.19/fs/ |
D | fs_pin.c | 10 void pin_remove(struct fs_pin *pin) in pin_remove() 22 void pin_insert_group(struct fs_pin *pin, struct vfsmount *m, struct hlist_head *p) in pin_insert_group() 31 void pin_insert(struct fs_pin *pin, struct vfsmount *m) in pin_insert()
|
/Linux-v4.19/arch/x86/kernel/apic/ |
D | io_apic.c | 72 #define for_each_pin(idx, pin) \ argument 74 #define for_each_ioapic_pin(idx, pin) \ argument 87 int apic, pin; member 146 static inline u32 mp_pin_to_gsi(int ioapic, int pin) in mp_pin_to_gsi() 306 static struct IO_APIC_route_entry __ioapic_read_entry(int apic, int pin) in __ioapic_read_entry() 316 static struct IO_APIC_route_entry ioapic_read_entry(int apic, int pin) in ioapic_read_entry() 334 static void __ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e) in __ioapic_write_entry() 343 static void ioapic_write_entry(int apic, int pin, struct IO_APIC_route_entry e) in ioapic_write_entry() 357 static void ioapic_mask_entry(int apic, int pin) in ioapic_mask_entry() 374 int node, int apic, int pin) in __add_pin_to_irq_node() [all …]
|
/Linux-v4.19/drivers/gpu/drm/i915/ |
D | intel_hotplug.c | 136 enum hpd_pin pin) in intel_hpd_irq_storm_detect() 168 enum hpd_pin pin; in intel_hpd_irq_storm_disable() local 213 enum hpd_pin pin; in intel_hpd_irq_storm_reenable_work() local 404 enum hpd_pin pin = encoder->hpd_pin; in intel_hpd_irq_handler() local 612 bool intel_hpd_disable(struct drm_i915_private *dev_priv, enum hpd_pin pin) in intel_hpd_disable() 629 void intel_hpd_enable(struct drm_i915_private *dev_priv, enum hpd_pin pin) in intel_hpd_enable()
|
/Linux-v4.19/drivers/pinctrl/ |
D | pinctrl-at91.c | 109 uint32_t pin; member 330 static inline int pin_to_bank(unsigned pin) in pin_to_bank() 335 static unsigned pin_to_mask(unsigned int pin) in pin_to_mask() 340 static unsigned two_bit_pin_value_shift_amount(unsigned int pin) in two_bit_pin_value_shift_amount() 348 static unsigned sama5d3_get_drive_register(unsigned int pin) in sama5d3_get_drive_register() 356 static unsigned at91sam9x5_get_drive_register(unsigned int pin) in at91sam9x5_get_drive_register() 369 static unsigned at91_mux_get_pullup(void __iomem *pio, unsigned pin) in at91_mux_get_pullup() 382 static bool at91_mux_get_output(void __iomem *pio, unsigned int pin, bool *val) in at91_mux_get_output() 395 static unsigned at91_mux_get_multidrive(void __iomem *pio, unsigned pin) in at91_mux_get_multidrive() 469 static bool at91_mux_get_deglitch(void __iomem *pio, unsigned pin) in at91_mux_get_deglitch() [all …]
|
/Linux-v4.19/drivers/pinctrl/sunxi/ |
D | pinctrl-sunxi.h | 32 #define SUNXI_PINCTRL_PIN(bank, pin) \ argument 103 struct pinctrl_pin_desc pin; member 126 unsigned pin; member 206 static inline u32 sunxi_mux_reg(u16 pin) in sunxi_mux_reg() 215 static inline u32 sunxi_mux_offset(u16 pin) in sunxi_mux_offset() 221 static inline u32 sunxi_data_reg(u16 pin) in sunxi_data_reg() 230 static inline u32 sunxi_data_offset(u16 pin) in sunxi_data_offset() 236 static inline u32 sunxi_dlevel_reg(u16 pin) in sunxi_dlevel_reg() 245 static inline u32 sunxi_dlevel_offset(u16 pin) in sunxi_dlevel_offset() 251 static inline u32 sunxi_pull_reg(u16 pin) in sunxi_pull_reg() [all …]
|
/Linux-v4.19/arch/mips/pnx833x/common/ |
D | interrupts.c | 114 int pin; in pic_dispatch() local 193 int pin = d->irq - PNX833X_GPIO_IRQ_BASE; in pnx833x_enable_gpio_irq() local 202 int pin = d->irq - PNX833X_GPIO_IRQ_BASE; in pnx833x_disable_gpio_irq() local 211 int pin = d->irq - PNX833X_GPIO_IRQ_BASE; in pnx833x_set_type_gpio_irq() local
|