/linux/drivers/infiniband/core/ |
A D | sysfs.c | 72 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() 513 u32 port_num, in show_port_gid_attr_gid_type() 790 int port_num) in get_counter_table() 810 u32 port_num, int index) in update_hw_stats() 835 unsigned int port_num, char *buf) in show_hw_stats() 852 unsigned int index, unsigned int port_num, in show_stats_lifespan() 866 unsigned int index, unsigned int port_num, in set_stats_lifespan() 1086 u32 port_num) in ib_get_hw_stats_port() [all …]
|
A D | smi.c | 44 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()
|
A D | agent.c | 57 __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()
|
A D | rw.c | 28 static inline bool rdma_rw_can_use_mr(struct ib_device *dev, u32 port_num) in rdma_rw_can_use_mr() 45 static inline bool rdma_rw_io_needs_mr(struct ib_device *dev, u32 port_num, in rdma_rw_io_needs_mr() 90 static int rdma_rw_init_one_mr(struct ib_qp *qp, u32 port_num, in rdma_rw_init_one_mr() 124 u32 port_num, struct scatterlist *sg, u32 sg_cnt, u32 offset, in rdma_rw_init_mr_wrs() 318 int rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, in rdma_rw_ctx_init() 391 u32 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_signature_init() 524 u32 port_num, struct ib_cqe *cqe, struct ib_send_wr *chain_wr) in rdma_rw_ctx_wrs() 581 int rdma_rw_ctx_post(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, in rdma_rw_ctx_post() 601 u32 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_destroy() 640 u32 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_destroy_signature() [all …]
|
A D | cache.c | 240 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 953 int rdma_query_gid(struct ib_device *device, u32 port_num, in rdma_query_gid() 1046 u32 port_num, in ib_get_cached_pkey() 1083 int ib_find_cached_pkey(struct ib_device *device, u32 port_num, in ib_find_cached_pkey() 1128 int ib_find_exact_cached_pkey(struct ib_device *device, u32 port_num, in ib_find_exact_cached_pkey() 1163 int ib_get_cached_lmc(struct ib_device *device, u32 port_num, u8 *lmc) in ib_get_cached_lmc() 1179 int ib_get_cached_port_state(struct ib_device *device, u32 port_num, in ib_get_cached_port_state() 1213 rdma_get_gid_attr(struct ib_device *device, u32 port_num, int index) in rdma_get_gid_attr() 1254 u32 port_num, i; in rdma_query_gid_table() local [all …]
|
A D | security.c | 196 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()
|
A D | uverbs_std_types_device.c | 141 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
|
A D | mad.c | 121 __ib_get_mad_port(struct ib_device *device, u32 port_num) in __ib_get_mad_port() 137 ib_get_mad_port(struct ib_device *device, u32 port_num) in ib_get_mad_port() 224 u32 port_num, in ib_register_mad_agent() 551 u16 pkey_index, u32 port_num, struct ib_wc *wc) in build_smp_wc() 610 u32 port_num; in handle_outgoing_dr_smp() local 1683 u32 port_num = mad_agent_priv->agent.port_num; in rcv_has_same_gid() local 1864 u32 port_num, in handle_ib_smi() 1951 u32 port_num, in handle_opa_smi() 2007 u32 port_num, in handle_smi() 2031 u32 port_num; in ib_mad_recv_done() local [all …]
|
A D | sa_query.c | 98 u32 port_num; member 1142 static u8 get_src_path_mask(struct ib_device *device, u32 port_num) in get_src_path_mask() 1161 static int init_ah_attr_grh_fields(struct ib_device *device, u32 port_num, in init_ah_attr_grh_fields() 1199 int ib_init_ah_attr_from_path(struct ib_device *device, u32 port_num, in ib_init_ah_attr_from_path() 1364 u32 port_num) in ib_sa_opa_pathrecord_support() 1399 struct ib_device *device, u32 port_num) in opa_pr_query_possible() 1487 struct ib_device *device, u32 port_num, in ib_sa_path_rec_get() 1614 struct ib_device *device, u32 port_num, in ib_sa_mcmember_rec_query() 1706 struct ib_device *device, u32 port_num, in ib_sa_guid_info_rec_query() 2095 u32 port_num = event->element.port_num - sa_dev->start_port; in ib_sa_event() local
|
/linux/drivers/platform/chrome/ |
A D | cros_ec_typec.c | 168 static int cros_typec_add_partner(struct cros_typec_data *typec, int port_num, in cros_typec_add_partner() 220 int port_num) in cros_typec_remove_partner() 238 int port_num) in cros_typec_remove_cable() 278 int port_num) in cros_typec_register_port_altmodes() 308 u32 port_num = 0; in cros_typec_init_ports() local 394 int port_num, in cros_typec_enable_tbt() 446 int port_num, in cros_typec_enable_dp() 487 int port_num, in cros_typec_enable_usb4() 578 int port_num, struct ec_response_usb_pd_control *resp) in cros_typec_set_port_params_v0() 595 int port_num, struct ec_response_usb_pd_control_v1 *resp) in cros_typec_set_port_params_v1() [all …]
|
/linux/drivers/infiniband/hw/qib/ |
A D | qib_sysfs.c | 42 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 …]
|
/linux/drivers/infiniband/hw/mthca/ |
A D | mthca_mad.c | 50 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()
|
/linux/drivers/infiniband/hw/mlx5/ |
A D | cong.c | 270 static int mlx5_ib_get_cc_params(struct mlx5_ib_dev *dev, u32 port_num, in mlx5_ib_get_cc_params() 307 static int mlx5_ib_set_cc_params(struct mlx5_ib_dev *dev, u32 port_num, in mlx5_ib_set_cc_params() 400 void mlx5_ib_cleanup_cong_debugfs(struct mlx5_ib_dev *dev, u32 port_num) in mlx5_ib_cleanup_cong_debugfs() 412 void mlx5_ib_init_cong_debugfs(struct mlx5_ib_dev *dev, u32 port_num) in mlx5_ib_init_cong_debugfs()
|
A D | counters.c | 158 u32 port_num) in get_counters() 173 u16 mlx5_ib_get_counters_id(struct mlx5_ib_dev *dev, u32 port_num) in mlx5_ib_get_counters_id() 211 mlx5_ib_alloc_hw_port_stats(struct ib_device *ibdev, u32 port_num) in mlx5_ib_alloc_hw_port_stats() 275 u32 port_num, int index) in do_get_hw_stats() 329 u32 port_num, int index) in do_get_op_stat() 359 u32 port_num) in do_get_op_stats() 380 u32 port_num, int index) in mlx5_ib_get_hw_stats()
|
A D | main.c | 105 mlx5_ib_port_link_layer(struct ib_device *device, u32 port_num) in mlx5_ib_port_link_layer() 114 u32 port_num, in get_port_state() 130 u32 *port_num) in mlx5_get_rep_roce() 168 u32 port_num = roce->native_port_num; in mlx5_netdev_event() local 248 u32 port_num) in mlx5_ib_get_netdev() 3142 u32 port_num = mlx5_core_native_port_num(mpi->mdev) - 1; in mlx5_ib_unbind_slave_port() local 3200 u32 port_num = mlx5_core_native_port_num(mpi->mdev) - 1; in mlx5_ib_bind_slave_port() local 3243 u32 port_num = mlx5_core_native_port_num(dev->mdev) - 1; in mlx5_ib_init_multiport_master() local 3311 u32 port_num = mlx5_core_native_port_num(dev->mdev) - 1; in mlx5_ib_cleanup_multiport_master() local 3932 u32 port_num = 0; in mlx5_ib_roce_init() local [all …]
|
A D | std_types.c | 114 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
|
/linux/drivers/infiniband/sw/rdmavt/ |
A D | vt.c | 119 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()
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | sysfs.c | 15 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()
|
/linux/drivers/usb/gadget/function/ |
A D | u_serial.c | 107 u8 port_num; member 590 int port_num = tty->index; in gs_open() local 1067 ssize_t gserial_set_console(unsigned char port_num, const char *page, size_t count) in gserial_set_console() 1096 ssize_t gserial_get_console(unsigned char port_num, char *page) in gserial_get_console() 1138 gs_port_alloc(unsigned port_num, struct usb_cdc_line_coding *coding) in gs_port_alloc() 1196 void gserial_free_line(unsigned char port_num) in gserial_free_line() 1221 int port_num; in gserial_alloc_line_no_console() local 1293 int gserial_connect(struct gserial *gser, u8 port_num) in gserial_connect()
|
/linux/drivers/infiniband/hw/mlx4/ |
A D | mad.c | 189 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 …]
|
A D | sysfs.c | 202 int add_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num, in add_sysfs_port_mcg_attr() 215 void del_sysfs_port_mcg_attr(struct mlx4_ib_dev *device, int port_num, in del_sysfs_port_mcg_attr() 223 static int add_port_entries(struct mlx4_ib_dev *device, int port_num) in add_port_entries() 374 u8 port_num; member 625 static int add_port(struct mlx4_ib_dev *dev, int port_num, int slave) in add_port()
|
/linux/drivers/infiniband/hw/usnic/ |
A D | usnic_transport.c | 86 u16 usnic_transport_rsrv_port(enum usnic_transport_type type, u16 port_num) in usnic_transport_rsrv_port() 119 void usnic_transport_unrsrv_port(enum usnic_transport_type type, u16 port_num) in usnic_transport_unrsrv_port()
|
/linux/net/core/ |
A D | utils.c | 301 static int inet4_pton(const char *src, u16 port_num, in inet4_pton() 320 static int inet6_pton(struct net *net, const char *src, u16 port_num, in inet6_pton() 372 u16 port_num; in inet_pton_with_scope() local
|
/linux/drivers/infiniband/hw/qedr/ |
A D | main.c | 56 static void qedr_ib_dispatch_event(struct qedr_dev *dev, u32 port_num, in qedr_ib_dispatch_event() 69 u32 port_num) in qedr_link_layer() 84 static int qedr_roce_port_immutable(struct ib_device *ibdev, u32 port_num, in qedr_roce_port_immutable() 103 static int qedr_iw_port_immutable(struct ib_device *ibdev, u32 port_num, in qedr_iw_port_immutable()
|
/linux/drivers/s390/net/ |
A D | ctcm_mpc.c | 288 static struct net_device *ctcmpc_get_dev(int port_num) in ctcmpc_get_dev() 327 int ctc_mpc_alloc_channel(int port_num, void (*callback)(int, int)) in ctc_mpc_alloc_channel() argument 397 void ctc_mpc_establish_connectivity(int port_num, in ctc_mpc_establish_connectivity() argument 517 void ctc_mpc_dealloc_ch(int port_num) in ctc_mpc_dealloc_ch() 551 void ctc_mpc_flow_control(int port_num, int flowc) in ctc_mpc_flow_control()
|