Home
last modified time | relevance | path

Searched refs:dev_no (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/drivers/visorbus/
Dcontrolvmchannel.h252 u32 dev_no; member
267 u32 dev_no; member
381 u32 dev_no; member
386 u32 dev_no; member
395 u32 dev_no; member
406 u32 dev_no; member
Dvisorchipset.c441 outmsg.cmd.device_change_state.dev_no = p->chipset_dev_no; in device_changestate_responder()
641 u32 dev_no = cmd->create_device.dev_no; in visorbus_device_create() local
660 dev_info = visorbus_get_device_by_id(bus_no, dev_no, NULL); in visorbus_device_create()
663 "failed to get bus by id: %d/%d\n", bus_no, dev_no); in visorbus_device_create()
674 dev_info->chipset_dev_no = dev_no; in visorbus_device_create()
684 bus_no, dev_no); in visorbus_device_create()
731 u32 dev_no = cmd->device_change_state.dev_no; in visorbus_device_changestate() local
736 dev_info = visorbus_get_device_by_id(bus_no, dev_no, NULL); in visorbus_device_changestate()
789 u32 dev_no = cmd->destroy_device.dev_no; in visorbus_device_destroy() local
793 dev_info = visorbus_get_device_by_id(bus_no, dev_no, NULL); in visorbus_device_destroy()
[all …]
Dvisorbus_main.c171 u32 dev_no; member
180 vdev->chipset_dev_no == id->dev_no) in match_visorbus_dev_by_id()
185 struct visor_device *visorbus_get_device_by_id(u32 bus_no, u32 dev_no, in visorbus_get_device_by_id() argument
192 .dev_no = dev_no in visorbus_get_device_by_id()
848 u32 dev_no = visordev->chipset_dev_no; in publish_vbus_dev_info() local
877 write_vbus_dev_info(bdev->visorchannel, hdr_info, &dev_info, dev_no); in publish_vbus_dev_info()
Dvisorbus_private.h17 struct visor_device *visorbus_get_device_by_id(u32 bus_no, u32 dev_no,
/kernel/linux/linux-5.10/drivers/accessibility/speakup/
Dspk_ttyio.c25 static int ser_to_dev(int ser, dev_t *dev_no) in ser_to_dev() argument
32 *dev_no = MKDEV(4, (64 + ser)); in ser_to_dev()
36 static int get_dev_to_use(struct spk_synth *synth, dev_t *dev_no) in get_dev_to_use() argument
41 return tty_dev_name_to_number(synth->dev_name, dev_no); in get_dev_to_use()
43 return ser_to_dev(synth->ser, dev_no); in get_dev_to_use()
/kernel/linux/linux-5.10/drivers/block/
Dsunvdc.c864 g->first_minor = port->vio.vdev->dev_no << PARTITION_SHIFT; in probe_disk()
928 int dev_no; member
939 if ((vdev->dev_no == port_data->dev_no) && in vdc_device_probed()
965 port_data.dev_no = vdev->dev_no; in vdc_port_mpgroup_check()
989 if ((vdev->dev_no << PARTITION_SHIFT) & ~(u64)MINORMASK) { in vdc_port_probe()
991 vdev->dev_no); in vdc_port_probe()
1010 if (vdev->dev_no >= 26) in vdc_port_probe()
1013 'a' + ((int)vdev->dev_no / 26) - 1, in vdc_port_probe()
1014 'a' + ((int)vdev->dev_no % 26)); in vdc_port_probe()
1017 VDCBLK_NAME "%c", 'a' + ((int)vdev->dev_no % 26)); in vdc_port_probe()
/kernel/linux/linux-5.10/drivers/scsi/
Dppa.c40 unsigned int dev_no; /* Device number */ member
1004 if (dev->dev_no != cnt) in find_parent()
1033 dev->dev_no = temp->dev_no + 1; in __ppa_attach()
1039 dev->dev = parport_register_dev_model(pb, "ppa", &ppa_cb, dev->dev_no); in __ppa_attach()
Dimm.c47 unsigned int dev_no; /* Device number */ member
1137 if (dev->dev_no != cnt) in find_parent()
1170 dev->dev_no = temp->dev_no + 1; in __imm_attach()
1176 dev->dev = parport_register_dev_model(pb, "imm", &imm_cb, dev->dev_no); in __imm_attach()
/kernel/linux/linux-5.10/arch/sparc/kernel/
Dvio.c351 vdev->dev_no = ~(u64)0; in vio_create_one()
354 vdev->dev_no = *id; in vio_create_one()
358 vdev->dev_no = *cfg_handle; in vio_create_one()
/kernel/linux/linux-5.10/drivers/input/
Djoydev.c906 int i, j, t, minor, dev_no; in joydev_connect() local
928 dev_no = minor; in joydev_connect()
930 if (dev_no < JOYDEV_MINOR_BASE + JOYDEV_MINORS) in joydev_connect()
931 dev_no -= JOYDEV_MINOR_BASE; in joydev_connect()
932 dev_set_name(&joydev->dev, "js%d", dev_no); in joydev_connect()
Devdev.c1342 int dev_no; in evdev_connect() local
1363 dev_no = minor; in evdev_connect()
1365 if (dev_no < EVDEV_MINOR_BASE + EVDEV_MINORS) in evdev_connect()
1366 dev_no -= EVDEV_MINOR_BASE; in evdev_connect()
1367 dev_set_name(&evdev->dev, "event%d", dev_no); in evdev_connect()
Dmousedev.c876 int dev_no = minor; in mousedev_create() local
878 if (dev_no < MOUSEDEV_MINOR_BASE + MOUSEDEV_MINORS) in mousedev_create()
879 dev_no -= MOUSEDEV_MINOR_BASE; in mousedev_create()
880 dev_set_name(&mousedev->dev, "mouse%d", dev_no); in mousedev_create()
/kernel/linux/linux-5.10/include/linux/
Dvisorbus.h342 struct visor_device *visorbus_get_device_by_id(u32 bus_no, u32 dev_no,
/kernel/linux/linux-5.10/drivers/scsi/mvsas/
Dmv_sas.c122 u32 dev_no; in mvs_find_dev_by_reg_set() local
123 for (dev_no = 0; dev_no < MVS_MAX_DEVICES; dev_no++) { in mvs_find_dev_by_reg_set()
124 if (mvi->devices[dev_no].taskfileset == MVS_ID_NOT_MAPPED) in mvs_find_dev_by_reg_set()
127 if (mvi->devices[dev_no].taskfileset == reg_set) in mvs_find_dev_by_reg_set()
128 return &mvi->devices[dev_no]; in mvs_find_dev_by_reg_set()
/kernel/linux/linux-5.10/sound/isa/
Dazt2320.c64 int dev_no; member
/kernel/linux/linux-5.10/arch/sparc/include/asm/
Dvio.h341 u64 dev_no; member
/kernel/linux/linux-5.10/sound/isa/sb/
Dsb16.c123 int dev_no; member
/kernel/linux/linux-5.10/drivers/pci/
Dquirks.c2799 int i, dev_no; in host_bridge_with_leaf() local
2802 dev_no = host_bridge->devfn >> 3; in host_bridge_with_leaf()
2803 for (i = dev_no + 1; i < 0x20; i++) { in host_bridge_with_leaf()
2857 int i, dev_no; in nv_ht_enable_msi_mapping() local
2860 dev_no = dev->devfn >> 3; in nv_ht_enable_msi_mapping()
2861 for (i = dev_no; i >= 0; i--) { in nv_ht_enable_msi_mapping()
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch47164 +static int dev_no;
47546 + dev_no = ret;
47554 + NULL, MKDEV(dev_no, 0),
47566 + unregister_chrdev(dev_no, DEVICE_NAME);
47573 + device_destroy(&secmem_class, MKDEV(dev_no, 0));
47576 + unregister_chrdev(dev_no, DEVICE_NAME);