Lines Matching refs:fm_st_proto
1493 static struct st_proto_s fm_st_proto; in fmc_prepare() local
1501 memset(&fm_st_proto, 0, sizeof(fm_st_proto)); in fmc_prepare()
1502 fm_st_proto.recv = fm_st_receive; in fmc_prepare()
1503 fm_st_proto.match_packet = NULL; in fmc_prepare()
1504 fm_st_proto.reg_complete_cb = fm_st_reg_comp_cb; in fmc_prepare()
1505 fm_st_proto.write = NULL; /* TI ST driver will fill write pointer */ in fmc_prepare()
1506 fm_st_proto.priv_data = fmdev; in fmc_prepare()
1507 fm_st_proto.chnl_id = 0x08; in fmc_prepare()
1508 fm_st_proto.max_frame_size = 0xff; in fmc_prepare()
1509 fm_st_proto.hdr_len = 1; in fmc_prepare()
1510 fm_st_proto.offset_len_in_hdr = 0; in fmc_prepare()
1511 fm_st_proto.len_size = 1; in fmc_prepare()
1512 fm_st_proto.reserve = 1; in fmc_prepare()
1514 ret = st_register(&fm_st_proto); in fmc_prepare()
1539 if (fm_st_proto.write != NULL) { in fmc_prepare()
1540 g_st_write = fm_st_proto.write; in fmc_prepare()
1543 ret = st_unregister(&fm_st_proto); in fmc_prepare()
1596 static struct st_proto_s fm_st_proto; in fmc_release() local
1615 memset(&fm_st_proto, 0, sizeof(fm_st_proto)); in fmc_release()
1616 fm_st_proto.chnl_id = 0x08; in fmc_release()
1618 ret = st_unregister(&fm_st_proto); in fmc_release()