Home
last modified time | relevance | path

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

/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()
/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.c200 struct media_event_desc *med = (void *)(buf + 4); in sr_get_events() local
209 if (result || be16_to_cpu(eh->data_len) < sizeof(*med)) in sr_get_events()
215 if (med->media_event_code == 1) in sr_get_events()
217 else if (med->media_event_code == 2) in sr_get_events()
/drivers/media/dvb-frontends/
Dstb0899_drv.c931 int min = 0, med; in stb0899_table_lookup() local
939 med = (max + min) / 2; in stb0899_table_lookup()
940 if (val >= tab[min].read && val < tab[med].read) in stb0899_table_lookup()
941 max = med; in stb0899_table_lookup()
943 min = med; in stb0899_table_lookup()
Dstv090x.c3596 int min = 0, med; in stv090x_table_lookup() local
3601 med = (max + min) / 2; in stv090x_table_lookup()
3602 if ((val >= tab[min].read && val < tab[med].read) || in stv090x_table_lookup()
3603 (val >= tab[med].read && val < tab[min].read)) in stv090x_table_lookup()
3604 max = med; in stv090x_table_lookup()
3606 min = med; in stv090x_table_lookup()
/drivers/power/
Dab8500_fg.c767 u8 low, med, high; in ab8500_fg_acc_cur_work() local
784 AB8500_GASG_CC_NCOV_ACCU_MED, &med); in ab8500_fg_acc_cur_work()
795 val = (low | (med << 8) | (high << 16) | 0xFFE00000); in ab8500_fg_acc_cur_work()
797 val = (low | (med << 8) | (high << 16)); in ab8500_fg_acc_cur_work()
/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()
/drivers/scsi/bfa/
Dbfa_svc.c3082 port_cfg->qos_bw.med = BFA_QOS_BW_MED; in bfa_fcport_attach()
4126 if ((qos_bw->high == 0) || (qos_bw->med == 0) || (qos_bw->low == 0)) in bfa_fcport_set_qos_bw()
4129 if ((qos_bw->high + qos_bw->med + qos_bw->low) != 100) in bfa_fcport_set_qos_bw()
4132 if ((qos_bw->med > qos_bw->high) || (qos_bw->low > qos_bw->med) || in bfa_fcport_set_qos_bw()
Dbfa_defs_svc.h533 u8 med; member
Dbfad_bsg.c2310 fcport->cfg.qos_bw.med = BFA_QOS_BW_MED; in bfad_iocmd_qos()
2336 iocmd->attr.qos_bw.med = fcport->cfg.qos_bw.med; in bfad_iocmd_qos_get_attr()