/linux-4.4.14/drivers/net/wireless/orinoco/ |
H A D | hermes_dld.c | 75 struct pdr { struct 110 pdr_id(const struct pdr *pdr) pdr_id() argument 112 return le32_to_cpu(pdr->id); pdr_id() 116 pdr_addr(const struct pdr *pdr) pdr_addr() argument 118 return le32_to_cpu(pdr->addr); pdr_addr() 122 pdr_len(const struct pdr *pdr) pdr_len() argument 124 return le32_to_cpu(pdr->len); pdr_len() 148 static const struct pdr * hermes_find_pdr() 149 hermes_find_pdr(const struct pdr *first_pdr, u32 record_id, const void *end) hermes_find_pdr() 151 const struct pdr *pdr = first_pdr; hermes_find_pdr() local 153 end -= sizeof(struct pdr); hermes_find_pdr() 155 while (((void *) pdr <= end) && hermes_find_pdr() 156 (pdr_id(pdr) != PDI_END)) { hermes_find_pdr() 162 if (pdr_len(pdr) < 2) hermes_find_pdr() 166 if (pdr_id(pdr) == record_id) hermes_find_pdr() 167 return pdr; hermes_find_pdr() 169 pdr = (struct pdr *) pdr->next; hermes_find_pdr() 196 hermes_plug_pdi(struct hermes *hw, const struct pdr *first_pdr, hermes_plug_pdi() 199 const struct pdr *pdr; hermes_plug_pdi() local 202 pdr = hermes_find_pdr(first_pdr, pdi_id(pdi), pdr_end); hermes_plug_pdi() 205 if (!pdr) hermes_plug_pdi() 209 if (pdi_len(pdi) != pdr_len(pdr)) hermes_plug_pdi() 213 hw->ops->program(hw, pdi->data, pdr_addr(pdr), pdi_len(pdi)); hermes_plug_pdi() 231 const struct pdr *pdr; hermes_apply_pda() local 233 pdr = (const struct pdr *) first_pdr; hermes_apply_pda() 240 ret = hermes_plug_pdi(hw, pdr, pdi, pdr_end); hermes_apply_pda() 396 const struct pdr *pdr = (const struct pdr *) first_pdr; hermes_apply_pda_with_defaults() local 403 pdr_end -= sizeof(struct pdr); hermes_apply_pda_with_defaults() 405 while (((void *) pdr <= pdr_end) && hermes_apply_pda_with_defaults() 406 (pdr_id(pdr) != PDI_END)) { hermes_apply_pda_with_defaults() 413 if (pdr_len(pdr) < 2) hermes_apply_pda_with_defaults() 415 record_id = pdr_id(pdr); hermes_apply_pda_with_defaults() 466 if ((pdi_len(pdi) == pdr_len(pdr)) && hermes_apply_pda_with_defaults() 469 hw->ops->program(hw, pdi->data, pdr_addr(pdr), hermes_apply_pda_with_defaults() 474 pdr++; hermes_apply_pda_with_defaults()
|
/linux-4.4.14/net/packet/ |
H A D | diag.c | 74 struct packet_diag_ring pdr; pdiag_put_ring() local 80 pdr.pdr_block_size = ring->pg_vec_pages << PAGE_SHIFT; pdiag_put_ring() 81 pdr.pdr_block_nr = ring->pg_vec_len; pdiag_put_ring() 82 pdr.pdr_frame_size = ring->frame_size; pdiag_put_ring() 83 pdr.pdr_frame_nr = ring->frame_max + 1; pdiag_put_ring() 86 pdr.pdr_retire_tmo = ring->prb_bdqc.retire_blk_tov; pdiag_put_ring() 87 pdr.pdr_sizeof_priv = ring->prb_bdqc.blk_sizeof_priv; pdiag_put_ring() 88 pdr.pdr_features = ring->prb_bdqc.feature_req_word; pdiag_put_ring() 90 pdr.pdr_retire_tmo = 0; pdiag_put_ring() 91 pdr.pdr_sizeof_priv = 0; pdiag_put_ring() 92 pdr.pdr_features = 0; pdiag_put_ring() 95 return nla_put(nlskb, nl_type, sizeof(pdr), &pdr); pdiag_put_ring()
|
/linux-4.4.14/drivers/crypto/amcc/ |
H A D | crypto4xx_core.c | 60 /* setup pe dma, include reset sg, pdr and pe, then release reset */ crypto4xx_hw_init() 71 /* un reset pe,sg and pdr */ crypto4xx_hw_init() 112 /* un reset pe,sg and pdr */ crypto4xx_hw_init() 195 dev->pdr = dma_alloc_coherent(dev->core_dev->device, crypto4xx_build_pdr() 198 if (!dev->pdr) crypto4xx_build_pdr() 206 dev->pdr, crypto4xx_build_pdr() 210 memset(dev->pdr, 0, sizeof(struct ce_pd) * PPC4XX_NUM_PD); crypto4xx_build_pdr() 243 if (dev->pdr != NULL) crypto4xx_destroy_pdr() 246 dev->pdr, dev->pdr_pa); crypto4xx_destroy_pdr() 297 return dev->pdr + sizeof(struct ce_pd) * idx; crypto4xx_get_pdp() 677 pd = dev->pdr + sizeof(struct ce_pd)*idx; crypto4xx_pd_done() 1073 pd = core_dev->dev->pdr + sizeof(struct ce_pd) * tail; crypto4xx_bh_tasklet_cb() 1215 /* need to setup pdr, rdr, gdr and sdr before this */ crypto4xx_probe()
|
H A D | crypto4xx_core.h | 76 void *pdr; /* base address of packet member in struct:crypto4xx_device
|
/linux-4.4.14/arch/mips/boot/ |
H A D | Makefile | 21 drop-sections := .reginfo .mdebug .comment .note .pdr .options .MIPS.options
|
/linux-4.4.14/arch/mips/kernel/ |
H A D | vmlinux.lds.S | 199 *(.pdr)
|
/linux-4.4.14/drivers/net/wireless/hostap/ |
H A D | hostap_download.c | 152 u16 len, pdr; prism2_pda_ok() local 161 pdr = le16_to_cpu(pda[pos + 1]); prism2_pda_ok() 165 if (pdr == 0x0000 && len == 2) { prism2_pda_ok()
|
/linux-4.4.14/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drxj.c | 3125 /* Write magic word to enable pdr reg write */ ctrl_set_cfg_mpeg_output() 3248 /* Write nomagic word to enable pdr reg write */ ctrl_set_cfg_mpeg_output() 3255 /* Write magic word to enable pdr reg write */ ctrl_set_cfg_mpeg_output() 3328 /* Write nomagic word to enable pdr reg write */ ctrl_set_cfg_mpeg_output() 3538 /* Write magic word to enable pdr reg write */ ctrl_set_uio_cfg() 3646 /* Write magic word to disable pdr reg write */ ctrl_set_uio_cfg() 3678 /* Write magic word to enable pdr reg write */ ctrl_uio_write() 3848 /* Write magic word to disable pdr reg write */ ctrl_uio_write() 3920 /* Write magic word to enable pdr reg write */ smart_ant_init() 3963 /* Write magic word to disable pdr reg write */ smart_ant_init() 10094 } /* Write magic word to enable pdr reg write */ ctrl_set_oob() 10109 } /* Write magic word to disable pdr reg write */ ctrl_set_oob()
|
/linux-4.4.14/drivers/staging/wlan-ng/ |
H A D | hfa384x.h | 1074 union pdr { union in struct:hfa384x_pdrec
|
H A D | hfa384x_usb.c | 2407 int currpdr = 0; /* word offset of the current pdr */ hfa384x_drvr_readpda() 2409 u16 pdrlen; /* pdr length in bytes, host order */ hfa384x_drvr_readpda() 2410 u16 pdrcode; /* pdr code, host order */ hfa384x_drvr_readpda() 2464 /* Move to the next pdr (if necessary) */ hfa384x_drvr_readpda()
|
/linux-4.4.14/drivers/media/dvb-frontends/ |
H A D | drxk_hard.c | 1261 /* Write nomagic word to enable pdr reg write */ mpegts_configure_pins() 5891 /* Write magic word to enable pdr reg write */ write_gpio() 5958 /* Write magic word to disable pdr reg write */ write_gpio()
|
/linux-4.4.14/scripts/mod/ |
H A D | modpost.c | 828 ".pdr", /* alpha, score, mips etc. */
|