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) {
123 memcpy(cmd.args, &fw->data[(fw->size - remaining) + 1], len);
158 memcpy(cmd.args, "\x02", 1);
165 part_id = cmd.args[2];
166 rom_id = cmd.args[12];
184 part_id, cmd.args[1], cmd.args[3], cmd.args[4], rom_id);
193 part_id, cmd.args[1], cmd.args[3], cmd.args[4], rom_id);
228 memcpy(cmd.args, "\x15\x00\x02\x04", 4);
233 xtal_trim = cmd.args[2] | (cmd.args[3] << 8);
243 memcpy(cmd.args, "\xc0\x05\x01\x00\x00\x0b\x00\x00\x01", 9);
247 memcpy(cmd.args, "\xc0\x00\x0d\x0e\x00\x01\x01\x01\x01\x03", 10);
250 memcpy(cmd.args, "\xc0\x00\x0c\x00\x00\x01\x01\x01\x01\x01\x01\x02\x00\x00\x01", 15);
260 memcpy(cmd.args, "\xc0\x08\x01\x02\x00\x00\x01", 7);
273 memcpy(cmd.args, "\x01\x01", 2);
281 memcpy(cmd.args, "\x11", 1);
289 cmd.args[6], cmd.args[7], cmd.args[8]);
292 memcpy(cmd.args, "\x14\x00\x01\x05\x01\x00", 6);
299 memcpy(cmd.args, "\x14\x00\x01\x06\x01\x00", 6);
306 memcpy(cmd.args, "\x14\x00\x01\x07\x01\x00", 6);
342 memcpy(cmd.args, "\x16\x00", 2);
507 memcpy(cmd.args, "\x14\x00\x03\x07\x00\x00", 6);
508 cmd.args[4] = delivery_system | bw;
510 cmd.args[5] = 0x01;
519 memcpy(cmd.args, "\x14\x00\x02\x07\x00\x01", 6);
521 memcpy(cmd.args, "\x14\x00\x02\x07\x00\x00", 6);
522 cmd.args[4] = dev->if_port;
531 memcpy(cmd.args, "\x14\x00\x06\x07", 4);
532 cmd.args[4] = (if_frequency / 1000) & 0xff;
533 cmd.args[5] = ((if_frequency / 1000) >> 8) & 0xff;
544 memcpy(cmd.args, "\x41\x00\x00\x00\x00\x00\x00\x00", 8);
545 cmd.args[4] = (c->frequency >> 0) & 0xff;
546 cmd.args[5] = (c->frequency >> 8) & 0xff;
547 cmd.args[6] = (c->frequency >> 16) & 0xff;
548 cmd.args[7] = (c->frequency >> 24) & 0xff;
684 memcpy(cmd.args, "\x14\x00\x03\x06\x08\x02", 6);
688 cmd.args[4] = (dev->if_port == 1) ? 8 : 10;
690 cmd.args[5] = (dev->if_port == 1) ? 2 : 1;
698 memcpy(cmd.args, "\x14\x00\x0d\x06\x94\x64", 6);
712 memcpy(cmd.args, "\x14\x00\x0C\x06", 4);
713 cmd.args[4] = (if_frequency / 1000) & 0xff;
714 cmd.args[5] = ((if_frequency / 1000) >> 8) & 0xff;
722 memcpy(cmd.args, "\x14\x00\x07\x06\x32\xc8", 6);
730 memcpy(cmd.args, "\x14\x00\x04\x06\x00\x00", 6);
731 cmd.args[4] = system | color;
734 cmd.args[5] |= 0x02;
742 memcpy(cmd.args, "\x41\x01\x00\x00\x00\x00\x00\x00", 8);
743 cmd.args[4] = (freq >> 0) & 0xff;
744 cmd.args[5] = (freq >> 8) & 0xff;
745 cmd.args[6] = (freq >> 16) & 0xff;
746 cmd.args[7] = (freq >> 24) & 0xff;
806 memcpy(cmd.args, "\x42\x00", 2);
814 c->strength.stat[0].svalue = (s8)cmd.args[3] * 1000;
819 strength = (s8)cmd.args[3] + 100;
824 (s8)cmd.args[3], *rssi);
861 memcpy(cmd.args, "\x42\x00", 2);
869 c->strength.stat[0].svalue = (s8) cmd.args[3] * 1000;