Home
last modified time | relevance | path

Searched refs:io_port (Results 1 – 25 of 366) sorted by relevance

12345678910>>...15

/dports/devel/avr-gdb/gdb-7.3.1/sim/mn10300/
H A Ddv-mn103iop.c144 struct mn103iop *io_port; in mn103iop_finish() local
148 set_hw_data (me, io_port); in mn103iop_finish()
161 io_port->port[i].pin = 0; in mn103iop_finish()
164 io_port->p2ss = 0; in mn103iop_finish()
165 io_port->p4ss = 0x0f; in mn103iop_finish()
173 struct mn103iop *io_port, in decode_addr() argument
209 struct mn103iop *io_port, in read_output_reg() argument
249 struct mn103iop *io_port, in read_control_reg() argument
371 struct mn103iop *io_port, in write_output_reg() argument
472 io_port->p2ss = buf; in write_dedicated_control_reg()
[all …]
/dports/devel/gdb761/gdb-7.6.1/sim/mn10300/
H A Ddv-mn103iop.c143 struct mn103iop *io_port; in mn103iop_finish() local
147 set_hw_data (me, io_port); in mn103iop_finish()
160 io_port->port[i].pin = 0; in mn103iop_finish()
163 io_port->p2ss = 0; in mn103iop_finish()
164 io_port->p4ss = 0x0f; in mn103iop_finish()
172 struct mn103iop *io_port, in decode_addr() argument
208 struct mn103iop *io_port, in read_output_reg() argument
248 struct mn103iop *io_port, in read_control_reg() argument
370 struct mn103iop *io_port, in write_output_reg() argument
471 io_port->p2ss = buf; in write_dedicated_control_reg()
[all …]
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/sim/mn10300/
H A Ddv-mn103iop.c144 struct mn103iop *io_port; in mn103iop_finish() local
148 set_hw_data (me, io_port); in mn103iop_finish()
161 io_port->port[i].pin = 0; in mn103iop_finish()
164 io_port->p2ss = 0; in mn103iop_finish()
165 io_port->p4ss = 0x0f; in mn103iop_finish()
173 struct mn103iop *io_port, in decode_addr() argument
209 struct mn103iop *io_port, in read_output_reg() argument
249 struct mn103iop *io_port, in read_control_reg() argument
371 struct mn103iop *io_port, in write_output_reg() argument
472 io_port->p2ss = buf; in write_dedicated_control_reg()
[all …]
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/sim/mn10300/
H A Ddv-mn103iop.c144 struct mn103iop *io_port; in mn103iop_finish() local
148 set_hw_data (me, io_port); in mn103iop_finish()
161 io_port->port[i].pin = 0; in mn103iop_finish()
164 io_port->p2ss = 0; in mn103iop_finish()
165 io_port->p4ss = 0x0f; in mn103iop_finish()
173 struct mn103iop *io_port, in decode_addr() argument
209 struct mn103iop *io_port, in read_output_reg() argument
249 struct mn103iop *io_port, in read_control_reg() argument
371 struct mn103iop *io_port, in write_output_reg() argument
472 io_port->p2ss = buf; in write_dedicated_control_reg()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpio/
H A Dgpio-gpio-mm.c65 const unsigned int io_port = offset / 8; in gpiomm_gpio_direction_input() local
74 if (io_port == 2 || io_port == 5) { in gpiomm_gpio_direction_input()
77 gpiommgpio->io_state[io_port] |= 0xF0; in gpiomm_gpio_direction_input()
80 gpiommgpio->io_state[io_port] |= 0x0F; in gpiomm_gpio_direction_input()
84 gpiommgpio->io_state[io_port] |= 0xFF; in gpiomm_gpio_direction_input()
85 if (io_port == 0 || io_port == 3) in gpiomm_gpio_direction_input()
103 const unsigned int io_port = offset / 8; in gpiomm_gpio_direction_output() local
107 const unsigned int out_port = (io_port > 2) ? io_port + 1 : io_port; in gpiomm_gpio_direction_output()
114 if (io_port == 2 || io_port == 5) { in gpiomm_gpio_direction_output()
124 gpiommgpio->io_state[io_port] &= 0x00; in gpiomm_gpio_direction_output()
[all …]
H A Dgpio-104-dio-48e.c71 const unsigned int io_port = offset / 8; in dio48e_gpio_direction_input() local
80 if (io_port == 2 || io_port == 5) { in dio48e_gpio_direction_input()
83 dio48egpio->io_state[io_port] |= 0xF0; in dio48e_gpio_direction_input()
86 dio48egpio->io_state[io_port] |= 0x0F; in dio48e_gpio_direction_input()
90 dio48egpio->io_state[io_port] |= 0xFF; in dio48e_gpio_direction_input()
91 if (io_port == 0 || io_port == 3) in dio48e_gpio_direction_input()
111 const unsigned int io_port = offset / 8; in dio48e_gpio_direction_output() local
115 const unsigned int out_port = (io_port > 2) ? io_port + 1 : io_port; in dio48e_gpio_direction_output()
122 if (io_port == 2 || io_port == 5) { in dio48e_gpio_direction_output()
132 dio48egpio->io_state[io_port] &= 0x00; in dio48e_gpio_direction_output()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpio/
H A Dgpio-gpio-mm.c65 const unsigned int io_port = offset / 8; in gpiomm_gpio_direction_input() local
74 if (io_port == 2 || io_port == 5) { in gpiomm_gpio_direction_input()
77 gpiommgpio->io_state[io_port] |= 0xF0; in gpiomm_gpio_direction_input()
80 gpiommgpio->io_state[io_port] |= 0x0F; in gpiomm_gpio_direction_input()
84 gpiommgpio->io_state[io_port] |= 0xFF; in gpiomm_gpio_direction_input()
85 if (io_port == 0 || io_port == 3) in gpiomm_gpio_direction_input()
103 const unsigned int io_port = offset / 8; in gpiomm_gpio_direction_output() local
107 const unsigned int out_port = (io_port > 2) ? io_port + 1 : io_port; in gpiomm_gpio_direction_output()
114 if (io_port == 2 || io_port == 5) { in gpiomm_gpio_direction_output()
124 gpiommgpio->io_state[io_port] &= 0x00; in gpiomm_gpio_direction_output()
[all …]
H A Dgpio-104-dio-48e.c71 const unsigned int io_port = offset / 8; in dio48e_gpio_direction_input() local
80 if (io_port == 2 || io_port == 5) { in dio48e_gpio_direction_input()
83 dio48egpio->io_state[io_port] |= 0xF0; in dio48e_gpio_direction_input()
86 dio48egpio->io_state[io_port] |= 0x0F; in dio48e_gpio_direction_input()
90 dio48egpio->io_state[io_port] |= 0xFF; in dio48e_gpio_direction_input()
91 if (io_port == 0 || io_port == 3) in dio48e_gpio_direction_input()
111 const unsigned int io_port = offset / 8; in dio48e_gpio_direction_output() local
115 const unsigned int out_port = (io_port > 2) ? io_port + 1 : io_port; in dio48e_gpio_direction_output()
122 if (io_port == 2 || io_port == 5) { in dio48e_gpio_direction_output()
132 dio48egpio->io_state[io_port] &= 0x00; in dio48e_gpio_direction_output()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpio/
H A Dgpio-gpio-mm.c65 const unsigned int io_port = offset / 8; in gpiomm_gpio_direction_input() local
74 if (io_port == 2 || io_port == 5) { in gpiomm_gpio_direction_input()
77 gpiommgpio->io_state[io_port] |= 0xF0; in gpiomm_gpio_direction_input()
80 gpiommgpio->io_state[io_port] |= 0x0F; in gpiomm_gpio_direction_input()
84 gpiommgpio->io_state[io_port] |= 0xFF; in gpiomm_gpio_direction_input()
85 if (io_port == 0 || io_port == 3) in gpiomm_gpio_direction_input()
103 const unsigned int io_port = offset / 8; in gpiomm_gpio_direction_output() local
107 const unsigned int out_port = (io_port > 2) ? io_port + 1 : io_port; in gpiomm_gpio_direction_output()
114 if (io_port == 2 || io_port == 5) { in gpiomm_gpio_direction_output()
124 gpiommgpio->io_state[io_port] &= 0x00; in gpiomm_gpio_direction_output()
[all …]
H A Dgpio-104-dio-48e.c71 const unsigned int io_port = offset / 8; in dio48e_gpio_direction_input() local
80 if (io_port == 2 || io_port == 5) { in dio48e_gpio_direction_input()
83 dio48egpio->io_state[io_port] |= 0xF0; in dio48e_gpio_direction_input()
86 dio48egpio->io_state[io_port] |= 0x0F; in dio48e_gpio_direction_input()
90 dio48egpio->io_state[io_port] |= 0xFF; in dio48e_gpio_direction_input()
91 if (io_port == 0 || io_port == 3) in dio48e_gpio_direction_input()
111 const unsigned int io_port = offset / 8; in dio48e_gpio_direction_output() local
115 const unsigned int out_port = (io_port > 2) ? io_port + 1 : io_port; in dio48e_gpio_direction_output()
122 if (io_port == 2 || io_port == 5) { in dio48e_gpio_direction_output()
132 dio48egpio->io_state[io_port] &= 0x00; in dio48e_gpio_direction_output()
[all …]
/dports/emulators/mess/mame-mame0226/src/mame/drivers/
H A Dpasopia7.cpp452 if(io_port >= 0x08 && io_port <= 0x0b) in io_r()
455 if(io_port >= 0x0c && io_port <= 0x0f) in io_r()
464 if(io_port >= 0x18 && io_port <= 0x1b) in io_r()
467 if(io_port >= 0x20 && io_port <= 0x23) in io_r()
473 if(io_port >= 0x28 && io_port <= 0x2b) in io_r()
476 if(io_port >= 0x30 && io_port <= 0x33) in io_r()
504 if(io_port >= 0x08 && io_port <= 0x0b) in io_w()
507 if(io_port >= 0x0c && io_port <= 0x0f) in io_w()
510 if(io_port >= 0x10 && io_port <= 0x11) in io_w()
513 if(io_port >= 0x18 && io_port <= 0x1b) in io_w()
[all …]
/dports/emulators/mame/mame-mame0226/src/mame/drivers/
H A Dpasopia7.cpp452 if(io_port >= 0x08 && io_port <= 0x0b) in io_r()
455 if(io_port >= 0x0c && io_port <= 0x0f) in io_r()
464 if(io_port >= 0x18 && io_port <= 0x1b) in io_r()
467 if(io_port >= 0x20 && io_port <= 0x23) in io_r()
473 if(io_port >= 0x28 && io_port <= 0x2b) in io_r()
476 if(io_port >= 0x30 && io_port <= 0x33) in io_r()
504 if(io_port >= 0x08 && io_port <= 0x0b) in io_w()
507 if(io_port >= 0x0c && io_port <= 0x0f) in io_w()
510 if(io_port >= 0x10 && io_port <= 0x11) in io_w()
513 if(io_port >= 0x18 && io_port <= 0x1b) in io_w()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/scsi/
H A Daha1542.c255 outb(IRST, CONTROL(sh->io_port)); in aha1542_test_port()
329 aha1542_intr_reset(sh->io_port); in aha1542_interrupt()
545 aha1542_intr_reset(sh->io_port); in setup_mailboxes()
552 i = inb(STATUS(sh->io_port)); in aha1542_getconfig()
554 i = inb(DATA(sh->io_port)); in aha1542_getconfig()
560 aha1542_intr_reset(sh->io_port); in aha1542_getconfig()
630 aha1542_intr_reset(sh->io_port); in aha1542_mbenable()
647 aha1542_intr_reset(sh->io_port); in aha1542_mbenable()
657 i = inb(STATUS(sh->io_port)); in aha1542_query()
659 i = inb(DATA(sh->io_port)); in aha1542_query()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/scsi/
H A Daha1542.c255 outb(IRST, CONTROL(sh->io_port)); in aha1542_test_port()
329 aha1542_intr_reset(sh->io_port); in aha1542_interrupt()
545 aha1542_intr_reset(sh->io_port); in setup_mailboxes()
552 i = inb(STATUS(sh->io_port)); in aha1542_getconfig()
554 i = inb(DATA(sh->io_port)); in aha1542_getconfig()
560 aha1542_intr_reset(sh->io_port); in aha1542_getconfig()
630 aha1542_intr_reset(sh->io_port); in aha1542_mbenable()
647 aha1542_intr_reset(sh->io_port); in aha1542_mbenable()
657 i = inb(STATUS(sh->io_port)); in aha1542_query()
659 i = inb(DATA(sh->io_port)); in aha1542_query()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/scsi/
H A Daha1542.c255 outb(IRST, CONTROL(sh->io_port)); in aha1542_test_port()
329 aha1542_intr_reset(sh->io_port); in aha1542_interrupt()
545 aha1542_intr_reset(sh->io_port); in setup_mailboxes()
552 i = inb(STATUS(sh->io_port)); in aha1542_getconfig()
554 i = inb(DATA(sh->io_port)); in aha1542_getconfig()
560 aha1542_intr_reset(sh->io_port); in aha1542_getconfig()
630 aha1542_intr_reset(sh->io_port); in aha1542_mbenable()
647 aha1542_intr_reset(sh->io_port); in aha1542_mbenable()
657 i = inb(STATUS(sh->io_port)); in aha1542_query()
659 i = inb(DATA(sh->io_port)); in aha1542_query()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/sound/pci/ymfpci/
H A Dymfpci.c66 int io_port = joystick_port[dev]; in snd_ymfpci_create_gameport() local
68 if (!io_port) in snd_ymfpci_create_gameport()
73 if (io_port == 1) { in snd_ymfpci_create_gameport()
75 if (!(io_port = pci_resource_start(chip->pci, 2))) in snd_ymfpci_create_gameport()
79 if (io_port == 1) { in snd_ymfpci_create_gameport()
81 for (io_port = 0x201; io_port <= 0x205; io_port++) { in snd_ymfpci_create_gameport()
82 if (io_port == 0x203) in snd_ymfpci_create_gameport()
93 switch (io_port) { in snd_ymfpci_create_gameport()
100 "invalid joystick port %#x", io_port); in snd_ymfpci_create_gameport()
107 "joystick port %#x is in use.\n", io_port); in snd_ymfpci_create_gameport()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/sound/pci/ymfpci/
H A Dymfpci.c66 int io_port = joystick_port[dev]; in snd_ymfpci_create_gameport() local
68 if (!io_port) in snd_ymfpci_create_gameport()
73 if (io_port == 1) { in snd_ymfpci_create_gameport()
75 if (!(io_port = pci_resource_start(chip->pci, 2))) in snd_ymfpci_create_gameport()
79 if (io_port == 1) { in snd_ymfpci_create_gameport()
81 for (io_port = 0x201; io_port <= 0x205; io_port++) { in snd_ymfpci_create_gameport()
82 if (io_port == 0x203) in snd_ymfpci_create_gameport()
93 switch (io_port) { in snd_ymfpci_create_gameport()
100 "invalid joystick port %#x", io_port); in snd_ymfpci_create_gameport()
107 "joystick port %#x is in use.\n", io_port); in snd_ymfpci_create_gameport()
[all …]
/dports/multimedia/v4l-utils/linux-5.13-rc2/sound/pci/ymfpci/
H A Dymfpci.c66 int io_port = joystick_port[dev]; in snd_ymfpci_create_gameport() local
68 if (!io_port) in snd_ymfpci_create_gameport()
73 if (io_port == 1) { in snd_ymfpci_create_gameport()
75 if (!(io_port = pci_resource_start(chip->pci, 2))) in snd_ymfpci_create_gameport()
79 if (io_port == 1) { in snd_ymfpci_create_gameport()
81 for (io_port = 0x201; io_port <= 0x205; io_port++) { in snd_ymfpci_create_gameport()
82 if (io_port == 0x203) in snd_ymfpci_create_gameport()
93 switch (io_port) { in snd_ymfpci_create_gameport()
100 "invalid joystick port %#x", io_port); in snd_ymfpci_create_gameport()
107 "joystick port %#x is in use.\n", io_port); in snd_ymfpci_create_gameport()
[all …]
/dports/multimedia/v4l_compat/linux-5.13-rc2/include/uapi/linux/
H A Dscc.h108 typedef unsigned long io_port; /* type definition for an 'io port address' */ typedef
146 io_port data_a; /* data port channel A */
147 io_port ctrl_a; /* control port channel A */
148 io_port data_b; /* data port channel B */
149 io_port ctrl_b; /* control port channel B */
150 io_port vector_latch; /* INTACK-Latch (#) */
151 io_port special; /* special function port */
/dports/multimedia/libv4l/linux-5.13-rc2/include/uapi/linux/
H A Dscc.h108 typedef unsigned long io_port; /* type definition for an 'io port address' */ typedef
146 io_port data_a; /* data port channel A */
147 io_port ctrl_a; /* control port channel A */
148 io_port data_b; /* data port channel B */
149 io_port ctrl_b; /* control port channel B */
150 io_port vector_latch; /* INTACK-Latch (#) */
151 io_port special; /* special function port */
/dports/lang/zig/zig-0.9.0/lib/libc/include/any-linux-any/linux/
H A Dscc.h108 typedef unsigned long io_port; /* type definition for an 'io port address' */ typedef
146 io_port data_a; /* data port channel A */
147 io_port ctrl_a; /* control port channel A */
148 io_port data_b; /* data port channel B */
149 io_port ctrl_b; /* control port channel B */
150 io_port vector_latch; /* INTACK-Latch (#) */
151 io_port special; /* special function port */
/dports/lang/zig-devel/zig-0.9.0/lib/libc/include/any-linux-any/linux/
H A Dscc.h108 typedef unsigned long io_port; /* type definition for an 'io port address' */ typedef
146 io_port data_a; /* data port channel A */
147 io_port ctrl_a; /* control port channel A */
148 io_port data_b; /* data port channel B */
149 io_port ctrl_b; /* control port channel B */
150 io_port vector_latch; /* INTACK-Latch (#) */
151 io_port special; /* special function port */
/dports/multimedia/v4l-utils/linux-5.13-rc2/include/uapi/linux/
H A Dscc.h108 typedef unsigned long io_port; /* type definition for an 'io port address' */ typedef
146 io_port data_a; /* data port channel A */
147 io_port ctrl_a; /* control port channel A */
148 io_port data_b; /* data port channel B */
149 io_port ctrl_b; /* control port channel B */
150 io_port vector_latch; /* INTACK-Latch (#) */
151 io_port special; /* special function port */
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/scsi/pcmcia/
H A Dsym53c500_cs.c208 chip_init(int io_port) in chip_init() argument
210 REG1(io_port); in chip_init()
211 outb(0x01, io_port + PIO_STATUS); in chip_init()
212 outb(0x00, io_port + PIO_FLAG); in chip_init()
215 outb(C3_IMG, io_port + CONFIG3); in chip_init()
216 outb(C2_IMG, io_port + CONFIG2); in chip_init()
217 outb(C1_IMG, io_port + CONFIG1); in chip_init()
226 SYM53C500_int_host_reset(int io_port) in SYM53C500_int_host_reset() argument
232 chip_init(io_port); in SYM53C500_int_host_reset()
350 int port_base = dev->io_port; in SYM53C500_intr()
[all …]
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/scsi/pcmcia/
H A Dsym53c500_cs.c208 chip_init(int io_port) in chip_init() argument
210 REG1(io_port); in chip_init()
211 outb(0x01, io_port + PIO_STATUS); in chip_init()
212 outb(0x00, io_port + PIO_FLAG); in chip_init()
215 outb(C3_IMG, io_port + CONFIG3); in chip_init()
216 outb(C2_IMG, io_port + CONFIG2); in chip_init()
217 outb(C1_IMG, io_port + CONFIG1); in chip_init()
226 SYM53C500_int_host_reset(int io_port) in SYM53C500_int_host_reset() argument
232 chip_init(io_port); in SYM53C500_int_host_reset()
350 int port_base = dev->io_port; in SYM53C500_intr()
[all …]

12345678910>>...15