Lines Matching refs:fm_st_proto
1487 static struct st_proto_s fm_st_proto; in fmc_prepare() local
1495 memset(&fm_st_proto, 0, sizeof(fm_st_proto)); in fmc_prepare()
1496 fm_st_proto.recv = fm_st_receive; in fmc_prepare()
1497 fm_st_proto.match_packet = NULL; in fmc_prepare()
1498 fm_st_proto.reg_complete_cb = fm_st_reg_comp_cb; in fmc_prepare()
1499 fm_st_proto.write = NULL; /* TI ST driver will fill write pointer */ in fmc_prepare()
1500 fm_st_proto.priv_data = fmdev; in fmc_prepare()
1501 fm_st_proto.chnl_id = 0x08; in fmc_prepare()
1502 fm_st_proto.max_frame_size = 0xff; in fmc_prepare()
1503 fm_st_proto.hdr_len = 1; in fmc_prepare()
1504 fm_st_proto.offset_len_in_hdr = 0; in fmc_prepare()
1505 fm_st_proto.len_size = 1; in fmc_prepare()
1506 fm_st_proto.reserve = 1; in fmc_prepare()
1508 ret = st_register(&fm_st_proto); in fmc_prepare()
1532 if (fm_st_proto.write != NULL) { in fmc_prepare()
1533 g_st_write = fm_st_proto.write; in fmc_prepare()
1536 ret = st_unregister(&fm_st_proto); in fmc_prepare()
1587 static struct st_proto_s fm_st_proto; in fmc_release() local
1606 memset(&fm_st_proto, 0, sizeof(fm_st_proto)); in fmc_release()
1607 fm_st_proto.chnl_id = 0x08; in fmc_release()
1609 ret = st_unregister(&fm_st_proto); in fmc_release()