/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | rep.c | 17 #include "rep.h" 35 static int rvu_rep_mcam_flow_init(struct rep_dev *rep) in rvu_rep_mcam_flow_init() argument 39 struct otx2_nic *priv = rep->mdev; in rvu_rep_mcam_flow_init() 43 rep->flow_cfg = kcalloc(1, sizeof(struct otx2_flow_config), GFP_KERNEL); in rvu_rep_mcam_flow_init() 45 if (!rep->flow_cfg) in rvu_rep_mcam_flow_init() 50 rep->flow_cfg->flow_ent = kcalloc(count, sizeof(u16), GFP_KERNEL); in rvu_rep_mcam_flow_init() 51 if (!rep->flow_cfg->flow_ent) in rvu_rep_mcam_flow_init() 59 req->hdr.pcifunc = rep->pcifunc; in rvu_rep_mcam_flow_init() 74 rep->flow_cfg->flow_ent[ent + allocated] = rsp->entry_list[ent]; in rvu_rep_mcam_flow_init() 88 sort(&rep in rvu_rep_mcam_flow_init() 109 struct rep_dev *rep = cb_priv; rvu_rep_setup_tc_cb() local 135 struct rvu_rep *rep = netdev_priv(netdev); rvu_rep_setup_tc() local 152 struct rep_dev *rep = netdev_priv(dev); rvu_rep_sp_stats64() local 191 struct rep_dev *rep = container_of(port, struct rep_dev, dl_port); rvu_rep_dl_port_fn_hw_addr_get() local 202 struct rep_dev *rep = container_of(port, struct rep_dev, dl_port); rvu_rep_dl_port_fn_hw_addr_set() local 233 rvu_rep_devlink_port_unregister(struct rep_dev * rep) rvu_rep_devlink_port_unregister() argument 238 rvu_rep_devlink_port_register(struct rep_dev * rep) rvu_rep_devlink_port_register() argument 300 struct rep_dev *rep; rvu_rep_state_evt_handler() local 320 struct rep_dev *rep = netdev_priv(dev); rvu_rep_change_mtu() local 341 struct rep_dev *rep; rvu_rep_get_stats() local 382 struct rep_dev *rep = netdev_priv(dev); rvu_rep_get_stats64() local 417 struct rep_dev *rep = netdev_priv(dev); rvu_rep_xmit() local 441 struct rep_dev *rep = netdev_priv(dev); rvu_rep_open() local 460 struct rep_dev *rep = netdev_priv(dev); rvu_rep_stop() local 619 struct rep_dev *rep; rvu_rep_destroy() local 640 struct rep_dev *rep; rvu_rep_create() local 726 int err, rep; rvu_get_rep_cnt() local [all...] |
/linux/drivers/platform/x86/tuxedo/nb04/ |
H A D | wmi_ab.c | 486 struct lamp_array_attributes_report_t *rep) in handle_lamp_array_attributes_report() argument 490 rep->lamp_count = driver_data->lamp_count; in handle_lamp_array_attributes_report() 491 rep->bounding_box_width_in_micrometers = 368000; in handle_lamp_array_attributes_report() 492 rep->bounding_box_height_in_micrometers = 266000; in handle_lamp_array_attributes_report() 493 rep->bounding_box_depth_in_micrometers = 30000; in handle_lamp_array_attributes_report() 498 rep->lamp_array_kind = 1; in handle_lamp_array_attributes_report() 500 rep->min_update_interval_in_microseconds = 500; in handle_lamp_array_attributes_report() 502 return sizeof(*rep); in handle_lamp_array_attributes_report() 511 struct lamp_attributes_request_report_t *rep) in handle_lamp_attributes_request_report() argument 515 if (rep in handle_lamp_attributes_request_report() 540 handle_lamp_attributes_response_report(struct hid_device * hdev,struct lamp_attributes_response_report_t * rep) handle_lamp_attributes_response_report() argument 599 handle_lamp_multi_update_report(struct hid_device * hdev,struct lamp_multi_update_report_t * rep) handle_lamp_multi_update_report() argument 684 handle_lamp_range_update_report(struct hid_device * hdev,struct lamp_range_update_report_t * rep) handle_lamp_range_update_report() argument 749 handle_lamp_array_control_report(struct hid_device * hdev __always_unused,struct lamp_array_control_report_t * rep) handle_lamp_array_control_report() argument [all...] |
/linux/tools/perf/ |
H A D | builtin-report.c | 128 struct report *rep = cb; in report__config() local 137 rep->min_percent = pcnt; in report__config() 146 return perf_config_u64(&rep->queue_size, var, value); in report__config() 158 rep->skip_empty = perf_config_bool(var, value); in report__config() 171 struct report *rep = arg; in hist_iter__report_callback() local 178 if (!ui__has_annotation() && !rep->symbol_ipc) in hist_iter__report_callback() 189 } else if (rep->mem_mode) { in hist_iter__report_callback() 214 struct report *rep = arg; in hist_iter__branch_callback() local 220 branch_type_count(&rep->brtype_stat, &bi->flags, in hist_iter__branch_callback() 223 if (!ui__has_annotation() && !rep in hist_iter__branch_callback() 246 struct report *rep = container_of(session->tool, struct report, tool); process_feature_event() local 274 struct report *rep = container_of(tool, struct report, tool); process_sample_event() local 354 struct report *rep = container_of(tool, struct report, tool); process_read_event() local 370 report__setup_sample_type(struct report * rep) report__setup_sample_type() argument 477 hists__fprintf_nr_sample_events(struct hists * hists,struct report * rep,const char * evname,FILE * fp) hists__fprintf_nr_sample_events() argument 545 evlist__tui_block_hists_browse(struct evlist * evlist,struct report * rep) evlist__tui_block_hists_browse() argument 561 evlist__tty_browse_hists(struct evlist * evlist,struct report * rep,const char * help) evlist__tty_browse_hists() argument 619 report__warn_kptr_restrict(const struct report * rep) report__warn_kptr_restrict() argument 648 report__gtk_browse_hists(struct report * rep,const char * help) report__gtk_browse_hists() argument 663 report__browse_hists(struct report * rep) report__browse_hists() argument 707 report__collapse_hists(struct report * rep) report__collapse_hists() argument 757 struct report *rep = arg; hists__resort_cb() local 769 report__output_resort(struct report * rep) report__output_resort() argument 800 struct report *rep = container_of(tool, struct report, tool); count_lost_samples_event() local 820 stats_setup(struct report * rep) stats_setup() argument 830 stats_print(struct report * rep) stats_print() argument 839 tasks_setup(struct report * rep) tasks_setup() argument 1034 tasks_print(struct report * rep,FILE * fp) tasks_print() argument 1055 __cmd_report(struct report * rep) __cmd_report() argument 1265 struct report *rep = opt->value; parse_percent_limit() local [all...] |
/linux/drivers/infiniband/hw/mlx5/ |
H A D | ib_rep.c | 12 struct mlx5_eswitch_rep *rep, in mlx5_ib_set_vport_rep() argument 22 ibdev->port[vport_index].rep = rep; in mlx5_ib_set_vport_rep() 23 rep->rep_data[REP_IB].priv = ibdev; in mlx5_ib_set_vport_rep() 24 ndev = mlx5_ib_get_rep_netdev(rep->esw, rep->vport); in mlx5_ib_set_vport_rep() 48 mlx5_ib_vport_rep_load(struct mlx5_core_dev *dev, struct mlx5_eswitch_rep *rep) in mlx5_ib_vport_rep_load() argument 60 vport_index = rep->vport_index; in mlx5_ib_vport_rep_load() 66 if (rep->vport == MLX5_VPORT_UPLINK) { in mlx5_ib_vport_rep_load() 86 if (rep in mlx5_ib_vport_rep_load() 133 mlx5_ib_rep_to_dev(struct mlx5_eswitch_rep * rep) mlx5_ib_rep_to_dev() argument 139 mlx5_ib_vport_rep_unload(struct mlx5_eswitch_rep * rep) mlx5_ib_vport_rep_unload() argument 219 struct mlx5_eswitch_rep *rep; create_flow_rule_vport_sq() local [all...] |
H A D | std_types.c | 135 struct mlx5_eswitch_rep *rep; in fill_switchdev_info() local 139 rep = dev->port[port_num - 1].rep; in fill_switchdev_info() 140 if (!rep) in fill_switchdev_info() 143 mdev = mlx5_eswitch_get_core_dev(rep->esw); in fill_switchdev_info() 147 info->vport = rep->vport; in fill_switchdev_info() 150 if (rep->vport != MLX5_VPORT_UPLINK) { in fill_switchdev_info() 151 err = fill_vport_vhca_id(mdev, rep->vport, info); in fill_switchdev_info() 159 err = fill_vport_icm_addr(mdev, rep->vport, info); in fill_switchdev_info() 163 if (mlx5_eswitch_vport_match_metadata_enabled(rep in fill_switchdev_info() [all...] |
/linux/lib/zstd/compress/ |
H A D | zstd_lazy.h | 41 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 44 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 47 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 50 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 53 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 56 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 59 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 62 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 86 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 89 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NU [all...] |
H A D | zstd_opt.h | 26 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 29 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 32 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 46 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 49 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 52 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], 59 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM],
|
H A D | zstd_fast.c | 192 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_fast_noDict_generic() 215 U32 rep_offset1 = rep[0]; in ZSTD_compressBlock_fast_noDict_generic() 216 U32 rep_offset2 = rep[1]; in ZSTD_compressBlock_fast_noDict_generic() 365 * set rep[0] = rep_offset1 and rep[1] = offsetSaved1. in ZSTD_compressBlock_fast_noDict_generic() 370 rep[0] = rep_offset1 ? rep_offset1 : offsetSaved1; in ZSTD_compressBlock_fast_noDict_generic() 371 rep[1] = rep_offset2 ? rep_offset2 : offsetSaved2; in ZSTD_compressBlock_fast_noDict_generic() 426 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], \ 429 return ZSTD_compressBlock_fast_##dictMode##_generic(ms, seqStore, rep, src, srcSize, mml, cmov); \ 443 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NU in ZSTD_compressBlock_fast() [all...] |
H A D | zstd_opt.c | 597 const U32 rep[ZSTD_REP_NUM], in ZSTD_insertBtAndGetAllMatches() 650 U32 const repOffset = (repCode==ZSTD_REP_NUM) ? (rep[0] - 1) : rep[repCode]; in ZSTD_insertBtAndGetAllMatches() 827 const U32 rep[ZSTD_REP_NUM], 839 const U32 rep[ZSTD_REP_NUM], in ZSTD_btGetAllMatches_internal() 850 return ZSTD_insertBtAndGetAllMatches(matches, ms, nextToUpdate3, ip, iHighLimit, dictMode, rep, ll0, lengthToBeat, mls); in ZSTD_btGetAllMatches_internal() 862 const U32 rep[ZSTD_REP_NUM], \ 868 rep, ll0, lengthToBeat, ZSTD_##dictMode, mls); \ 1080 U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_opt_generic() 1126 U32 nbMatches = getAllMatches(matches, ms, &nextToUpdate3, ip, iend, rep, ll in ZSTD_compressBlock_opt_generic() [all...] |
H A D | zstd_double_fast.c | 107 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_noDict_generic() 124 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_doubleFast_noDict_generic() 248 rep[0] = offset_1 ? offset_1 : offsetSaved1; in ZSTD_compressBlock_doubleFast_noDict_generic() 249 rep[1] = offset_2 ? offset_2 : offsetSaved2; in ZSTD_compressBlock_doubleFast_noDict_generic() 330 ZSTD_MatchState_t* ms, SeqStore_t* seqStore, U32 rep[ZSTD_REP_NUM], in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 349 U32 offset_1=rep[0], offset_2=rep[1]; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 543 rep[0] = offset_1; in ZSTD_compressBlock_doubleFast_dictMatchState_generic() 544 rep[ in ZSTD_compressBlock_doubleFast_dictMatchState_generic() [all...] |
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_rep.c | 50 #include "en/rep/tc.h" 51 #include "en/rep/neigh.h" 52 #include "en/rep/bridge.h" 207 struct mlx5_eswitch_rep *rep = rpriv->rep; in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() local 215 err = mlx5_core_query_vport_counter(esw->dev, 1, rep->vport - 1, 0, out); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 218 rep->vport, err); in MLX5E_DECLARE_STATS_GRP_OP_UPDATE_STATS() 297 struct mlx5_eswitch_rep *rep = rpriv->rep; in mlx5e_rep_update_vport_q_counter() local 304 err = mlx5e_rep_query_aggr_q_counter(priv->mdev, rep in mlx5e_rep_update_vport_q_counter() 440 mlx5e_sqs2vport_stop(struct mlx5_eswitch * esw,struct mlx5_eswitch_rep * rep) mlx5e_sqs2vport_stop() argument 467 mlx5e_sqs2vport_add_peers_rules(struct mlx5_eswitch * esw,struct mlx5_eswitch_rep * rep,struct mlx5e_rep_sq * rep_sq,int i) mlx5e_sqs2vport_add_peers_rules() argument 504 mlx5e_sqs2vport_start(struct mlx5_eswitch * esw,struct mlx5_eswitch_rep * rep,u32 * sqns_array,int sqns_num) mlx5e_sqs2vport_start() argument 576 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_add_sqs_fwd_rules() local 630 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_remove_sqs_fwd_rules() local 640 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_rep_add_meta_tunnel_rule() local 682 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_rep_open() local 705 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_rep_close() local 721 struct mlx5_eswitch_rep *rep; mlx5e_is_uplink_rep() local 783 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_rep_change_carrier() local 843 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_build_rep_params() local 968 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_create_rep_ttc_table() local 996 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_create_rep_root_ft() local 1032 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_destroy_rep_root_ft() local 1043 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_create_rep_vport_rx_rule() local 1286 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_rep_event_mpesw() local 1430 struct mlx5_eswitch_rep *rep = rpriv->rep; mlx5e_rep_vnic_reporter_diagnose() local 1507 mlx5e_vport_uplink_rep_load(struct mlx5_core_dev * dev,struct mlx5_eswitch_rep * rep) mlx5e_vport_uplink_rep_load() argument 1544 mlx5e_vport_vf_rep_load(struct mlx5_core_dev * dev,struct mlx5_eswitch_rep * rep) mlx5e_vport_vf_rep_load() argument 1611 mlx5e_vport_rep_load(struct mlx5_core_dev * dev,struct mlx5_eswitch_rep * rep) mlx5e_vport_rep_load() argument 1637 mlx5e_vport_rep_unload(struct mlx5_eswitch_rep * rep) mlx5e_vport_rep_unload() argument 1658 mlx5e_vport_rep_get_proto_dev(struct mlx5_eswitch_rep * rep) mlx5e_vport_rep_get_proto_dev() argument 1667 mlx5e_vport_rep_event_unpair(struct mlx5_eswitch_rep * rep,struct mlx5_eswitch * peer_esw) mlx5e_vport_rep_event_unpair() argument 1689 mlx5e_vport_rep_event_pair(struct mlx5_eswitch * esw,struct mlx5_eswitch_rep * rep,struct mlx5_eswitch * peer_esw) mlx5e_vport_rep_event_pair() argument 1741 mlx5e_vport_rep_event(struct mlx5_eswitch * esw,struct mlx5_eswitch_rep * rep,enum mlx5_switchdev_event event,void * data) mlx5e_vport_rep_event() argument [all...] |
H A D | vport.c | 678 struct mlx5_hca_vport_context *rep) in mlx5_query_hca_vport_context() argument 713 rep->field_select = MLX5_GET_PR(hca_vport_context, ctx, field_select); in mlx5_query_hca_vport_context() 714 rep->sm_virt_aware = MLX5_GET_PR(hca_vport_context, ctx, sm_virt_aware); in mlx5_query_hca_vport_context() 715 rep->has_smi = MLX5_GET_PR(hca_vport_context, ctx, has_smi); in mlx5_query_hca_vport_context() 716 rep->has_raw = MLX5_GET_PR(hca_vport_context, ctx, has_raw); in mlx5_query_hca_vport_context() 717 rep->policy = MLX5_GET_PR(hca_vport_context, ctx, vport_state_policy); in mlx5_query_hca_vport_context() 718 rep->phys_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context() 720 rep->vport_state = MLX5_GET_PR(hca_vport_context, ctx, vport_state); in mlx5_query_hca_vport_context() 721 rep->port_physical_state = MLX5_GET_PR(hca_vport_context, ctx, in mlx5_query_hca_vport_context() 723 rep in mlx5_query_hca_vport_context() 757 struct mlx5_hca_vport_context *rep; mlx5_query_hca_vport_system_image_guid() local 776 struct mlx5_hca_vport_context *rep; mlx5_query_hca_vport_node_guid() local [all...] |
/linux/net/ceph/crush/ |
H A D | mapper.c | 447 * @stable: stable mode starts rep=0 in the recursive call for all replicas 471 int rep; in crush_choose_firstn() local 488 for (rep = stable ? 0 : outpos; rep < numrep && count > 0 ; rep++) { in crush_choose_firstn() 501 r = rep + parent_r; in crush_choose_firstn() 624 dprintk("skip rep\n"); in crush_choose_firstn() 661 int rep; in crush_choose_indep() local 673 for (rep = outpos; rep < endpo in crush_choose_indep() [all...] |
/linux/net/vmw_vsock/ |
H A D | diag.c | 18 struct vsock_diag_msg *rep; in sk_diag_fill() local 21 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill() 26 rep = nlmsg_data(nlh); in sk_diag_fill() 27 rep->vdiag_family = AF_VSOCK; in sk_diag_fill() 34 rep->vdiag_type = sk->sk_type; in sk_diag_fill() 35 rep->vdiag_state = sk->sk_state; in sk_diag_fill() 36 rep->vdiag_shutdown = sk->sk_shutdown; in sk_diag_fill() 37 rep->vdiag_src_cid = vsk->local_addr.svm_cid; in sk_diag_fill() 38 rep->vdiag_src_port = vsk->local_addr.svm_port; in sk_diag_fill() 39 rep in sk_diag_fill() [all...] |
/linux/net/sunrpc/xprtrdma/ |
H A D | verbs.c | 164 struct rpcrdma_rep *rep = container_of(cqe, struct rpcrdma_rep, in rpcrdma_wc_receive() local 169 trace_xprtrdma_wc_receive(wc, &rep->rr_cid); in rpcrdma_wc_receive() 175 rpcrdma_set_xdrlen(&rep->rr_hdrbuf, wc->byte_len); in rpcrdma_wc_receive() 176 rep->rr_wc_flags = wc->wc_flags; in rpcrdma_wc_receive() 177 rep->rr_inv_rkey = wc->ex.invalidate_rkey; in rpcrdma_wc_receive() 179 ib_dma_sync_single_for_cpu(rdmab_device(rep->rr_rdmabuf), in rpcrdma_wc_receive() 180 rdmab_addr(rep->rr_rdmabuf), in rpcrdma_wc_receive() 183 rpcrdma_reply_handler(rep); in rpcrdma_wc_receive() 188 rpcrdma_rep_put(&r_xprt->rx_buf, rep); in rpcrdma_wc_receive() 953 struct rpcrdma_rep *rep; in rpcrdma_rep_create() local 988 rpcrdma_rep_free(struct rpcrdma_rep * rep) rpcrdma_rep_free() argument 1011 rpcrdma_rep_put(struct rpcrdma_buffer * buf,struct rpcrdma_rep * rep) rpcrdma_rep_put() argument 1023 struct rpcrdma_rep *rep; rpcrdma_reps_unmap() local 1031 struct rpcrdma_rep *rep; rpcrdma_reps_destroy() local 1353 struct rpcrdma_rep *rep; rpcrdma_post_recvs() local 1395 struct rpcrdma_rep *rep; rpcrdma_post_recvs() local [all...] |
/linux/tools/testing/selftests/net/netfilter/ |
H A D | audit_logread.c | 28 int audit_recv(int fd, struct audit_message *rep) in audit_recv() argument 35 ret = recvfrom(fd, rep, sizeof(*rep), 0, in audit_recv() 42 rep->nlh.nlmsg_type == NLMSG_ERROR) /* short-cut for now */ in audit_recv() 81 struct audit_message rep = { 0 }; in audit_set() local 88 ret = audit_recv(fd, &rep); in audit_set() 96 struct audit_message rep = { 0 }; in readlog() local 97 int ret = audit_recv(fd, &rep); in readlog() 104 if (rep.nlh.nlmsg_type != AUDIT_NETFILTER_CFG) in readlog() 108 strtok(rep in readlog() [all...] |
/linux/drivers/hid/ |
H A D | hid-ft260.c | 375 struct ft260_i2c_write_request_report *rep = in ft260_hid_output_report_check_status() local 399 if (rep->flag == FT260_FLAG_START) in ft260_hid_output_report_check_status() 422 struct ft260_i2c_write_request_report *rep = in ft260_i2c_write() local 428 rep->flag = FT260_FLAG_START; in ft260_i2c_write() 434 rep->flag |= FT260_FLAG_STOP; in ft260_i2c_write() 439 rep->report = FT260_I2C_DATA_REPORT_ID(wr_len); in ft260_i2c_write() 440 rep->address = addr; in ft260_i2c_write() 441 rep->length = wr_len; in ft260_i2c_write() 443 memcpy(rep->data, &data[idx], wr_len); in ft260_i2c_write() 445 ft260_dbg("rep in ft260_i2c_write() 471 struct ft260_i2c_write_request_report *rep = ft260_smbus_write() local 502 struct ft260_i2c_read_request_report rep; ft260_i2c_read() local [all...] |
/linux/net/unix/ |
H A D | diag.c | 118 struct unix_diag_msg *rep; in sk_diag_fill() local 120 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill() 125 rep = nlmsg_data(nlh); in sk_diag_fill() 126 rep->udiag_family = AF_UNIX; in sk_diag_fill() 127 rep->udiag_type = sk->sk_type; in sk_diag_fill() 128 rep->udiag_state = READ_ONCE(sk->sk_state); in sk_diag_fill() 129 rep->pad = 0; in sk_diag_fill() 130 rep->udiag_ino = sk_ino; in sk_diag_fill() 131 sock_diag_save_cookie(sk, rep->udiag_cookie); in sk_diag_fill() 245 struct sk_buff *rep; in unix_diag_get_exact() local [all...] |
/linux/net/netlink/ |
H A D | diag.c | 49 struct netlink_diag_msg *rep; in sk_diag_fill() local 52 nlh = nlmsg_put(skb, portid, seq, SOCK_DIAG_BY_FAMILY, sizeof(*rep), in sk_diag_fill() 57 rep = nlmsg_data(nlh); in sk_diag_fill() 58 rep->ndiag_family = AF_NETLINK; in sk_diag_fill() 59 rep->ndiag_type = sk->sk_type; in sk_diag_fill() 60 rep->ndiag_protocol = sk->sk_protocol; in sk_diag_fill() 61 rep->ndiag_state = sk->sk_state; in sk_diag_fill() 63 rep->ndiag_ino = sk_ino; in sk_diag_fill() 64 rep->ndiag_portid = nlk->portid; in sk_diag_fill() 65 rep in sk_diag_fill() [all...] |
/linux/drivers/s390/crypto/ |
H A D | zcrypt_ep11misc.c | 456 struct ep11_cprb *rep, size_t rep_len) in prep_urb() argument 463 u->resp = (u8 __user *)rep; in prep_urb() 534 static int check_reply_cprb(const struct ep11_cprb *rep, const char *func) in check_reply_cprb() argument 537 if (rep->ret_code) { in check_reply_cprb() 539 rep->ret_code); in check_reply_cprb() 540 if (rep->ret_code == 0x000c0003) in check_reply_cprb() 573 struct ep11_cprb *req = NULL, *rep = NULL; in ep11_query_info() local 591 rep = alloc_cprbmem(sizeof(struct ep11_info_rep_pl) + buflen, xflags); in ep11_query_info() 592 if (!rep) in ep11_query_info() 594 rep_pl = (struct ep11_info_rep_pl *)(((u8 *)rep) in ep11_query_info() 779 struct ep11_cprb *req = NULL, *rep = NULL; _ep11_genaeskey() local 954 struct ep11_cprb *req = NULL, *rep = NULL; ep11_cryptsingle() local 1092 struct ep11_cprb *req = NULL, *rep = NULL; _ep11_unwrapkey() local 1265 struct ep11_cprb *req = NULL, *rep = NULL; _ep11_wrapkey() local [all...] |
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/ |
H A D | bridge.c | 80 *vport_num = rpriv->rep->vport; in mlx5_esw_bridge_rep_vport_num_vhca_id_get() 97 struct net_device *rep; in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get() local 102 rep = mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get(lower_dev, esw, vport_num, in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get() 104 if (rep) in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get() 105 return rep; in mlx5_esw_bridge_lower_rep_vport_num_vhca_id_get() 111 static bool mlx5_esw_bridge_is_local(struct net_device *dev, struct net_device *rep, in mlx5_esw_bridge_is_local() argument 117 if (!mlx5_esw_bridge_dev_same_esw(rep, esw)) in mlx5_esw_bridge_is_local() 120 priv = netdev_priv(rep); in mlx5_esw_bridge_is_local() 134 struct net_device *upper = info->upper_dev, *rep; in mlx5_esw_bridge_port_changeupper() local 143 rep in mlx5_esw_bridge_port_changeupper() 435 struct net_device *upper, *rep; mlx5_esw_bridge_switchdev_event() local [all...] |
/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_rep.c | 322 u8 rep; in rvu_rep_install_mcam_rules() local 330 rep = true; in rvu_rep_install_mcam_rules() 333 start + entry, rep); in rvu_rep_install_mcam_rules() 339 start + entry, rep); in rvu_rep_install_mcam_rules() 343 rep = false; in rvu_rep_install_mcam_rules() 355 rep = true; in rvu_rep_install_mcam_rules() 359 rep); in rvu_rep_install_mcam_rules() 366 rep); in rvu_rep_install_mcam_rules() 370 rep = false; in rvu_rep_install_mcam_rules() 441 int pf, vf, numvfs, hwvf, rep in rvu_mbox_handler_get_rep_cnt() local [all...] |
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_surface.c | 81 struct drm_vmw_gb_surface_create_rep *rep, 86 struct drm_vmw_gb_surface_ref_ext_rep *rep, 715 struct drm_vmw_surface_arg *rep = &arg->rep; in vmw_surface_define_ioctl() local 858 rep->sid = user_srf->prime.base.handle; in vmw_surface_define_ioctl() 1074 struct drm_vmw_surface_create_req *rep = &arg->rep; in vmw_surface_reference_ioctl() local 1091 rep->flags = (uint32_t)srf->metadata.flags; in vmw_surface_reference_ioctl() 1092 rep->format = srf->metadata.format; in vmw_surface_reference_ioctl() 1093 memcpy(rep in vmw_surface_reference_ioctl() 1414 struct drm_vmw_gb_surface_create_rep *rep = &arg->rep; vmw_gb_surface_define_ioctl() local 1442 struct drm_vmw_gb_surface_ref_rep *rep = &arg->rep; vmw_gb_surface_reference_ioctl() local 1471 struct drm_vmw_gb_surface_create_rep *rep = &arg->rep; vmw_gb_surface_define_ext_ioctl() local 1490 struct drm_vmw_gb_surface_ref_ext_rep *rep = &arg->rep; vmw_gb_surface_reference_ext_ioctl() local 1507 vmw_gb_surface_define_internal(struct drm_device * dev,struct drm_vmw_gb_surface_create_ext_req * req,struct drm_vmw_gb_surface_create_rep * rep,struct drm_file * file_priv) vmw_gb_surface_define_internal() argument 1691 vmw_gb_surface_reference_internal(struct drm_device * dev,struct drm_vmw_surface_arg * req,struct drm_vmw_gb_surface_ref_ext_rep * rep,struct drm_file * file_priv) vmw_gb_surface_reference_internal() argument [all...] |
/linux/drivers/hid/intel-ish-hid/ |
H A D | ishtp-hid.c | 99 * @rep: pointer to hid_report 104 static void ishtp_hid_request(struct hid_device *hid, struct hid_report *rep, in ishtp_hid_request() argument 109 unsigned int len = ((rep->size - 1) >> 3) + 1 + (rep->id > 0); in ishtp_hid_request() 119 hid_ishtp_get_report(hid, rep->id, rep->type); in ishtp_hid_request() 130 hid_output_report(rep, buf + header_size); in ishtp_hid_request() 131 hid_ishtp_set_feature(hid, buf, len, rep->id); in ishtp_hid_request()
|
/linux/arch/x86/boot/ |
H A D | copy.S | 25 rep movsl 28 rep movsb 41 rep stosl 44 rep stosb
|