Lines Matching defs:write_6
1056 char write_6[4096 + 20]; /* max gamma table is 4096 + 20 for command data */
1064 memset (write_6, 0, sizeof (*write_6));
1066 write_6[0] = 0x28; /* read data code */
1069 write_6[2] = 0x03; /* data type code "gamma data" */
1071 write_6[6] = (s->gamma_length + 9) >> 16;
1072 write_6[7] = (s->gamma_length + 9) >> 8;
1073 write_6[8] = (s->gamma_length + 9);
1079 data = write_6 + 18;
1083 data = write_6 + 19;
1087 write_6[10] = 0x08; /* bitmask, bit 3 means mono type */
1091 write_6[11] = 1; /* internal gamma table #1 (hope this is default) */
1127 return (sanei_scsi_cmd (s->fd, write_6, 10 + 8 + s->gamma_length, 0, 0));
1131 return (sanei_scsi_cmd (s->fd, write_6, 10 + 9 + s->gamma_length, 0, 0));
1140 char write_6[4096 + 20]; /* max gamma table is 4096 + 20 for command data */
1148 memset (write_6, 0, sizeof (*write_6));
1150 write_6[0] = 0x2a; /* send data code */
1156 write_6[2] = 0x0e;
1161 write_6[2] = 0x03;
1165 write_6[10] = 0x08; /* bitmask, bit 3 means mono type */
1169 write_6[6] = 9 >> 16;
1170 write_6[7] = 9 >> 8;
1171 write_6[8] = 9;
1172 write_6[11] = 1; /* internal gamma table #1 (hope this is default) */
1174 return (sanei_scsi_cmd (s->fd, write_6, 10 + 9, 0, 0));
1178 write_6[6] = (s->gamma_length + 9) >> 16;
1179 write_6[7] = (s->gamma_length + 9) >> 8;
1180 write_6[8] = (s->gamma_length + 9);
1189 data = write_6 + 18;
1193 data = write_6 + 19;
1229 return (sanei_scsi_cmd (s->fd, write_6, 10 + 8 + s->gamma_length, 0, 0));
1233 return (sanei_scsi_cmd (s->fd, write_6, 10 + 9 + s->gamma_length, 0, 0));
1242 char write_6[4096];
1261 data = (unsigned char *)write_6 + 10;
1286 memset (write_6, 0, 4096);
1287 write_6[0] = 0x24;
1288 write_6[8] = s->hw->setwindow_cmd_size; /* total size of command */
1461 return (sanei_scsi_cmd (s->fd, write_6, 10 +
1684 uint8_t write_6[6] =
1702 return (sanei_scsi_cmd (s->fd, write_6, 6, 0, 0));