/linux-4.4.14/drivers/thunderbolt/ |
H A D | path.c | 67 res = tb_port_add_nfc_credits(path->hops[i].in_port, __tb_path_deallocate_nfc() 70 tb_port_warn(path->hops[i].in_port, __tb_path_deallocate_nfc() 81 res = tb_port_write(path->hops[i].in_port, &hop, TB_CFG_HOPS, __tb_path_deactivate_hops() 84 tb_port_warn(path->hops[i].in_port, __tb_path_deactivate_hops() 98 tb_route(path->hops[0].in_port->sw), tb_path_deactivate() 99 path->hops[0].in_port->port, tb_path_deactivate() 126 tb_route(path->hops[0].in_port->sw), tb_path_activate() 127 path->hops[0].in_port->port, tb_path_activate() 135 res = tb_port_clear_counter(path->hops[i].in_port, tb_path_activate() 143 res = tb_port_add_nfc_credits(path->hops[i].in_port, tb_path_activate() 166 res = tb_port_write(path->hops[i].in_port, &hop, TB_CFG_HOPS, tb_path_activate() 200 tb_port_info(path->hops[i].in_port, "Writing hop %d, index %d", tb_path_activate() 202 tb_dump_hop(path->hops[i].in_port, &hop); tb_path_activate() 203 res = tb_port_write(path->hops[i].in_port, &hop, TB_CFG_HOPS, tb_path_activate() 228 if (path->hops[i].in_port->sw->is_unplugged) tb_path_is_invalid()
|
H A D | tunnel_pci.c | 77 tunnel->path_to_up->hops[0].in_port = down; tb_pci_alloc() 83 tunnel->path_to_up->hops[1].in_port = tb_upstream_port(up->sw); tb_pci_alloc() 89 tunnel->path_to_down->hops[0].in_port = up; tb_pci_alloc() 95 tunnel->path_to_down->hops[1].in_port = tb_pci_alloc()
|
H A D | tb.h | 46 * in_port and out_port have to be on the same switch. Packets arriving on 47 * in_port with "hop" = in_hop_index will get routed to through out_port. The 54 struct tb_port *in_port; member in struct:tb_path_hop
|
/linux-4.4.14/drivers/input/serio/ |
H A D | ps2mult.c | 43 struct ps2mult_port *in_port; member in struct:ps2mult 189 psm->in_port = psm->out_port = &psm->ports[PS2MULT_KBD_PORT]; ps2mult_connect() 239 struct ps2mult_port *in_port; ps2mult_interrupt() local 248 in_port = psm->in_port; ps2mult_interrupt() 249 if (in_port->registered) ps2mult_interrupt() 250 serio_interrupt(in_port->serio, data, dfl); ps2mult_interrupt() 262 psm->in_port = psm->out_port; ps2mult_interrupt() 275 psm->in_port = &psm->ports[PS2MULT_KBD_PORT]; ps2mult_interrupt() 280 psm->in_port = &psm->ports[PS2MULT_MOUSE_PORT]; ps2mult_interrupt() 284 in_port = psm->in_port; ps2mult_interrupt() 285 if (in_port->registered) ps2mult_interrupt() 286 serio_interrupt(in_port->serio, data, dfl); ps2mult_interrupt()
|
/linux-4.4.14/drivers/usb/gadget/function/ |
H A D | f_midi.c | 81 struct gmidi_in_port *in_port[MAX_PORTS]; member in struct:f_midi 533 struct gmidi_in_port *port = midi->in_port[i]; f_midi_transmit() 571 if (!midi->in_port[substream->number]) f_midi_in_open() 576 midi->in_port[substream->number]->state = STATE_UNKNOWN; f_midi_in_open() 592 if (!midi->in_port[substream->number]) f_midi_in_trigger() 596 midi->in_port[substream->number]->active = up; f_midi_in_trigger() 1077 kfree(midi->in_port[i]); f_midi_free() 1136 midi->in_port[i] = port; f_midi_alloc() 1165 kfree(midi->in_port[i]); f_midi_alloc()
|
/linux-4.4.14/net/openvswitch/ |
H A D | flow_netlink.c | 835 u32 in_port = nla_get_u32(a[OVS_KEY_ATTR_IN_PORT]); metadata_from_nlattrs() local 838 in_port = 0xffffffff; /* Always exact match in_port. */ metadata_from_nlattrs() 839 } else if (in_port >= DP_MAX_PORTS) { metadata_from_nlattrs() 841 in_port, DP_MAX_PORTS); metadata_from_nlattrs() 845 SW_FLOW_KEY_PUT(match, phy.in_port, in_port, is_mask); metadata_from_nlattrs() 848 SW_FLOW_KEY_PUT(match, phy.in_port, DP_MAX_PORTS, is_mask); metadata_from_nlattrs() 1377 * @key: Receives extracted in_port, priority, tun_key and skb_mark. 1407 key->phy.in_port = DP_MAX_PORTS; ovs_nla_get_flow_metadata() 1439 if (swkey->phy.in_port == DP_MAX_PORTS) { __ovs_nla_put_key() 1440 if (is_mask && (output->phy.in_port == 0xffff)) __ovs_nla_put_key() 1448 (upper_u16 << 16) | output->phy.in_port)) __ovs_nla_put_key()
|
H A D | flow.h | 64 u16 in_port; /* Input switch port (or DP_MAX_PORTS). */ member in struct:sw_flow_key::__anon15031
|
H A D | flow.c | 722 key->phy.in_port = OVS_CB(skb)->input_vport->port_no; ovs_flow_key_extract()
|
H A D | datapath.c | 618 input_vport = ovs_vport_rcu(dp, flow->key.phy.in_port); ovs_packet_cmd_execute()
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
H A D | resource_tracker.c | 2018 u64 in_param, u64 *out_param, int in_port) mac_alloc_res() 2028 port = !in_port ? get_param_l(out_param) : in_port; mac_alloc_res() 2127 u64 in_param, u64 *out_param, int in_port) vlan_alloc_res() 2136 port = !in_port ? get_param_l(out_param) : in_port; vlan_alloc_res() 2147 if (!in_port && port > 0 && port <= dev->caps.num_ports) { vlan_alloc_res() 2435 u64 in_param, u64 *out_param, int in_port) mac_free_res() 2442 port = !in_port ? get_param_l(out_param) : in_port; mac_free_res() 2017 mac_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int in_port) mac_alloc_res() argument 2126 vlan_alloc_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int in_port) vlan_alloc_res() argument 2434 mac_free_res(struct mlx4_dev *dev, int slave, int op, int cmd, u64 in_param, u64 *out_param, int in_port) mac_free_res() argument
|