Home
last modified time | relevance | path

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

/linux/drivers/hid/intel-thc-hid/intel-quicki2c/
H A Dquicki2c-protocol.c133 int cmd_len, rep_type; in quicki2c_get_report() local
138 rep_type = HIDI2C_INPUT; in quicki2c_get_report()
140 rep_type = HIDI2C_FEATURE; in quicki2c_get_report()
146 cmd_len = quicki2c_encode_cmd(qcdev, &cmd, HIDI2C_GET_REPORT, rep_type, reportnum); in quicki2c_get_report()
179 int rep_type; in quicki2c_set_report() local
183 rep_type = HIDI2C_OUTPUT; in quicki2c_set_report()
185 rep_type = HIDI2C_FEATURE; in quicki2c_set_report()
191 ret = write_cmd_to_txdma(qcdev, HIDI2C_SET_REPORT, rep_type, reportnum, buf, buf_len); in quicki2c_set_report()
/linux/drivers/hid/intel-thc-hid/intel-quickspi/
H A Dquickspi-protocol.c347 int rep_type; in quickspi_get_report() local
351 rep_type = GET_INPUT_REPORT; in quickspi_get_report()
353 rep_type = GET_FEATURE; in quickspi_get_report()
360 ret = write_cmd_to_txdma(qsdev, rep_type, report_id, NULL, 0); in quickspi_get_report()
384 int rep_type; in quickspi_set_report() local
388 rep_type = OUTPUT_REPORT; in quickspi_set_report()
390 rep_type = SET_FEATURE; in quickspi_set_report()
397 ret = write_cmd_to_txdma(qsdev, rep_type, report_id, buf + 1, buf_len - 1); in quickspi_set_report()
/linux/include/linux/mlx5/
H A Deswitch.h65 u8 rep_type);
66 void mlx5_eswitch_unregister_vport_reps(struct mlx5_eswitch *esw, u8 rep_type);
69 u8 rep_type);
72 void *mlx5_eswitch_uplink_get_proto_dev(struct mlx5_eswitch *esw, u8 rep_type);
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c2525 int rep_type; in mlx5_esw_offloads_rep_add() local
2534 for (rep_type = 0; rep_type < NUM_REP_TYPES; rep_type++) { in mlx5_esw_offloads_rep_add()
2535 if (!esw->offloads.rep_ops[rep_type]) { in mlx5_esw_offloads_rep_add()
2536 atomic_set(&rep->rep_data[rep_type].state, in mlx5_esw_offloads_rep_add()
2545 atomic_set(&rep->rep_data[rep_type].state, REP_REGISTERED); in mlx5_esw_offloads_rep_add()
2690 struct mlx5_eswitch_rep *rep, u8 rep_type) in __esw_offloads_load_rep() argument
2692 if (atomic_cmpxchg(&rep->rep_data[rep_type].state, in __esw_offloads_load_rep()
2694 return esw->offloads.rep_ops[rep_type]->load(esw->dev, rep); in __esw_offloads_load_rep()
2700 struct mlx5_eswitch_rep *rep, u8 rep_type) in __esw_offloads_unload_rep() argument
2702 if (atomic_cmpxchg(&rep->rep_data[rep_type].state, in __esw_offloads_unload_rep()
[all …]
/linux/net/tipc/
H A Dnetlink_compat.c56 int rep_type; member
290 if (msg->rep_type) in tipc_nl_compat_dumpit()
291 tipc_tlv_init(msg->rep, msg->rep_type); in tipc_nl_compat_dumpit()
1223 msg->rep_type = TIPC_TLV_ULTRA_STRING; in tipc_nl_compat_handle()
1248 msg->rep_type = TIPC_TLV_ULTRA_STRING; in tipc_nl_compat_handle()
1255 msg->rep_type = TIPC_TLV_ULTRA_STRING; in tipc_nl_compat_handle()