Lines Matching refs:evt

377 static void lp_pu_tx(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param)  in lp_pu_tx()  argument
503 static void lp_pu_tx_ntf(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_pu_tx_ntf() argument
512 static void lp_pu_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_pu_complete() argument
524 static void lp_pu_send_phy_req(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_pu_send_phy_req() argument
537 lp_pu_tx(conn, ctx, evt, param); in lp_pu_send_phy_req()
542 static void lp_pu_send_phy_update_ind(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_pu_send_phy_update_ind() argument
552 lp_pu_tx(conn, ctx, evt, param); in lp_pu_send_phy_update_ind()
557 static void lp_pu_st_idle(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_pu_st_idle() argument
559 switch (evt) { in lp_pu_st_idle()
561 lp_pu_send_phy_req(conn, ctx, evt, param); in lp_pu_st_idle()
569 static void lp_pu_st_wait_tx_phy_req(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_pu_st_wait_tx_phy_req() argument
572 switch (evt) { in lp_pu_st_wait_tx_phy_req()
574 lp_pu_send_phy_req(conn, ctx, evt, param); in lp_pu_st_wait_tx_phy_req()
583 static void lp_pu_st_wait_rx_phy_rsp(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_pu_st_wait_rx_phy_rsp() argument
586 switch (evt) { in lp_pu_st_wait_rx_phy_rsp()
602 lp_pu_send_phy_update_ind(conn, ctx, evt, param); in lp_pu_st_wait_rx_phy_rsp()
616 lp_pu_complete(conn, ctx, evt, param); in lp_pu_st_wait_rx_phy_rsp()
626 static void lp_pu_st_wait_tx_ack_phy_req(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_pu_st_wait_tx_ack_phy_req() argument
629 switch (evt) { in lp_pu_st_wait_tx_ack_phy_req()
661 static void lp_pu_st_wait_tx_phy_update_ind(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_pu_st_wait_tx_phy_update_ind() argument
664 switch (evt) { in lp_pu_st_wait_tx_phy_update_ind()
666 lp_pu_send_phy_update_ind(conn, ctx, evt, param); in lp_pu_st_wait_tx_phy_update_ind()
675 uint8_t evt, void *param) in lp_pu_st_wait_tx_ack_phy_update_ind() argument
677 switch (evt) { in lp_pu_st_wait_tx_ack_phy_update_ind()
698 lp_pu_complete(conn, ctx, evt, param); in lp_pu_st_wait_tx_ack_phy_update_ind()
710 static void lp_pu_st_wait_rx_phy_update_ind(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_pu_st_wait_rx_phy_update_ind() argument
713 switch (evt) { in lp_pu_st_wait_rx_phy_update_ind()
742 lp_pu_complete(conn, ctx, evt, param); in lp_pu_st_wait_rx_phy_update_ind()
752 if (evt == LP_PU_EVT_UNKNOWN) { in lp_pu_st_wait_rx_phy_update_ind()
760 lp_pu_complete(conn, ctx, evt, param); in lp_pu_st_wait_rx_phy_update_ind()
770 static void lp_pu_check_instant(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_pu_check_instant() argument
783 lp_pu_complete(conn, ctx, evt, param); in lp_pu_check_instant()
787 static void lp_pu_st_wait_instant(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_pu_st_wait_instant() argument
790 switch (evt) { in lp_pu_st_wait_instant()
792 lp_pu_check_instant(conn, ctx, evt, param); in lp_pu_st_wait_instant()
800 static void lp_pu_st_wait_instant_on_air(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_pu_st_wait_instant_on_air() argument
803 switch (evt) { in lp_pu_st_wait_instant_on_air()
805 lp_pu_tx_ntf(conn, ctx, evt, param); in lp_pu_st_wait_instant_on_air()
814 static void lp_pu_st_wait_ntf_avail(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in lp_pu_st_wait_ntf_avail() argument
817 switch (evt) { in lp_pu_st_wait_ntf_avail()
819 lp_pu_tx(conn, ctx, evt, param); in lp_pu_st_wait_ntf_avail()
828 static void lp_pu_execute_fsm(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in lp_pu_execute_fsm() argument
832 lp_pu_st_idle(conn, ctx, evt, param); in lp_pu_execute_fsm()
835 lp_pu_st_wait_tx_phy_req(conn, ctx, evt, param); in lp_pu_execute_fsm()
838 lp_pu_st_wait_tx_ack_phy_req(conn, ctx, evt, param); in lp_pu_execute_fsm()
842 lp_pu_st_wait_rx_phy_rsp(conn, ctx, evt, param); in lp_pu_execute_fsm()
845 lp_pu_st_wait_tx_phy_update_ind(conn, ctx, evt, param); in lp_pu_execute_fsm()
848 lp_pu_st_wait_tx_ack_phy_update_ind(conn, ctx, evt, param); in lp_pu_execute_fsm()
853 lp_pu_st_wait_rx_phy_update_ind(conn, ctx, evt, param); in lp_pu_execute_fsm()
857 lp_pu_st_wait_instant(conn, ctx, evt, param); in lp_pu_execute_fsm()
860 lp_pu_st_wait_instant_on_air(conn, ctx, evt, param); in lp_pu_execute_fsm()
864 lp_pu_st_wait_ntf_avail(conn, ctx, evt, param); in lp_pu_execute_fsm()
927 static void rp_pu_tx(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in rp_pu_tx() argument
986 static void rp_pu_complete(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in rp_pu_complete() argument
997 static void rp_pu_tx_ntf(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in rp_pu_tx_ntf() argument
1007 static void rp_pu_send_phy_update_ind(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_pu_send_phy_update_ind() argument
1018 rp_pu_tx(conn, ctx, evt, param); in rp_pu_send_phy_update_ind()
1025 static void rp_pu_send_phy_rsp(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in rp_pu_send_phy_rsp() argument
1034 rp_pu_tx(conn, ctx, evt, param); in rp_pu_send_phy_rsp()
1039 static void rp_pu_st_idle(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in rp_pu_st_idle() argument
1041 switch (evt) { in rp_pu_st_idle()
1051 static void rp_pu_st_wait_rx_phy_req(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_pu_st_wait_rx_phy_req() argument
1059 switch (evt) { in rp_pu_st_wait_rx_phy_req()
1066 rp_pu_send_phy_update_ind(conn, ctx, evt, param); in rp_pu_st_wait_rx_phy_req()
1071 rp_pu_send_phy_rsp(conn, ctx, evt, param); in rp_pu_st_wait_rx_phy_req()
1086 static void rp_pu_st_wait_tx_phy_rsp(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_pu_st_wait_tx_phy_rsp() argument
1089 switch (evt) { in rp_pu_st_wait_tx_phy_rsp()
1091 rp_pu_send_phy_rsp(conn, ctx, evt, param); in rp_pu_st_wait_tx_phy_rsp()
1100 static void rp_pu_st_wait_tx_ack_phy(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_pu_st_wait_tx_ack_phy() argument
1103 switch (evt) { in rp_pu_st_wait_tx_ack_phy()
1129 rp_pu_complete(conn, ctx, evt, param); in rp_pu_st_wait_tx_ack_phy()
1144 static void rp_pu_st_wait_tx_phy_update_ind(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_pu_st_wait_tx_phy_update_ind() argument
1147 switch (evt) { in rp_pu_st_wait_tx_phy_update_ind()
1149 rp_pu_send_phy_update_ind(conn, ctx, evt, param); in rp_pu_st_wait_tx_phy_update_ind()
1159 static void rp_pu_st_wait_rx_phy_update_ind(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_pu_st_wait_rx_phy_update_ind() argument
1162 switch (evt) { in rp_pu_st_wait_rx_phy_update_ind()
1181 rp_pu_complete(conn, ctx, evt, param); in rp_pu_st_wait_rx_phy_update_ind()
1191 static void rp_pu_check_instant(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_pu_check_instant() argument
1204 rp_pu_complete(conn, ctx, evt, param); in rp_pu_check_instant()
1208 static void rp_pu_st_wait_instant(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_pu_st_wait_instant() argument
1211 switch (evt) { in rp_pu_st_wait_instant()
1213 rp_pu_check_instant(conn, ctx, evt, param); in rp_pu_st_wait_instant()
1221 static void rp_pu_st_wait_instant_on_air(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_pu_st_wait_instant_on_air() argument
1224 switch (evt) { in rp_pu_st_wait_instant_on_air()
1226 rp_pu_tx_ntf(conn, ctx, evt, param); in rp_pu_st_wait_instant_on_air()
1235 static void rp_pu_st_wait_ntf_avail(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, in rp_pu_st_wait_ntf_avail() argument
1238 switch (evt) { in rp_pu_st_wait_ntf_avail()
1240 rp_pu_tx(conn, ctx, evt, param); in rp_pu_st_wait_ntf_avail()
1249 static void rp_pu_execute_fsm(struct ll_conn *conn, struct proc_ctx *ctx, uint8_t evt, void *param) in rp_pu_execute_fsm() argument
1253 rp_pu_st_idle(conn, ctx, evt, param); in rp_pu_execute_fsm()
1256 rp_pu_st_wait_rx_phy_req(conn, ctx, evt, param); in rp_pu_execute_fsm()
1260 rp_pu_st_wait_tx_phy_rsp(conn, ctx, evt, param); in rp_pu_execute_fsm()
1263 rp_pu_st_wait_tx_ack_phy(conn, ctx, evt, param); in rp_pu_execute_fsm()
1266 rp_pu_st_wait_rx_phy_update_ind(conn, ctx, evt, param); in rp_pu_execute_fsm()
1271 rp_pu_st_wait_tx_phy_update_ind(conn, ctx, evt, param); in rp_pu_execute_fsm()
1274 rp_pu_st_wait_tx_ack_phy(conn, ctx, evt, param); in rp_pu_execute_fsm()
1278 rp_pu_st_wait_instant(conn, ctx, evt, param); in rp_pu_execute_fsm()
1281 rp_pu_st_wait_instant_on_air(conn, ctx, evt, param); in rp_pu_execute_fsm()
1285 rp_pu_st_wait_ntf_avail(conn, ctx, evt, param); in rp_pu_execute_fsm()