/third_party/ffmpeg/libavformat/ |
H A D | gopher.c | 83 int port, err; in gopher_open() local 90 hostname, sizeof(hostname), &port, path, sizeof(path), uri); in gopher_open() 92 if (port < 0) in gopher_open() 93 port = 70; in gopher_open() 98 ff_url_join(buf, sizeof(buf), lower_proto, NULL, hostname, port, NULL); in gopher_open()
|
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client/ |
H A D | minimal-ws-client.c | 29 static int interrupted, port = 443, ssl_connection = LCCSCF_USE_SSL; variable 63 i.port = port; in connect_client() 163 info.port = CONTEXT_PORT_NO_LISTEN; /* we do not run any server */ in main() 181 port = atoi(p); in main()
|
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-ping/ |
H A D | minimal-ws-client-ping.c | 27 static int interrupted, port = 443, ssl_connection = LCCSCF_USE_SSL; variable 46 i.port = port; in connect_cb() 123 info.port = CONTEXT_PORT_NO_LISTEN; /* we do not run any server */ in main() 142 if ((p = lws_cmdline_option(argc, argv, "--port"))) in main() 143 port = atoi(p); in main()
|
/third_party/node/test/parallel/ |
H A D | test-domain-http-server.js | 67 const port = this.address().port; 68 debug(`listening on localhost:${port}`); 89 const req = http.get({ host: 'localhost', port: port, path: p });
|
H A D | test-tls-client-reject.js | 47 port: server.address().port, 69 const socket = tls.connect(server.address().port, { 81 const socket = tls.connect(server.address().port, { 94 const socket = tls.connect(server.address().port, {
|
/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/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...] |
H A D | intel_tc.c | 52 struct mutex lock; /* protects the TypeC port mode */ 104 enum phy phy = intel_port_to_phy(i915, dig_port->base.port); in intel_tc_port_in_mode() 136 * POWER_DOMAIN_PORT_DDI_LANES_<port>: 139 * - DE/DDI_BUF access for port enabled state. 143 * POWER_DOMAIN_AUX_USBC<TC port index>: 249 enum tc_port tc_port = intel_port_to_tc(i915, tc->dig_port->base.port); in tc_port_power_domain() 318 enum phy phy = intel_port_to_phy(i915, dig_port->base.port); in intel_tc_port_fia_max_lane_count() 410 "Port %s: live status %08x mismatches the legacy port flag %08x, fixing flag\n", in tc_port_fixup_legacy_flag() 419 enum port port in tc_phy_load_fia_params() local 792 enum port port = tc->dig_port->base.port; adlp_tc_phy_take_ownership() local 805 enum port port = tc->dig_port->base.port; adlp_tc_phy_is_owned() local 954 enum port port = tc->dig_port->base.port; xelpdp_tc_phy_tcss_power_is_enabled() local 980 enum port port = tc->dig_port->base.port; __xelpdp_tc_phy_enable_tcss_power() local 1016 enum port port = tc->dig_port->base.port; xelpdp_tc_phy_take_ownership() local 1032 enum port port = tc->dig_port->base.port; xelpdp_tc_phy_is_owned() local 1822 enum port port = dig_port->base.port; intel_tc_port_init() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/class/ |
H A D | cdc-acm.c | 76 tty_port_get(&acm->port); in acm_get_by_minor() 317 tty_port_tty_hangup(&acm->port, false); in acm_process_notification() 331 tty_insert_flip_char(&acm->port, 0, TTY_BREAK); in acm_process_notification() 344 tty_flip_buffer_push(&acm->port); in acm_process_notification() 487 tty_insert_flip_string(&acm->port, urb->transfer_buffer, in acm_process_read_urb() 491 tty_flip_buffer_push(&acm->port); in acm_process_read_urb() 611 tty_port_tty_wakeup(&acm->port); in acm_softint() 643 tty_port_put(&acm->port); in acm_tty_install() 651 return tty_port_open(&acm->port, tty, filp); in acm_tty_open() 654 static void acm_port_dtr_rts(struct tty_port *port, in argument 674 acm_port_activate(struct tty_port *port, struct tty_struct *tty) acm_port_activate() argument 733 acm_port_destruct(struct tty_port *port) acm_port_destruct() argument 744 acm_port_shutdown(struct tty_port *port) acm_port_shutdown() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpio/ |
H A D | gpio-tegra.c | 107 static unsigned int tegra_gpio_compose(unsigned int bank, unsigned int port, in tegra_gpio_compose() argument 110 return (bank << 5) | ((port & 0x3) << 3) | (bit & 0x7); in tegra_gpio_compose() 231 unsigned int port; in tegra_gpio_set_debounce() local 240 port = GPIO_PORT(offset); in tegra_gpio_set_debounce() 242 /* There is only one debounce count register per port and hence in tegra_gpio_set_debounce() 245 spin_lock_irqsave(&bank->dbc_lock[port], flags); in tegra_gpio_set_debounce() 246 if (bank->dbc_cnt[port] < debounce_ms) { in tegra_gpio_set_debounce() 248 bank->dbc_cnt[port] = debounce_ms; in tegra_gpio_set_debounce() 250 spin_unlock_irqrestore(&bank->dbc_lock[port], flags); in tegra_gpio_set_debounce() 305 unsigned int gpio = d->hwirq, port in tegra_gpio_irq_set_type() local 377 unsigned int port, pin, gpio; tegra_gpio_irq_handler() local 494 u32 port, bit, mask; tegra_gpio_irq_set_wake() local [all...] |
/kernel/linux/linux-6.6/drivers/gpio/ |
H A D | gpio-tegra.c | 113 static unsigned int tegra_gpio_compose(unsigned int bank, unsigned int port, in tegra_gpio_compose() argument 116 return (bank << 5) | ((port & 0x3) << 3) | (bit & 0x7); in tegra_gpio_compose() 237 unsigned int port; in tegra_gpio_set_debounce() local 246 port = GPIO_PORT(offset); in tegra_gpio_set_debounce() 248 /* There is only one debounce count register per port and hence in tegra_gpio_set_debounce() 251 spin_lock_irqsave(&bank->dbc_lock[port], flags); in tegra_gpio_set_debounce() 252 if (bank->dbc_cnt[port] < debounce_ms) { in tegra_gpio_set_debounce() 254 bank->dbc_cnt[port] = debounce_ms; in tegra_gpio_set_debounce() 256 spin_unlock_irqrestore(&bank->dbc_lock[port], flags); in tegra_gpio_set_debounce() 306 unsigned int gpio = d->hwirq, port in tegra_gpio_irq_set_type() local 389 unsigned int port, pin, gpio, i; tegra_gpio_irq_handler() local 544 u32 port, bit, mask; tegra_gpio_irq_set_wake() local [all...] |
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/ |
H A D | trans_tcp_direct_json_test.cpp | 107 int32_t port = MY_PORT; in HWTEST_F() local 110 int32_t ret = VerifyP2pUnPack(nullptr, ip, ipLen, &port); in HWTEST_F() 116 ret = VerifyP2pUnPack(json, nullptr, ipLen, &port); in HWTEST_F() 119 ret = VerifyP2pUnPack(json, ip, ipLen, &port); in HWTEST_F()
|
/kernel/linux/linux-5.10/drivers/accessibility/speakup/ |
H A D | buffers.c | 31 if (vc_cons[i].d && vc_cons[i].d->port.tty) in speakup_start_ttys() 32 start_tty(vc_cons[i].d->port.tty); in speakup_start_ttys() 42 if (vc_cons[i].d && vc_cons[i].d->port.tty) in speakup_stop_ttys() 43 stop_tty(vc_cons[i].d->port.tty); in speakup_stop_ttys()
|
/kernel/linux/linux-5.10/drivers/infiniband/core/ |
H A D | cma_priv.h | 121 int cma_get_default_gid_type(struct cma_device *dev, unsigned int port); 122 int cma_set_default_gid_type(struct cma_device *dev, unsigned int port, 124 int cma_get_default_roce_tos(struct cma_device *dev, unsigned int port); 125 int cma_set_default_roce_tos(struct cma_device *dev, unsigned int port,
|
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | usb_debug.c | 52 struct usb_serial_port *port = tty->driver_data; in usb_debug_break_ctl() local 55 usb_serial_generic_write(tty, port, USB_DEBUG_BRK, USB_DEBUG_BRK_SIZE); in usb_debug_break_ctl() 60 struct usb_serial_port *port = urb->context; in usb_debug_process_read_urb() local 65 usb_serial_handle_break(port); in usb_debug_process_read_urb()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/ |
H A D | sparx5_tc_matchall.c | 18 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_matchall_replace() local 30 sparx5 = port->sparx5; in sparx5_tc_matchall_replace() 69 struct sparx5_port *port = netdev_priv(ndev); in sparx5_tc_matchall_destroy() local 73 sparx5 = port->sparx5; in sparx5_tc_matchall_destroy()
|
/kernel/linux/linux-6.6/drivers/accessibility/speakup/ |
H A D | buffers.c | 31 if (vc_cons[i].d && vc_cons[i].d->port.tty) in speakup_start_ttys() 32 start_tty(vc_cons[i].d->port.tty); in speakup_start_ttys() 42 if (vc_cons[i].d && vc_cons[i].d->port.tty) in speakup_stop_ttys() 43 stop_tty(vc_cons[i].d->port.tty); in speakup_stop_ttys()
|
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | usb_debug.c | 52 struct usb_serial_port *port = tty->driver_data; in usb_debug_break_ctl() local 58 ret = usb_serial_generic_write(tty, port, USB_DEBUG_BRK, USB_DEBUG_BRK_SIZE); in usb_debug_break_ctl() 67 struct usb_serial_port *port = urb->context; in usb_debug_process_read_urb() local 72 usb_serial_handle_break(port); in usb_debug_process_read_urb()
|