Home
last modified time | relevance | path

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

1234

/linux/drivers/scsi/
H A 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 …]
H A Datp870u.h28 unsigned long ioport[2]; member
/linux/drivers/input/gameport/
H A 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/drivers/acpi/apei/
H A 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()
H A Dapei-internal.h99 struct list_head ioport; member
105 INIT_LIST_HEAD(&resources->ioport); in apei_resources_init()
/linux/Documentation/driver-api/media/drivers/
H A 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/drivers/watchdog/
H A Dmixcomwd.c69 int ioport; member
262 for (i = 0; !found && mixcomwd_io_info[i].ioport != 0; i++) { in mixcomwd_init()
263 if (checkcard(mixcomwd_io_info[i].ioport, in mixcomwd_init()
266 watchdog_port = mixcomwd_io_info[i].ioport; in mixcomwd_init()
/linux/drivers/video/fbdev/
H A 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/drivers/rtc/
H A 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/drivers/ata/
H A Dpata_optidma.c367 int ioport = 0x22; in optiplus_with_udma() local
381 ioport |= (r << 8); in optiplus_with_udma()
382 outb(0x10, ioport); in optiplus_with_udma()
384 if ((inb(ioport + 2) & 1) == 0) in optiplus_with_udma()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsdio.c725 u32 ioport = (port & MWIFIEX_SDIO_IO_PORT_MASK); in mwifiex_write_data_sync() local
735 ret = sdio_writesb(card->func, ioport, buffer, blk_cnt * blk_size); in mwifiex_write_data_sync()
754 u32 ioport = (port & MWIFIEX_SDIO_IO_PORT_MASK); in mwifiex_read_data_sync() local
759 ret = sdio_readsb(card->func, buffer, ioport, blk_cnt * blk_size); in mwifiex_read_data_sync()
1047 adapter->ioport = MEM_PORT; in mwifiex_init_sdio_new_mode()
1087 adapter->ioport = 0; in mwifiex_init_sdio_ioport()
1097 adapter->ioport |= (reg & 0xff); in mwifiex_init_sdio_ioport()
1102 adapter->ioport |= ((reg & 0xff) << 8); in mwifiex_init_sdio_ioport()
1107 adapter->ioport |= ((reg & 0xff) << 16); in mwifiex_init_sdio_ioport()
1112 "info: SDIO FUNC1 IO port: %#x\n", adapter->ioport); in mwifiex_init_sdio_ioport()
[all …]
/linux/drivers/scsi/aic7xxx/
H A Daic7770_osm.c56 ahc->bsh.ioport = port; in aic7770_map_registers()
98 ahc->bsh.ioport = 0; in aic7770_probe()
/linux/drivers/net/wireless/marvell/libertas/
H A 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()
1211 model, (unsigned)card->ioport); in if_sdio_probe()
/linux/drivers/net/wireless/nxp/nxpwifi/
H A Dsdio.c258 u32 ioport = (port & NXPWIFI_SDIO_IO_PORT_MASK); in nxpwifi_write_data_sync() local
268 ret = sdio_writesb(card->func, ioport, buffer, blk_cnt * blk_size); in nxpwifi_write_data_sync()
285 u32 ioport = (port & NXPWIFI_SDIO_IO_PORT_MASK); in nxpwifi_read_data_sync() local
290 ret = sdio_readsb(card->func, buffer, ioport, blk_cnt * blk_size); in nxpwifi_read_data_sync()
516 adapter->ioport = MEM_PORT; in nxpwifi_init_sdio_new_mode()
760 u32 npayload, u32 ioport) in nxpwifi_sdio_card_to_host() argument
768 ret = nxpwifi_read_data_sync(adapter, buffer, npayload, ioport, 1); in nxpwifi_sdio_card_to_host()
773 ioport, npayload, ret); in nxpwifi_sdio_card_to_host()
782 nb, npayload, ioport); in nxpwifi_sdio_card_to_host()
912 adapter->ioport); in nxpwifi_prog_fw_w_helper()
[all …]
/linux/drivers/mfd/
H A Dkempld-core.c410 struct resource *ioport; in kempld_probe() local
443 ioport = platform_get_resource(pdev, IORESOURCE_IO, 0); in kempld_probe()
444 if (!ioport) in kempld_probe()
447 pld->io_base = devm_ioport_map(dev, ioport->start, in kempld_probe()
448 resource_size(ioport)); in kempld_probe()
/linux/sound/isa/cs423x/
H A 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);
H A Dcs4231.c43 module_param_hw_array(port, long, ioport, NULL, 0444);
45 module_param_hw_array(mpu_port, long, ioport, NULL, 0444);
/linux/sound/isa/es1688/
H A 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/sound/pci/ymfpci/
H A 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/sound/isa/galaxy/
H A 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/drivers/bluetooth/
H A Dbtmrvl_sdio.c529 ret = sdio_writesb(card->func, card->ioport, helperbuf, in btmrvl_sdio_download_helper()
544 ret = sdio_writesb(card->func, card->ioport, helperbuf, in btmrvl_sdio_download_helper()
677 ret = sdio_writesb(card->func, card->ioport, fwbuf, in btmrvl_sdio_download_fw_w_helper()
753 ret = sdio_readsb(card->func, payload, card->ioport, in btmrvl_sdio_card_to_host()
978 card->ioport = reg; in btmrvl_sdio_register_dev()
986 card->ioport |= (reg << 8); in btmrvl_sdio_register_dev()
994 card->ioport |= (reg << 16); in btmrvl_sdio_register_dev()
996 BT_DBG("SDIO FUNC%d IO port: 0x%x", func->num, card->ioport); in btmrvl_sdio_register_dev()
1122 ret = sdio_writesb(card->func, card->ioport, buf, in btmrvl_sdio_host_to_card()
/linux/sound/isa/wavefront/
H A 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/drivers/usb/gadget/function/
H A Du_serial.h42 struct gs_port *ioport; member
/linux/tools/perf/Documentation/
H A Dperf-kvm.txt54 of KVM events. Currently, vmexit, mmio (x86 only) and ioport (x86 only)
98 ioport (x86 only). (default: vmexit)
136 mmio (x86 only), ioport (x86 only).
/linux/drivers/platform/x86/
H A Dsony-laptop.c4169 struct sony_pic_ioport *ioport = kzalloc_obj(*ioport); in sony_pic_read_possible_resource() local
4170 if (!ioport) in sony_pic_read_possible_resource()
4173 list_add(&ioport->list, &dev->ioports); in sony_pic_read_possible_resource()
4215 struct sony_pic_ioport *ioport = in sony_pic_read_possible_resource() local
4217 if (!ioport->io1.minimum) { in sony_pic_read_possible_resource()
4218 memcpy(&ioport->io1, io, sizeof(*io)); in sony_pic_read_possible_resource()
4219 dprintk("IO1 at 0x%.4x (0x%.2x)\n", ioport->io1.minimum, in sony_pic_read_possible_resource()
4220 ioport->io1.address_length); in sony_pic_read_possible_resource()
4222 else if (!ioport->io2.minimum) { in sony_pic_read_possible_resource()
4223 memcpy(&ioport->io2, io, sizeof(*io)); in sony_pic_read_possible_resource()
[all …]

1234