Searched refs:io_port (Results 1 – 12 of 12) sorted by relevance
70 const unsigned int io_port = offset / 8; in gpiomm_gpio_direction_input() local71 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() local109 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 …]
76 const unsigned io_port = offset / 8; in dio48e_gpio_direction_input() local77 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() local117 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 …]
107 typedef unsigned long io_port; /* type definition for an 'io port address' */ typedef145 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 */
58 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 */
58 u16 io_port; member
70 u16 io_port; member
324 gdev->io_port = io; in vbg_pci_probe()382 gdev->misc_device.minor, pci->irq, gdev->io_port, in vbg_pci_probe()
99 outl(phys_req, gdev->io_port + VMMDEV_PORT_OFF_REQUEST); in vbg_req_perform()
682 unsigned long io_port; member
1245 sh->io_port = 0; in mptfc_probe()
1433 sh->io_port = 0; in mptspi_probe()
5199 sh->io_port = 0; in mptsas_probe()