Home
last modified time | relevance | path

Searched refs:devno (Results 1 – 25 of 124) sorted by relevance

12345

/Linux-v6.6/include/trace/events/
Dsiox.h12 unsigned int devno, size_t bufoffset),
13 TP_ARGS(smaster, sdevice, devno, bufoffset),
16 __field(unsigned int, devno)
22 __entry->devno = devno;
29 __entry->devno,
37 unsigned int devno, u8 status_clean,
39 TP_ARGS(smaster, sdevice, devno, status_clean, bufoffset),
42 __field(unsigned int, devno)
49 __entry->devno = devno;
57 __entry->devno,
Dlibata.h211 __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno;
277 __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno;
455 __entry->ata_dev = dev->link->pmp + dev->devno;
482 __entry->ata_dev = qc->dev->link->pmp + qc->dev->devno;
496 TP_PROTO(struct ata_link *link, unsigned int devno, unsigned int eh_action),
498 TP_ARGS(link, devno, eh_action),
508 __entry->ata_dev = link->pmp + devno;
518 TP_PROTO(struct ata_link *link, unsigned int devno, unsigned int eh_action),
519 TP_ARGS(link, devno, eh_action));
522 TP_PROTO(struct ata_link *link, unsigned int devno, unsigned int eh_action),
[all …]
/Linux-v6.6/arch/x86/boot/
Dedd.c23 static int read_mbr(u8 devno, void *buf) in read_mbr() argument
30 ireg.dl = devno; in read_mbr()
38 static u32 read_mbr_sig(u8 devno, struct edd_info *ei, u32 *mbrsig) in read_mbr_sig() argument
63 if (read_mbr(devno, mbrbuf_ptr)) in read_mbr_sig()
73 static int get_edd_info(u8 devno, struct edd_info *ei) in get_edd_info() argument
84 ireg.dl = devno; in get_edd_info()
93 ei->device = devno; in get_edd_info()
130 int devno; in query_edd() local
160 for (devno = 0x80; devno < 0x80+EDD_MBR_SIG_MAX; devno++) { in query_edd()
165 if (!get_edd_info(devno, &ei) in query_edd()
[all …]
/Linux-v6.6/drivers/s390/cio/
Dblacklist.c102 unsigned int *devno, int msgtrigger) in parse_busid() argument
118 *devno = val; in parse_busid()
136 ret = pure_hex(&str_work, devno, 4, 4, __MAX_SUBCHANNEL); in parse_busid()
180 from = ipl_info.data.ccw.dev_id.devno; in blacklist_parse_parameters()
185 from = ipl_info.data.fcp.dev_id.devno; in blacklist_parse_parameters()
246 is_blacklisted (int ssid, int devno) in is_blacklisted() argument
248 return test_bit (devno, bl_dev[ssid]); in is_blacklisted()
284 int devno; member
298 iter->devno = *offset % (__MAX_SUBCHANNEL + 1); in cio_ignore_proc_seq_start()
317 if (iter->devno == __MAX_SUBCHANNEL) { in cio_ignore_proc_seq_next()
[all …]
Ddevice_id.c109 diag_data.vrdcdvno = dev_id->devno; in diag210_get_dev_info()
123 dev_id->ssid, dev_id->devno); in diag210_get_dev_info()
127 dev_id->ssid, dev_id->devno, rc); in diag210_get_dev_info()
187 "%04x/%02x%s\n", id->ssid, id->devno, rc, in snsid_callback()
/Linux-v6.6/drivers/input/misc/
Dapanel.c229 u8 devno; in apanel_init() local
245 for ( ; (devno = readb(p)) & 0x7f; p += 4) { in apanel_init()
259 switch (devno) { in apanel_init()
261 devno = APANEL_DEV_APPBTN; in apanel_init()
264 devno = APANEL_DEV_LED; in apanel_init()
268 if (devno >= APANEL_DEV_MAX) in apanel_init()
269 pr_notice(APANEL ": unknown device %u found\n", devno); in apanel_init()
270 else if (device_chip[devno] != CHIP_NONE) in apanel_init()
272 devno); in apanel_init()
276 method, devno); in apanel_init()
[all …]
/Linux-v6.6/drivers/ata/
Dpata_cs5535.c105 wrmsr(ATAC_CH0D0_PIO + 2 * pair->devno, in cs5535_set_piomode()
109 wrmsr(ATAC_CH0D0_PIO + 2 * adev->devno, in cs5535_set_piomode()
113 rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy); in cs5535_set_piomode()
114 wrmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg | 0x80000000UL, 0); in cs5535_set_piomode()
135 rdmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, dummy); in cs5535_set_dmamode()
141 wrmsr(ATAC_CH0D0_DMA + 2 * adev->devno, reg, 0); in cs5535_set_dmamode()
Dpata_radisys.c71 idetm_data |= (control << (4 * adev->devno)); in radisys_set_piomode()
130 idetm_data |= control << (4 * adev->devno); in radisys_set_dmamode()
133 udma_enable &= ~(1 << adev->devno); in radisys_set_dmamode()
142 udma_mode &= ~(2 << (adev->devno * 4)); in radisys_set_dmamode()
144 udma_mode |= (2 << (adev->devno * 4)); in radisys_set_dmamode()
148 udma_enable |= (1 << adev->devno); in radisys_set_dmamode()
Dlibata-eh.c342 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timeout()
367 idx = ehc->cmd_timeout_idx[dev->devno][ent]; in ata_internal_cmd_timed_out()
369 ehc->cmd_timeout_idx[dev->devno][ent]++; in ata_internal_cmd_timed_out()
433 return ehc->i.action | ehc->i.dev_action[dev->devno]; in ata_eh_dev_action()
444 ehi->dev_action[tdev->devno] &= ~action; in ata_eh_clear_action()
452 ehi->dev_action[tdev->devno] |= in ata_eh_clear_action()
458 ehi->dev_action[dev->devno] &= ~action; in ata_eh_clear_action()
696 int devno = dev->devno; in ata_scsi_port_error_handler() local
698 ehc->saved_xfer_mode[devno] = dev->xfer_mode; in ata_scsi_port_error_handler()
700 ehc->saved_ncq_enabled |= 1 << devno; in ata_scsi_port_error_handler()
[all …]
Dpata_cmd64x.c113 int arttim = arttim_port[ap->port_no][adev->devno]; in cmd64x_set_timing()
114 int drwtim = drwtim_port[ap->port_no][adev->devno]; in cmd64x_set_timing()
202 int shift = 2 * adev->devno; in cmd64x_set_dmamode()
208 regD &= ~(0x20 << adev->devno); in cmd64x_set_dmamode()
212 regU &= ~(0x05 << adev->devno); in cmd64x_set_dmamode()
218 regU |= 1 << adev->devno; /* UDMA on */ in cmd64x_set_dmamode()
220 regU |= 4 << adev->devno; in cmd64x_set_dmamode()
222 regU &= ~ (1 << adev->devno); /* UDMA off */ in cmd64x_set_dmamode()
226 regD |= 0x20 << adev->devno; in cmd64x_set_dmamode()
Dpata_artop.c102 int dn = adev->devno + 2 * ap->port_no; in artop6210_load_piomode()
129 int dn = adev->devno + 2 * ap->port_no; in artop6210_set_piomode()
156 int dn = adev->devno + 2 * ap->port_no; in artop6260_load_piomode()
189 ultra &= ~(7 << (4 * adev->devno)); /* One nibble per drive */ in artop6260_set_piomode()
208 int dn = adev->devno + 2 * ap->port_no; in artop6210_set_dmamode()
260 ultra &= ~(7 << (4 * adev->devno)); /* One nibble per drive */ in artop6260_set_dmamode()
265 ultra |= (mode << (4 * adev->devno)); in artop6260_set_dmamode()
Dpata_atiixp.c108 int dn = 2 * ap->port_no + adev->devno; in atiixp_set_pio_timing()
109 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1); in atiixp_set_pio_timing()
156 int dn = 2 * ap->port_no + adev->devno; in atiixp_set_dmamode()
172 int timing_shift = (16 * ap->port_no) + 8 * (adev->devno ^ 1); in atiixp_set_dmamode()
218 int dn = (2 * ap->port_no) + adev->devno; in atiixp_bmdma_start()
245 int dn = (2 * ap->port_no) + qc->dev->devno; in atiixp_bmdma_stop()
Dpata_cmd640.c60 int arttim = ARTIM0 + 2 * adev->devno; in cmd640_set_piomode()
116 timing->reg58[adev->devno] = (t.active << 4) | t.recover; in cmd640_set_piomode()
136 if (ap->port_no != 0 && adev->devno != timing->last) { in cmd640_qc_issue()
137 pci_write_config_byte(pdev, DRWTIM23, timing->reg58[adev->devno]); in cmd640_qc_issue()
138 timing->last = adev->devno; in cmd640_qc_issue()
Dpata_serverworks.c200 int offset = 1 + 2 * ap->port_no - adev->devno; in serverworks_set_piomode()
201 int devbits = (2 * ap->port_no + adev->devno) * 4; in serverworks_set_piomode()
230 int offset = 1 + 2 * ap->port_no - adev->devno; in serverworks_set_dmamode()
231 int devbits = 2 * ap->port_no + adev->devno; in serverworks_set_dmamode()
238 ultra &= ~(0x0F << (adev->devno * 4)); in serverworks_set_dmamode()
244 << (adev->devno * 4); in serverworks_set_dmamode()
Dpata_efar.c119 if (adev->devno == 0) { in efar_set_piomode()
142 udma_enable &= ~(1 << (2 * ap->port_no + adev->devno)); in efar_set_piomode()
164 int devid = adev->devno + 2 * ap->port_no; in efar_set_dmamode()
214 if (adev->devno) { /* Slave */ in efar_set_dmamode()
/Linux-v6.6/Documentation/arch/s390/
Dconfig3270.sh52 while read devno maj min;do
61 echo mknod $D/$TUB$devno c $fsmaj $min >> $SCR
65 echo mknod $D/$TTY$devno c $maj $min >>$SCR
66 echo mknod $D/$TUB$devno c $fsmaj $min >> $SCR
68 echo "echo t$min$GETTYLINE $TTY$devno >> $NINITTAB" >> $SCRTMP
/Linux-v6.6/arch/powerpc/platforms/book3s/
Dvas-api.c573 dev_t devno; in vas_register_coproc_api() local
597 devno = MKDEV(MAJOR(coproc_device.devt), 0); in vas_register_coproc_api()
598 rc = cdev_add(&coproc_device.cdev, devno, 1); in vas_register_coproc_api()
605 devno, NULL, name, MINOR(devno)); in vas_register_coproc_api()
608 pr_err("Unable to create coproc-%d %d\n", MINOR(devno), rc); in vas_register_coproc_api()
612 pr_devel("%s: Added dev [%d,%d]\n", __func__, MAJOR(devno), in vas_register_coproc_api()
613 MINOR(devno)); in vas_register_coproc_api()
628 dev_t devno; in vas_unregister_coproc_api() local
631 devno = MKDEV(MAJOR(coproc_device.devt), 0); in vas_unregister_coproc_api()
632 device_destroy(coproc_device.class, devno); in vas_unregister_coproc_api()
/Linux-v6.6/drivers/most/
Dmost_cdev.c23 dev_t devno; member
39 dev_t devno; member
94 device_destroy(comp.class, c->devno); in destroy_cdev()
103 ida_simple_remove(&comp.minor_id, MINOR(c->devno)); in destroy_channel()
438 c->devno = MKDEV(comp.major, current_minor); in comp_probe()
441 retval = cdev_add(&c->cdev, c->devno, 1); in comp_probe()
458 c->dev = device_create(comp.class, NULL, c->devno, NULL, "%s", name); in comp_probe()
500 err = alloc_chrdev_region(&comp.devno, 0, CHRDEV_REGION_SIZE, "cdev"); in most_cdev_init()
503 comp.major = MAJOR(comp.devno); in most_cdev_init()
515 unregister_chrdev_region(comp.devno, CHRDEV_REGION_SIZE); in most_cdev_init()
[all …]
/Linux-v6.6/drivers/s390/char/
Dvmur.c149 static struct urdev *urdev_get_from_devno(u16 devno) in urdev_get_from_devno() argument
155 sprintf(bus_id, "0.0.%04x", devno); in urdev_get_from_devno()
375 ur_diag210.vrdcdvno = urd->dev_id.devno; in get_urd_class()
470 static int diag_position_to_record(int devno, int record) in diag_position_to_record() argument
474 cc = diag14(record, devno, 0x28); in diag_position_to_record()
495 static int diag_read_file(int devno, char *buf) in diag_read_file() argument
499 cc = diag14((unsigned long) buf, devno, 0x00); in diag_read_file()
524 rc = diag_position_to_record(urd->dev_id.devno, *offs / PAGE_SIZE + 1); in diag14_read()
538 rc = diag_read_file(urd->dev_id.devno, buf); in diag14_read()
628 rc = diag_read_file(urd->dev_id.devno, buf); in verify_uri_device()
[all …]
/Linux-v6.6/arch/s390/include/asm/
Ddiag.h97 extern int diag8c(struct diag8c *out, struct ccw_dev_id *devno);
266 u16 devno; member
278 u16 devno; member
303 u16 devno; member
336 int (*diag8c)(struct diag8c *addr, struct ccw_dev_id *devno, size_t len);
349 int _diag8c_amode31(struct diag8c *addr, struct ccw_dev_id *devno, size_t len);
/Linux-v6.6/drivers/comedi/drivers/
Dpcm3724.c62 static int compute_buffer(int config, int devno, struct comedi_subdevice *s) in compute_buffer() argument
66 if (devno == 0) in compute_buffer()
72 if (devno == 0) in compute_buffer()
78 if (devno == 0) in compute_buffer()
/Linux-v6.6/drivers/mfd/
Djanz-cmodio.c62 char *name, unsigned int devno, in cmodio_setup_subdevice() argument
71 cell = &priv->cells[devno]; in cmodio_setup_subdevice()
72 res = &priv->resources[devno * 3]; in cmodio_setup_subdevice()
73 pdata = &priv->pdata[devno]; in cmodio_setup_subdevice()
/Linux-v6.6/drivers/media/pci/cx88/
Dcx88-alsa.c845 static int devno; variable
900 core->name, devno, in snd_cx88_create()
921 if (devno >= SNDRV_CARDS) in cx88_audio_initdev()
924 if (!enable[devno]) { in cx88_audio_initdev()
925 ++devno; in cx88_audio_initdev()
929 err = snd_card_new(&pci->dev, index[devno], id[devno], THIS_MODULE, in cx88_audio_initdev()
969 card->driver, devno); in cx88_audio_initdev()
976 devno++; in cx88_audio_initdev()
993 devno--; in cx88_audio_finidev()
/Linux-v6.6/arch/mips/pci/
Dpci-sb1250.c93 u32 devno; in sb1250_pci_can_access() local
99 devno = PCI_SLOT(devfn); in sb1250_pci_can_access()
100 if (devno == LDT_BRIDGE_DEVICE) in sb1250_pci_can_access()
/Linux-v6.6/drivers/leds/trigger/
Dledtrig-tty.c98 dev_t devno; in ledtrig_tty_work() local
102 ret = tty_dev_name_to_number(trigger_data->ttyname, &devno); in ledtrig_tty_work()
110 tty = tty_kopen_shared(devno); in ledtrig_tty_work()

12345