/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_fcoe.c | 83 static void bnx2fc_port_destroy(struct fcoe_port *port); 189 struct fcoe_port *port = lport_priv(lport); in bnx2fc_cleanup() local 190 struct bnx2fc_interface *interface = port->priv; in bnx2fc_cleanup() 202 if (tgt->port == port) { in bnx2fc_cleanup() 259 * @lport: the associated local port 271 struct fcoe_port *port; in bnx2fc_xmit() local 280 port = (struct fcoe_port *)lport_priv(lport); in bnx2fc_xmit() 281 interface = port->priv; in bnx2fc_xmit() 318 tgt = bnx2fc_tgt_lookup(port, ntoh2 in bnx2fc_xmit() 515 struct fcoe_port *port, *phys_port; bnx2fc_recv_frame() local 686 struct fcoe_port *port = lport_priv(lport); bnx2fc_get_host_stats() local 736 struct fcoe_port *port = lport_priv(lport); bnx2fc_shost_config() local 769 struct fcoe_port *port = lport_priv(lport); bnx2fc_link_ok() local 804 struct fcoe_port *port; bnx2fc_net_config() local 1081 struct fcoe_port *port = lport_priv(lport); bnx2fc_update_src_mac() local 1093 struct fcoe_port *port; bnx2fc_get_src_mac() local 1129 struct fcoe_port *port = lport_priv(n_port); bnx2fc_vport_create() local 1195 struct fcoe_port *port = lport_priv(vn_port); bnx2fc_vport_destroy() local 1496 struct fcoe_port *port; bnx2fc_if_create() local 1606 struct fcoe_port *port = lport_priv(lport); bnx2fc_interface_cleanup() local 1647 struct fcoe_port *port = lport_priv(lport); __bnx2fc_destroy() local 1693 bnx2fc_port_destroy(struct fcoe_port *port) bnx2fc_port_destroy() argument 2914 struct fcoe_port *port = lport_priv(lport); bnx2fc_tm_timeout_show() local 2927 struct fcoe_port *port = lport_priv(lport); bnx2fc_tm_timeout_store() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_fcoe.c | 85 static void bnx2fc_port_destroy(struct fcoe_port *port); 191 struct fcoe_port *port = lport_priv(lport); in bnx2fc_cleanup() local 192 struct bnx2fc_interface *interface = port->priv; in bnx2fc_cleanup() 204 if (tgt->port == port) { in bnx2fc_cleanup() 261 * @lport: the associated local port 273 struct fcoe_port *port; in bnx2fc_xmit() local 281 port = (struct fcoe_port *)lport_priv(lport); in bnx2fc_xmit() 282 interface = port->priv; in bnx2fc_xmit() 319 tgt = bnx2fc_tgt_lookup(port, ntoh2 in bnx2fc_xmit() 513 struct fcoe_port *port, *phys_port; bnx2fc_recv_frame() local 680 struct fcoe_port *port = lport_priv(lport); bnx2fc_get_host_stats() local 730 struct fcoe_port *port = lport_priv(lport); bnx2fc_shost_config() local 763 struct fcoe_port *port = lport_priv(lport); bnx2fc_link_ok() local 798 struct fcoe_port *port; bnx2fc_net_config() local 1073 struct fcoe_port *port = lport_priv(lport); bnx2fc_update_src_mac() local 1085 struct fcoe_port *port; bnx2fc_get_src_mac() local 1121 struct fcoe_port *port = lport_priv(n_port); bnx2fc_vport_create() local 1187 struct fcoe_port *port = lport_priv(vn_port); bnx2fc_vport_destroy() local 1488 struct fcoe_port *port; bnx2fc_if_create() local 1598 struct fcoe_port *port = lport_priv(lport); bnx2fc_interface_cleanup() local 1639 struct fcoe_port *port = lport_priv(lport); __bnx2fc_destroy() local 1685 bnx2fc_port_destroy(struct fcoe_port *port) bnx2fc_port_destroy() argument 2905 struct fcoe_port *port = lport_priv(lport); bnx2fc_tm_timeout_show() local 2918 struct fcoe_port *port = lport_priv(lport); bnx2fc_tm_timeout_store() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | f_midi2.c | 766 struct f_midi2_midi1_port *port = &midi2->midi1_port[cable]; in process_midi1_byte() local 776 next_state = port->state; in process_midi1_byte() 777 port->state = STATE_REAL_TIME; in process_midi1_byte() 782 switch (port->state) { in process_midi1_byte() 790 p[1] = port->data[0]; in process_midi1_byte() 796 p[1] = port->data[0]; in process_midi1_byte() 797 p[2] = port->data[1]; in process_midi1_byte() 803 next_state = port->state; in process_midi1_byte() 804 port->state = STATE_INITIAL; in process_midi1_byte() 810 port in process_midi1_byte() 937 struct f_midi2_midi1_port *port = &midi2->midi1_port[cable]; process_midi1_pending_buf() local 962 struct f_midi2_midi1_port *port = &midi2->midi1_port[cable]; fill_midi1_pending_buf() local [all...] |
/kernel/linux/linux-5.10/arch/mips/bcm47xx/ |
H A D | setup.c | 118 struct ssb_serial_port port; in bcm47xx_register_ssb() local 122 memcpy(&port, &mcore->serial_ports[0], sizeof(port)); in bcm47xx_register_ssb() 124 sizeof(port)); in bcm47xx_register_ssb() 125 memcpy(&mcore->serial_ports[1], &port, sizeof(port)); in bcm47xx_register_ssb()
|
/kernel/linux/linux-5.10/arch/um/drivers/ |
H A D | port_user.c | 14 #include "port.h" 29 int port; in port_init() local 32 printk(UM_KERN_ERR "port_init : channel type 'port' must " in port_init() 33 "specify a port number\n"); in port_init() 37 port = strtoul(str, &end, 0); in port_init() 39 printk(UM_KERN_ERR "port_init : couldn't parse port '%s'\n", in port_init() 44 kern_data = port_data(port); in port_init() 54 sprintf(data->dev, "%d", port); in port_init() 99 .type = "port", 111 int port_listen_fd(int port) in port_listen_fd() argument [all...] |
/kernel/linux/linux-6.6/arch/mips/bcm47xx/ |
H A D | setup.c | 118 struct ssb_serial_port port; in bcm47xx_register_ssb() local 122 memcpy(&port, &mcore->serial_ports[0], sizeof(port)); in bcm47xx_register_ssb() 124 sizeof(port)); in bcm47xx_register_ssb() 125 memcpy(&mcore->serial_ports[1], &port, sizeof(port)); in bcm47xx_register_ssb()
|
/kernel/linux/linux-6.6/arch/um/drivers/ |
H A D | port_user.c | 15 #include "port.h" 30 int port; in port_init() local 33 printk(UM_KERN_ERR "port_init : channel type 'port' must " in port_init() 34 "specify a port number\n"); in port_init() 38 port = strtoul(str, &end, 0); in port_init() 40 printk(UM_KERN_ERR "port_init : couldn't parse port '%s'\n", in port_init() 45 kern_data = port_data(port); in port_init() 55 sprintf(data->dev, "%d", port); in port_init() 100 .type = "port", 112 int port_listen_fd(int port) in port_listen_fd() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/aic7xxx/ |
H A D | aic79xx_inline.h | 123 ahd_inw(struct ahd_softc *ahd, u_int port); 124 void ahd_outw(struct ahd_softc *ahd, u_int port, 127 ahd_inl(struct ahd_softc *ahd, u_int port); 128 void ahd_outl(struct ahd_softc *ahd, u_int port, 131 ahd_inq(struct ahd_softc *ahd, u_int port); 132 void ahd_outq(struct ahd_softc *ahd, u_int port,
|
/kernel/linux/linux-5.10/net/tipc/ |
H A D | subscr.c | 43 u32 event, u32 port, u32 node) in tipc_sub_send_event() 52 tipc_evt_write(evt, port.ref, port); in tipc_sub_send_event() 53 tipc_evt_write(evt, port.node, node); in tipc_sub_send_event() 77 u32 event, u32 port, u32 node, in tipc_sub_report_overlap() 99 event, port, node); in tipc_sub_report_overlap() 41 tipc_sub_send_event(struct tipc_subscription *sub, u32 found_lower, u32 found_upper, u32 event, u32 port, u32 node) tipc_sub_send_event() argument 75 tipc_sub_report_overlap(struct tipc_subscription *sub, u32 found_lower, u32 found_upper, u32 event, u32 port, u32 node, u32 scope, int must) tipc_sub_report_overlap() argument
|
/kernel/linux/linux-5.10/net/bridge/ |
H A D | br_vlan_tunnel.c | 3 * Bridge per vlan tunnel port dst_metadata handling code 97 int nbp_vlan_tunnel_info_add(const struct net_bridge_port *port, u16 vid, in nbp_vlan_tunnel_info_add() argument 105 vg = nbp_vlan_group(port); in nbp_vlan_tunnel_info_add() 116 int nbp_vlan_tunnel_info_delete(const struct net_bridge_port *port, u16 vid) in nbp_vlan_tunnel_info_delete() argument 123 vg = nbp_vlan_group(port); in nbp_vlan_tunnel_info_delete() 141 void nbp_vlan_tunnel_info_flush(struct net_bridge_port *port) in nbp_vlan_tunnel_info_flush() argument 147 vg = nbp_vlan_group(port); in nbp_vlan_tunnel_info_flush()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/ |
H A D | isp2400_input_system_public.h | 274 input_system_csi_port_t port, 282 input_system_csi_port_t port, 293 input_system_csi_port_t port, 304 input_system_csi_port_t port, 317 input_system_csi_port_t port, 328 input_system_csi_port_t port,
|
/kernel/linux/linux-5.10/drivers/staging/fwserial/ |
H A D | fwserial.h | 65 * @lock: spinlock to synchonize changes to state & port fields 74 * @port: associated tty_port (usable if state == FWSC_ATTACHED) 103 struct fwtty_port *port; member 132 struct fwtty_port *port = peer->port; in peer_revert_state() local 134 peer->port = NULL; in peer_revert_state() 136 return port; in peer_revert_state() 189 * @port: underlying tty_port 191 * @index: index into port_table for this particular port 195 * to communicate with this port 239 struct tty_port port; global() member [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/ |
H A D | isp2400_input_system_public.h | 274 input_system_csi_port_t port, 282 input_system_csi_port_t port, 293 input_system_csi_port_t port, 304 input_system_csi_port_t port, 317 input_system_csi_port_t port, 328 input_system_csi_port_t port,
|
/kernel/linux/linux-6.6/drivers/scsi/aic7xxx/ |
H A D | aic79xx_inline.h | 123 ahd_inw(struct ahd_softc *ahd, u_int port); 124 void ahd_outw(struct ahd_softc *ahd, u_int port, 127 ahd_inl(struct ahd_softc *ahd, u_int port); 128 void ahd_outl(struct ahd_softc *ahd, u_int port, 131 ahd_inq(struct ahd_softc *ahd, u_int port); 132 void ahd_outq(struct ahd_softc *ahd, u_int port,
|
/third_party/backends/sanei/ |
H A D | sanei_udp.c | 87 sanei_udp_connect(int fd, const char *host, int port) in sanei_udp_connect() argument 102 saddr.sin_port = htons(port); in sanei_udp_connect() 114 sanei_udp_open(const char *host, int port, int *fdp) in sanei_udp_open() argument 134 status = sanei_udp_connect(*fdp, host, port); in sanei_udp_open() 174 sanei_udp_write_broadcast(int fd, int port, const u_char * buf, int count) in sanei_udp_write_broadcast() argument 181 saddr.sin_port = htons(port); in sanei_udp_write_broadcast()
|
/third_party/node/test/parallel/ |
H A D | test-http-max-http-headers.js | 101 const port = server.address().port; 102 const client = http.get({ port: port }, common.mustNotCall()); 130 const client = net.connect(server.address().port); 170 const client = net.connect(server.address().port);
|
H A D | test-https-autoselectfamily.js | 55 socket.on('message', common.mustCall((msg, { address, port }) => { 67 }), port, address); 72 resolver.setServers([`127.0.0.1:${socket.address().port}`]); 89 `https://example.org:${ipv4Server.address().port}/`, 132 const port = ipv4Server.address().port; 134 ipv6Server.listen(port, '::1', common.mustCall(() => { 136 `https://example.org:${ipv4Server.address().port}/`,
|
/third_party/node/deps/npm/node_modules/socks/build/common/ |
H A D | helpers.js | 107 typeof remoteHost.port === 'number' && 108 remoteHost.port >= 0 && 109 remoteHost.port <= 65535); 118 typeof proxy.port === 'number' && 119 proxy.port >= 0 && 120 proxy.port <= 65535 &&
|
/third_party/ltp/testcases/network/sctp/ |
H A D | sctp_big_chunk.c | 32 static int port; variable 69 port = TST_GETSOCKPORT(sfd); in setup_server() 70 tst_res(TINFO, "sctp server listen on %d", port); in setup_server() 74 srand(port); in setup_server() 106 uint16_t src_port = htons(port - 1); in setup_client() 107 uint16_t dst_port = htons(port); in setup_client()
|
/kernel/linux/linux-5.10/drivers/phy/marvell/ |
H A D | phy-mvebu-cp110-comphy.c | 131 * [ 5-11]: COMPHY port index 152 #define COMPHY_FW_PARAM_FULL(mode, port, speed, pol, width) \ 155 (((port) << COMPHY_FW_PORT_OFFSET) & COMPHY_FW_PORT_MASK) | \ 159 #define COMPHY_FW_PARAM(mode, port) \ 160 COMPHY_FW_PARAM_FULL(mode, port, COMPHY_FW_SPEED_MAX, 0, 0) 162 #define COMPHY_FW_PARAM_ETH(mode, port, speed) \ 163 COMPHY_FW_PARAM_FULL(mode, port, speed, 0, 0) 165 #define COMPHY_FW_PARAM_PCIE(mode, port, width) \ 166 COMPHY_FW_PARAM_FULL(mode, port, COMPHY_FW_SPEED_5000, 0, width) 181 unsigned port; member 268 int port; global() member 290 mvebu_comphy_get_mode(bool fw_mode, int lane, int port, enum phy_mode mode, int submode) mvebu_comphy_get_mode() argument 320 mvebu_comphy_get_mux(int lane, int port, enum phy_mode mode, int submode) mvebu_comphy_get_mux() argument 326 mvebu_comphy_get_fw_mode(int lane, int port, enum phy_mode mode, int submode) mvebu_comphy_get_fw_mode() argument [all...] |
/kernel/linux/linux-5.10/sound/isa/ |
H A D | opl3sa2.c | 37 static long port[SNDRV_CARDS] = SNDRV_DEFAULT_PORT; /* 0xf86,0x370,0x100 */ variable 57 module_param_hw_array(port, long, ioport, NULL, 0444); 58 MODULE_PARM_DESC(port, "Port # for OPL3-SA driver."); 60 MODULE_PARM_DESC(sb_port, "SB port # for OPL3-SA driver."); 62 MODULE_PARM_DESC(wss_port, "WSS port # for OPL3-SA driver."); 64 MODULE_PARM_DESC(fm_port, "FM port # for OPL3-SA driver."); 66 MODULE_PARM_DESC(midi_port, "MIDI port # for OPL3-SA driver."); 111 unsigned long port; /* control port */ member 112 struct resource *res_port; /* control port resourc 211 unsigned long port; snd_opl3sa2_detect() local [all...] |
/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/ |
H A D | hns_roce_main.c | 44 static int hns_roce_set_mac(struct hns_roce_dev *hr_dev, u32 port, in hns_roce_set_mac() argument 53 if (!memcmp(hr_dev->dev_addr[port], addr, ETH_ALEN)) in hns_roce_set_mac() 57 hr_dev->dev_addr[port][i] = addr[i]; in hns_roce_set_mac() 59 phy_port = hr_dev->iboe.phy_port[port]; in hns_roce_set_mac() 66 u32 port = attr->port_num - 1; in hns_roce_add_gid() local 69 if (port >= hr_dev->caps.num_ports) in hns_roce_add_gid() 80 u32 port = attr->port_num - 1; in hns_roce_del_gid() local 83 if (port >= hr_dev->caps.num_ports) in hns_roce_del_gid() 91 static int handle_en_event(struct hns_roce_dev *hr_dev, u32 port, in handle_en_event() argument 98 netdev = hr_dev->iboe.netdevs[port]; in handle_en_event() 131 u32 port; hns_roce_netdev_event() local 221 u32 port; hns_roce_query_port() local 269 hns_roce_query_pkey(struct ib_device *ib_dev, u32 port, u16 index, u16 *pkey) hns_roce_query_pkey() argument 561 hns_roce_get_hw_stats(struct ib_device *device, struct rdma_hw_stats *stats, u32 port, int index) hns_roce_get_hw_stats() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/ |
H A D | cpsw_ale.c | 427 /* free if only remaining port is host port */ in cpsw_ale_flush_mcast() 481 int cpsw_ale_add_ucast(struct cpsw_ale *ale, const u8 *addr, int port, in cpsw_ale_add_ucast() argument 493 cpsw_ale_set_port_num(ale_entry, port, ale->port_num_bits); in cpsw_ale_add_ucast() 507 int cpsw_ale_del_ucast(struct cpsw_ale *ale, const u8 *addr, int port, in cpsw_ale_del_ucast() argument 724 * if yes it means same VLAN was added to >1 port in multi port mode, so in cpsw_ale_del_vlan() 725 * remove port_mask ports from VLAN ALE entry excluding Host port. in cpsw_ale_del_vlan() 731 /* last port or force remove - remove VLAN */ in cpsw_ale_del_vlan() 777 dev_dbg(ale->params.dev, "port mas in cpsw_ale_vlan_add_modify() 846 cpsw_ale_set_allmulti(struct cpsw_ale *ale, int allmulti, int port) cpsw_ale_set_allmulti() argument 1101 cpsw_ale_control_set(struct cpsw_ale *ale, int port, int control, int value) cpsw_ale_control_set() argument 1132 cpsw_ale_control_get(struct cpsw_ale *ale, int port, int control) cpsw_ale_control_get() argument 1155 cpsw_ale_rx_ratelimit_mc(struct cpsw_ale *ale, int port, unsigned int ratelimit_pps) cpsw_ale_rx_ratelimit_mc() argument 1177 cpsw_ale_rx_ratelimit_bc(struct cpsw_ale *ale, int port, unsigned int ratelimit_pps) cpsw_ale_rx_ratelimit_bc() argument [all...] |
/kernel/linux/linux-6.6/drivers/phy/marvell/ |
H A D | phy-mvebu-cp110-comphy.c | 132 * [ 5-11]: COMPHY port index 154 #define COMPHY_FW_PARAM_FULL(mode, port, speed, pol, width) \ 157 (((port) << COMPHY_FW_PORT_OFFSET) & COMPHY_FW_PORT_MASK) | \ 161 #define COMPHY_FW_PARAM(mode, port) \ 162 COMPHY_FW_PARAM_FULL(mode, port, COMPHY_FW_SPEED_MAX, 0, 0) 164 #define COMPHY_FW_PARAM_ETH(mode, port, speed) \ 165 COMPHY_FW_PARAM_FULL(mode, port, speed, 0, 0) 167 #define COMPHY_FW_PARAM_PCIE(mode, port, width) \ 168 COMPHY_FW_PARAM_FULL(mode, port, COMPHY_FW_SPEED_5000, 0, width) 183 unsigned port; member 273 int port; global() member 295 mvebu_comphy_get_mode(bool fw_mode, int lane, int port, enum phy_mode mode, int submode) mvebu_comphy_get_mode() argument 325 mvebu_comphy_get_mux(int lane, int port, enum phy_mode mode, int submode) mvebu_comphy_get_mux() argument 331 mvebu_comphy_get_fw_mode(int lane, int port, enum phy_mode mode, int submode) mvebu_comphy_get_fw_mode() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_dp_mst.c | 115 connector->port, in intel_dp_mst_find_vcpi_slots_for_bpp() 523 intel_connector->port); in intel_dp_mst_atomic_check() 564 drm_atomic_get_mst_payload_state(old_mst_state, connector->port); in intel_mst_disable_dp() 566 drm_atomic_get_mst_payload_state(new_mst_state, connector->port); in intel_mst_disable_dp() 618 * Power down mst path before disabling the port, otherwise we end in intel_mst_post_disable_dp() 621 drm_dp_send_power_updown_phy(&intel_dp->mst_mgr, connector->port, in intel_mst_post_disable_dp() 679 * The port PLL state needs to get updated for secondary in intel_mst_pre_pll_enable_dp() 718 drm_dp_send_power_updown_phy(&intel_dp->mst_mgr, connector->port, true); in intel_mst_pre_enable_dp() 727 drm_atomic_get_mst_payload_state(mst_state, connector->port)); in intel_mst_pre_enable_dp() 785 drm_atomic_get_mst_payload_state(mst_state, connector->port)); in intel_mst_enable_dp() 908 struct drm_dp_mst_port *port = intel_connector->port; intel_dp_mst_mode_valid_ctx() local 1099 intel_dp_add_mst_connector(struct drm_dp_mst_topology_mgr *mgr, struct drm_dp_mst_port *port, const char *pathprop) intel_dp_add_mst_connector() argument 1243 enum port port = dig_port->base.port; intel_dp_mst_encoder_init() local [all...] |