Searched refs:med (Results 1 – 12 of 12) sorted by relevance
/drivers/ide/ |
D | ide-cd_ioctl.c | 44 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/ |
D | sr_ioctl.c | 309 struct media_event_desc med; in sr_drive_status() local 323 if (!cdrom_get_media_event(cdi, &med)) { in sr_drive_status() 324 if (med.media_present) in sr_drive_status() 326 else if (med.door_open) in sr_drive_status()
|
D | sr.c | 200 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/net/ethernet/mellanox/mlx5/core/ |
D | cmd.c | 1171 ent = &cmd->cache.med; in alloc_msg() 1277 list_for_each_entry_safe(msg, n, &cmd->cache.med.head, list) { in destroy_msg_cache() 1292 spin_lock_init(&cmd->cache.med.lock); in create_msg_cache() 1293 INIT_LIST_HEAD(&cmd->cache.med.head); in create_msg_cache() 1311 msg->cache = &cmd->cache.med; in create_msg_cache() 1312 list_add_tail(&msg->list, &cmd->cache.med.head); in create_msg_cache()
|
/drivers/media/dvb-frontends/ |
D | stb0899_drv.c | 941 int min = 0, med; in stb0899_table_lookup() local 949 med = (max + min) / 2; in stb0899_table_lookup() 950 if (val >= tab[min].read && val < tab[med].read) in stb0899_table_lookup() 951 max = med; in stb0899_table_lookup() 953 min = med; in stb0899_table_lookup()
|
D | stv090x.c | 3606 int min = 0, med; in stv090x_table_lookup() local 3611 med = (max + min) / 2; in stv090x_table_lookup() 3612 if ((val >= tab[min].read && val < tab[med].read) || in stv090x_table_lookup() 3613 (val >= tab[med].read && val < tab[min].read)) in stv090x_table_lookup() 3614 max = med; in stv090x_table_lookup() 3616 min = med; in stv090x_table_lookup()
|
/drivers/power/ |
D | ab8500_fg.c | 768 u8 low, med, high; in ab8500_fg_acc_cur_work() local 785 AB8500_GASG_CC_NCOV_ACCU_MED, &med); in ab8500_fg_acc_cur_work() 796 val = (low | (med << 8) | (high << 16) | 0xFFE00000); in ab8500_fg_acc_cur_work() 798 val = (low | (med << 8) | (high << 16)); in ab8500_fg_acc_cur_work()
|
/drivers/cdrom/ |
D | cdrom.c | 660 struct media_event_desc *med) in cdrom_get_media_event() argument 676 if (be16_to_cpu(eh->data_len) < sizeof(*med)) in cdrom_get_media_event() 682 memcpy(med, &buffer[sizeof(*eh)], sizeof(*med)); in cdrom_get_media_event()
|
/drivers/infiniband/hw/mlx5/ |
D | qp.c | 389 int med; in first_hi_uuar() local 393 med = num_med_uuar(uuari); in first_hi_uuar() 396 if (t == med) in first_hi_uuar()
|
/drivers/scsi/bfa/ |
D | bfa_defs_svc.h | 549 u8 med; member
|
D | bfa_svc.c | 3122 port_cfg->qos_bw.med = BFA_QOS_BW_MED; in bfa_fcport_attach() 4192 if ((qos_bw->high == 0) || (qos_bw->med == 0) || (qos_bw->low == 0)) in bfa_fcport_set_qos_bw() 4195 if ((qos_bw->high + qos_bw->med + qos_bw->low) != 100) in bfa_fcport_set_qos_bw() 4198 if ((qos_bw->med > qos_bw->high) || (qos_bw->low > qos_bw->med) || in bfa_fcport_set_qos_bw()
|
D | bfad_bsg.c | 2376 fcport->cfg.qos_bw.med = BFA_QOS_BW_MED; in bfad_iocmd_qos() 2402 iocmd->attr.qos_bw.med = fcport->cfg.qos_bw.med; in bfad_iocmd_qos_get_attr()
|