Searched refs:rep_data (Results 1 – 8 of 8) sorted by relevance
/linux/net/ethtool/ |
H A D | phy.c | 39 struct phy_reply_data *rep_data = PHY_REPDATA(reply_data); in phy_reply_size() local 46 if (rep_data->drvname) in phy_reply_size() 47 size += nla_total_size(strlen(rep_data->drvname) + 1); in phy_reply_size() 50 size += nla_total_size(strlen(rep_data->name) + 1); in phy_reply_size() 56 if (rep_data->upstream_sfp_name) in phy_reply_size() 57 size += nla_total_size(strlen(rep_data->upstream_sfp_name) + 1); in phy_reply_size() 60 if (rep_data->upstream_index) in phy_reply_size() 64 if (rep_data->downstream_sfp_name) in phy_reply_size() 65 size += nla_total_size(strlen(rep_data->downstream_sfp_name) + 1); in phy_reply_size() 75 struct phy_reply_data *rep_data in phy_prepare_data() local 115 struct phy_reply_data *rep_data = PHY_REPDATA(reply_data); phy_fill_reply() local 146 struct phy_reply_data *rep_data = PHY_REPDATA(reply_data); phy_cleanup_data() local [all...] |
/linux/drivers/infiniband/hw/mlx5/ |
H A D | ib_rep.c | 23 rep->rep_data[REP_IB].priv = ibdev; in mlx5_ib_set_vport_rep() 120 rep->rep_data[REP_IB].priv = ibdev; in mlx5_ib_vport_rep_load() 135 return rep->rep_data[REP_IB].priv; in mlx5_ib_rep_to_dev() 169 rep->rep_data[REP_IB].priv = NULL; in mlx5_ib_vport_rep_unload()
|
/linux/drivers/hid/ |
H A D | wacom_sys.c | 584 u8 *rep_data; in wacom_set_device_mode() local 598 rep_data = hid_alloc_report_buf(r, GFP_KERNEL); in wacom_set_device_mode() 599 if (!rep_data) in wacom_set_device_mode() 605 rep_data[0] = wacom_wac->mode_report; in wacom_set_device_mode() 606 rep_data[1] = wacom_wac->mode_value; in wacom_set_device_mode() 608 error = wacom_set_report(hdev, HID_FEATURE_REPORT, rep_data, in wacom_set_device_mode() 612 rep_data, length, 1); in wacom_set_device_mode() 614 rep_data[1] != wacom_wac->mode_report && in wacom_set_device_mode() 617 kfree(rep_data); in wacom_set_device_mode() 627 u8 rep_data[ in wacom_bt_query_tablet_data() local [all...] |
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/ |
H A D | ipsec_fs.c | 167 if (atomic_read(&rep->rep_data[REP_ETH].state) != REP_LOADED) in mlx5_esw_ipsec_restore_dest_uplink() 170 rpriv = rep->rep_data[REP_ETH].priv; in mlx5_esw_ipsec_restore_dest_uplink()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rep.h | 127 return rep->rep_data[REP_ETH].priv; in mlx5e_rep_to_rep_priv()
|
H A D | eswitch_offloads.c | 2389 atomic_set(&rep->rep_data[rep_type].state, REP_UNREGISTERED); in mlx5_esw_offloads_rep_init() 2535 if (atomic_cmpxchg(&rep->rep_data[rep_type].state, in __esw_offloads_load_rep() 2545 if (atomic_cmpxchg(&rep->rep_data[rep_type].state, in __esw_offloads_unload_rep() 2578 atomic_set(&rep->rep_data[rep_type].state, REP_REGISTERED); in mlx5_esw_offloads_rep_load() 2919 if (atomic_read(&rep->rep_data[rep_type].state) == REP_LOADED && in mlx5_esw_offloads_rep_event_unpair() 2952 if (atomic_read(&rep->rep_data[rep_type].state) == REP_LOADED && in mlx5_esw_offloads_pair() 3328 if (atomic_read(&rep->rep_data[REP_ETH].state) != REP_LOADED) in mlx5_eswitch_reload_ib_reps() 3336 if (atomic_read(&rep->rep_data[REP_ETH].state) == REP_LOADED) in mlx5_eswitch_reload_ib_reps() 4076 struct mlx5_eswitch_rep_data *rep_data; in mlx5_eswitch_register_vport_reps() local 4084 rep_data in mlx5_eswitch_register_vport_reps() [all...] |
H A D | en_rep.c | 1622 rep->rep_data[REP_ETH].priv = rpriv; in mlx5e_vport_rep_load()
|
/linux/drivers/infiniband/core/ |
H A D | cma.c | 2149 const struct ib_cm_rep_event_param *rep_data, in cma_set_rep_event_data() argument 2154 event->param.conn.responder_resources = rep_data->responder_resources; in cma_set_rep_event_data() 2155 event->param.conn.initiator_depth = rep_data->initiator_depth; in cma_set_rep_event_data() 2156 event->param.conn.flow_control = rep_data->flow_control; in cma_set_rep_event_data() 2157 event->param.conn.rnr_retry_count = rep_data->rnr_retry_count; in cma_set_rep_event_data() 2158 event->param.conn.srq = rep_data->srq; in cma_set_rep_event_data() 2159 event->param.conn.qp_num = rep_data->remote_qpn; in cma_set_rep_event_data() 2161 event->ece.vendor_id = rep_data->ece.vendor_id; in cma_set_rep_event_data() 2162 event->ece.attr_mod = rep_data->ece.attr_mod; in cma_set_rep_event_data()
|