/linux/drivers/gpu/drm/savage/ |
A D | savage_state.c | 290 unsigned int prim = cmd_header->prim.prim; in savage_dispatch_dma_prim() local 305 switch (prim) { in savage_dispatch_dma_prim() 379 prim <<= 25; in savage_dispatch_dma_prim() 432 unsigned int prim = cmd_header->prim.prim; in savage_dispatch_vb_prim() local 443 switch (prim) { in savage_dispatch_vb_prim() 499 prim <<= 25; in savage_dispatch_vb_prim() 551 unsigned int prim = cmd_header->idx.prim; in savage_dispatch_dma_idx() local 565 switch (prim) { in savage_dispatch_dma_idx() 631 prim <<= 25; in savage_dispatch_dma_idx() 694 unsigned int prim = cmd_header->idx.prim; in savage_dispatch_vb_idx() local [all …]
|
/linux/lib/reed_solomon/ |
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 …]
|
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);
|
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()
|
/linux/drivers/gpu/drm/mga/ |
A D | mga_drv.h | 91 drm_mga_primary_buffer_t prim; member 251 } else if (dev_priv->prim.space < \ 252 dev_priv->prim.high_mark) { \ 289 prim = dev_priv->prim.start; \ 290 write = dev_priv->prim.tail; \ 299 prim = dev_priv->prim.start; \ 300 write = dev_priv->prim.tail; \ 305 dev_priv->prim.tail = write; \ 308 write, dev_priv->prim.space); \ 316 dev_priv->prim.tail, \ [all …]
|
A D | mga_dma.c | 78 drm_mga_primary_buffer_t *primary = &dev_priv->prim; in mga_do_dma_reset() 105 drm_mga_primary_buffer_t *primary = &dev_priv->prim; in mga_do_dma_flush() 916 dev_priv->prim.size = dev_priv->primary->size; in mga_do_init_dma() 918 dev_priv->prim.tail = 0; in mga_do_init_dma() 919 dev_priv->prim.space = dev_priv->prim.size; in mga_do_init_dma() 920 dev_priv->prim.wrapped = 0; in mga_do_init_dma() 922 dev_priv->prim.last_flush = 0; in mga_do_init_dma() 923 dev_priv->prim.last_wrap = 0; in mga_do_init_dma() 925 dev_priv->prim.high_mark = 256 * DMA_BLOCK_SIZE; in mga_do_init_dma() 928 dev_priv->prim.status[1] = 0; in mga_do_init_dma() [all …]
|
/linux/include/linux/ |
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);
|
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()
|
/linux/drivers/powercap/ |
A D | intel_rapl_common.c | 362 int prim; in get_current_power_limit() local 376 prim = POWER_LIMIT1; in get_current_power_limit() 379 prim = POWER_LIMIT2; in get_current_power_limit() 382 prim = POWER_LIMIT4; in get_current_power_limit() 491 int prim; in get_max_power() local 498 prim = THERMAL_SPEC_POWER; in get_max_power() 501 prim = MAX_POWER; in get_max_power() 504 prim = MAX_POWER; in get_max_power() 1080 int dmn, prim; in rapl_update_domain_data() local 1087 for (prim = 0; prim < NR_RAW_PRIMITIVES; prim++) { in rapl_update_domain_data() [all …]
|
/linux/net/llc/ |
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()
|
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()
|
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()
|
/linux/net/ipv4/ |
A D | fib_frontend.c | 1096 struct in_ifaddr *prim = ifa; in fib_add_ifaddr() local 1103 if (!prim) { in fib_add_ifaddr() 1117 prim, 0); in fib_add_ifaddr() 1130 32, prim, 0); in fib_add_ifaddr() 1182 if (!prim) { in fib_del_ifaddr() 1190 if (iprim && iprim != prim) { in fib_del_ifaddr() 1228 prim1 = prim; in fib_del_ifaddr() 1253 if (prim != prim1) in fib_del_ifaddr() 1285 prim, 0); in fib_del_ifaddr() 1289 prim, 0); in fib_del_ifaddr() [all …]
|
/linux/include/uapi/drm/ |
A D | savage_drm.h | 192 unsigned char prim; /* primitive type */ member 196 } prim; /* SAVAGE_CMD_DMA_PRIM, SAVAGE_CMD_VB_PRIM */ member 199 unsigned char prim; member
|
A D | r128_drm.h | 267 int prim; member 274 int prim; member
|
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
|
/linux/drivers/gpu/drm/r128/ |
A D | r128_state.c | 579 int prim = buf_priv->prim; in r128_cce_dispatch_vertex() local 608 OUT_RING(prim | R128_CCE_VC_CNTL_PRIM_WALK_LIST | in r128_cce_dispatch_vertex() 704 int prim = buf_priv->prim; in r128_cce_dispatch_indices() local 1334 if (vertex->prim < 0 || in r128_cce_vertex() 1335 vertex->prim > R128_CCE_VC_CNTL_PRIM_TYPE_TRI_TYPE2) { in r128_cce_vertex() 1336 DRM_ERROR("buffer prim %d\n", vertex->prim); in r128_cce_vertex() 1357 buf_priv->prim = vertex->prim; in r128_cce_vertex() 1387 if (elts->prim < 0 || in r128_cce_indices() 1388 elts->prim > R128_CCE_VC_CNTL_PRIM_TYPE_TRI_TYPE2) { in r128_cce_indices() 1389 DRM_ERROR("buffer prim %d\n", elts->prim); in r128_cce_indices() [all …]
|
/linux/drivers/isdn/mISDN/ |
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()
|
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 …]
|
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()
|
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()
|
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()
|
/linux/drivers/scsi/libsas/ |
A D | sas_port.c | 277 u32 prim; in sas_porte_broadcast_rcvd() local 280 prim = phy->sas_prim; in sas_porte_broadcast_rcvd() 283 pr_debug("broadcast received: %d\n", prim); in sas_porte_broadcast_rcvd()
|
/linux/include/net/ |
A D | llc_sap.h | 24 unsigned char prim);
|
/linux/tools/testing/selftests/rcutorture/bin/ |
A D | torture.sh | 375 for prim in $primlist 377 …torture_bootargs="rcuscale.scale_type="$prim" rcuscale.nwriters=$HALF_ALLOTED_CPUS rcuscale.holdof… 378 …torture_set "rcuscale-$prim" tools/testing/selftests/rcutorture/bin/kvm.sh --torture rcuscale --al…
|