Home
last modified time | relevance | path

Searched refs:ioport (Results 1 – 25 of 147) sorted by relevance

123456

/linux-6.6.21/drivers/scsi/
DFlashPoint.c182 #define RD_HARPOON(ioport) inb((u32)ioport) argument
183 #define RDW_HARPOON(ioport) inw((u32)ioport) argument
184 #define RD_HARP32(ioport,offset,data) (data = inl((u32)(ioport + offset))) argument
185 #define WR_HARPOON(ioport,val) outb((u8) val, (u32)ioport) argument
186 #define WRW_HARPOON(ioport,val) outw((u16)val, (u32)ioport) argument
187 #define WR_HARP32(ioport,offset,data) outl(data, (u32)(ioport + offset)) argument
916 u32 ioport; in FlashPoint_ProbeHostAdapter() local
919 ioport = pCardInfo->si_baseaddr; in FlashPoint_ProbeHostAdapter()
921 if (RD_HARPOON(ioport + hp_vendor_id_0) != ORION_VEND_0) in FlashPoint_ProbeHostAdapter()
924 if ((RD_HARPOON(ioport + hp_vendor_id_1) != ORION_VEND_1)) in FlashPoint_ProbeHostAdapter()
[all …]
Datp870u.h28 unsigned long ioport[2]; member
/linux-6.6.21/drivers/input/gameport/
Dns558.c180 int ioport, iolen; in ns558_pnp_probe() local
189 ioport = pnp_port_start(dev, 0); in ns558_pnp_probe()
192 if (!request_region(ioport, iolen, "ns558-pnp")) in ns558_pnp_probe()
204 ns558->io = ioport; in ns558_pnp_probe()
212 port->io = ioport; in ns558_pnp_probe()
/linux-6.6.21/drivers/acpi/apei/
Dapei-base.c289 .ioport = LIST_HEAD_INIT(apei_resources_all.ioport),
383 apei_res_clean(&resources->ioport); in apei_resources_fini()
399 list_for_each_entry(res, &resources2->ioport, list) { in apei_resources_merge()
400 rc = apei_res_add(&resources1->ioport, res->start, in apei_resources_merge()
416 return apei_res_add(&resources->ioport, start, size); in apei_resources_add()
433 return apei_res_sub(&resources1->ioport, &resources2->ioport); in apei_resources_sub()
510 list_for_each_entry(res, &resources->ioport, list) { in apei_resources_request()
531 list_for_each_entry(res, &resources->ioport, list) { in apei_resources_request()
559 list_for_each_entry(res, &resources->ioport, list) in apei_resources_release()
733 return apei_res_add(&resources->ioport, paddr, in collect_res_callback()
Dapei-internal.h99 struct list_head ioport; member
105 INIT_LIST_HEAD(&resources->ioport); in apei_resources_init()
/linux-6.6.21/Documentation/driver-api/media/drivers/
Dradiotrack.rst56 The RadioTrack (base) ioport is configurable for 0x30c or 0x20c. Only one
57 ioport seems to be involved. The ioport decoding circuitry must be pretty
58 simple, as individual ioport bits are directly matched to specific functions
60 parallel with one write to the ioport. The only feedback available through
63 The bits of the ioport are arranged as follows:
91 Results available by reading ioport >60 msec after last port write.
151 x <-- BASE (read ioport)
/linux-6.6.21/drivers/watchdog/
Dmixcomwd.c69 int ioport; member
263 for (i = 0; !found && mixcomwd_io_info[i].ioport != 0; i++) { in mixcomwd_init()
264 if (checkcard(mixcomwd_io_info[i].ioport, in mixcomwd_init()
267 watchdog_port = mixcomwd_io_info[i].ioport; in mixcomwd_init()
/linux-6.6.21/drivers/gpu/drm/tiny/
Dbochs.c98 static void bochs_vga_writeb(struct bochs_device *bochs, u16 ioport, u8 val) in bochs_vga_writeb() argument
100 if (WARN_ON(ioport < 0x3c0 || ioport > 0x3df)) in bochs_vga_writeb()
104 int offset = ioport - 0x3c0 + 0x400; in bochs_vga_writeb()
108 outb(val, ioport); in bochs_vga_writeb()
112 static u8 bochs_vga_readb(struct bochs_device *bochs, u16 ioport) in bochs_vga_readb() argument
114 if (WARN_ON(ioport < 0x3c0 || ioport > 0x3df)) in bochs_vga_readb()
118 int offset = ioport - 0x3c0 + 0x400; in bochs_vga_readb()
122 return inb(ioport); in bochs_vga_readb()
/linux-6.6.21/drivers/video/fbdev/
Dn411.c196 module_param_hw(dio_addr, ulong, ioport, 0);
198 module_param_hw(cio_addr, ulong, ioport, 0);
200 module_param_hw(c2io_addr, ulong, ioport, 0);
/linux-6.6.21/drivers/rtc/
Drtc-bq4802.c22 unsigned long ioport; member
32 return inb(p->ioport + off); in bq4802_read_io()
37 outb(val, p->ioport + off); in bq4802_write_io()
160 p->ioport = p->r->start; in bq4802_probe()
/linux-6.6.21/drivers/ata/
Dpata_optidma.c365 int ioport = 0x22; in optiplus_with_udma() local
379 ioport |= (r << 8); in optiplus_with_udma()
380 outb(0x10, ioport); in optiplus_with_udma()
382 if ((inb(ioport + 2) & 1) == 0) in optiplus_with_udma()
/linux-6.6.21/drivers/scsi/aic7xxx/
Daic7770_osm.c56 ahc->bsh.ioport = port; in aic7770_map_registers()
98 ahc->bsh.ioport = 0; in aic7770_probe()
/linux-6.6.21/drivers/net/wireless/marvell/mwifiex/
Dsdio.c714 u32 ioport = (port & MWIFIEX_SDIO_IO_PORT_MASK); in mwifiex_write_data_sync() local
724 ret = sdio_writesb(card->func, ioport, buffer, blk_cnt * blk_size); in mwifiex_write_data_sync()
743 u32 ioport = (port & MWIFIEX_SDIO_IO_PORT_MASK); in mwifiex_read_data_sync() local
748 ret = sdio_readsb(card->func, buffer, ioport, blk_cnt * blk_size); in mwifiex_read_data_sync()
1037 adapter->ioport = MEM_PORT; in mwifiex_init_sdio_new_mode()
1077 adapter->ioport = 0; in mwifiex_init_sdio_ioport()
1087 adapter->ioport |= (reg & 0xff); in mwifiex_init_sdio_ioport()
1092 adapter->ioport |= ((reg & 0xff) << 8); in mwifiex_init_sdio_ioport()
1097 adapter->ioport |= ((reg & 0xff) << 16); in mwifiex_init_sdio_ioport()
1102 "info: SDIO FUNC1 IO port: %#x\n", adapter->ioport); in mwifiex_init_sdio_ioport()
[all …]
/linux-6.6.21/drivers/net/wireless/marvell/libertas/
Dif_sdio.c114 unsigned long ioport; member
345 ret = sdio_readsb(card->func, card->buffer, card->ioport, chunk); in if_sdio_card_to_host()
421 ret = sdio_writesb(card->func, card->ioport, in if_sdio_host_to_card_worker()
482 ret = sdio_writesb(card->func, card->ioport, in if_sdio_prog_helper()
493 ret = sdio_writesb(card->func, card->ioport, chunk_buffer, 64); in if_sdio_prog_helper()
620 ret = sdio_writesb(card->func, card->ioport, in if_sdio_prog_real()
862 card->ioport = sdio_readb(func, IF_SDIO_IOPORT, &ret); in if_sdio_power_on()
866 card->ioport |= sdio_readb(func, IF_SDIO_IOPORT + 1, &ret) << 8; in if_sdio_power_on()
870 card->ioport |= sdio_readb(func, IF_SDIO_IOPORT + 2, &ret) << 16; in if_sdio_power_on()
1210 model, (unsigned)card->ioport); in if_sdio_probe()
/linux-6.6.21/sound/pci/
Dsis7019.c100 unsigned long ioport; member
299 unsigned long io = sis->ioport; in sis_interrupt()
570 unsigned long io = sis->ioport; in sis_pcm_trigger()
892 unsigned long io = sis->ioport; in sis_ac97_rw()
1016 outl(SIS_GCR_SOFTWARE_RESET, sis->ioport + SIS_GCR); in sis_chip_free()
1018 outl(0, sis->ioport + SIS_GCR); in sis_chip_free()
1019 outl(0, sis->ioport + SIS_GIER); in sis_chip_free()
1029 unsigned long io = sis->ioport; in sis_chip_init()
1283 sis->ioport = pci_resource_start(pci, 0); in sis_chip_create()
1379 sis->ioport, sis->irq); in __snd_sis7019_probe()
/linux-6.6.21/sound/isa/cs423x/
Dcs4236.c52 module_param_hw_array(port, long, ioport, NULL, 0444);
54 module_param_hw_array(cport, long, ioport, NULL, 0444);
56 module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
58 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
60 module_param_hw_array(sb_port, long, ioport, NULL, 0444);
Dcs4231.c43 module_param_hw_array(port, long, ioport, NULL, 0444);
45 module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
/linux-6.6.21/sound/isa/gus/
Dgusextreme.c53 module_param_hw_array(port, long, ioport, NULL, 0444);
55 module_param_hw_array(gf1_port, long, ioport, NULL, 0444);
57 module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
/linux-6.6.21/sound/isa/es1688/
Des1688.c54 module_param_hw_array(port, long, ioport, NULL, 0444);
56 module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
59 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
/linux-6.6.21/sound/pci/ymfpci/
Dymfpci.c37 module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
39 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
42 module_param_hw_array(joystick_port, long, ioport, NULL, 0444);
/linux-6.6.21/sound/isa/wavefront/
Dwavefront.c52 module_param_hw_array(cs4232_pcm_port, long, ioport, NULL, 0444);
60 module_param_hw_array(cs4232_mpu_port, long, ioport, NULL, 0444);
66 module_param_hw_array(ics2115_port, long, ioport, NULL, 0444);
68 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
/linux-6.6.21/sound/isa/galaxy/
Dgalaxy.c43 module_param_hw_array(port, long, ioport, NULL, 0444);
45 module_param_hw_array(wss_port, long, ioport, NULL, 0444);
47 module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
49 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
/linux-6.6.21/drivers/mfd/
Dkempld-core.c490 struct resource *ioport; in kempld_probe() local
518 ioport = platform_get_resource(pdev, IORESOURCE_IO, 0); in kempld_probe()
519 if (!ioport) in kempld_probe()
522 pld->io_base = devm_ioport_map(dev, ioport->start, in kempld_probe()
523 resource_size(ioport)); in kempld_probe()
/linux-6.6.21/drivers/bluetooth/
Dbtmrvl_sdio.c528 ret = sdio_writesb(card->func, card->ioport, helperbuf, in btmrvl_sdio_download_helper()
543 ret = sdio_writesb(card->func, card->ioport, helperbuf, in btmrvl_sdio_download_helper()
676 ret = sdio_writesb(card->func, card->ioport, fwbuf, in btmrvl_sdio_download_fw_w_helper()
752 ret = sdio_readsb(card->func, payload, card->ioport, in btmrvl_sdio_card_to_host()
977 card->ioport = reg; in btmrvl_sdio_register_dev()
985 card->ioport |= (reg << 8); in btmrvl_sdio_register_dev()
993 card->ioport |= (reg << 16); in btmrvl_sdio_register_dev()
995 BT_DBG("SDIO FUNC%d IO port: 0x%x", func->num, card->ioport); in btmrvl_sdio_register_dev()
1121 ret = sdio_writesb(card->func, card->ioport, buf, in btmrvl_sdio_host_to_card()
/linux-6.6.21/sound/isa/sb/
Dsb16.c79 module_param_hw_array(port, long, ioport, NULL, 0444);
81 module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
83 module_param_hw_array(fm_port, long, ioport, NULL, 0444);
86 module_param_hw_array(awe_port, long, ioport, NULL, 0444);

123456