Lines Matching refs:driver_data
132 struct rylr_data *driver_data = user_data; in on_ok() local
134 driver_data->handler_error = err; in on_ok()
140 struct rylr_data *driver_data = user_data; in on_err() local
142 driver_data->handler_error = -EIO; in on_err()
145 driver_data->handler_error = -EBADMSG; in on_err()
156 struct rylr_data *driver_data = user_data; in on_rx() local
160 driver_data->handler_error = 0; in on_rx()
163 driver_data->handler_error = -EBADMSG; in on_rx()
173 if (RYLR_IS_RX_PENDING(driver_data->pending_async_flags)) { in on_rx()
174 driver_data->async_rx_cb(driver_data->dev, msg.data, msg.length, msg.rssi, msg.snr, in on_rx()
175 driver_data->async_user_data); in on_rx()
177 err = k_msgq_put(&driver_data->rx_msgq, &msg, K_NO_WAIT); in on_rx()
180 driver_data->handler_error = err; in on_rx()
188 struct rylr_data *driver_data = user_data; in on_script_finished() local
190 if (RYLR_IS_TX_PENDING(driver_data->pending_async_flags)) { in on_script_finished()
191 RYLR_CLEAR_TX_PENDING(driver_data->pending_async_flags); in on_script_finished()
192 k_poll_signal_raise(driver_data->async_tx_signal, driver_data->handler_error); in on_script_finished()
193 k_sem_give(&driver_data->operation_sem); in on_script_finished()
196 k_sem_give(&driver_data->script_sem); in on_script_finished()