Home
last modified time | relevance | path

Searched refs:med (Results 1 – 9 of 9) sorted by relevance

/linux-3.4.99/drivers/ide/
Dide-cd_ioctl.c44 struct media_event_desc med; in ide_cdrom_drive_status() local
55 if (!cdrom_get_media_event(cdi, &med)) { in ide_cdrom_drive_status()
56 if (med.media_present) in ide_cdrom_drive_status()
58 else if (med.door_open) in ide_cdrom_drive_status()
/linux-3.4.99/drivers/scsi/
Dsr_ioctl.c305 struct media_event_desc med; in sr_drive_status() local
319 if (!cdrom_get_media_event(cdi, &med)) { in sr_drive_status()
320 if (med.media_present) in sr_drive_status()
322 else if (med.door_open) in sr_drive_status()
Dsr.c181 struct media_event_desc *med = (void *)(buf + 4); in sr_get_events() local
190 if (result || be16_to_cpu(eh->data_len) < sizeof(*med)) in sr_get_events()
196 if (med->media_event_code == 1) in sr_get_events()
198 else if (med->media_event_code == 2) in sr_get_events()
/linux-3.4.99/drivers/media/dvb/frontends/
Dstb0899_drv.c937 int min = 0, med; in stb0899_table_lookup() local
945 med = (max + min) / 2; in stb0899_table_lookup()
946 if (val >= tab[min].read && val < tab[med].read) in stb0899_table_lookup()
947 max = med; in stb0899_table_lookup()
949 min = med; in stb0899_table_lookup()
Dstv090x.c3569 int min = 0, med; in stv090x_table_lookup() local
3574 med = (max + min) / 2; in stv090x_table_lookup()
3575 if ((val >= tab[min].read && val < tab[med].read) || in stv090x_table_lookup()
3576 (val >= tab[med].read && val < tab[min].read)) in stv090x_table_lookup()
3577 max = med; in stv090x_table_lookup()
3579 min = med; in stv090x_table_lookup()
/linux-3.4.99/drivers/power/
Dab8500_fg.c715 u8 low, med, high; in ab8500_fg_acc_cur_work() local
732 AB8500_GASG_CC_NCOV_ACCU_MED, &med); in ab8500_fg_acc_cur_work()
743 val = (low | (med << 8) | (high << 16) | 0xFFE00000); in ab8500_fg_acc_cur_work()
745 val = (low | (med << 8) | (high << 16)); in ab8500_fg_acc_cur_work()
/linux-3.4.99/drivers/cdrom/
Dcdrom.c466 struct media_event_desc *med) in cdrom_get_media_event() argument
482 if (be16_to_cpu(eh->data_len) < sizeof(*med)) in cdrom_get_media_event()
488 memcpy(med, &buffer[sizeof(*eh)], sizeof(*med)); in cdrom_get_media_event()
/linux-3.4.99/include/linux/
Dcdrom.h1196 extern int cdrom_get_media_event(struct cdrom_device_info *cdi, struct media_event_desc *med);
/linux-3.4.99/Documentation/block/
Dbiodoc.txt284 control (high/med/low) over the priority of an i/o request vs other pending