Home
last modified time | relevance | path

Searched refs:read_command (Results 1 – 6 of 6) sorted by relevance

/Linux-v4.19/drivers/cdrom/
Dgdrom.c591 struct packet_command *read_command; in gdrom_readdisk_dma() local
598 read_command = kzalloc(sizeof(struct packet_command), GFP_KERNEL); in gdrom_readdisk_dma()
599 if (!read_command) in gdrom_readdisk_dma()
601 read_command->cmd[0] = 0x30; in gdrom_readdisk_dma()
602 read_command->cmd[1] = 0x20; in gdrom_readdisk_dma()
613 read_command->cmd[2] = (block >> 16) & 0xFF; in gdrom_readdisk_dma()
614 read_command->cmd[3] = (block >> 8) & 0xFF; in gdrom_readdisk_dma()
615 read_command->cmd[4] = block & 0xFF; in gdrom_readdisk_dma()
616 read_command->cmd[8] = (block_cnt >> 16) & 0xFF; in gdrom_readdisk_dma()
617 read_command->cmd[9] = (block_cnt >> 8) & 0xFF; in gdrom_readdisk_dma()
[all …]
/Linux-v4.19/drivers/s390/char/
Dfs3270.c35 int read_command; /* ccw command to use for reads. */ member
260 if (fp->read_command == 0 && fp->write_command != 0) in fs3270_read()
261 fp->read_command = 6; in fs3270_read()
262 raw3270_request_set_cmd(rq, fp->read_command ? : 2); in fs3270_read()
344 fp->read_command = arg; in fs3270_ioctl()
350 rc = put_user(fp->read_command, argp); in fs3270_ioctl()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/i2caux/
Daux_engine.c244 static bool read_command( in read_command() function
552 return read_command(engine, &dummy_request, false); in end_of_transaction_command()
571 result = read_command(aux_engine, request, mot_used); in dal_aux_engine_submit_request()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/
Ddce_aux.c542 static bool read_command( in read_command() function
824 return read_command(engine, &dummy_request, false); in end_of_transaction_command()
841 result = read_command(engine, request, mot_used); in submit_request()
/Linux-v4.19/drivers/hwmon/
Dsht3x.c113 const char read_command[SHT3X_CMD_LENGTH]; member
309 commands->read_command, buffer, in limits_update()
/Linux-v4.19/drivers/staging/comedi/drivers/
Dcb_pcidas64.c3702 static const int read_command = 0x6; in read_eeprom() local
3703 unsigned int bitstream = (read_command << 8) | address; in read_eeprom()