Searched refs:med (Results 1 – 10 of 10) sorted by relevance
44 struct media_event_desc med; in ide_cdrom_drive_status() local55 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()
305 struct media_event_desc med; in sr_drive_status() local319 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()
200 struct media_event_desc *med = (void *)(buf + 4); in sr_get_events() local209 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()
931 int min = 0, med; in stb0899_table_lookup() local939 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()
3596 int min = 0, med; in stv090x_table_lookup() local3601 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()
767 u8 low, med, high; in ab8500_fg_acc_cur_work() local784 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()
466 struct media_event_desc *med) in cdrom_get_media_event() argument482 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()
3082 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()
533 u8 med; member
2310 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()