Searched refs:med (Results 1 – 10 of 10) sorted by relevance
294 struct media_event_desc med; in sr_drive_status() local308 if (!cdrom_get_media_event(cdi, &med)) { in sr_drive_status()309 if (med.media_present) in sr_drive_status()311 else if (med.door_open) in sr_drive_status()
210 struct media_event_desc *med = (void *)(buf + 4); in sr_get_events() local219 if (result || be16_to_cpu(eh->data_len) < sizeof(*med)) in sr_get_events()225 if (med->media_event_code == 1) in sr_get_events()227 else if (med->media_event_code == 2) in sr_get_events()229 else if (med->media_event_code == 3) in sr_get_events()
925 int min = 0, med; in stb0899_table_lookup() local933 med = (max + min) / 2; in stb0899_table_lookup()934 if (val >= tab[min].read && val < tab[med].read) in stb0899_table_lookup()935 max = med; in stb0899_table_lookup()937 min = med; in stb0899_table_lookup()
3618 int min = 0, med; in stv090x_table_lookup() local3623 med = (max + min) / 2; in stv090x_table_lookup()3624 if ((val >= tab[min].read && val < tab[med].read) || in stv090x_table_lookup()3625 (val >= tab[med].read && val < tab[min].read)) in stv090x_table_lookup()3626 max = med; in stv090x_table_lookup()3628 min = med; in stv090x_table_lookup()
758 u8 low, med, high; in ab8500_fg_acc_cur_work() local775 AB8500_GASG_CC_NCOV_ACCU_MED, &med); in ab8500_fg_acc_cur_work()786 val = (low | (med << 8) | (high << 16) | 0xFFE00000); in ab8500_fg_acc_cur_work()788 val = (low | (med << 8) | (high << 16)); in ab8500_fg_acc_cur_work()
662 struct media_event_desc *med) in cdrom_get_media_event() argument678 if (be16_to_cpu(eh->data_len) < sizeof(*med)) in cdrom_get_media_event()684 memcpy(med, &buffer[sizeof(*eh)], sizeof(*med)); in cdrom_get_media_event()
542 u8 med; member
3049 port_cfg->qos_bw.med = BFA_QOS_BW_MED; in bfa_fcport_attach()4096 if ((qos_bw->high == 0) || (qos_bw->med == 0) || (qos_bw->low == 0)) in bfa_fcport_set_qos_bw()4099 if ((qos_bw->high + qos_bw->med + qos_bw->low) != 100) in bfa_fcport_set_qos_bw()4102 if ((qos_bw->med > qos_bw->high) || (qos_bw->low > qos_bw->med) || in bfa_fcport_set_qos_bw()
2367 fcport->cfg.qos_bw.med = BFA_QOS_BW_MED; in bfad_iocmd_qos()2393 iocmd->attr.qos_bw.med = fcport->cfg.qos_bw.med; in bfad_iocmd_qos_get_attr()
640 int med; in first_hi_bfreg() local642 med = num_med_bfreg(dev, bfregi); in first_hi_bfreg()643 return ++med; in first_hi_bfreg()