Searched refs:rep_type (Results 1 – 4 of 4) sorted by relevance
/linux/drivers/hid/intel-thc-hid/intel-quicki2c/ |
H A D | quicki2c-protocol.c | 133 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 D | quickspi-protocol.c | 348 int rep_type; in quickspi_get_report() local 352 rep_type = GET_INPUT_REPORT; in quickspi_get_report() 354 rep_type = GET_FEATURE; in quickspi_get_report() 361 ret = write_cmd_to_txdma(qsdev, rep_type, report_id, NULL, 0); in quickspi_get_report() 385 int rep_type; in quickspi_set_report() local 389 rep_type = OUTPUT_REPORT; in quickspi_set_report() 391 rep_type = SET_FEATURE; in quickspi_set_report() 398 ret = write_cmd_to_txdma(qsdev, rep_type, report_id, buf + 1, buf_len - 1); in quickspi_set_report()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | eswitch_offloads.c | 2379 int rep_type; in mlx5_esw_offloads_rep_init() local 2388 for (rep_type = 0; rep_type < NUM_REP_TYPES; rep_type++) in mlx5_esw_offloads_rep_init() 2389 atomic_set(&rep->rep_data[rep_type].state, REP_UNREGISTERED); in mlx5_esw_offloads_rep_init() 2533 struct mlx5_eswitch_rep *rep, u8 rep_type) in __esw_offloads_load_rep() argument 2535 if (atomic_cmpxchg(&rep->rep_data[rep_type].state, in __esw_offloads_load_rep() 2537 return esw->offloads.rep_ops[rep_type]->load(esw->dev, rep); in __esw_offloads_load_rep() 2543 struct mlx5_eswitch_rep *rep, u8 rep_type) in __esw_offloads_unload_rep() argument 2545 if (atomic_cmpxchg(&rep->rep_data[rep_type] in __esw_offloads_unload_rep() 2553 __unload_reps_all_vport(struct mlx5_eswitch * esw,u8 rep_type) __unload_reps_all_vport() argument 2565 int rep_type; mlx5_esw_offloads_rep_load() local 2587 int rep_type; mlx5_esw_offloads_rep_unload() local 2913 u8 rep_type; mlx5_esw_offloads_rep_event_unpair() local 2942 u8 rep_type; mlx5_esw_offloads_pair() local 4074 mlx5_eswitch_register_vport_reps(struct mlx5_eswitch * esw,const struct mlx5_eswitch_rep_ops * ops,u8 rep_type) mlx5_eswitch_register_vport_reps() argument 4091 mlx5_eswitch_unregister_vport_reps(struct mlx5_eswitch * esw,u8 rep_type) mlx5_eswitch_unregister_vport_reps() argument 4104 mlx5_eswitch_get_uplink_priv(struct mlx5_eswitch * esw,u8 rep_type) mlx5_eswitch_get_uplink_priv() argument 4114 mlx5_eswitch_get_proto_dev(struct mlx5_eswitch * esw,u16 vport,u8 rep_type) mlx5_eswitch_get_proto_dev() argument 4127 mlx5_eswitch_uplink_get_proto_dev(struct mlx5_eswitch * esw,u8 rep_type) mlx5_eswitch_uplink_get_proto_dev() argument [all...] |
H A D | eswitch.h | 594 void *mlx5_eswitch_get_uplink_priv(struct mlx5_eswitch *esw, u8 rep_type);
|