Lines Matching refs:desc
32 static int CYC2_ps_load(Altera_desc *desc, const void *buf, size_t bsize);
33 static int CYC2_ps_dump(Altera_desc *desc, const void *buf, size_t bsize);
38 int CYC2_load(Altera_desc *desc, const void *buf, size_t bsize) in CYC2_load() argument
42 switch (desc->iface) { in CYC2_load()
45 ret_val = CYC2_ps_load (desc, buf, bsize); in CYC2_load()
55 ret_val = CYC2_ps_load(desc, buf, bsize); in CYC2_load()
62 __FUNCTION__, desc->iface); in CYC2_load()
68 int CYC2_dump(Altera_desc *desc, const void *buf, size_t bsize) in CYC2_dump() argument
72 switch (desc->iface) { in CYC2_dump()
75 ret_val = CYC2_ps_dump (desc, buf, bsize); in CYC2_dump()
82 __FUNCTION__, desc->iface); in CYC2_dump()
88 int CYC2_info( Altera_desc *desc ) in CYC2_info() argument
95 static int CYC2_ps_load(Altera_desc *desc, const void *buf, size_t bsize) in CYC2_ps_load() argument
98 Altera_CYC2_Passive_Serial_fns *fn = desc->iface_fns; in CYC2_ps_load()
105 int cookie = desc->cookie; /* make a local copy */ in CYC2_ps_load()
197 static int CYC2_ps_dump(Altera_desc *desc, const void *buf, size_t bsize) in CYC2_ps_dump() argument