Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/gpio/
Dgpio-gpio-mm.c70 const unsigned int io_port = offset / 8; in gpiomm_gpio_direction_input() local
71 const unsigned int control_port = io_port / 3; in gpiomm_gpio_direction_input()
79 if (io_port == 2 || io_port == 5) { in gpiomm_gpio_direction_input()
82 gpiommgpio->io_state[io_port] |= 0xF0; in gpiomm_gpio_direction_input()
85 gpiommgpio->io_state[io_port] |= 0x0F; in gpiomm_gpio_direction_input()
89 gpiommgpio->io_state[io_port] |= 0xFF; in gpiomm_gpio_direction_input()
90 if (io_port == 0 || io_port == 3) in gpiomm_gpio_direction_input()
108 const unsigned int io_port = offset / 8; in gpiomm_gpio_direction_output() local
109 const unsigned int control_port = io_port / 3; in gpiomm_gpio_direction_output()
112 const unsigned int out_port = (io_port > 2) ? io_port + 1 : io_port; in gpiomm_gpio_direction_output()
[all …]
Dgpio-104-dio-48e.c76 const unsigned io_port = offset / 8; in dio48e_gpio_direction_input() local
77 const unsigned int control_port = io_port / 3; in dio48e_gpio_direction_input()
85 if (io_port == 2 || io_port == 5) { in dio48e_gpio_direction_input()
88 dio48egpio->io_state[io_port] |= 0xF0; in dio48e_gpio_direction_input()
91 dio48egpio->io_state[io_port] |= 0x0F; in dio48e_gpio_direction_input()
95 dio48egpio->io_state[io_port] |= 0xFF; in dio48e_gpio_direction_input()
96 if (io_port == 0 || io_port == 3) in dio48e_gpio_direction_input()
116 const unsigned io_port = offset / 8; in dio48e_gpio_direction_output() local
117 const unsigned int control_port = io_port / 3; in dio48e_gpio_direction_output()
120 const unsigned out_port = (io_port > 2) ? io_port + 1 : io_port; in dio48e_gpio_direction_output()
[all …]
/linux-4.19.296/include/uapi/linux/
Dscc.h107 typedef unsigned long io_port; /* type definition for an 'io port address' */ typedef
145 io_port data_a; /* data port channel A */
146 io_port ctrl_a; /* control port channel A */
147 io_port data_b; /* data port channel B */
148 io_port ctrl_b; /* control port channel B */
149 io_port vector_latch; /* INTACK-Latch (#) */
150 io_port special; /* special function port */
/linux-4.19.296/include/linux/
Dscc.h58 io_port ctrl; /* I/O address of CONTROL register */
59 io_port data; /* I/O address of DATA register */
60 io_port special; /* I/O address of special function port */
Dvia-core.h58 u16 io_port; member
/linux-4.19.296/drivers/virt/vboxguest/
Dvboxguest_core.h70 u16 io_port; member
Dvboxguest_linux.c324 gdev->io_port = io; in vbg_pci_probe()
382 gdev->misc_device.minor, pci->irq, gdev->io_port, in vbg_pci_probe()
Dvboxguest_utils.c99 outl(phys_req, gdev->io_port + VMMDEV_PORT_OFF_REQUEST); in vbg_req_perform()
/linux-4.19.296/include/scsi/
Dscsi_host.h682 unsigned long io_port; member
/linux-4.19.296/drivers/message/fusion/
Dmptfc.c1245 sh->io_port = 0; in mptfc_probe()
Dmptspi.c1433 sh->io_port = 0; in mptspi_probe()
Dmptsas.c5199 sh->io_port = 0; in mptsas_probe()