Searched refs:port (Results 251 - 275 of 1295) sorted by path

<<11121314151617181920>>

/drivers/infiniband/hw/qib/
H A Dqib_verbs.c1047 if (qp->port_num != ppd->port)
1598 static int qib_query_port(struct ib_device *ibdev, u8 port, argument
1602 struct qib_ibport *ibp = to_iport(ibdev, port);
1691 static int qib_modify_port(struct ib_device *ibdev, u8 port, argument
1694 struct qib_ibport *ibp = to_iport(ibdev, port);
1708 static int qib_query_gid(struct ib_device *ibdev, u8 port, argument
1714 if (!port || port > dd->num_pports)
1717 struct qib_ibport *ibp = to_iport(ibdev, port);
1867 attr.port_num = ppd_from_ibp(ibp)->port;
1950 qib_query_pkey(struct ib_device *ibdev, u8 port, u16 index, u16 *pkey) argument
[all...]
/drivers/infiniband/hw/usnic/
H A Dusnic_ib_verbs.c306 int usnic_ib_query_port(struct ib_device *ibdev, u8 port, argument
389 int usnic_ib_query_gid(struct ib_device *ibdev, u8 port, int index, argument
408 int usnic_ib_query_pkey(struct ib_device *ibdev, u8 port, u16 index, argument
H A Dusnic_ib_verbs.h28 int usnic_ib_query_port(struct ib_device *ibdev, u8 port,
33 int usnic_ib_query_gid(struct ib_device *ibdev, u8 port, int index,
35 int usnic_ib_query_pkey(struct ib_device *ibdev, u8 port, u16 index,
H A Dusnic_transport.c54 uint16_t port; local
58 err = usnic_transport_sock_get_addr(sock, &proto, &addr, &port);
63 proto, &addr, port);
67 * reserve a port number. if "0" specified, we will try to pick one
83 usnic_err("Failed to allocate port for %s\n",
91 usnic_err("Failed to allocate port - transport %s unsupported\n",
96 usnic_dbg("Allocating port %hu for %s\n", port_num,
109 usnic_err("Unreserved unvalid port num 0 for %s\n",
121 usnic_dbg("Freeing port %hu for %s\n", port_num,
126 usnic_err("Freeing invalid port
159 usnic_transport_sock_get_addr(struct socket *sock, int *proto, uint32_t *addr, uint16_t *port) argument
[all...]
H A Dusnic_transport.h32 * Reserve a port. If "port_num" is set, then the function will try
33 * to reserve that particular port.
48 uint32_t *addr, uint16_t *port);
/drivers/infiniband/ulp/ipoib/
H A Dipoib.h329 u8 port; member in struct:ipoib_dev_priv
473 int ipoib_ib_dev_init(struct net_device *dev, struct ib_device *ca, int port);
486 int ipoib_dev_init(struct net_device *dev, struct ib_device *ca, int port);
H A Dipoib_cm.c1092 ret = ib_find_pkey(priv->ca, priv->port, priv->pkey, &qp_attr.pkey_index);
1100 qp_attr.port_num = priv->port;
H A Dipoib_ib.c718 ib_find_pkey(priv->ca, priv->port, priv->pkey,
904 int ipoib_ib_dev_init(struct net_device *dev, struct ib_device *ca, int port) argument
909 priv->port = port;
940 result = ib_query_pkey(priv->ca, priv->port, 0, &priv->pkey);
942 ipoib_warn(priv, "ib_query_pkey port %d failed (ret = %d)\n",
943 priv->port, result);
H A Dipoib_main.c459 if (!ib_init_ah_from_path(priv->ca, priv->port, pathrec, &av))
566 ib_sa_path_rec_get(&ipoib_sa_client, priv->ca, priv->port,
850 * same remote port (GUID) using the same remote QPN via two
853 /* qpn octets[1:4) & port GUID octets[12:20) */
1261 int ipoib_dev_init(struct net_device *dev, struct ib_device *ca, int port) argument
1285 if (ipoib_ib_dev_init(dev, ca, port))
1537 struct ib_device *hca, u8 port)
1548 priv->dev->dev_id = port - 1;
1550 if (!ib_query_port(hca, port, &attr))
1554 hca->name, port);
1536 ipoib_add_port(const char *format, struct ib_device *hca, u8 port) argument
[all...]
H A Dipoib_multicast.c223 .port_num = priv->port,
280 /* We trap for port events ourselves. */
335 priv->port, &rec,
367 if (ib_query_port(priv->ca, priv->port, &attr) ||
369 ipoib_dbg(priv, "Keeping carrier off until IB port is active\n");
388 /* We trap for port events ourselves. */
494 mcast->mc = ib_sa_join_multicast(&ipoib_sa_client, priv->ca, priv->port,
526 if (ib_query_port(priv->ca, priv->port, &port_attr) ||
528 ipoib_dbg(priv, "port state is not ACTIVE (state = %d) suspending join task\n",
534 if (ib_query_gid(priv->ca, priv->port,
[all...]
H A Dipoib_verbs.c45 if (ib_find_pkey(priv->ca, priv->port, priv->pkey, &pkey_index)) {
89 qp_attr.port_num = priv->port;
281 if (record->element.port_num != priv->port)
284 ipoib_dbg(priv, "Event %d on device %s port %d\n", record->event,
H A Dipoib_vlan.c73 result = ipoib_dev_init(priv->dev, ppriv->ca, ppriv->port);
76 "device %s, port %d",
77 ppriv->ca->name, ppriv->port);
/drivers/infiniband/ulp/srp/
H A Dib_srp.c264 target->srp_host->port,
273 attr->port_num = target->srp_host->port;
611 target->srp_host->port,
678 * port identifier format is 8 bytes of ID extension followed
703 * zero out the first 8 bytes of our initiator port ID and set
708 PFX "Topspin/Cisco initiator port ID workaround "
925 * SRP_PORT_REDIRECT if we get a port redirect REJ
1021 * @target: SRP target port.
1053 * @target: SRP target port.
1783 * @work: Work structure embedded in an SRP target port
3106 srp_add_port(struct srp_device *device, u8 port) argument
[all...]
H A Dib_srp.h108 u8 port; member in struct:srp_host
/drivers/infiniband/ulp/srpt/
H A Dib_srpt.c191 sport = &sdev->port[event->element.port_num - 1];
202 /* Refresh port data asynchronously. */
204 sport = &sdev->port[event->element.port_num - 1];
408 * @sp: source port through which the MAD has been received.
520 * srpt_refresh_port() - Configure a HCA port.
524 * on the specified port.
526 * Note: It is safe to call this function more than once for the same port.
539 ret = ib_modify_port(sport->sdev->device, sport->port, 0, &port_modify);
543 ret = ib_query_port(sport->sdev->device, sport->port, &port_attr);
550 ret = ib_query_gid(sport->sdev->device, sport->port,
[all...]
H A Dib_srpt.h280 * @sport: pointer to the information of the HCA port used by this
282 * @i_port_id: 128-bit initiator port identifier copied from SRP_LOGIN_REQ.
283 * @t_port_id: 128-bit target port identifier copied from SRP_LOGIN_REQ.
332 * struct srpt_port_attib - Attributes for SRPT port
344 * struct srpt_port - Information associated by SRPT with a single IB port.
346 * @mad_agent: per-port management datagram processing information.
347 * @enabled: Whether or not this target port is enabled.
349 * @port: one-based port number.
350 * @sm_lid: cached value of the port'
364 u8 port; member in struct:srpt_port
406 struct srpt_port port[2]; member in struct:srpt_device
[all...]
/drivers/input/gameport/
H A Demu10k1-gp.c62 struct gameport *port; local
66 port = gameport_allocate_port();
67 if (!emu || !port) {
81 emu->gameport = port;
83 gameport_set_name(port, "EMU10K1");
84 gameport_set_phys(port, "pci%s/gameport0", pci_name(pdev));
85 port->dev.parent = &pdev->dev;
86 port->io = emu->io;
97 gameport_register_port(port);
104 gameport_free_port(port);
[all...]
H A Dfm801-gp.c83 struct gameport *port; local
87 port = gameport_allocate_port();
88 if (!gp || !port) {
98 port->open = fm801_gp_open;
100 port->cooked_read = fm801_gp_cooked_read;
102 gameport_set_name(port, "FM801");
103 gameport_set_phys(port, "pci%s/gameport0", pci_name(pci));
104 port->dev.parent = &pci->dev;
105 port->io = pci_resource_start(pci, 0);
107 gp->gameport = port;
[all...]
H A Dlightning.c55 unsigned char port; member in struct:l4
83 outb(L4_SELECT_DIGITAL + (l4->port >> 2), L4_PORT);
86 outb(l4->port & 3, L4_PORT);
113 if (l4->port != 0 && mode != GAMEPORT_MODE_COOKED)
123 static int l4_getcal(int port, int *cal) argument
128 outb(L4_SELECT_DIGITAL + (port >> 2), L4_PORT);
136 if (inb(L4_PORT) != L4_SELECT_DIGITAL + (port >> 2))
141 outb(port & 3, L4_PORT);
159 static int l4_setcal(int port, int *cal) argument
164 outb(L4_SELECT_DIGITAL + (port >>
222 struct gameport *port; local
[all...]
H A Dns558.c7 * NS558 based standard IBM game port driver for Linux
69 struct gameport *port; local
79 * We must not be able to write arbitrary values to the port.
114 * And now find the number of mirrors of the port.
143 port = gameport_allocate_port();
144 if (!ns558 || !port) {
148 gameport_free_port(port);
154 ns558->gameport = port;
156 port->io = io;
157 gameport_set_name(port, "NS55
201 struct gameport *port; local
[all...]
/drivers/input/joystick/
H A DKconfig140 to your computer's serial port.
150 connected to your computer's serial port.
160 controller connected to your computer's serial port.
170 controller connected to your computer's serial port. For the
191 computer's serial port and want to use it as a joystick.
214 Commodore, Amstrad CPC joystick connected to your parallel port.
229 Commodore, Amstrad CPC joystick connected to your parallel port.
H A Dadi.c105 * Per-port information.
138 static void adi_read_packet(struct adi_port *port) argument
140 struct adi *adi = port->adi;
141 struct gameport *gameport = port->gameport;
181 static void adi_move_bits(struct adi_port *port, int length) argument
184 struct adi *adi = port->adi;
259 static int adi_read(struct adi_port *port) argument
264 adi_read_packet(port);
265 adi_move_bits(port, port
280 struct adi_port *port = gameport_get_drvdata(gameport); local
292 struct adi_port *port = input_get_drvdata(dev); local
304 struct adi_port *port = input_get_drvdata(dev); local
330 adi_id_decode(struct adi *adi, struct adi_port *port) argument
401 adi_init_input(struct adi *adi, struct adi_port *port, int half) argument
474 struct adi_port *port; local
549 struct adi_port *port = gameport_get_drvdata(gameport); local
[all...]
H A Danalog.c250 static int analog_cooked_read(struct analog_port *port) argument
252 struct gameport *gameport = port->gameport;
259 loopout = (ANALOG_LOOP_TIME * port->loop) / 1000;
260 timeout = ANALOG_MAX_TIME * port->speed;
268 this = port->mask;
276 this = gameport_read(gameport) & port->mask;
294 port->axes[j] = (delta(start, time[i]) << ANALOG_FUZZ_BITS) / port->loop;
297 return -(this != port->mask);
300 static int analog_button_read(struct analog_port *port, cha argument
334 struct analog_port *port = gameport_get_drvdata(gameport); local
368 struct analog_port *port = input_get_drvdata(dev); local
380 struct analog_port *port = input_get_drvdata(dev); local
390 analog_calibrate_timer(struct analog_port *port) argument
461 analog_init_device(struct analog_port *port, struct analog *analog, int index) argument
553 analog_init_masks(struct analog_port *port) argument
614 analog_init_port(struct gameport *gameport, struct gameport_driver *drv, struct analog_port *port) argument
679 struct analog_port *port; local
717 struct analog_port *port = gameport_get_drvdata(gameport); local
[all...]
H A Ddb9.c146 static void db9_saturn_write_sub(struct parport *port, int type, unsigned char data, int powered, int pwr_sub) argument
153 parport_write_data(port, c);
157 parport_write_data(port, c);
161 parport_write_control(port, c);
169 static unsigned char db9_saturn_read_sub(struct parport *port, int type) argument
175 data = parport_read_status(port) ^ 0x80;
180 data = parport_read_data(port) & 0x0f;
189 static unsigned char db9_saturn_read_analog(struct parport *port, int type, int powered) argument
193 db9_saturn_write_sub(port, type, 0, powered, 0);
195 data = db9_saturn_read_sub(port, typ
206 db9_saturn_read_packet(struct parport *port, unsigned char *data, int type, int powered) argument
336 db9_saturn(int mode, struct parport *port, struct input_dev *devs[]) argument
369 struct parport *port = db9->pd->port; local
520 struct parport *port = db9->pd->port; local
544 struct parport *port = db9->pd->port; local
[all...]
H A Dgamecon.c139 /* in GC_N64_OUT is pulled low on the output port (by any routine) for more */
151 struct parport *port = gc->pd->port; local
156 parport_write_data(port, GC_N64_POWER_W | data);
164 struct parport *port = gc->pd->port; local
169 parport_write_data(port, GC_N64_POWER_W | data);
176 * Each pad uses one bit per byte. So all pads connected to this port
206 parport_write_data(gc->pd->port, GC_N64_POWER_R);
208 data[i] = parport_read_status(gc->pd->port);
567 struct parport *port = gc->pd->port; local
[all...]

Completed in 196 milliseconds

<<11121314151617181920>>