/openbmc/linux/drivers/input/serio/ |
H A D | maceps2.c | 51 static struct maceps2_data port_data[2]; variable 57 struct mace_ps2port *port = ((struct maceps2_data *)dev->port_data)->port; in maceps2_write() 74 struct mace_ps2port *port = ((struct maceps2_data *)dev->port_data)->port; in maceps2_interrupt() 87 struct maceps2_data *data = (struct maceps2_data *)dev->port_data; in maceps2_open() 108 struct maceps2_data *data = (struct maceps2_data *)dev->port_data; in maceps2_close() 128 serio->port_data = &port_data[idx]; in maceps2_allocate_port() 181 port_data[0].port = &mace->perif.ps2.keyb; in maceps2_init() 182 port_data[0].irq = MACEISA_KEYB_IRQ; in maceps2_init() 183 port_data[1].port = &mace->perif.ps2.mouse; in maceps2_init() 184 port_data[1].irq = MACEISA_MOUSE_IRQ; in maceps2_init()
|
H A D | ioc3kbd.c | 40 struct ioc3kbd_data *d = dev->port_data; in ioc3kbd_write() 54 struct ioc3kbd_data *d = dev->port_data; in ioc3kbd_start() 62 struct ioc3kbd_data *d = dev->port_data; in ioc3kbd_stop() 69 struct ioc3kbd_data *d = dev->port_data; in ioc3aux_write() 83 struct ioc3kbd_data *d = dev->port_data; in ioc3aux_start() 91 struct ioc3kbd_data *d = dev->port_data; in ioc3aux_stop() 158 sk->port_data = d; in ioc3kbd_probe() 167 sa->port_data = d; in ioc3kbd_probe()
|
H A D | rpckbd.c | 64 struct rpckbd_data *rpckbd = port->port_data; in rpckbd_open() 87 struct rpckbd_data *rpckbd = port->port_data; in rpckbd_close() 127 serio->port_data = rpckbd; in rpckbd_probe() 139 struct rpckbd_data *rpckbd = serio->port_data; in rpckbd_remove()
|
H A D | altera_ps2.c | 50 struct ps2if *ps2if = io->port_data; in altera_ps2_write() 58 struct ps2if *ps2if = io->port_data; in altera_ps2_open() 70 struct ps2if *ps2if = io->port_data; in altera_ps2_close() 113 serio->port_data = ps2if; in altera_ps2_probe()
|
H A D | olpc_apsp.c | 74 struct olpc_apsp *priv = port->port_data; in olpc_apsp_write() 137 struct olpc_apsp *priv = port->port_data; in olpc_apsp_open() 158 struct olpc_apsp *priv = port->port_data; in olpc_apsp_close() 198 kb_serio->port_data = priv; in olpc_apsp_probe() 215 pad_serio->port_data = priv; in olpc_apsp_probe()
|
H A D | pcips2.c | 45 struct pcips2_data *ps2if = io->port_data; in pcips2_write() 101 struct pcips2_data *ps2if = io->port_data; in pcips2_open() 119 struct pcips2_data *ps2if = io->port_data; in pcips2_close() 154 serio->port_data = ps2if; in pcips2_probe()
|
H A D | ambakmi.c | 52 struct amba_kmi_port *kmi = io->port_data; in amba_kmi_write() 66 struct amba_kmi_port *kmi = io->port_data; in amba_kmi_open() 98 struct amba_kmi_port *kmi = io->port_data; in amba_kmi_close() 131 io->port_data = kmi; in amba_kmi_probe()
|
H A D | apbps2.c | 84 struct apbps2_priv *priv = io->port_data; in apbps2_write() 104 struct apbps2_priv *priv = io->port_data; in apbps2_open() 123 struct apbps2_priv *priv = io->port_data; in apbps2_close() 176 priv->io->port_data = priv; in apbps2_of_probe()
|
H A D | q40kbd.c | 86 struct q40kbd *q40kbd = port->port_data; in q40kbd_open() 99 struct q40kbd *q40kbd = port->port_data; in q40kbd_close() 124 port->port_data = q40kbd; in q40kbd_probe()
|
H A D | ams_delta_serio.c | 94 struct ams_delta_serio *priv = serio->port_data; in ams_delta_serio_open() 102 struct ams_delta_serio *priv = serio->port_data; in ams_delta_serio_close() 165 serio->port_data = priv; in ams_delta_serio_init()
|
H A D | arc_ps2.c | 90 struct arc_ps2_port *port = io->port_data; in arc_ps2_write() 110 struct arc_ps2_port *port = io->port_data; in arc_ps2_open() 119 struct arc_ps2_port *port = io->port_data; in arc_ps2_close() 168 io->port_data = port; in arc_ps2_create_port()
|
H A D | xilinx_ps2.c | 157 struct xps2data *drvdata = pserio->port_data; in sxps2_write() 184 struct xps2data *drvdata = pserio->port_data; in sxps2_open() 212 struct xps2data *drvdata = pserio->port_data; in sxps2_close() 303 serio->port_data = drvdata; in xps2_of_probe()
|
H A D | serport.c | 46 struct serport *serport = serio->port_data; in serport_serio_write() 52 struct serport *serport = serio->port_data; in serport_serio_open() 65 struct serport *serport = serio->port_data; in serport_serio_close() 181 serio->port_data = serport; in serport_ldisc_read()
|
H A D | ps2mult.c | 77 struct ps2mult_port *port = serio->port_data; in ps2mult_serio_write() 104 struct ps2mult_port *port = serio->port_data; in ps2mult_serio_start() 117 struct ps2mult_port *port = serio->port_data; in ps2mult_serio_stop() 142 serio->port_data = &psm->ports[i]; in ps2mult_create_port()
|
H A D | ps2-gpio.c | 98 struct ps2_gpio_data *drvdata = serio->port_data; in ps2_gpio_open() 109 struct ps2_gpio_data *drvdata = serio->port_data; in ps2_gpio_close() 117 struct ps2_gpio_data *drvdata = serio->port_data; in __ps2_gpio_write() 132 struct ps2_gpio_data *drvdata = serio->port_data; in ps2_gpio_write() 450 serio->port_data = drvdata; in ps2_gpio_probe()
|
/openbmc/linux/drivers/ata/ |
H A D | sata_highbank.c | 62 static struct phy_lane_info port_data[CPHY_PORT_COUNT]; variable 217 u8 dev = port_data[sata_port].phy_devs; in __combo_phy_reg_read() 227 u8 dev = port_data[sata_port].phy_devs; in __combo_phy_reg_write() 259 u8 lane = port_data[sata_port].lane_mapping; in highbank_cphy_disable_overrides() 270 u8 lane = port_data[sata_port].lane_mapping; in cphy_override_tx_attenuation() 289 u8 lane = port_data[sata_port].lane_mapping; in cphy_override_rx_mode() 313 u8 lane = port_data[sata_port].lane_mapping; in highbank_cphy_override_lane() 355 port_data[port].lane_mapping = phy_data.args[0]; in highbank_initialize_phys() 357 port_data[port].phy_devs = tmp; in highbank_initialize_phys() 358 port_data[port].phy_base = cphy_base[phy]; in highbank_initialize_phys() [all …]
|
/openbmc/linux/drivers/infiniband/core/ |
H A D | counters.c | 50 port_counter = &dev->port_data[port].port_counter; in rdma_counter_set_auto_mode() 164 port_counter = &dev->port_data[port].port_counter; in alloc_and_bind() 288 port_counter = &dev->port_data[port].port_counter; in rdma_get_counter_auto_mode() 336 port_counter = &dev->port_data[port].port_counter; in rdma_counter_bind_qp_auto() 434 port_counter = &dev->port_data[port].port_counter; in rdma_counter_get_hwstat_value() 492 port_counter = &dev->port_data[port].port_counter; in rdma_counter_bind_qpn() 545 port_counter = &dev->port_data[port].port_counter; in rdma_counter_bind_qpn_alloc() 600 port_counter = &dev->port_data[port].port_counter; in rdma_counter_unbind_qpn() 620 port_counter = &dev->port_data[port].port_counter; in rdma_counter_get_mode() 632 if (!dev->port_data) in rdma_counter_init() [all …]
|
H A D | cache.c | 202 return device->port_data[port].cache.gid; in rdma_gid_table() 887 ib_dev->port_data[p].cache.gid = NULL; in gid_table_release_one() 903 ib_dev->port_data[rdma_port].cache.gid = table; in _gid_table_setup_one() 918 ib_dev->port_data[p].cache.gid); in gid_table_cleanup_one() 1029 table = device->port_data[p].cache.gid; in rdma_find_gid() 1061 cache = device->port_data[port_num].cache.pkey; in ib_get_cached_pkey() 1099 cache = device->port_data[port_num].cache.pkey; in ib_find_cached_pkey() 1143 cache = device->port_data[port_num].cache.pkey; in ib_find_exact_cached_pkey() 1174 *lmc = device->port_data[port_num].cache.lmc; in ib_get_cached_lmc() 1538 device->port_data[port].cache.lmc = tprops->lmc; in ib_cache_update() [all …]
|
H A D | security.c | 52 spin_lock(&dev->port_data[pp->port_num].pkey_list_lock); in get_pkey_idx_qp_list() 53 list_for_each_entry (tmp_pkey, &dev->port_data[pp->port_num].pkey_list, in get_pkey_idx_qp_list() 60 spin_unlock(&dev->port_data[pp->port_num].pkey_list_lock); in get_pkey_idx_qp_list() 265 spin_lock(&dev->port_data[port_num].pkey_list_lock); in port_pkey_list_insert() 270 &dev->port_data[port_num].pkey_list, in port_pkey_list_insert() 285 &dev->port_data[port_num].pkey_list); in port_pkey_list_insert() 287 spin_unlock(&dev->port_data[port_num].pkey_list_lock); in port_pkey_list_insert() 546 list_for_each_entry (pkey, &device->port_data[port_num].pkey_list, in ib_security_cache_change() 563 &device->port_data[i].pkey_list, in ib_security_release_port_pkey_list()
|
/openbmc/linux/drivers/power/supply/ |
H A D | cros_usbpd-charger.c | 28 struct port_data { struct 53 struct port_data *ports[EC_USB_PD_MAX_PORTS]; argument 91 static bool cros_usbpd_charger_port_is_dedicated(struct port_data *port) in cros_usbpd_charger_port_is_dedicated() 155 static int cros_usbpd_charger_get_discovery_info(struct port_data *port) in cros_usbpd_charger_get_discovery_info() 184 static int cros_usbpd_charger_get_power_info(struct port_data *port) in cros_usbpd_charger_get_power_info() 308 static int cros_usbpd_charger_get_port_status(struct port_data *port, in cros_usbpd_charger_get_port_status() 351 struct port_data *port = power_supply_get_drvdata(psy); in cros_usbpd_charger_power_changed() 363 struct port_data *port = power_supply_get_drvdata(psy); in cros_usbpd_charger_get_prop() 450 struct port_data *port = power_supply_get_drvdata(psy); in cros_usbpd_charger_set_prop() 547 struct port_data *port; in cros_usbpd_charger_probe() [all …]
|
H A D | cros_peripheral_charger.c | 26 struct port_data { struct 43 struct port_data *ports[EC_PCHG_MAX_PORTS]; argument 123 static int cros_pchg_get_status(struct port_data *port) in cros_pchg_get_status() 177 static int cros_pchg_get_port_status(struct port_data *port, bool ratelimit) in cros_pchg_get_port_status() 198 struct port_data *port = power_supply_get_drvdata(psy); in cros_pchg_get_prop() 269 struct port_data *port; in cros_pchg_probe()
|
/openbmc/linux/drivers/w1/masters/ |
H A D | matrox_w1.c | 45 void __iomem *port_data; member 71 ret = readb(dev->port_data); in matrox_w1_read_reg() 80 writeb(val, dev->port_data); in matrox_w1_write_reg() 146 dev->port_data = dev->base_addr + MATROX_PORT_DATA_OFFSET; in matrox_w1_probe()
|
/openbmc/linux/drivers/s390/scsi/ |
H A D | zfcp_diag.c | 46 hdr = &diag->port_data.header; in zfcp_diag_adapter_setup() 49 hdr->buffer = &diag->port_data.data; in zfcp_diag_adapter_setup() 50 hdr->buffer_size = sizeof(diag->port_data.data); in zfcp_diag_adapter_setup()
|
/openbmc/linux/drivers/char/ipmi/ |
H A D | kcs_bmc_serio.c | 55 struct kcs_bmc_serio *priv = port->port_data; in kcs_bmc_serio_open() 62 struct kcs_bmc_serio *priv = port->port_data; in kcs_bmc_serio_close() 87 port->port_data = priv; in kcs_bmc_serio_add_device()
|
/openbmc/linux/drivers/input/gameport/ |
H A D | lightning.c | 59 struct l4 *l4 = gameport->port_data; in l4_cooked_read() 92 struct l4 *l4 = gameport->port_data; in l4_open() 181 struct l4 *l4 = gameport->port_data; in l4_calibrate() 221 port->port_data = l4; in l4_create_ports()
|