Lines Matching refs:args

26 		/* write cmd and args for firmware */
27 ret = i2c_master_send(client, cmd->args, cmd->wlen);
41 ret = i2c_master_recv(client, cmd->args, cmd->rlen);
50 if ((cmd->args[0] >> 7) & 0x01)
57 cmd->args[0]);
59 if (!((cmd->args[0] >> 7) & 0x01)) {
64 if (cmd->args[0] & 0x40) {
93 memcpy(cmd.args, "\x15\x00\x02\x04", 4);
98 xtal_trim = cmd.args[2] | (cmd.args[3] << 8);
107 memcpy(cmd.args, "\xc0\x05\x01\x00\x00\x0b\x00\x00\x01", 9);
110 memcpy(cmd.args, "\xc0\x00\x0d\x0e\x00\x01\x01\x01\x01\x03", 10);
113 memcpy(cmd.args, "\xc0\x00\x0c\x00\x00\x01\x01\x01\x01\x01\x01\x02\x00\x00\x01", 15);
123 memcpy(cmd.args, "\xc0\x08\x01\x02\x00\x00\x01", 7);
136 memcpy(cmd.args, "\x02", 1);
143 chip_id = cmd.args[1] << 24 | cmd.args[2] << 16 | cmd.args[3] << 8 |
144 cmd.args[4] << 0;
172 cmd.args[2], cmd.args[1],
173 cmd.args[3], cmd.args[4]);
179 cmd.args[2], cmd.args[1], cmd.args[3], cmd.args[4]);
210 memcpy(cmd.args, &fw->data[(fw->size - remaining) + 1], len);
225 memcpy(cmd.args, "\x01\x01", 2);
233 memcpy(cmd.args, "\x11", 1);
241 cmd.args[6], cmd.args[7], cmd.args[8]);
244 memcpy(cmd.args, "\x14\x00\x01\x05\x01\x00", 6);
251 memcpy(cmd.args, "\x14\x00\x01\x06\x01\x00", 6);
258 memcpy(cmd.args, "\x14\x00\x01\x07\x01\x00", 6);
295 memcpy(cmd.args, "\x16\x00", 2);
444 memcpy(cmd.args, "\x14\x00\x03\x07\x00\x00", 6);
445 cmd.args[4] = delivery_system | bandwidth;
447 cmd.args[5] = 0x01;
455 memcpy(cmd.args, "\x14\x00\x02\x07\x00\x01", 6);
457 memcpy(cmd.args, "\x14\x00\x02\x07\x00\x00", 6);
458 cmd.args[4] = dev->if_port;
467 memcpy(cmd.args, "\x14\x00\x06\x07", 4);
468 cmd.args[4] = (if_frequency / 1000) & 0xff;
469 cmd.args[5] = ((if_frequency / 1000) >> 8) & 0xff;
480 memcpy(cmd.args, "\x41\x00\x00\x00\x00\x00\x00\x00", 8);
481 cmd.args[4] = (c->frequency >> 0) & 0xff;
482 cmd.args[5] = (c->frequency >> 8) & 0xff;
483 cmd.args[6] = (c->frequency >> 16) & 0xff;
484 cmd.args[7] = (c->frequency >> 24) & 0xff;
620 memcpy(cmd.args, "\x14\x00\x03\x06\x08\x02", 6);
624 cmd.args[4] = (dev->if_port == 1) ? 8 : 10;
626 cmd.args[5] = (dev->if_port == 1) ? 2 : 1;
634 memcpy(cmd.args, "\x14\x00\x0d\x06\x94\x64", 6);
648 memcpy(cmd.args, "\x14\x00\x0C\x06", 4);
649 cmd.args[4] = (if_frequency / 1000) & 0xff;
650 cmd.args[5] = ((if_frequency / 1000) >> 8) & 0xff;
658 memcpy(cmd.args, "\x14\x00\x07\x06\x32\xc8", 6);
666 memcpy(cmd.args, "\x14\x00\x04\x06\x00\x00", 6);
667 cmd.args[4] = system | color;
670 cmd.args[5] |= 0x02;
678 memcpy(cmd.args, "\x41\x01\x00\x00\x00\x00\x00\x00", 8);
679 cmd.args[4] = (freq >> 0) & 0xff;
680 cmd.args[5] = (freq >> 8) & 0xff;
681 cmd.args[6] = (freq >> 16) & 0xff;
682 cmd.args[7] = (freq >> 24) & 0xff;
742 memcpy(cmd.args, "\x42\x00", 2);
750 c->strength.stat[0].svalue = (s8)cmd.args[3] * 1000;
755 strength = (s8)cmd.args[3] + 100;
760 (s8)cmd.args[3], *rssi);
797 memcpy(cmd.args, "\x42\x00", 2);
805 c->strength.stat[0].svalue = (s8) cmd.args[3] * 1000;