Home
last modified time | relevance | path

Searched defs:port_num (Results 1 – 25 of 225) sorted by relevance

123456789

/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_typec.c123 static int cros_typec_add_partner(struct cros_typec_data *typec, int port_num, in cros_typec_add_partner()
191 int port_num) in cros_typec_remove_partner()
218 int port_num) in cros_typec_remove_cable()
267 int port_num) in cros_typec_register_port_altmodes()
315 u32 port_num = 0; in cros_typec_init_ports() local
435 int port_num, in cros_typec_enable_tbt()
490 int port_num, in cros_typec_enable_dp()
535 int port_num, in cros_typec_enable_usb4()
649 int port_num, struct ec_response_usb_pd_control *resp) in cros_typec_set_port_params_v0()
666 int port_num, struct ec_response_usb_pd_control_v1 *resp) in cros_typec_set_port_params_v1()
[all …]
H A Dcros_typec_switch.c23 int port_num; member
36 static int cros_typec_cmd_mux_set(struct cros_typec_switch_data *sdata, int port_num, u8 index, in cros_typec_cmd_mux_set()
70 static int cros_typec_send_clear_event(struct cros_typec_switch_data *sdata, int port_num, in cros_typec_send_clear_event()
82 static bool cros_typec_check_event(struct cros_typec_switch_data *sdata, int port_num, u32 mask) in cros_typec_check_event()
108 static int cros_typec_configure_mux(struct cros_typec_switch_data *sdata, int port_num, int index, in cros_typec_configure_mux()
H A Dcros_typec_vdm.c20 void cros_typec_handle_vdm_attention(struct cros_typec_data *typec, int port_num) in cros_typec_handle_vdm_attention()
59 void cros_typec_handle_vdm_response(struct cros_typec_data *typec, int port_num) in cros_typec_handle_vdm_response()
/openbmc/linux/drivers/infiniband/core/
H A Dsysfs.c72 u32 port_num; member
132 u32 *port_num) in ib_port_sysfs_get_ibdev_kobj()
239 static ssize_t lid_show(struct ib_device *ibdev, u32 port_num, in lid_show()
514 u32 port_num, in show_port_gid_attr_gid_type()
791 int port_num) in get_counter_table()
811 u32 port_num, int index) in update_hw_stats()
836 unsigned int port_num, char *buf) in show_hw_stats()
853 unsigned int index, unsigned int port_num, in show_stats_lifespan()
867 unsigned int index, unsigned int port_num, in set_stats_lifespan()
1087 u32 port_num) in ib_get_hw_stats_port()
[all …]
H A Dsmi.c44 static enum smi_action __smi_handle_dr_smp_send(bool is_switch, u32 port_num, in __smi_handle_dr_smp_send()
130 bool is_switch, u32 port_num) in smi_handle_dr_smp_send()
142 bool is_switch, u32 port_num) in opa_smi_handle_dr_smp_send()
155 static enum smi_action __smi_handle_dr_smp_recv(bool is_switch, u32 port_num, in __smi_handle_dr_smp_recv()
241 u32 port_num, int phys_port_cnt) in smi_handle_dr_smp_recv()
257 u32 port_num, int phys_port_cnt) in opa_smi_handle_dr_smp_recv()
H A Dagent.c57 __ib_get_agent_port(const struct ib_device *device, int port_num) in __ib_get_agent_port()
70 ib_get_agent_port(const struct ib_device *device, int port_num) in ib_get_agent_port()
83 int port_num, int qpn, size_t resp_mad_len, bool opa) in agent_send_response()
150 int ib_agent_port_open(struct ib_device *device, int port_num) in ib_agent_port_open()
200 int ib_agent_port_close(struct ib_device *device, int port_num) in ib_agent_port_close()
H A Drw.c29 static inline bool rdma_rw_can_use_mr(struct ib_device *dev, u32 port_num) in rdma_rw_can_use_mr()
46 static inline bool rdma_rw_io_needs_mr(struct ib_device *dev, u32 port_num, in rdma_rw_io_needs_mr()
91 static int rdma_rw_init_one_mr(struct ib_qp *qp, u32 port_num, in rdma_rw_init_one_mr()
125 u32 port_num, struct scatterlist *sg, u32 sg_cnt, u32 offset, in rdma_rw_init_mr_wrs()
292 int rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, in rdma_rw_ctx_init()
365 u32 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_signature_init()
498 u32 port_num, struct ib_cqe *cqe, struct ib_send_wr *chain_wr) in rdma_rw_ctx_wrs()
555 int rdma_rw_ctx_post(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, in rdma_rw_ctx_post()
575 u32 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_destroy()
614 u32 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_destroy_signature()
[all …]
H A Dcache.c240 u32 port_num = entry->attr.port_num; in free_gid_entry_locked() local
285 u32 port_num = entry->attr.port_num; in free_gid_work() local
949 int rdma_query_gid(struct ib_device *device, u32 port_num, in rdma_query_gid()
1048 u32 port_num, in ib_get_cached_pkey()
1085 int ib_find_cached_pkey(struct ib_device *device, u32 port_num, in ib_find_cached_pkey()
1130 int ib_find_exact_cached_pkey(struct ib_device *device, u32 port_num, in ib_find_exact_cached_pkey()
1165 int ib_get_cached_lmc(struct ib_device *device, u32 port_num, u8 *lmc) in ib_get_cached_lmc()
1181 int ib_get_cached_port_state(struct ib_device *device, u32 port_num, in ib_get_cached_port_state()
1215 rdma_get_gid_attr(struct ib_device *device, u32 port_num, int index) in rdma_get_gid_attr()
1256 u32 port_num, i; in rdma_query_gid_table() local
[all …]
H A Dsecurity.c196 u32 port_num, in check_pkey_qps()
248 u32 port_num = pp->port_num; in port_pkey_list_insert() local
541 u32 port_num, in ib_security_cache_change()
652 u32 port_num, in ib_security_pkey_access()
H A Duverbs_std_types_device.c141 struct ib_device *ib_dev, u8 port_num) in copy_port_attr_to_resp()
184 u8 port_num; in UVERBS_HANDLER() local
376 u32 port_num; in UVERBS_HANDLER() local
H A Dmad.c116 __ib_get_mad_port(struct ib_device *device, u32 port_num) in __ib_get_mad_port()
132 ib_get_mad_port(struct ib_device *device, u32 port_num) in ib_get_mad_port()
219 u32 port_num, in ib_register_mad_agent()
546 u16 pkey_index, u32 port_num, struct ib_wc *wc) in build_smp_wc()
605 u32 port_num; in handle_outgoing_dr_smp() local
1678 u32 port_num = mad_agent_priv->agent.port_num; in rcv_has_same_gid() local
1859 u32 port_num, in handle_ib_smi()
1946 u32 port_num, in handle_opa_smi()
2002 u32 port_num, in handle_smi()
2026 u32 port_num; in ib_mad_recv_done() local
[all …]
/openbmc/linux/drivers/infiniband/hw/qib/
H A Dqib_sysfs.c42 u32 port_num; in qib_get_pportdata_kobj() local
52 static ssize_t hrtbt_enable_show(struct ib_device *ibdev, u32 port_num, in hrtbt_enable_show()
61 static ssize_t hrtbt_enable_store(struct ib_device *ibdev, u32 port_num, in hrtbt_enable_store()
88 static ssize_t loopback_store(struct ib_device *ibdev, u32 port_num, in loopback_store()
124 static ssize_t status_show(struct ib_device *ibdev, u32 port_num, in status_show()
155 static ssize_t status_str_show(struct ib_device *ibdev, u32 port_num, in status_str_show()
308 static ssize_t sl2vl_attr_show(struct ib_device *ibdev, u32 port_num, in sl2vl_attr_show()
454 static ssize_t rc_acks_show(struct ib_device *ibdev, u32 port_num, in rc_acks_show()
465 static ssize_t rc_acks_store(struct ib_device *ibdev, u32 port_num, in rc_acks_store()
477 static ssize_t rc_qacks_show(struct ib_device *ibdev, u32 port_num, in rc_qacks_show()
[all …]
/openbmc/linux/drivers/infiniband/hw/mthca/
H A Dmthca_mad.c50 static int mthca_update_rate(struct mthca_dev *dev, u8 port_num) in mthca_update_rate()
76 u8 port_num, u16 lid, u8 sl) in update_sm_ah()
108 u8 port_num, in smp_snoop()
165 u32 port_num, in forward_trap()
199 int mthca_process_mad(struct ib_device *ibdev, int mad_flags, u32 port_num, in mthca_process_mad()
/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dcounters.c208 u32 port_num) in get_counters()
227 u16 mlx5_ib_get_counters_id(struct mlx5_ib_dev *dev, u32 port_num) in mlx5_ib_get_counters_id()
265 mlx5_ib_alloc_hw_port_stats(struct ib_device *ibdev, u32 port_num) in mlx5_ib_alloc_hw_port_stats()
328 u32 port_num, in mlx5_ib_query_q_counters_vport()
366 u32 port_num, int index) in do_get_hw_stats()
428 u32 port_num, int index) in do_get_op_stat()
459 u32 port_num) in do_get_op_stats()
480 u32 port_num, int index) in mlx5_ib_get_hw_stats()
581 u32 port_num) in mlx5_ib_fill_counters()
680 struct mlx5_ib_counters *cnts, u32 port_num) in __mlx5_ib_alloc_counters()
H A Dcong.c292 static int mlx5_ib_get_cc_params(struct mlx5_ib_dev *dev, u32 port_num, in mlx5_ib_get_cc_params()
329 static int mlx5_ib_set_cc_params(struct mlx5_ib_dev *dev, u32 port_num, in mlx5_ib_set_cc_params()
422 void mlx5_ib_cleanup_cong_debugfs(struct mlx5_ib_dev *dev, u32 port_num) in mlx5_ib_cleanup_cong_debugfs()
434 void mlx5_ib_init_cong_debugfs(struct mlx5_ib_dev *dev, u32 port_num) in mlx5_ib_init_cong_debugfs()
H A Dstd_types.c114 static int fill_switchdev_info(struct mlx5_ib_dev *dev, u32 port_num, in fill_switchdev_info()
161 u32 port_num; in UVERBS_HANDLER() local
H A Dmain.c106 mlx5_ib_port_link_layer(struct ib_device *device, u32 port_num) in mlx5_ib_port_link_layer()
115 u32 port_num, in get_port_state()
131 u32 *port_num) in mlx5_get_rep_roce()
169 u32 port_num = roce->native_port_num; in mlx5_netdev_event() local
249 u32 port_num) in mlx5_ib_get_netdev()
569 int set_roce_addr(struct mlx5_ib_dev *dev, u32 port_num, in set_roce_addr()
3171 u32 port_num = mlx5_core_native_port_num(mpi->mdev) - 1; in mlx5_ib_unbind_slave_port() local
3236 u32 port_num = mlx5_core_native_port_num(mpi->mdev) - 1; in mlx5_ib_bind_slave_port() local
3283 u32 port_num = mlx5_core_native_port_num(dev->mdev) - 1; in mlx5_ib_init_multiport_master() local
3972 u32 port_num = 0; in mlx5_ib_roce_init() local
[all …]
H A Dmad.c45 static bool can_do_mad_ifc(struct mlx5_ib_dev *dev, u32 port_num, in can_do_mad_ifc()
150 static int query_ib_ppcnt(struct mlx5_core_dev *dev, u8 port_num, void *out, in query_ib_ppcnt()
172 static int process_pma_cmd(struct mlx5_ib_dev *dev, u32 port_num, in process_pma_cmd()
247 int mlx5_ib_process_mad(struct ib_device *ibdev, int mad_flags, u32 port_num, in mlx5_ib_process_mad()
/openbmc/linux/drivers/infiniband/sw/rdmavt/
H A Dvt.c119 static int rvt_query_port(struct ib_device *ibdev, u32 port_num, in rvt_query_port()
151 static int rvt_modify_port(struct ib_device *ibdev, u32 port_num, in rvt_modify_port()
187 static int rvt_query_pkey(struct ib_device *ibdev, u32 port_num, u16 index, in rvt_query_pkey()
217 static int rvt_query_gid(struct ib_device *ibdev, u32 port_num, in rvt_query_gid()
259 static int rvt_get_port_immutable(struct ib_device *ibdev, u32 port_num, in rvt_get_port_immutable()
/openbmc/linux/drivers/net/dsa/qca/
H A Dqca8k-leds.c22 qca8k_get_enable_led_reg(int port_num, int led_num, struct qca8k_led_pattern_en *reg_info) in qca8k_get_enable_led_reg()
48 qca8k_get_control_led_reg(int port_num, int led_num, struct qca8k_led_pattern_en *reg_info) in qca8k_get_control_led_reg()
365 qca8k_parse_port_leds(struct qca8k_priv *priv, struct fwnode_handle *port, int port_num) in qca8k_parse_port_leds()
455 int port_num; in qca8k_setup_led_ctrl() local
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dsysfs.c15 u32 port_num; in hfi1_get_pportdata_kobj() local
104 static ssize_t cc_prescan_show(struct ib_device *ibdev, u32 port_num, in cc_prescan_show()
113 static ssize_t cc_prescan_store(struct ib_device *ibdev, u32 port_num, in cc_prescan_store()
146 static ssize_t sc2vl_attr_show(struct ib_device *ibdev, u32 port_num, in sc2vl_attr_show()
243 static ssize_t sl2sc_attr_show(struct ib_device *ibdev, u32 port_num, in sl2sc_attr_show()
342 static ssize_t vl2mtu_attr_show(struct ib_device *ibdev, u32 port_num, in vl2mtu_attr_show()
/openbmc/u-boot/board/compulab/cl-som-am57x/
H A Deth.c64 static void cl_som_am57x_efuse_read_mac_addr(uchar *buff, uint port_num) in cl_som_am57x_efuse_read_mac_addr()
93 static int cl_som_am57x_handle_mac_address(char *env_name, uint port_num) in cl_som_am57x_handle_mac_address()
/openbmc/linux/drivers/usb/gadget/function/
H A Du_serial.c111 u8 port_num; member
598 int port_num = tty->index; in gs_open() local
1078 ssize_t gserial_set_console(unsigned char port_num, const char *page, size_t count) in gserial_set_console()
1107 ssize_t gserial_get_console(unsigned char port_num, char *page) in gserial_get_console()
1149 gs_port_alloc(unsigned port_num, struct usb_cdc_line_coding *coding) in gs_port_alloc()
1207 void gserial_free_line(unsigned char port_num) in gserial_free_line()
1232 int port_num; in gserial_alloc_line_no_console() local
1304 int gserial_connect(struct gserial *gser, u8 port_num) in gserial_connect()
/openbmc/linux/drivers/infiniband/hw/usnic/
H A Dusnic_transport.c85 u16 usnic_transport_rsrv_port(enum usnic_transport_type type, u16 port_num) in usnic_transport_rsrv_port()
118 void usnic_transport_unrsrv_port(enum usnic_transport_type type, u16 port_num) in usnic_transport_unrsrv_port()
/openbmc/linux/drivers/infiniband/hw/mlx4/
H A Dmad.c189 static void update_sm_ah(struct mlx4_ib_dev *dev, u32 port_num, u16 lid, u8 sl) in update_sm_ah()
220 static void smp_snoop(struct ib_device *ibdev, u32 port_num, in smp_snoop()
333 static void __propagate_pkey_ev(struct mlx4_ib_dev *dev, int port_num, in __propagate_pkey_ev()
383 static void forward_trap(struct mlx4_ib_dev *dev, u32 port_num, in forward_trap()
937 u32 port_num, const struct ib_wc *in_wc, in iboe_process_mad()
984 int mlx4_ib_process_mad(struct ib_device *ibdev, int mad_flags, u32 port_num, in mlx4_ib_process_mad()
1078 static void handle_lid_change_event(struct mlx4_ib_dev *dev, u32 port_num) in handle_lid_change_event()
1087 static void handle_client_rereg_event(struct mlx4_ib_dev *dev, u32 port_num) in handle_client_rereg_event()
1119 static void propagate_pkey_ev(struct mlx4_ib_dev *dev, int port_num, in propagate_pkey_ev()
1126 static void handle_slaves_guid_change(struct mlx4_ib_dev *dev, u32 port_num, in handle_slaves_guid_change()
[all …]

123456789