Lines Matching +full:master +full:- +full:level

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
12 * struct w1_reg_num - broken out slave device id
49 * struct w1_slave - holds a single slave device on the bus
58 * @master: bus which this slave is on
74 struct w1_master *master; member
84 * struct w1_bus_master - operations available on a bus master
88 * @read_bit: Sample the line level @return the level read (0 or 1)
90 * @write_bit: Sets the line level
92 * @touch_bit: the lowest-level function for devices that really support the
93 * 1-wire protocol.
94 * touch_bit(0) = write-0 cycle
95 * touch_bit(1) = write-1 / read cycle
111 * @reset_bus: long write-0 with a read for the presence pulse detection
112 * @return -1=Error, 0=Device present, 1=No device present
114 * @set_pullup: Put out a strong pull-up pulse of the specified duration.
115 * @return -1=Error, 0=completed
122 * creating names, which then give a connection to the w1 master
124 * Note: read_bit and write_bit are very low level functions and should only
125 * be used with hardware that doesn't really support 1-wire operations,
161 * enum w1_master_flags - bitfields used in w1_master.flags
171 * struct w1_master - one per bus master
172 * @w1_master_entry: master linked list
184 * @search_count: number of automatic searches to run, -1 unlimited
204 * searched for and async commands added while the master has
243 int w1_add_master_device(struct w1_bus_master *master);
244 void w1_remove_master_device(struct w1_bus_master *master);
247 * struct w1_family_ops - operations for a family type
261 * struct w1_family - reference counted family structure.
283 * module_w1_family() - Helper macro for registering a 1-Wire families
286 * Helper macro for 1-Wire families which do not do anything special in module