Lines Matching refs:fm_st_proto
1482 static struct st_proto_s fm_st_proto; in fmc_prepare() local
1490 memset(&fm_st_proto, 0, sizeof(fm_st_proto)); in fmc_prepare()
1491 fm_st_proto.recv = fm_st_receive; in fmc_prepare()
1492 fm_st_proto.match_packet = NULL; in fmc_prepare()
1493 fm_st_proto.reg_complete_cb = fm_st_reg_comp_cb; in fmc_prepare()
1494 fm_st_proto.write = NULL; /* TI ST driver will fill write pointer */ in fmc_prepare()
1495 fm_st_proto.priv_data = fmdev; in fmc_prepare()
1496 fm_st_proto.chnl_id = 0x08; in fmc_prepare()
1497 fm_st_proto.max_frame_size = 0xff; in fmc_prepare()
1498 fm_st_proto.hdr_len = 1; in fmc_prepare()
1499 fm_st_proto.offset_len_in_hdr = 0; in fmc_prepare()
1500 fm_st_proto.len_size = 1; in fmc_prepare()
1501 fm_st_proto.reserve = 1; in fmc_prepare()
1503 ret = st_register(&fm_st_proto); in fmc_prepare()
1527 if (fm_st_proto.write != NULL) { in fmc_prepare()
1528 g_st_write = fm_st_proto.write; in fmc_prepare()
1531 ret = st_unregister(&fm_st_proto); in fmc_prepare()
1582 static struct st_proto_s fm_st_proto; in fmc_release() local
1601 memset(&fm_st_proto, 0, sizeof(fm_st_proto)); in fmc_release()
1602 fm_st_proto.chnl_id = 0x08; in fmc_release()
1604 ret = st_unregister(&fm_st_proto); in fmc_release()