Home
last modified time | relevance | path

Searched refs:prim (Results 1 – 25 of 38) sorted by relevance

12

/openbmc/linux/lib/reed_solomon/
H A Dreed_solomon.c71 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 Ddecode_rs.c19 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 Dtest_rslib.c40 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/include/linux/
H A Drslib.h42 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 DmISDNif.h256 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/drivers/powercap/
H A Dintel_rapl_common.c168 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/net/llc/
H A Dllc_sap.c70 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 Dllc_s_ev.c46 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 Dllc_if.c60 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 Dllc_c_ev.c103 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 Dfib_frontend.c1113 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 Ddsp_core.c673 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 Dstack.c27 __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 Dlayer2.c144 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 Dhwchannel.c221 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 Dtei.c293 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()
H A Ddsp_cmx.c1351 hh->prim = PH_DATA_REQ;
1570 hh->prim = DL_DATA_REQ;
1585 thh->prim = DL_DATA_REQ;
1926 hh->prim = PH_DATA_REQ;
1942 hh->prim = PH_DATA_REQ;
/openbmc/linux/include/net/
H A Dllc_sap.h24 unsigned char prim);
H A Dllc_s_ev.h39 u8 prim; member
/openbmc/linux/drivers/scsi/libsas/
H A Dsas_port.c286 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 Dtorture.sh519 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 Dradeon_drm.h421 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 Dbcast.c113 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 Dscftorture.c204 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/drivers/isdn/hardware/mISDN/
H A Dw6692.c940 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()

12