Lines Matching refs:args
16 memcpy(cmd->args, buf, wlen);
31 /* write cmd and args for firmware */
32 ret = i2c_master_send(client, cmd->args, cmd->wlen);
46 ret = i2c_master_recv(client, cmd->args, cmd->rlen);
55 if ((cmd->args[0] >> 7) & 0x01)
64 if ((cmd->args[0] >> 6) & 0x01) {
69 if (!((cmd->args[0] >> 7) & 0x01)) {
102 cmd.args[4] = SI2168_TS_CLK_MANUAL;
104 cmd.args[4] |= dev->ts_mode;
106 cmd.args[4] |= SI2168_TS_TRISTATE;
108 cmd.args[4] |= 0x40;
149 switch ((cmd.args[2] >> 1) & 0x03) {
164 c->cnr.stat[0].svalue = cmd.args[3] * 1000 / 4;
170 dev_dbg(&client->dev, "status=%02x args=%*ph\n",
171 *status, cmd.rlen, cmd.args);
184 utmp = clamp(8 - cmd.args[1], 0, 8);
188 utmp1 = cmd.args[2] * utmp1;
193 utmp1, utmp2, cmd.args[2], cmd.args[1]);
211 utmp1 = cmd.args[2] << 8 | cmd.args[1] << 0;
310 cmd.args[0] = 0x52;
311 cmd.args[1] = c->stream_id & 0xff;
312 cmd.args[2] = c->stream_id == NO_STREAM_ID_FILTER ? 0 : 1;
346 cmd.args[4] = delivery_system | bandwidth;
348 cmd.args[5] |= 1;
356 cmd.args[4] = ((c->symbol_rate / 1000) >> 0) & 0xff;
357 cmd.args[5] = ((c->symbol_rate / 1000) >> 8) & 0xff;
369 cmd.args[5] |= dev->ts_clock_inv ? 0x00 : 0x10;
375 cmd.args[5] |= dev->ts_clock_inv ? 0x00 : 0x10;
518 dev->version = (cmd.args[9] + '@') << 24 | (cmd.args[6] - '0') << 16 |
519 (cmd.args[7] - '0') << 8 | (cmd.args[8]) << 0;
704 dev->chip_id = cmd.args[1] << 24 | cmd.args[2] << 16 |
705 cmd.args[3] << 8 | cmd.args[4] << 0;
722 cmd.args[2], cmd.args[1], cmd.args[3], cmd.args[4]);
727 dev->version = (cmd.args[1]) << 24 | (cmd.args[3] - '0') << 16 |
728 (cmd.args[4] - '0') << 8 | (cmd.args[5]) << 0;