Lines Matching refs:fm_st_proto
1478 static struct st_proto_s fm_st_proto; in fmc_prepare() local
1486 memset(&fm_st_proto, 0, sizeof(fm_st_proto)); in fmc_prepare()
1487 fm_st_proto.recv = fm_st_receive; in fmc_prepare()
1488 fm_st_proto.match_packet = NULL; in fmc_prepare()
1489 fm_st_proto.reg_complete_cb = fm_st_reg_comp_cb; in fmc_prepare()
1490 fm_st_proto.write = NULL; /* TI ST driver will fill write pointer */ in fmc_prepare()
1491 fm_st_proto.priv_data = fmdev; in fmc_prepare()
1492 fm_st_proto.chnl_id = 0x08; in fmc_prepare()
1493 fm_st_proto.max_frame_size = 0xff; in fmc_prepare()
1494 fm_st_proto.hdr_len = 1; in fmc_prepare()
1495 fm_st_proto.offset_len_in_hdr = 0; in fmc_prepare()
1496 fm_st_proto.len_size = 1; in fmc_prepare()
1497 fm_st_proto.reserve = 1; in fmc_prepare()
1499 ret = st_register(&fm_st_proto); in fmc_prepare()
1523 if (fm_st_proto.write != NULL) { in fmc_prepare()
1524 g_st_write = fm_st_proto.write; in fmc_prepare()
1527 ret = st_unregister(&fm_st_proto); in fmc_prepare()
1578 static struct st_proto_s fm_st_proto; in fmc_release() local
1597 memset(&fm_st_proto, 0, sizeof(fm_st_proto)); in fmc_release()
1598 fm_st_proto.chnl_id = 0x08; in fmc_release()
1600 ret = st_unregister(&fm_st_proto); in fmc_release()