Searched refs:devtype (Results 1 – 6 of 6) sorted by relevance
/components/drivers/scsi/ |
A D | scsi.c | 66 if (!driver_table[sdev->devtype].probe) in scsi_device_setup() 68 LOG_E("Device type %x is not supported", sdev->devtype); in scsi_device_setup() 84 return driver_table[sdev->devtype].probe(sdev); in scsi_device_setup() 118 if (tmp_sdev.devtype >= SCSI_DEVICE_TYPE_MAX) in rt_scsi_host_register() 179 if (!driver_table[sdev->devtype].remove) in rt_scsi_host_unregister() 181 driver_table[sdev->devtype].remove(sdev); in rt_scsi_host_unregister() 252 sdev->devtype = cmd.data.inquiry.devtype & RT_SCSI_DEVTYPE_MASK; in rt_scsi_inquiry()
|
/components/lwp/terminal/ |
A D | tty_device.c | 51 int devtype = 0; /* unused */ in tty_fops_open() local 63 rc = bsd_ttydev_methods.d_open(tp, file->flags, devtype, in tty_fops_open() 81 int devtype = 0; /* unused */ in tty_fops_close() local 93 rc = bsd_ttydev_methods.d_close(tp, fflags, devtype, rt_thread_self()); in tty_fops_close()
|
A D | bsd_porting.h | 201 typedef int d_open_t(struct lwp_tty *tp, int oflags, int devtype, 205 typedef int d_close_t(struct lwp_tty *tp, int fflag, int devtype,
|
/components/drivers/include/drivers/ |
A D | scsi.h | 47 rt_uint8_t devtype; 387 rt_uint32_t devtype; member
|
/components/drivers/ata/ |
A D | ahci.c | 478 inquiry->devtype = SCSI_DEVICE_TYPE_DIRECT; in ahci_scsi_transfer() 483 inquiry->devtype = SCSI_DEVICE_TYPE_CDROM; in ahci_scsi_transfer()
|
/components/lwp/terminal/freebsd/ |
A D | tty.c | 258 static int ttydev_open(struct lwp_tty *tp, int oflags, int devtype, in ttydev_open() argument 373 static int ttydev_close(struct lwp_tty *tp, int fflag, int devtype __unused, in ttydev_close()
|
Completed in 19 milliseconds