/linux-5.19.10/drivers/infiniband/core/ |
D | sysfs.c | 72 u32 port_num; member 132 u32 *port_num) in ib_port_sysfs_get_ibdev_kobj() 170 static ssize_t hw_stat_port_show(struct ib_device *ibdev, u32 port_num, in hw_stat_port_show() 182 static ssize_t hw_stat_port_store(struct ib_device *ibdev, u32 port_num, in hw_stat_port_store() 213 static ssize_t state_show(struct ib_device *ibdev, u32 port_num, in state_show() 239 static ssize_t lid_show(struct ib_device *ibdev, u32 port_num, in lid_show() 252 static ssize_t lid_mask_count_show(struct ib_device *ibdev, u32 port_num, in lid_mask_count_show() 265 static ssize_t sm_lid_show(struct ib_device *ibdev, u32 port_num, in sm_lid_show() 278 static ssize_t sm_sl_show(struct ib_device *ibdev, u32 port_num, in sm_sl_show() 291 static ssize_t cap_mask_show(struct ib_device *ibdev, u32 port_num, in cap_mask_show() [all …]
|
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()
|
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()
|
D | rw.c | 29 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() 319 int rdma_rw_ctx_init(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, in rdma_rw_ctx_init() 392 u32 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_signature_init() 525 u32 port_num, struct ib_cqe *cqe, struct ib_send_wr *chain_wr) in rdma_rw_ctx_wrs() 582 int rdma_rw_ctx_post(struct rdma_rw_ctx *ctx, struct ib_qp *qp, u32 port_num, in rdma_rw_ctx_post() 602 u32 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_destroy() 641 u32 port_num, struct scatterlist *sg, u32 sg_cnt, in rdma_rw_ctx_destroy_signature() [all …]
|
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() 1052 u32 port_num, in ib_get_cached_pkey() 1078 void ib_get_cached_subnet_prefix(struct ib_device *device, u32 port_num, in ib_get_cached_subnet_prefix() 1089 int ib_find_cached_pkey(struct ib_device *device, u32 port_num, in ib_find_cached_pkey() 1134 int ib_find_exact_cached_pkey(struct ib_device *device, u32 port_num, in ib_find_exact_cached_pkey() 1169 int ib_get_cached_lmc(struct ib_device *device, u32 port_num, u8 *lmc) in ib_get_cached_lmc() 1185 int ib_get_cached_port_state(struct ib_device *device, u32 port_num, in ib_get_cached_port_state() 1219 rdma_get_gid_attr(struct ib_device *device, u32 port_num, int index) in rdma_get_gid_attr() [all …]
|
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()
|
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 …]
|
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
|
D | sa_query.c | 97 u32 port_num; member 1141 static u8 get_src_path_mask(struct ib_device *device, u32 port_num) in get_src_path_mask() 1160 static int init_ah_attr_grh_fields(struct ib_device *device, u32 port_num, in init_ah_attr_grh_fields() 1198 int ib_init_ah_attr_from_path(struct ib_device *device, u32 port_num, in ib_init_ah_attr_from_path() 1363 u32 port_num) in ib_sa_opa_pathrecord_support() 1398 struct ib_device *device, u32 port_num) in opa_pr_query_possible() 1486 struct ib_device *device, u32 port_num, in ib_sa_path_rec_get() 1613 struct ib_device *device, u32 port_num, in ib_sa_mcmember_rec_query() 1705 struct ib_device *device, u32 port_num, in ib_sa_guid_info_rec_query() 2094 u32 port_num = event->element.port_num - sa_dev->start_port; in ib_sa_event() local
|
/linux-5.19.10/drivers/platform/chrome/ |
D | cros_ec_typec.c | 169 static int cros_typec_add_partner(struct cros_typec_data *typec, int port_num, in cros_typec_add_partner() 193 static void cros_typec_unregister_altmodes(struct cros_typec_data *typec, int port_num, in cros_typec_unregister_altmodes() 221 int port_num) in cros_typec_remove_partner() 240 int port_num) in cros_typec_remove_cable() 280 int port_num) in cros_typec_register_port_altmodes() 310 u32 port_num = 0; in cros_typec_init_ports() local 396 int port_num, in cros_typec_enable_tbt() 448 int port_num, in cros_typec_enable_dp() 489 int port_num, in cros_typec_enable_usb4() 516 static int cros_typec_configure_mux(struct cros_typec_data *typec, int port_num, in cros_typec_configure_mux() [all …]
|
/linux-5.19.10/drivers/infiniband/hw/qib/ |
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() 104 static ssize_t led_override_store(struct ib_device *ibdev, u32 port_num, in led_override_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() 376 static ssize_t diagc_attr_show(struct ib_device *ibdev, u32 port_num, in diagc_attr_show() 387 static ssize_t diagc_attr_store(struct ib_device *ibdev, u32 port_num, in diagc_attr_store() [all …]
|
/linux-5.19.10/drivers/infiniband/hw/mthca/ |
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-5.19.10/drivers/infiniband/hw/mlx5/ |
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()
|
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()
|
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() 311 void mlx5_ib_put_native_port_mdev(struct mlx5_ib_dev *ibdev, u32 port_num) in mlx5_ib_put_native_port_mdev() 467 static int mlx5_query_port_roce(struct ib_device *device, u32 port_num, in mlx5_query_port_roce() 564 static int set_roce_addr(struct mlx5_ib_dev *dev, u32 port_num, in set_roce_addr() 1504 static int set_port_caps_atomic(struct mlx5_ib_dev *dev, u32 port_num, u32 mask, in set_port_caps_atomic() 2912 static int mlx5_port_immutable(struct ib_device *ibdev, u32 port_num, in mlx5_port_immutable() [all …]
|
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-5.19.10/drivers/infiniband/sw/rdmavt/ |
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-5.19.10/drivers/infiniband/hw/hfi1/ |
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-5.19.10/drivers/usb/gadget/function/ |
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-5.19.10/drivers/infiniband/hw/mlx4/ |
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() 822 static int ib_process_mad(struct ib_device *ibdev, int mad_flags, u32 port_num, in ib_process_mad() 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() [all …]
|
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-5.19.10/drivers/infiniband/hw/usnic/ |
D | usnic_transport.c | 85 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()
|
/linux-5.19.10/net/core/ |
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-5.19.10/drivers/infiniband/hw/qedr/ |
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-5.19.10/drivers/s390/net/ |
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()
|