Lines Matching refs:preq
104 struct as10x_cmd_t *preq, *prsp; in as10x_cmd_set_tune() local
106 preq = adap->cmd; in as10x_cmd_set_tune()
110 as10x_cmd_build(preq, (++adap->cmd_xid), in as10x_cmd_set_tune()
111 sizeof(preq->body.set_tune.req)); in as10x_cmd_set_tune()
114 preq->body.set_tune.req.proc_id = cpu_to_le16(CONTROL_PROC_SETTUNE); in as10x_cmd_set_tune()
115 preq->body.set_tune.req.args.freq = (__force __u32)cpu_to_le32(ptune->freq); in as10x_cmd_set_tune()
116 preq->body.set_tune.req.args.bandwidth = ptune->bandwidth; in as10x_cmd_set_tune()
117 preq->body.set_tune.req.args.hier_select = ptune->hier_select; in as10x_cmd_set_tune()
118 preq->body.set_tune.req.args.modulation = ptune->modulation; in as10x_cmd_set_tune()
119 preq->body.set_tune.req.args.hierarchy = ptune->hierarchy; in as10x_cmd_set_tune()
120 preq->body.set_tune.req.args.interleaving_mode = in as10x_cmd_set_tune()
122 preq->body.set_tune.req.args.code_rate = ptune->code_rate; in as10x_cmd_set_tune()
123 preq->body.set_tune.req.args.guard_interval = ptune->guard_interval; in as10x_cmd_set_tune()
124 preq->body.set_tune.req.args.transmission_mode = in as10x_cmd_set_tune()
130 (uint8_t *) preq, in as10x_cmd_set_tune()
131 sizeof(preq->body.set_tune.req) in as10x_cmd_set_tune()
159 struct as10x_cmd_t *preq, *prsp; in as10x_cmd_get_tune_status() local
161 preq = adap->cmd; in as10x_cmd_get_tune_status()
165 as10x_cmd_build(preq, (++adap->cmd_xid), in as10x_cmd_get_tune_status()
166 sizeof(preq->body.get_tune_status.req)); in as10x_cmd_get_tune_status()
169 preq->body.get_tune_status.req.proc_id = in as10x_cmd_get_tune_status()
176 (uint8_t *) preq, in as10x_cmd_get_tune_status()
177 sizeof(preq->body.get_tune_status.req) + HEADER_SIZE, in as10x_cmd_get_tune_status()