Lines Matching refs:rx_data
106 uint8_t rx_data; in ds2477_85_reset_bus() local
110 ret = cfg->w1_script_cmd(dev, delay_us, SCRIPT_OW_RESET, &tx_data, 1, &rx_data, 1); in ds2477_85_reset_bus()
129 uint8_t rx_data; in ds2477_85_read_bit() local
132 ret = cfg->w1_script_cmd(dev, delay_us, SCRIPT_OW_READ_BIT, NULL, 0, &rx_data, 1); in ds2477_85_read_bit()
137 return (rx_data & BIT(5)) ? 1 : 0; in ds2477_85_read_bit()
146 uint8_t rx_data; in ds2477_85_write_bit() local
149 ret = cfg->w1_script_cmd(dev, delay_us, SCRIPT_OW_WRITE_BIT, &tx_data, 1, &rx_data, 1); in ds2477_85_write_bit()
162 uint8_t rx_data; in ds2477_85_read_byte() local
165 ret = cfg->w1_script_cmd(dev, delay_us, SCRIPT_OW_READ_BYTE, NULL, 0, &rx_data, 1); in ds2477_85_read_byte()
170 return rx_data; in ds2477_85_read_byte()
178 uint8_t rx_data; in ds2477_85_write_byte() local
181 ret = cfg->w1_script_cmd(dev, delay_us, SCRIPT_OW_WRITE_BYTE, &tx_byte, 1, &rx_data, 1); in ds2477_85_write_byte()