/openbmc/linux/lib/reed_solomon/ |
H A D | reed_solomon.c | 71 int fcr, int prim, int nroots, gfp_t gfp) in codec_init() argument 85 rs->prim = prim; in codec_init() 129 for(iprim = 1; (iprim % prim) != 0; iprim += rs->nn); in codec_init() 131 rs->iprim = iprim / prim; in codec_init() 135 for (i = 0, root = fcr * prim; i < nroots; i++, root += prim) { in codec_init() 215 int prim, int nroots, gfp_t gfp) in init_rs_internal() argument 226 if (prim <= 0 || prim >= (1<<symsize)) in init_rs_internal() 255 if (prim != cd->prim) in init_rs_internal() 291 return init_rs_internal(symsize, gfpoly, NULL, fcr, prim, nroots, gfp); in init_rs_gfp() 308 int fcr, int prim, int nroots) in init_rs_non_canonical() argument [all …]
|
H A D | decode_rs.c | 19 int prim = rs->prim; variable 73 (fcr + i) * prim)]; 85 (fcr+i)*prim)]; 112 prim * (nn - 1 - (eras_pos[0] + pad)))]; 114 u = rs_modnn(rs, prim * (nn - 1 - (eras_pos[i] + pad))); 295 k = (fcr + i) * prim * (nn-loc[j]-1);
|
H A D | test_rslib.c | 40 int prim; member 236 int prim = rs->prim; in compute_syndrome() local 249 + (fcr + i) * prim)]; in compute_syndrome() 453 rsc = init_rs(e->symsize, e->genpoly, e->fcs, e->prim, e->nroots); in run_exercise()
|
/openbmc/linux/drivers/powercap/ |
H A D | intel_rapl_common.c | 168 if (prim == PL_LOCK) in get_pl_prim() 182 if (prim == PL_LOCK) in get_pl_prim() 193 if (prim == PL_LOCK) in get_pl_prim() 741 if (prim < 0 || prim > NR_RAPL_PRIMITIVES || !rpi) in get_rpi() 744 return &rpi[prim]; in get_rpi() 777 return prim; in prim_fixups() 780 return prim; in prim_fixups() 782 switch (prim) { in prim_fixups() 796 return prim; in prim_fixups() 1291 int dmn, prim; in rapl_update_domain_data() local [all …]
|
/openbmc/linux/include/linux/ |
H A D | rslib.h | 42 int prim; member 82 struct rs_control *init_rs_gfp(int symsize, int gfpoly, int fcr, int prim, 99 int prim, int nroots) in init_rs() argument 101 return init_rs_gfp(symsize, gfpoly, fcr, prim, nroots, GFP_KERNEL); in init_rs() 105 int fcr, int prim, int nroots);
|
H A D | mISDNif.h | 256 unsigned int prim; member 436 #define mISDN_HEAD_PRIM(s) (((struct mISDNhead *)&s->cb[0])->prim) 548 _alloc_mISDN_skb(u_int prim, u_int id, u_int len, void *dp, gfp_t gfp_mask) in _alloc_mISDN_skb() argument 558 hh->prim = prim; in _alloc_mISDN_skb() 564 _queue_data(struct mISDNchannel *ch, u_int prim, in _queue_data() argument 571 skb = _alloc_mISDN_skb(prim, id, len, dp, gfp_mask); in _queue_data()
|
/openbmc/linux/net/llc/ |
H A D | llc_sap.c | 70 void llc_save_primitive(struct sock *sk, struct sk_buff *skb, u8 prim) in llc_save_primitive() argument 80 addr->sllc_test = prim == LLC_TEST_PRIM; in llc_save_primitive() 81 addr->sllc_xid = prim == LLC_XID_PRIM; in llc_save_primitive() 82 addr->sllc_ua = prim == LLC_DATAUNIT_PRIM; in llc_save_primitive() 99 ev->prim = LLC_TEST_PRIM; break; in llc_sap_rtn_pdu() 101 ev->prim = LLC_XID_PRIM; break; in llc_sap_rtn_pdu() 103 ev->prim = LLC_DATAUNIT_PRIM; break; in llc_sap_rtn_pdu() 212 llc_save_primitive(skb->sk, skb, ev->prim); in llc_sap_state_process() 242 ev->prim = LLC_TEST_PRIM; in llc_build_and_send_test_pkt() 268 ev->prim = LLC_XID_PRIM; in llc_build_and_send_xid_pkt()
|
H A D | llc_s_ev.c | 46 ev->prim == LLC_DATAUNIT_PRIM && in llc_sap_ev_unitdata_req() 56 ev->prim == LLC_XID_PRIM && in llc_sap_ev_xid_req() 85 ev->prim == LLC_TEST_PRIM && in llc_sap_ev_test_req()
|
H A D | llc_if.c | 60 ev->prim = LLC_DATA_PRIM; in llc_build_and_send_pkt() 110 ev->prim = LLC_CONN_PRIM; in llc_establish_connection() 151 ev->prim = LLC_DISC_PRIM; in llc_send_disc()
|
H A D | llc_c_ev.c | 103 return ev->prim == LLC_CONN_PRIM && in llc_conn_ev_conn_req() 111 return ev->prim == LLC_DATA_PRIM && in llc_conn_ev_data_req() 119 return ev->prim == LLC_DISC_PRIM && in llc_conn_ev_disc_req() 127 return ev->prim == LLC_RESET_PRIM && in llc_conn_ev_rst_req()
|
/openbmc/linux/net/ipv4/ |
H A D | fib_frontend.c | 1113 struct in_ifaddr *prim = ifa; in fib_add_ifaddr() local 1120 if (!prim) { in fib_add_ifaddr() 1134 prim, 0); in fib_add_ifaddr() 1149 32, prim, 0); in fib_add_ifaddr() 1202 if (!prim) { in fib_del_ifaddr() 1210 if (iprim && iprim != prim) { in fib_del_ifaddr() 1248 prim1 = prim; in fib_del_ifaddr() 1273 if (prim != prim1) in fib_del_ifaddr() 1305 prim, 0); in fib_del_ifaddr() 1309 prim, 0); in fib_del_ifaddr() [all …]
|
/openbmc/linux/drivers/isdn/mISDN/ |
H A D | dsp_core.c | 673 switch (hh->prim) { in dsp_function() 706 hh->prim = DL_DATA_IND; in dsp_function() 765 hh->prim = DL_DATA_IND; in dsp_function() 852 hh->prim = DL_ESTABLISH_CNF; in dsp_function() 868 hh->prim = DL_RELEASE_CNF; in dsp_function() 885 hh->prim = PH_DATA_REQ; in dsp_function() 916 hh->prim = PH_ACTIVATE_REQ; in dsp_function() 936 hh->prim = PH_DEACTIVATE_REQ; in dsp_function() 943 __func__, hh->prim, dsp->name); in dsp_function() 1025 if (hh->prim == DL_DATA_REQ) { in dsp_send_bh()
|
H A D | stack.c | 27 __func__, hh->prim, hh->id, skb); in _queue_message() 108 hh->prim, ch->addr, ret); in send_layer2() 132 __func__, hh->prim, ret); in send_layer2() 146 lm = hh->prim & MISDN_LAYERMASK; in send_msg_to_layer() 149 __func__, hh->prim, hh->id, skb); in send_msg_to_layer() 168 __func__, dev_name(&st->dev->dev), hh->prim, in send_msg_to_layer() 178 __func__, dev_name(&st->dev->dev), hh->prim, in send_msg_to_layer() 183 __func__, dev_name(&st->dev->dev), hh->prim); in send_msg_to_layer()
|
H A D | layer2.c | 144 mISDN_HEAD_PRIM(skb) = prim; in l2up() 167 hh->prim = prim; in l2up_create() 195 if (hh->prim == PH_DATA_REQ) { in l2down_raw() 210 hh->prim = prim; in l2down() 226 hh->prim = prim; in l2down_create() 303 l2mgr(struct layer2 *l2, u_int prim, void *arg) { in l2mgr() argument 315 l2_tei(l2, prim, (u_long)arg); in l2mgr() 1952 if (hh->prim == DL_INTERN_MSG) { in l2_send() 1958 mISDNDevName4ch(&l2->ch), hh->prim, hh->id); in l2_send() 1960 switch (hh->prim) { in l2_send() [all …]
|
H A D | hwchannel.c | 221 hh->prim = PH_DATA_IND; in recv_Dchannel() 240 hh->prim = PH_DATA_E_IND; in recv_Echannel() 267 hh->prim = PH_DATA_IND; in recv_Bchannel() 393 hh->prim = pr; in queue_ch_frame()
|
H A D | tei.c | 293 teiup_create(struct manager *mgr, u_int prim, int len, void *arg) in teiup_create() argument 303 hh->prim = prim; in teiup_create() 1105 __func__, hh->prim, hh->id); in mgr_send() 1106 switch (hh->prim) { in mgr_send() 1205 __func__, hh->prim, hh->id); in check_data() 1208 if (hh->prim != PH_DATA_IND) in check_data() 1310 hhc->prim = DL_INTERN_MSG; in mgr_bcast() 1319 hh->prim, l2->ch.addr, ret); in mgr_bcast()
|
/openbmc/linux/include/net/ |
H A D | llc_sap.h | 24 unsigned char prim);
|
H A D | llc_s_ev.h | 39 u8 prim; member
|
/openbmc/linux/drivers/scsi/libsas/ |
H A D | sas_port.c | 286 u32 prim; in sas_porte_broadcast_rcvd() local 289 prim = phy->sas_prim; in sas_porte_broadcast_rcvd() 292 pr_debug("broadcast received: %d\n", prim); in sas_porte_broadcast_rcvd()
|
/openbmc/linux/tools/testing/selftests/rcutorture/bin/ |
H A D | torture.sh | 519 for prim in $primlist 523 …torture_bootargs="rcuscale.scale_type="$prim" rcuscale.nwriters=$HALF_ALLOTED_CPUS rcuscale.holdof… 524 …torture_set "rcuscale-$prim" tools/testing/selftests/rcutorture/bin/kvm.sh --torture rcuscale --al… 552 …uscale-$prim$torture_suffix" tools/testing/selftests/rcutorture/bin/kvm-again.sh "`cat "$i"`" --du…
|
/openbmc/linux/include/uapi/drm/ |
H A D | radeon_drm.h | 421 unsigned int prim:8; member 626 int prim; member 633 int prim; member 650 drm_radeon_prim_t __user *prim; member
|
/openbmc/linux/net/tipc/ |
H A D | bcast.c | 113 int i, mtu, prim; in tipc_bcbase_select_primary() local 142 prim = bb->primary_bearer; in tipc_bcbase_select_primary() 143 if (prim != INVALID_BEARER_ID) in tipc_bcbase_select_primary() 144 bb->bcast_support = tipc_bearer_bcast_support(net, prim); in tipc_bcbase_select_primary()
|
/openbmc/linux/kernel/ |
H A D | scftorture.c | 204 static void scf_sel_add(unsigned long weight, int prim, bool wait) in scf_sel_add() argument 214 WARN_ON_ONCE(prim >= ARRAY_SIZE(scf_prim_name))) in scf_sel_add() 218 scfsp->scfs_prim = prim; in scf_sel_add()
|
/openbmc/linux/net/sctp/ |
H A D | socket.c | 3039 trans = sctp_addr_id2transport(sk, &prim->ssp_addr, prim->ssp_assoc_id); in sctp_setsockopt_primary_addr() 3312 struct sctp_setpeerprim *prim, in sctp_setsockopt_peer_primary_addr() argument 5166 struct sctp_transport *prim; in sctp_get_sctp_info() local 5232 prim = asoc->peer.primary_path; in sctp_get_sctp_info() 5233 memcpy(&info->sctpi_p_address, &prim->ipaddr, sizeof(prim->ipaddr)); in sctp_get_sctp_info() 5234 info->sctpi_p_state = prim->state; in sctp_get_sctp_info() 5235 info->sctpi_p_cwnd = prim->cwnd; in sctp_get_sctp_info() 5236 info->sctpi_p_srtt = prim->srtt; in sctp_get_sctp_info() 6346 struct sctp_prim prim; in sctp_getsockopt_primary_addr() local 6369 (union sctp_addr *)&prim.ssp_addr); in sctp_getsockopt_primary_addr() [all …]
|
/openbmc/linux/drivers/isdn/hardware/mISDN/ |
H A D | w6692.c | 940 switch (hh->prim) { in w6692_l2l1B() 972 card->name, __func__, hh->prim, hh->id); in w6692_l2l1B() 1067 switch (hh->prim) { in w6692_l2l1D() 1081 ret = l1_event(dch->l1, hh->prim); in w6692_l2l1D() 1085 ret = l1_event(dch->l1, hh->prim); in w6692_l2l1D()
|