/Linux-v5.10/drivers/soc/fsl/qe/ |
D | qe_io.c | 46 int open_drain, int assignment, int has_irq) in __par_io_config_pin() argument 58 if (open_drain) in __par_io_config_pin() 106 int par_io_config_pin(u8 port, u8 pin, int dir, int open_drain, in par_io_config_pin() argument 112 __par_io_config_pin(&par_io[port], pin, dir, open_drain, assignment, in par_io_config_pin() 172 int open_drain = be32_to_cpu(pio_map[3]); in par_io_of_config() local 176 par_io_config_pin(port, pin, dir, open_drain, in par_io_of_config()
|
/Linux-v5.10/drivers/iio/humidity/ |
D | hts221_buffer.c | 79 bool irq_active_low = false, open_drain = false; in hts221_allocate_trigger() local 109 (pdata && pdata->open_drain)) { in hts221_allocate_trigger() 111 open_drain = true; in hts221_allocate_trigger() 117 open_drain)); in hts221_allocate_trigger()
|
/Linux-v5.10/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/ |
D | pincfg.txt | 6 open_drain, assignment, has_irq. 16 - open_drain : indicates the pin is normal or wired-OR: 31 /* port pin dir open_drain assignment has_irq */
|
/Linux-v5.10/drivers/pinctrl/qcom/ |
D | pinctrl-ssbi-gpio.c | 76 bool open_drain; member 295 if (pin->open_drain) in pm8xxx_pin_config_get() 300 if (!pin->open_drain) in pm8xxx_pin_config_get() 382 pin->open_drain = 0; in pm8xxx_pin_config_set() 386 pin->open_drain = 1; in pm8xxx_pin_config_set() 405 val |= pin->open_drain << 1; in pm8xxx_pin_config_set() 477 val |= pin->open_drain << 1; in pm8xxx_gpio_direction_output() 516 val |= pin->open_drain << 1; in pm8xxx_gpio_set() 570 seq_printf(s, " %-10s", buffer_types[pin->open_drain]); in pm8xxx_gpio_dbg_show_one() 619 pin->open_drain = !!(val & BIT(1)); in pm8xxx_pin_populate()
|
/Linux-v5.10/arch/powerpc/boot/dts/ |
D | kmeter1.dts | 147 /* port pin dir open_drain assignment has_irq */ 173 /* port pin dir open_drain assignment has_irq */ 199 /* port pin dir open_drain assignment has_irq */ 219 /* port pin dir open_drain assignment has_irq */ 237 /* port pin dir open_drain assignment has_irq */ 255 /* port pin dir open_drain assignment has_irq */ 273 /* port pin dir open_drain assignment has_irq */
|
D | mpc832x_rdb.dts | 176 /* port pin dir open_drain assignment has_irq */ 198 /* port pin dir open_drain assignment has_irq */
|
D | mpc836x_mds.dts | 229 /* port pin dir open_drain assignment has_irq */ 256 /* port pin dir open_drain assignment has_irq */
|
D | mpc832x_mds.dts | 188 /* port pin dir open_drain assignment has_irq */ 210 /* port pin dir open_drain assignment has_irq */
|
/Linux-v5.10/include/linux/platform_data/ |
D | st_sensors_pdata.h | 25 bool open_drain; member
|
/Linux-v5.10/drivers/iio/imu/inv_icm42600/ |
D | inv_icm42600_core.c | 470 int irq_type, bool open_drain) in inv_icm42600_irq_init() argument 496 if (!open_drain) in inv_icm42600_irq_init() 565 bool open_drain; in inv_icm42600_core_probe() local 584 open_drain = device_property_read_bool(dev, "drive-open-drain"); in inv_icm42600_core_probe() 647 ret = inv_icm42600_irq_init(st, irq, irq_type, open_drain); in inv_icm42600_core_probe()
|
/Linux-v5.10/drivers/iio/imu/bmi160/ |
D | bmi160_core.c | 569 bool open_drain, u8 irq_mask, in bmi160_config_pin() argument 602 if (open_drain) in bmi160_config_pin() 674 bool open_drain; in bmi160_config_device_irq() local 694 open_drain = of_property_read_bool(dev->of_node, "drive-open-drain"); in bmi160_config_device_irq() 696 return bmi160_config_pin(data->regmap, pin, open_drain, irq_mask, in bmi160_config_device_irq()
|
/Linux-v5.10/arch/powerpc/boot/dts/fsl/ |
D | p1025twr.dtsi | 177 /* port pin dir open_drain assignment has_irq */ 200 /* port pin dir open_drain assignment has_irq */ 215 /* port pin dir open_drain assignment has_irq */ 225 /* port pin dir open_drain assignment has_irq */
|
D | p1025rdb.dtsi | 250 /* port pin dir open_drain assignment has_irq */ 273 /* port pin dir open_drain assignment has_irq */ 288 /* port pin dir open_drain assignment has_irq */ 298 /* port pin dir open_drain assignment has_irq */
|
D | mpc8569mds.dts | 142 /* port pin dir open_drain assignment has_irq */ 162 /* port pin dir open_drain assignment has_irq */ 182 /* port pin dir open_drain assignment has_irq */ 202 /* port pin dir open_drain assignment has_irq */
|
D | p1021mds.dts | 203 /* port pin dir open_drain assignment has_irq */ 226 /* port pin dir open_drain assignment has_irq */
|
D | mpc8568mds.dts | 127 /* port pin dir open_drain assignment has_irq */ 155 /* port pin dir open_drain assignment has_irq */
|
/Linux-v5.10/drivers/media/dvb-frontends/cxd2880/ |
D | cxd2880_tnrdmd.h | 281 u8 open_drain, u8 invert); 287 mode, u8 open_drain,
|
D | cxd2880_tnrdmd.c | 2992 u8 open_drain, u8 invert) in cxd2880_tnrdmd_gpio_set_cfg() argument 3019 open_drain ? (1 << id) : 0, in cxd2880_tnrdmd_gpio_set_cfg() 3043 mode, u8 open_drain, u8 invert) in cxd2880_tnrdmd_gpio_set_cfg_sub() argument 3052 open_drain, invert); in cxd2880_tnrdmd_gpio_set_cfg_sub()
|
/Linux-v5.10/drivers/pinctrl/ |
D | pinctrl-mcp23s08.c | 532 bool open_drain = false; in mcp23s08_probe_one() local 577 open_drain = device_property_read_bool(dev, "drive-open-drain"); in mcp23s08_probe_one() 581 mcp->irq_active_high || open_drain) { in mcp23s08_probe_one() 593 if (open_drain) in mcp23s08_probe_one()
|
D | pinctrl-st.c | 388 struct regmap_field *open_drain = pc->od; in st_pinconf_set_config() local 408 if (open_drain) { in st_pinconf_set_config() 409 regmap_field_read(open_drain, &od_value); in st_pinconf_set_config() 413 regmap_field_write(open_drain, od_value); in st_pinconf_set_config()
|
/Linux-v5.10/include/soc/fsl/qe/ |
D | qe.h | 158 int dir, int open_drain, int assignment, 163 extern int par_io_config_pin(u8 port, u8 pin, int dir, int open_drain, 169 static inline int par_io_config_pin(u8 port, u8 pin, int dir, int open_drain, in par_io_config_pin() argument
|
/Linux-v5.10/drivers/gpio/ |
D | gpiolib-of.c | 316 bool open_drain = false; in gpiod_get_from_of_node() local 329 open_drain = flags & OF_GPIO_OPEN_DRAIN; in gpiod_get_from_of_node() 342 if (open_drain) in gpiod_get_from_of_node()
|
/Linux-v5.10/drivers/iio/common/st_sensors/ |
D | st_sensors_core.c | 302 if (pdata->open_drain) { in st_sensors_set_drdy_int_pin() 331 pdata->open_drain = device_property_read_bool(dev, "drive-open-drain"); in st_sensors_dev_probe()
|
/Linux-v5.10/drivers/mmc/host/ |
D | tifm_sd.c | 92 open_drain:1, member 376 if (host->open_drain) in tifm_sd_exec() 854 host->open_drain = (ios->bus_mode == MMC_BUSMODE_OPENDRAIN); in tifm_sd_ios()
|
/Linux-v5.10/drivers/iio/imu/st_lsm6dsx/ |
D | st_lsm6dsx_core.c | 2307 (pdata && pdata->open_drain)) { in st_lsm6dsx_irq_setup()
|