Lines Matching refs:param
123 return param_eq(&r1->param, &r2->param); in cfctrl_req_eq()
200 struct cfctrl_link_param *param, in cfctrl_linkup_request() argument
229 cfpkt_addbdy(pkt, (param->chtype << 4) | param->linktype); in cfctrl_linkup_request()
230 cfpkt_addbdy(pkt, (param->priority << 3) | param->phyid); in cfctrl_linkup_request()
231 cfpkt_addbdy(pkt, param->endpoint & 0x03); in cfctrl_linkup_request()
233 switch (param->linktype) { in cfctrl_linkup_request()
237 cfpkt_addbdy(pkt, (u8) param->u.video.connid); in cfctrl_linkup_request()
242 tmp32 = cpu_to_le32(param->u.datagram.connid); in cfctrl_linkup_request()
249 tmp32 = cpu_to_le32(param->u.rfm.connid); in cfctrl_linkup_request()
252 cfpkt_add_body(pkt, param->u.rfm.volume, in cfctrl_linkup_request()
253 strlen(param->u.rfm.volume) + 1); in cfctrl_linkup_request()
256 tmp16 = cpu_to_le16(param->u.utility.fifosize_kb); in cfctrl_linkup_request()
258 tmp16 = cpu_to_le16(param->u.utility.fifosize_bufs); in cfctrl_linkup_request()
261 strncpy(utility_name, param->u.utility.name, in cfctrl_linkup_request()
264 tmp8 = param->u.utility.paramlen; in cfctrl_linkup_request()
266 cfpkt_add_body(pkt, param->u.utility.params, in cfctrl_linkup_request()
267 param->u.utility.paramlen); in cfctrl_linkup_request()
271 param->linktype); in cfctrl_linkup_request()
279 req->param = *param; in cfctrl_linkup_request()
287 cfpkt_info(pkt)->dev_info->id = param->phyid; in cfctrl_linkup_request()
357 u8 param[255]; in cfctrl_recv() local
490 cfpkt_extr_head(pkt, ¶m, len); in cfctrl_recv()
499 rsp.param = linkparam; in cfctrl_recv()
575 if (p->param.phyid == phyid) { in cfctrl_ctrlcmd()