Searched refs:med (Results 1 – 13 of 13) sorted by relevance
/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-cd_ioctl.c | 45 struct media_event_desc med; in ide_cdrom_drive_status() local 56 if (!cdrom_get_media_event(cdi, &med)) { in ide_cdrom_drive_status() 57 if (med.media_present) in ide_cdrom_drive_status() 59 else if (med.door_open) in ide_cdrom_drive_status()
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | sr_ioctl.c | 288 struct media_event_desc med; in sr_drive_status() local 302 if (!cdrom_get_media_event(cdi, &med)) { in sr_drive_status() 303 if (med.media_present) in sr_drive_status() 305 else if (med.door_open) in sr_drive_status()
|
D | sr.c | 204 struct media_event_desc *med = (void *)(buf + 4); in sr_get_events() local 213 if (result || be16_to_cpu(eh->data_len) < sizeof(*med)) in sr_get_events() 219 if (med->media_event_code == 1) in sr_get_events() 221 else if (med->media_event_code == 2) in sr_get_events() 223 else if (med->media_event_code == 3) in sr_get_events()
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/ |
D | stb0899_drv.c | 925 int min = 0, med; in stb0899_table_lookup() local 933 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()
|
D | stv090x.c | 3618 int min = 0, med; in stv090x_table_lookup() local 3623 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()
|
/kernel/linux/linux-5.10/include/linux/ |
D | cdrom.h | 304 extern int cdrom_get_media_event(struct cdrom_device_info *cdi, struct media_event_desc *med);
|
/kernel/linux/linux-5.10/drivers/power/supply/ |
D | ab8500_fg.c | 758 u8 low, med, high; in ab8500_fg_acc_cur_work() local 775 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()
|
/kernel/linux/linux-5.10/drivers/cdrom/ |
D | cdrom.c | 662 struct media_event_desc *med) in cdrom_get_media_event() argument 678 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()
|
/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
D | bfa_defs_svc.h | 542 u8 med; member
|
D | bfa_svc.c | 3055 port_cfg->qos_bw.med = BFA_QOS_BW_MED; in bfa_fcport_attach() 4102 if ((qos_bw->high == 0) || (qos_bw->med == 0) || (qos_bw->low == 0)) in bfa_fcport_set_qos_bw() 4105 if ((qos_bw->high + qos_bw->med + qos_bw->low) != 100) in bfa_fcport_set_qos_bw() 4108 if ((qos_bw->med > qos_bw->high) || (qos_bw->low > qos_bw->med) || in bfa_fcport_set_qos_bw()
|
D | bfad_bsg.c | 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/ |
D | qp.c | 640 int med; in first_hi_bfreg() local 642 med = num_med_bfreg(dev, bfregi); in first_hi_bfreg() 643 return ++med; in first_hi_bfreg()
|
/kernel/linux/linux-5.10/Documentation/block/ |
D | biodoc.rst | 279 control (high/med/low) over the priority of an i/o request vs other pending
|