Home
last modified time | relevance | path

Searched full:ioport (Results 1 – 25 of 2000) sorted by relevance

12345678910>>...80

/kernel/linux/linux-5.10/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
252 u32 ioPort; member
808 static unsigned char FPT_ChkIfChipInitialized(u32 ioPort);
944 u32 ioport; in FlashPoint_ProbeHostAdapter() local
947 ioport = pCardInfo->si_baseaddr; in FlashPoint_ProbeHostAdapter()
[all …]
/kernel/linux/linux-4.19/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
252 u32 ioPort; member
808 static unsigned char FPT_ChkIfChipInitialized(u32 ioPort);
944 u32 ioport; in FlashPoint_ProbeHostAdapter() local
947 ioport = pCardInfo->si_baseaddr; in FlashPoint_ProbeHostAdapter()
[all …]
/kernel/linux/linux-5.10/drivers/watchdog/
Dsmsc37b787_wdt.c51 #include <linux/ioport.h>
72 #define IOPORT 0x3F0 macro
92 outb(0x55, IOPORT); in open_io_config()
94 outb(0x55, IOPORT); in open_io_config()
100 outb(0xAA, IOPORT); in close_io_config()
106 outb(0x07, IOPORT); in select_io_device()
107 outb(devno, IOPORT+1); in select_io_device()
113 outb(reg, IOPORT); in write_io_cr()
114 outb(data, IOPORT+1); in write_io_cr()
120 outb(reg, IOPORT); in read_io_cr()
[all …]
Dmixcomwd.c46 #include <linux/ioport.h>
69 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()
/kernel/linux/linux-4.19/drivers/watchdog/
Dsmsc37b787_wdt.c55 #include <linux/ioport.h>
76 #define IOPORT 0x3F0 macro
96 outb(0x55, IOPORT); in open_io_config()
98 outb(0x55, IOPORT); in open_io_config()
104 outb(0xAA, IOPORT); in close_io_config()
110 outb(0x07, IOPORT); in select_io_device()
111 outb(devno, IOPORT+1); in select_io_device()
117 outb(reg, IOPORT); in write_io_cr()
118 outb(data, IOPORT+1); in write_io_cr()
124 outb(reg, IOPORT); in read_io_cr()
[all …]
Dmixcomwd.c51 #include <linux/ioport.h>
74 int ioport; member
267 for (i = 0; !found && mixcomwd_io_info[i].ioport != 0; i++) { in mixcomwd_init()
268 if (checkcard(mixcomwd_io_info[i].ioport, in mixcomwd_init()
271 watchdog_port = mixcomwd_io_info[i].ioport; in mixcomwd_init()
/kernel/linux/linux-4.19/Documentation/scsi/
Daha152x.txt19 IOPORT base io address (0x340/0x140)
37 -DSETUP0="{ IOPORT, IRQ, SCSI_ID, RECONNECT, PARITY, SYNCHRONOUS, DELAY, EXT_TRANS }"
40 -DSETUP1="{ IOPORT, IRQ, SCSI_ID, RECONNECT, PARITY, SYNCHRONOUS, DELAY, EXT_TRANS }"
52 aha152x=<IOPORT>[,<IRQ>[,<SCSI-ID>[,<RECONNECT>[,<PARITY>[,<SYNCHRONOUS>[,<DELAY> [,<EXT_TRANS]]]]]…
67 aha152x=IOPORT,IRQ,SCSI_ID,RECONNECT,PARITY,SYNCHRONOUS,DELAY,EXT_TRANS
71 aha152x1=IOPORT,IRQ,SCSI_ID,RECONNECT,PARITY,SYNCHRONOUS,DELAY,EXT_TRANS
77 IOPORT for first and second controller
/kernel/linux/linux-5.10/Documentation/driver-api/media/drivers/
Dradiotrack.rst53 CONTROLLING THE CARD WITH IOPORT
56 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)
/kernel/linux/linux-4.19/Documentation/media/v4l-drivers/
Dradiotrack.rst51 CONTROLLING THE CARD WITH IOPORT
54 The RadioTrack (base) ioport is configurable for 0x30c or 0x20c. Only one
55 ioport seems to be involved. The ioport decoding circuitry must be pretty
56 simple, as individual ioport bits are directly matched to specific functions
58 parallel with one write to the ioport. The only feedback available through
61 The bits of the ioport are arranged as follows:
89 Results available by reading ioport >60 msec after last port write.
149 x <-- BASE (read ioport)
/kernel/linux/linux-5.10/Documentation/scsi/
Daha152x.rst26 IOPORT base io address (0x340/0x140)
48 - DSETUP0="{ IOPORT, IRQ, SCSI_ID, RECONNECT, PARITY, SYNCHRONOUS, DELAY, EXT_TRANS }"
51 - DSETUP1="{ IOPORT, IRQ, SCSI_ID, RECONNECT, PARITY, SYNCHRONOUS, DELAY, EXT_TRANS }"
66 …aha152x=<IOPORT>[,<IRQ>[,<SCSI-ID>[,<RECONNECT>[,<PARITY>[,<SYNCHRONOUS>[,<DELAY> [,<EXT_TRANS]]]]…
82 aha152x=IOPORT,IRQ,SCSI_ID,RECONNECT,PARITY,SYNCHRONOUS,DELAY,EXT_TRANS
88 aha152x1=IOPORT,IRQ,SCSI_ID,RECONNECT,PARITY,SYNCHRONOUS,DELAY,EXT_TRANS
95 IOPORT for first and second controller
/kernel/linux/linux-4.19/drivers/acpi/apei/
Dapei-base.c300 .ioport = LIST_HEAD_INIT(apei_resources_all.ioport),
394 apei_res_clean(&resources->ioport); in apei_resources_fini()
410 list_for_each_entry(res, &resources2->ioport, list) { in apei_resources_merge()
411 rc = apei_res_add(&resources1->ioport, res->start, in apei_resources_merge()
427 return apei_res_add(&resources->ioport, start, size); in apei_resources_add()
444 return apei_res_sub(&resources1->ioport, &resources2->ioport); in apei_resources_sub()
521 list_for_each_entry(res, &resources->ioport, list) { in apei_resources_request()
542 list_for_each_entry(res, &resources->ioport, list) { in apei_resources_request()
570 list_for_each_entry(res, &resources->ioport, list) in apei_resources_release()
736 return apei_res_add(&resources->ioport, paddr, in collect_res_callback()
/kernel/linux/linux-5.10/drivers/acpi/apei/
Dapei-base.c292 .ioport = LIST_HEAD_INIT(apei_resources_all.ioport),
386 apei_res_clean(&resources->ioport); in apei_resources_fini()
402 list_for_each_entry(res, &resources2->ioport, list) { in apei_resources_merge()
403 rc = apei_res_add(&resources1->ioport, res->start, in apei_resources_merge()
419 return apei_res_add(&resources->ioport, start, size); in apei_resources_add()
436 return apei_res_sub(&resources1->ioport, &resources2->ioport); in apei_resources_sub()
513 list_for_each_entry(res, &resources->ioport, list) { in apei_resources_request()
534 list_for_each_entry(res, &resources->ioport, list) { in apei_resources_request()
562 list_for_each_entry(res, &resources->ioport, list) in apei_resources_release()
736 return apei_res_add(&resources->ioport, paddr, in collect_res_callback()
/kernel/linux/linux-4.19/drivers/gpu/drm/bochs/
Dbochs_hw.c12 static void bochs_vga_writeb(struct bochs_device *bochs, u16 ioport, u8 val) in bochs_vga_writeb() argument
14 if (WARN_ON(ioport < 0x3c0 || ioport > 0x3df)) in bochs_vga_writeb()
18 int offset = ioport - 0x3c0 + 0x400; in bochs_vga_writeb()
21 outb(val, ioport); in bochs_vga_writeb()
/kernel/linux/linux-5.10/drivers/input/gameport/
Dns558.c17 #include <linux/ioport.h>
183 int ioport, iolen; in ns558_pnp_probe() local
192 ioport = pnp_port_start(dev, 0); in ns558_pnp_probe()
195 if (!request_region(ioport, iolen, "ns558-pnp")) in ns558_pnp_probe()
207 ns558->io = ioport; in ns558_pnp_probe()
215 port->io = ioport; in ns558_pnp_probe()
/kernel/linux/linux-4.19/drivers/input/gameport/
Dns558.c29 #include <linux/ioport.h>
195 int ioport, iolen; in ns558_pnp_probe() local
204 ioport = pnp_port_start(dev, 0); in ns558_pnp_probe()
207 if (!request_region(ioport, iolen, "ns558-pnp")) in ns558_pnp_probe()
219 ns558->io = ioport; in ns558_pnp_probe()
227 port->io = ioport; in ns558_pnp_probe()
/kernel/linux/linux-5.10/drivers/gpu/drm/bochs/
Dbochs_hw.c14 static void bochs_vga_writeb(struct bochs_device *bochs, u16 ioport, u8 val) in bochs_vga_writeb() argument
16 if (WARN_ON(ioport < 0x3c0 || ioport > 0x3df)) in bochs_vga_writeb()
20 int offset = ioport - 0x3c0 + 0x400; in bochs_vga_writeb()
23 outb(val, ioport); in bochs_vga_writeb()
/kernel/linux/linux-4.19/drivers/rtc/
Drtc-bq4802.c21 unsigned long ioport; member
31 return inb(p->ioport + off); in bq4802_read_io()
36 outb(val, p->ioport + off); in bq4802_write_io()
159 p->ioport = p->r->start; in bq4802_probe()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-4.19/arch/alpha/include/asm/
Djensen.h307 #define IOPORT(OS, NS) \ macro
323 IOPORT(b, 8)
324 IOPORT(w, 16)
325 IOPORT(l, 32)
327 #undef IOPORT
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Djensen.h307 #define IOPORT(OS, NS) \ macro
323 IOPORT(b, 8)
324 IOPORT(w, 16)
325 IOPORT(l, 32)
327 #undef IOPORT
/kernel/linux/linux-4.19/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);
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-4.19/drivers/net/wireless/marvell/mwifiex/
Dsdio.c261 u32 ioport = (port & MWIFIEX_SDIO_IO_PORT_MASK); in mwifiex_write_data_sync() local
271 ret = sdio_writesb(card->func, ioport, buffer, blk_cnt * blk_size); in mwifiex_write_data_sync()
290 u32 ioport = (port & MWIFIEX_SDIO_IO_PORT_MASK); in mwifiex_read_data_sync() local
295 ret = sdio_readsb(card->func, buffer, ioport, blk_cnt * blk_size); in mwifiex_read_data_sync()
583 adapter->ioport = MEM_PORT; in mwifiex_init_sdio_new_mode()
623 adapter->ioport = 0; in mwifiex_init_sdio_ioport()
633 adapter->ioport |= (reg & 0xff); in mwifiex_init_sdio_ioport()
638 adapter->ioport |= ((reg & 0xff) << 8); in mwifiex_init_sdio_ioport()
643 adapter->ioport |= ((reg & 0xff) << 16); in mwifiex_init_sdio_ioport()
648 "info: SDIO FUNC1 IO port: %#x\n", adapter->ioport); in mwifiex_init_sdio_ioport()
[all …]
/kernel/linux/linux-4.19/include/pcmcia/
Dss.h234 * - pccard_static_ops iomem and ioport areas are assigned statically
235 * - pccard_iodyn_ops iomem areas is assigned statically, ioport
239 * - pccard_nonstatic_ops iomem and ioport areas are assigned dynamically.
/kernel/linux/linux-4.19/Documentation/pcmcia/
Ddriver-changes.txt11 CONF_AUTO_SET_IO : set ioport resources (->resource[0,1])
22 struct pcmcia_device *p_dev->resource[2,3,4,5] for up to four ioport
29 struct pcmcia_device *p_dev->resource[0,1] for up to two ioport

12345678910>>...80