Home
last modified time | relevance | path

Searched refs:open_drain (Results 1 – 24 of 24) sorted by relevance

/linux-6.12.1/drivers/soc/fsl/qe/
Dqe_io.c48 int open_drain, int assignment, int has_irq) in __par_io_config_pin() argument
60 if (open_drain) in __par_io_config_pin()
108 int par_io_config_pin(u8 port, u8 pin, int dir, int open_drain, in par_io_config_pin() argument
114 __par_io_config_pin(&par_io[port], pin, dir, open_drain, assignment, in par_io_config_pin()
174 int open_drain = be32_to_cpu(pio_map[3]); in par_io_of_config() local
178 par_io_config_pin(port, pin, dir, open_drain, in par_io_of_config()
/linux-6.12.1/drivers/iio/humidity/
Dhts221_buffer.c80 bool irq_active_low = false, open_drain = false; in hts221_allocate_trigger() local
110 (pdata && pdata->open_drain)) { in hts221_allocate_trigger()
112 open_drain = true; in hts221_allocate_trigger()
118 open_drain)); in hts221_allocate_trigger()
/linux-6.12.1/Documentation/devicetree/bindings/soc/fsl/cpm_qe/qe/
Dpincfg.txt6 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-6.12.1/drivers/pinctrl/qcom/
Dpinctrl-ssbi-gpio.c78 bool open_drain; member
297 if (pin->open_drain) in pm8xxx_pin_config_get()
302 if (!pin->open_drain) in pm8xxx_pin_config_get()
384 pin->open_drain = 0; in pm8xxx_pin_config_set()
388 pin->open_drain = 1; in pm8xxx_pin_config_set()
407 val |= pin->open_drain << 1; in pm8xxx_pin_config_set()
479 val |= pin->open_drain << 1; in pm8xxx_gpio_direction_output()
518 val |= pin->open_drain << 1; in pm8xxx_gpio_set()
571 seq_printf(s, " %-10s", buffer_types[pin->open_drain]); in pm8xxx_gpio_dbg_show_one()
620 pin->open_drain = !!(val & BIT(1)); in pm8xxx_pin_populate()
/linux-6.12.1/arch/powerpc/boot/dts/
Dkmeter1.dts147 /* 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 */
Dmpc832x_rdb.dts176 /* port pin dir open_drain assignment has_irq */
198 /* port pin dir open_drain assignment has_irq */
/linux-6.12.1/include/linux/platform_data/
Dst_sensors_pdata.h26 bool open_drain; member
/linux-6.12.1/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_core.c571 int irq_type, bool open_drain) in inv_icm42600_irq_init() argument
597 if (!open_drain) in inv_icm42600_irq_init()
678 bool open_drain; in inv_icm42600_core_probe() local
697 open_drain = device_property_read_bool(dev, "drive-open-drain"); in inv_icm42600_core_probe()
760 ret = inv_icm42600_irq_init(st, irq, irq_type, open_drain); in inv_icm42600_core_probe()
/linux-6.12.1/drivers/iio/imu/bmi160/
Dbmi160_core.c559 bool open_drain, u8 irq_mask, in bmi160_config_pin() argument
592 if (open_drain) in bmi160_config_pin()
664 bool open_drain; in bmi160_config_device_irq() local
684 open_drain = device_property_read_bool(dev, "drive-open-drain"); in bmi160_config_device_irq()
686 return bmi160_config_pin(data->regmap, pin, open_drain, irq_mask, in bmi160_config_device_irq()
/linux-6.12.1/arch/powerpc/boot/dts/fsl/
Dp1025twr.dtsi177 /* 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 */
Dp1025rdb.dtsi250 /* 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 */
Dmpc8569mds.dts142 /* 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 */
Dp1021mds.dts203 /* port pin dir open_drain assignment has_irq */
226 /* port pin dir open_drain assignment has_irq */
Dmpc8568mds.dts127 /* port pin dir open_drain assignment has_irq */
155 /* port pin dir open_drain assignment has_irq */
/linux-6.12.1/drivers/mfd/
Drohm-bd71828.c446 unsigned int open_drain; in set_clk_mode() local
448 ret = of_property_read_u32(dev->of_node, "rohm,clkout-open-drain", &open_drain); in set_clk_mode()
454 if (open_drain > 1) { in set_clk_mode()
459 if (open_drain) in set_clk_mode()
/linux-6.12.1/drivers/pinctrl/
Dpinctrl-mcp23s08.c593 bool open_drain = false; in mcp23s08_probe_one() local
632 open_drain = device_property_read_bool(dev, "drive-open-drain"); in mcp23s08_probe_one()
636 mcp->irq_active_high || open_drain) { in mcp23s08_probe_one()
648 if (open_drain) in mcp23s08_probe_one()
Dpinctrl-st.c392 struct regmap_field *open_drain = pc->od; in st_pinconf_set_config() local
412 if (open_drain) { in st_pinconf_set_config()
413 regmap_field_read(open_drain, &od_value); in st_pinconf_set_config()
417 regmap_field_write(open_drain, od_value); in st_pinconf_set_config()
/linux-6.12.1/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_tnrdmd.h281 u8 open_drain, u8 invert);
287 mode, u8 open_drain,
Dcxd2880_tnrdmd.c2992 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-6.12.1/include/soc/fsl/qe/
Dqe.h175 int dir, int open_drain, int assignment,
180 extern int par_io_config_pin(u8 port, u8 pin, int dir, int open_drain,
186 static inline int par_io_config_pin(u8 port, u8 pin, int dir, int open_drain, in par_io_config_pin() argument
/linux-6.12.1/drivers/iio/imu/bmi323/
Dbmi323_core.c1837 bool active_high, bool open_drain, bool latch) in bmi323_int_pin_config() argument
1859 FIELD_PREP(BMI323_IO_INT1_OD_MSK, open_drain) | in bmi323_int_pin_config()
1866 FIELD_PREP(BMI323_IO_INT2_OD_MSK, open_drain) | in bmi323_int_pin_config()
1880 bool open_drain, active_high, latch; in bmi323_trigger_probe() local
1930 open_drain = fwnode_property_read_bool(fwnode, "drive-open-drain"); in bmi323_trigger_probe()
1932 ret = bmi323_int_pin_config(data, irq_pin, active_high, open_drain, in bmi323_trigger_probe()
/linux-6.12.1/drivers/iio/common/st_sensors/
Dst_sensors_core.c278 if (pdata->open_drain) { in st_sensors_set_drdy_int_pin()
307 pdata->open_drain = device_property_read_bool(dev, "drive-open-drain"); in st_sensors_dev_probe()
/linux-6.12.1/drivers/mmc/host/
Dtifm_sd.c93 open_drain:1, member
372 if (host->open_drain) in tifm_sd_exec()
847 host->open_drain = (ios->bus_mode == MMC_BUSMODE_OPENDRAIN); in tifm_sd_ios()
/linux-6.12.1/drivers/iio/imu/st_lsm6dsx/
Dst_lsm6dsx_core.c2559 (pdata && pdata->open_drain)) { in st_lsm6dsx_irq_setup()