Home
last modified time | relevance | path

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

/linux/drivers/hid/
H A Dwacom_sys.c589 u8 *rep_data; in wacom_set_device_mode() local
603 rep_data = hid_alloc_report_buf(r, GFP_KERNEL); in wacom_set_device_mode()
604 if (!rep_data) in wacom_set_device_mode()
610 rep_data[0] = wacom_wac->mode_report; in wacom_set_device_mode()
611 rep_data[1] = wacom_wac->mode_value; in wacom_set_device_mode()
613 error = wacom_set_report(hdev, HID_FEATURE_REPORT, rep_data, in wacom_set_device_mode()
617 rep_data, length, 1); in wacom_set_device_mode()
619 rep_data[1] != wacom_wac->mode_report && in wacom_set_device_mode()
622 kfree(rep_data); in wacom_set_device_mode()
632 u8 rep_data[2]; in wacom_bt_query_tablet_data() local
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/esw/
H A Dipsec_fs.c168 if (atomic_read(&rep->rep_data[REP_ETH].state) != REP_LOADED) in mlx5_esw_ipsec_restore_dest_uplink()
171 rpriv = rep->rep_data[REP_ETH].priv; in mlx5_esw_ipsec_restore_dest_uplink()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.h126 return rep->rep_data[REP_ETH].priv; in mlx5e_rep_to_rep_priv()
H A Deswitch_offloads.c2658 atomic_set(&rep->rep_data[rep_type].state, in mlx5_esw_offloads_rep_add()
2667 atomic_set(&rep->rep_data[rep_type].state, REP_REGISTERED); in mlx5_esw_offloads_rep_add()
2824 if (atomic_cmpxchg(&rep->rep_data[rep_type].state, in __esw_offloads_load_rep()
2830 atomic_set(&rep->rep_data[rep_type].state, REP_REGISTERED); in __esw_offloads_load_rep()
2845 if (atomic_cmpxchg(&rep->rep_data[rep_type].state, in __esw_offloads_unload_rep()
3376 if (atomic_read(&rep->rep_data[rep_type].state) == REP_LOADED && in mlx5_esw_offloads_rep_event_unpair()
3409 if (atomic_read(&rep->rep_data[rep_type].state) == REP_LOADED && in mlx5_esw_offloads_pair()
3883 if (atomic_read(&rep->rep_data[REP_ETH].state) != REP_LOADED) in mlx5_eswitch_reload_ib_reps()
3903 if (atomic_read(&rep->rep_data[REP_ETH].state) == REP_LOADED) in mlx5_eswitch_reload_ib_reps()
4831 struct mlx5_eswitch_rep_data *rep_data; in mlx5_eswitch_register_vport_reps_blocked() local
[all …]
H A Den_rep.c1599 rep->rep_data[REP_ETH].priv = rpriv; in mlx5e_vport_rep_load()