Searched refs:write_speed (Results 1 - 2 of 2) sorted by relevance

/linux-4.4.14/drivers/block/
H A Dpktcdvd.c788 unsigned write_speed, unsigned read_speed) pkt_set_speed()
799 cgc.cmd[4] = (write_speed >> 8) & 0xff; pkt_set_speed()
800 cgc.cmd[5] = write_speed & 0xff; pkt_set_speed()
904 if (pd->read_speed == pd->write_speed) { pkt_iosched_process_queue()
906 pkt_set_speed(pd, pd->write_speed, pd->read_speed); pkt_iosched_process_queue()
909 if (pd->read_speed != pd->write_speed) { pkt_iosched_process_queue()
910 pd->read_speed = pd->write_speed; pkt_iosched_process_queue()
911 pkt_set_speed(pd, pd->write_speed, pd->read_speed); pkt_iosched_process_queue()
1986 unsigned *write_speed) pkt_get_max_speed()
2022 *write_speed = (cap_buf[offset] << 8) | cap_buf[offset + 1]; pkt_get_max_speed()
2140 unsigned int write_speed, media_write_speed, read_speed; pkt_open_write() local
2154 if ((ret = pkt_get_max_speed(pd, &write_speed))) pkt_open_write()
2155 write_speed = 16 * 177; pkt_open_write()
2160 pkt_dbg(1, pd, "write speed %ukB/s\n", write_speed); pkt_open_write()
2165 write_speed = min(write_speed, media_write_speed * 177); pkt_open_write()
2166 pkt_dbg(1, pd, "write speed %ux\n", write_speed / 176); pkt_open_write()
2169 read_speed = write_speed; pkt_open_write()
2171 if ((ret = pkt_set_speed(pd, write_speed, read_speed))) { pkt_open_write()
2175 pd->write_speed = write_speed; pkt_open_write()
2561 seq_printf(m, "\twrite speed:\t\t%ukB/s\n", pd->write_speed); pkt_seq_show()
787 pkt_set_speed(struct pktcdvd_device *pd, unsigned write_speed, unsigned read_speed) pkt_set_speed() argument
1985 pkt_get_max_speed(struct pktcdvd_device *pd, unsigned *write_speed) pkt_get_max_speed() argument
/linux-4.4.14/include/linux/
H A Dpktcdvd.h171 int write_speed; /* current write speed, kB/s */ member in struct:pktcdvd_device

Completed in 77 milliseconds