Home
last modified time | relevance | path

Searched refs:in_port (Results 1 – 6 of 6) sorted by relevance

/drivers/thunderbolt/
Dpath.c67 res = tb_port_add_nfc_credits(path->hops[i].in_port, in __tb_path_deallocate_nfc()
70 tb_port_warn(path->hops[i].in_port, in __tb_path_deallocate_nfc()
81 res = tb_port_write(path->hops[i].in_port, &hop, TB_CFG_HOPS, in __tb_path_deactivate_hops()
84 tb_port_warn(path->hops[i].in_port, in __tb_path_deactivate_hops()
98 tb_route(path->hops[0].in_port->sw), in tb_path_deactivate()
99 path->hops[0].in_port->port, in tb_path_deactivate()
126 tb_route(path->hops[0].in_port->sw), in tb_path_activate()
127 path->hops[0].in_port->port, in tb_path_activate()
135 res = tb_port_clear_counter(path->hops[i].in_port, in tb_path_activate()
143 res = tb_port_add_nfc_credits(path->hops[i].in_port, in tb_path_activate()
[all …]
Dtunnel_pci.c77 tunnel->path_to_up->hops[0].in_port = down; in tb_pci_alloc()
83 tunnel->path_to_up->hops[1].in_port = tb_upstream_port(up->sw); in tb_pci_alloc()
89 tunnel->path_to_down->hops[0].in_port = up; in tb_pci_alloc()
95 tunnel->path_to_down->hops[1].in_port = in tb_pci_alloc()
Dtb.h54 struct tb_port *in_port; member
/drivers/input/serio/
Dps2mult.c43 struct ps2mult_port *in_port; member
189 psm->in_port = psm->out_port = &psm->ports[PS2MULT_KBD_PORT]; in ps2mult_connect()
239 struct ps2mult_port *in_port; in ps2mult_interrupt() local
248 in_port = psm->in_port; in ps2mult_interrupt()
249 if (in_port->registered) in ps2mult_interrupt()
250 serio_interrupt(in_port->serio, data, dfl); in ps2mult_interrupt()
262 psm->in_port = psm->out_port; in ps2mult_interrupt()
275 psm->in_port = &psm->ports[PS2MULT_KBD_PORT]; in ps2mult_interrupt()
280 psm->in_port = &psm->ports[PS2MULT_MOUSE_PORT]; in ps2mult_interrupt()
284 in_port = psm->in_port; in ps2mult_interrupt()
[all …]
/drivers/usb/gadget/function/
Df_midi.c81 struct gmidi_in_port *in_port[MAX_PORTS]; member
531 struct gmidi_in_port *port = midi->in_port[i]; in f_midi_transmit()
569 if (!midi->in_port[substream->number]) in f_midi_in_open()
574 midi->in_port[substream->number]->state = STATE_UNKNOWN; in f_midi_in_open()
590 if (!midi->in_port[substream->number]) in f_midi_in_trigger()
594 midi->in_port[substream->number]->active = up; in f_midi_in_trigger()
1139 kfree(midi->in_port[i]); in f_midi_free()
1199 midi->in_port[i] = port; in f_midi_alloc()
1229 kfree(midi->in_port[i]); in f_midi_alloc()
/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c2030 u64 in_param, u64 *out_param, int in_port) in mac_alloc_res() argument
2040 port = !in_port ? get_param_l(out_param) : in_port; in mac_alloc_res()
2139 u64 in_param, u64 *out_param, int in_port) in vlan_alloc_res() argument
2148 port = !in_port ? get_param_l(out_param) : in_port; in vlan_alloc_res()
2159 if (!in_port && port > 0 && port <= dev->caps.num_ports) { in vlan_alloc_res()
2447 u64 in_param, u64 *out_param, int in_port) in mac_free_res() argument
2454 port = !in_port ? get_param_l(out_param) : in_port; in mac_free_res()