Home
last modified time | relevance | path

Searched refs:port_data (Results 1 – 25 of 58) sorted by relevance

123

/Linux-v5.15/drivers/input/serio/
Dmaceps2.c51 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()
Dioc3kbd.c40 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()
Drpckbd.c67 struct rpckbd_data *rpckbd = port->port_data; in rpckbd_open()
90 struct rpckbd_data *rpckbd = port->port_data; in rpckbd_close()
130 serio->port_data = rpckbd; in rpckbd_probe()
142 struct rpckbd_data *rpckbd = serio->port_data; in rpckbd_remove()
Daltera_ps2.c50 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()
115 serio->port_data = ps2if; in altera_ps2_probe()
Dolpc_apsp.c74 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()
200 kb_serio->port_data = priv; in olpc_apsp_probe()
217 pad_serio->port_data = priv; in olpc_apsp_probe()
Dpcips2.c45 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()
Dambakmi.c52 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()
Dapbps2.c84 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()
178 priv->io->port_data = priv; in apbps2_of_probe()
Dq40kbd.c89 struct q40kbd *q40kbd = port->port_data; in q40kbd_open()
102 struct q40kbd *q40kbd = port->port_data; in q40kbd_close()
127 port->port_data = q40kbd; in q40kbd_probe()
Darc_ps2.c90 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()
Dams_delta_serio.c94 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()
Dps2-gpio.c66 struct ps2_gpio_data *drvdata = serio->port_data; in ps2_gpio_open()
74 struct ps2_gpio_data *drvdata = serio->port_data; in ps2_gpio_close()
82 struct ps2_gpio_data *drvdata = serio->port_data; in __ps2_gpio_write()
97 struct ps2_gpio_data *drvdata = serio->port_data; in ps2_gpio_write()
394 serio->port_data = drvdata; in ps2_gpio_probe()
Dxilinx_ps2.c157 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()
Dserport.c46 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()
Dps2mult.c77 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()
/Linux-v5.15/drivers/ata/
Dsata_highbank.c62 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()
219 writel(CPHY_MAP(dev, addr), port_data[sata_port].phy_base + 0x800); in __combo_phy_reg_read()
220 data = readl(port_data[sata_port].phy_base + CPHY_ADDR(addr)); in __combo_phy_reg_read()
227 u8 dev = port_data[sata_port].phy_devs; in __combo_phy_reg_write()
229 writel(CPHY_MAP(dev, addr), port_data[sata_port].phy_base + 0x800); in __combo_phy_reg_write()
230 writel(data, port_data[sata_port].phy_base + CPHY_ADDR(addr)); in __combo_phy_reg_write()
259 u8 lane = port_data[sata_port].lane_mapping; in highbank_cphy_disable_overrides()
261 if (unlikely(port_data[sata_port].phy_base == NULL)) in highbank_cphy_disable_overrides()
270 u8 lane = port_data[sata_port].lane_mapping; in cphy_override_tx_attenuation()
[all …]
/Linux-v5.15/drivers/infiniband/core/
Dcounters.c50 port_counter = &dev->port_data[port].port_counter; in rdma_counter_set_auto_mode()
132 port_counter = &dev->port_data[port].port_counter; in alloc_and_bind()
179 port_counter = &counter->device->port_data[counter->port].port_counter; in rdma_counter_free()
230 port_counter = &dev->port_data[counter->port].port_counter; in counter_history_stat_update()
256 port_counter = &dev->port_data[port].port_counter; in rdma_get_counter_auto_mode()
304 port_counter = &dev->port_data[port].port_counter; in rdma_counter_bind_qp_auto()
402 port_counter = &dev->port_data[port].port_counter; in rdma_counter_get_hwstat_value()
460 port_counter = &dev->port_data[port].port_counter; in rdma_counter_bind_qpn()
513 port_counter = &dev->port_data[port].port_counter; in rdma_counter_bind_qpn_alloc()
568 port_counter = &dev->port_data[port].port_counter; in rdma_counter_unbind_qpn()
[all …]
Dcache.c202 return device->port_data[port].cache.gid; in rdma_gid_table()
890 release_gid_table(ib_dev, ib_dev->port_data[p].cache.gid); in gid_table_release_one()
891 ib_dev->port_data[p].cache.gid = NULL; in gid_table_release_one()
902 ib_dev->port_data[rdma_port].immutable.gid_tbl_len); in _gid_table_setup_one()
907 ib_dev->port_data[rdma_port].cache.gid = table; in _gid_table_setup_one()
922 ib_dev->port_data[p].cache.gid); in gid_table_cleanup_one()
1027 table = device->port_data[p].cache.gid; in rdma_find_gid()
1059 cache = device->port_data[port_num].cache.pkey; in ib_get_cached_pkey()
1078 *sn_pfx = device->port_data[port_num].cache.subnet_prefix; in ib_get_cached_subnet_prefix()
1097 cache = device->port_data[port_num].cache.pkey; in ib_find_cached_pkey()
[all …]
Dsecurity.c52 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()
/Linux-v5.15/drivers/power/supply/
Dcros_usbpd-charger.c27 struct port_data { struct
52 struct port_data *ports[EC_USB_PD_MAX_PORTS]; argument
90 static bool cros_usbpd_charger_port_is_dedicated(struct port_data *port) in cros_usbpd_charger_port_is_dedicated()
154 static int cros_usbpd_charger_get_discovery_info(struct port_data *port) in cros_usbpd_charger_get_discovery_info()
183 static int cros_usbpd_charger_get_power_info(struct port_data *port) in cros_usbpd_charger_get_power_info()
307 static int cros_usbpd_charger_get_port_status(struct port_data *port, in cros_usbpd_charger_get_port_status()
350 struct port_data *port = power_supply_get_drvdata(psy); in cros_usbpd_charger_power_changed()
362 struct port_data *port = power_supply_get_drvdata(psy); in cros_usbpd_charger_get_prop()
449 struct port_data *port = power_supply_get_drvdata(psy); in cros_usbpd_charger_set_prop()
546 struct port_data *port; in cros_usbpd_charger_probe()
[all …]
Dcros_peripheral_charger.c25 struct port_data { struct
42 struct port_data *ports[EC_PCHG_MAX_PORTS]; argument
122 static int cros_pchg_get_status(struct port_data *port) in cros_pchg_get_status()
176 static int cros_pchg_get_port_status(struct port_data *port, bool ratelimit) in cros_pchg_get_port_status()
197 struct port_data *port = power_supply_get_drvdata(psy); in cros_pchg_get_prop()
293 struct port_data *port; in cros_pchg_probe()
/Linux-v5.15/drivers/w1/masters/
Dmatrox_w1.c46 void __iomem *port_data; member
72 ret = readb(dev->port_data); in matrox_w1_read_reg()
81 writeb(val, dev->port_data); in matrox_w1_write_reg()
152 dev->port_data = dev->base_addr + MATROX_PORT_DATA_OFFSET; in matrox_w1_probe()
/Linux-v5.15/drivers/char/ipmi/
Dkcs_bmc_serio.c55 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()
85 port->port_data = priv; in kcs_bmc_serio_add_device()
/Linux-v5.15/drivers/s390/scsi/
Dzfcp_diag.c46 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()
/Linux-v5.15/drivers/input/gameport/
Dlightning.c62 struct l4 *l4 = gameport->port_data; in l4_cooked_read()
95 struct l4 *l4 = gameport->port_data; in l4_open()
184 struct l4 *l4 = gameport->port_data; in l4_calibrate()
224 port->port_data = l4; in l4_create_ports()

123