Home
last modified time | relevance | path

Searched refs:rep_data (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/drivers/infiniband/hw/mlx5/
H A Dib_rep.c22 rep->rep_data[REP_IB].priv = ibdev; in mlx5_ib_set_vport_rep()
116 rep->rep_data[REP_IB].priv = ibdev; in mlx5_ib_vport_rep_load()
131 return rep->rep_data[REP_IB].priv; in mlx5_ib_rep_to_dev()
166 rep->rep_data[REP_IB].priv = NULL; in mlx5_ib_vport_rep_unload()
/openbmc/linux/drivers/hid/
H A Dwacom_sys.c569 u8 *rep_data; in wacom_set_device_mode() local
583 rep_data = hid_alloc_report_buf(r, GFP_KERNEL); in wacom_set_device_mode()
584 if (!rep_data) in wacom_set_device_mode()
590 rep_data[0] = wacom_wac->mode_report; in wacom_set_device_mode()
591 rep_data[1] = wacom_wac->mode_value; in wacom_set_device_mode()
593 error = wacom_set_report(hdev, HID_FEATURE_REPORT, rep_data, in wacom_set_device_mode()
597 rep_data, length, 1); in wacom_set_device_mode()
599 rep_data[1] != wacom_wac->mode_report && in wacom_set_device_mode()
602 kfree(rep_data); in wacom_set_device_mode()
612 u8 rep_data[2]; in wacom_bt_query_tablet_data() local
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dipsec_fs.c154 if (atomic_read(&rep->rep_data[REP_ETH].state) != REP_LOADED) in mlx5_esw_ipsec_restore_dest_uplink()
157 rpriv = rep->rep_data[REP_ETH].priv; in mlx5_esw_ipsec_restore_dest_uplink()
/openbmc/linux/include/linux/mlx5/
H A Deswitch.h53 struct mlx5_eswitch_rep_data rep_data[NUM_REP_TYPES]; member
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.h127 return rep->rep_data[REP_ETH].priv; in mlx5e_rep_to_rep_priv()
H A Deswitch_offloads.c2359 atomic_set(&rep->rep_data[rep_type].state, REP_UNREGISTERED); in mlx5_esw_offloads_rep_init()
2504 if (atomic_cmpxchg(&rep->rep_data[rep_type].state, in __esw_offloads_load_rep()
2514 if (atomic_cmpxchg(&rep->rep_data[rep_type].state, in __esw_offloads_unload_rep()
2544 atomic_set(&rep->rep_data[rep_type].state, REP_REGISTERED); in mlx5_esw_offloads_rep_load()
2885 if (atomic_read(&rep->rep_data[rep_type].state) == REP_LOADED && in mlx5_esw_offloads_rep_event_unpair()
2918 if (atomic_read(&rep->rep_data[rep_type].state) == REP_LOADED && in mlx5_esw_offloads_pair()
3294 if (atomic_read(&rep->rep_data[REP_ETH].state) != REP_LOADED) in mlx5_eswitch_reload_ib_reps()
3302 if (atomic_read(&rep->rep_data[REP_ETH].state) == REP_LOADED) in mlx5_eswitch_reload_ib_reps()
4032 struct mlx5_eswitch_rep_data *rep_data; in mlx5_eswitch_register_vport_reps() local
4040 rep_data = &rep->rep_data[rep_type]; in mlx5_eswitch_register_vport_reps()
[all …]
H A Den_rep.c1544 rep->rep_data[REP_ETH].priv = rpriv; in mlx5e_vport_rep_load()
/openbmc/linux/drivers/infiniband/core/
H A Dcma.c2130 const struct ib_cm_rep_event_param *rep_data, in cma_set_rep_event_data() argument
2135 event->param.conn.responder_resources = rep_data->responder_resources; in cma_set_rep_event_data()
2136 event->param.conn.initiator_depth = rep_data->initiator_depth; in cma_set_rep_event_data()
2137 event->param.conn.flow_control = rep_data->flow_control; in cma_set_rep_event_data()
2138 event->param.conn.rnr_retry_count = rep_data->rnr_retry_count; in cma_set_rep_event_data()
2139 event->param.conn.srq = rep_data->srq; in cma_set_rep_event_data()
2140 event->param.conn.qp_num = rep_data->remote_qpn; in cma_set_rep_event_data()
2142 event->ece.vendor_id = rep_data->ece.vendor_id; in cma_set_rep_event_data()
2143 event->ece.attr_mod = rep_data->ece.attr_mod; in cma_set_rep_event_data()