/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/crystalhd/ |
H A D | crystalhd_lnx.c | 30 struct crystalhd_adp *adp = (struct crystalhd_adp *) arg; local 32 if (adp) 33 rc = crystalhd_cmd_interrupt(&adp->cmds); 38 static int chd_dec_enable_int(struct crystalhd_adp *adp) argument 42 if (!adp || !adp->pdev) { 47 if (adp->pdev->msi_enabled) 48 adp->msi = 1; 50 adp->msi = pci_enable_msi(adp 62 chd_dec_disable_int(struct crystalhd_adp *adp) argument 77 chd_dec_alloc_iodata(struct crystalhd_adp *adp, bool isr) argument 97 chd_dec_free_iodata(struct crystalhd_adp *adp, struct crystalhd_ioctl_data *iodata, bool isr) argument 133 chd_dec_fetch_cdata(struct crystalhd_adp *adp, struct crystalhd_ioctl_data *io, uint32_t m_sz, unsigned long ua) argument 164 chd_dec_release_cdata(struct crystalhd_adp *adp, struct crystalhd_ioctl_data *io, unsigned long ua) argument 194 chd_dec_proc_user_data(struct crystalhd_adp *adp, struct crystalhd_ioctl_data *io, unsigned long ua, int set) argument 229 chd_dec_api_cmd(struct crystalhd_adp *adp, unsigned long ua, uint32_t uid, uint32_t cmd, crystalhd_cmd_proc func) argument 265 struct crystalhd_adp *adp = chd_get_adp(); local 296 struct crystalhd_adp *adp = chd_get_adp(); local 327 struct crystalhd_adp *adp = chd_get_adp(); local 356 chd_dec_init_chdev(struct crystalhd_adp *adp) argument 417 chd_dec_release_chdev(struct crystalhd_adp *adp) argument 621 struct crystalhd_adp *adp; local 655 struct crystalhd_adp *adp; local 711 chd_set_log_level(struct crystalhd_adp *adp, char *arg) argument [all...] |
H A D | crystalhd_misc.c | 34 static inline uint32_t crystalhd_dram_rd(struct crystalhd_adp *adp, uint32_t mem_off) argument 36 crystalhd_reg_wr(adp, DCI_DRAM_BASE_ADDR, (mem_off >> 19)); 37 return bc_dec_reg_rd(adp, (0x00380000 | (mem_off & 0x0007FFFF))); 40 static inline void crystalhd_dram_wr(struct crystalhd_adp *adp, uint32_t mem_off, uint32_t val) argument 42 crystalhd_reg_wr(adp, DCI_DRAM_BASE_ADDR, (mem_off >> 19)); 43 bc_dec_reg_wr(adp, (0x00380000 | (mem_off & 0x0007FFFF)), val); 46 static inline enum BC_STATUS bc_chk_dram_range(struct crystalhd_adp *adp, uint32_t start_off, uint32_t cnt) argument 51 static struct crystalhd_dio_req *crystalhd_alloc_dio(struct crystalhd_adp *adp) argument 56 if (!adp) { 61 spin_lock_irqsave(&adp 70 crystalhd_free_dio(struct crystalhd_adp *adp, struct crystalhd_dio_req *dio) argument 86 crystalhd_alloc_elem(struct crystalhd_adp *adp) argument 103 crystalhd_free_elem(struct crystalhd_adp *adp, struct crystalhd_elem *elem) argument 143 bc_dec_reg_rd(struct crystalhd_adp *adp, uint32_t reg_off) argument 166 bc_dec_reg_wr(struct crystalhd_adp *adp, uint32_t reg_off, uint32_t val) argument 189 crystalhd_reg_rd(struct crystalhd_adp *adp, uint32_t reg_off) argument 212 crystalhd_reg_wr(struct crystalhd_adp *adp, uint32_t reg_off, uint32_t val) argument 233 crystalhd_mem_rd(struct crystalhd_adp *adp, uint32_t start_off, uint32_t dw_cnt, uint32_t *rd_buff) argument 261 crystalhd_mem_wr(struct crystalhd_adp *adp, uint32_t start_off, uint32_t dw_cnt, uint32_t *wr_buff) argument 289 crystalhd_pci_cfg_rd(struct crystalhd_adp *adp, uint32_t off, uint32_t len, uint32_t *val) argument 334 crystalhd_pci_cfg_wr(struct crystalhd_adp *adp, uint32_t off, uint32_t len, uint32_t val) argument 380 bc_kern_dma_alloc(struct crystalhd_adp *adp, uint32_t sz, dma_addr_t *phy_addr) argument 408 bc_kern_dma_free(struct crystalhd_adp *adp, uint32_t sz, void *ka, dma_addr_t phy_addr) argument 432 crystalhd_create_dioq(struct crystalhd_adp *adp, struct crystalhd_dioq **dioq_hnd, crystalhd_data_free_cb cb, void *cbctx) argument 473 crystalhd_delete_dioq(struct crystalhd_adp *adp, struct crystalhd_dioq *dioq) argument 676 crystalhd_map_dio(struct crystalhd_adp *adp, void *ubuff, uint32_t ubuff_sz, uint32_t uv_offset, bool en_422mode, bool dir_tx, struct crystalhd_dio_req **dio_hnd) argument 822 crystalhd_unmap_dio(struct crystalhd_adp *adp, struct crystalhd_dio_req *dio) argument 862 crystalhd_create_dio_pool(struct crystalhd_adp *adp, uint32_t max_pages) argument 923 crystalhd_destroy_dio_pool(struct crystalhd_adp *adp) argument 963 crystalhd_create_elem_pool(struct crystalhd_adp *adp, uint32_t pool_size) argument 993 crystalhd_delete_elem_pool(struct crystalhd_adp *adp) argument [all...] |
H A D | crystalhd_hw.c | 32 static void crystalhd_enable_uarts(struct crystalhd_adp *adp) argument 34 bc_dec_reg_wr(adp, UartSelectA, BSVS_UART_STREAM); 35 bc_dec_reg_wr(adp, UartSelectB, BSVS_UART_DEC_OUTER); 39 static void crystalhd_start_dram(struct crystalhd_adp *adp) argument 41 bc_dec_reg_wr(adp, SDRAM_PARAM, ((40 / 5 - 1) << 0) | 50 bc_dec_reg_wr(adp, SDRAM_PRECHARGE, 0); 51 bc_dec_reg_wr(adp, SDRAM_EXT_MODE, 2); 52 bc_dec_reg_wr(adp, SDRAM_MODE, 0x132); 53 bc_dec_reg_wr(adp, SDRAM_PRECHARGE, 0); 54 bc_dec_reg_wr(adp, SDRAM_REFRES 62 crystalhd_bring_out_of_rst(struct crystalhd_adp *adp) argument 122 crystalhd_put_in_reset(struct crystalhd_adp *adp) argument 178 crystalhd_disable_interrupts(struct crystalhd_adp *adp) argument 194 crystalhd_enable_interrupts(struct crystalhd_adp *adp) argument 210 crystalhd_clear_errors(struct crystalhd_adp *adp) argument 227 crystalhd_clear_interrupts(struct crystalhd_adp *adp) argument 239 crystalhd_soft_rst(struct crystalhd_adp *adp) argument 256 crystalhd_load_firmware_config(struct crystalhd_adp *adp) argument 277 crystalhd_start_device(struct crystalhd_adp *adp) argument 323 crystalhd_stop_device(struct crystalhd_adp *adp) argument 483 crystalhd_code_in_full(struct crystalhd_adp *adp, uint32_t needed_sz, bool b_188_byte_pkts, uint8_t flags) argument 1617 crystalhd_download_fw(struct crystalhd_adp *adp, void *buffer, uint32_t sz) argument 1791 crystalhd_hw_interrupt(struct crystalhd_adp *adp, struct crystalhd_hw *hw) argument 1849 crystalhd_hw_open(struct crystalhd_hw *hw, struct crystalhd_adp *adp) argument [all...] |
H A D | crystalhd_cmds.h | 59 struct crystalhd_adp *adp; member in struct:crystalhd_cmd 83 enum BC_STATUS crystalhd_setup_cmd_context(struct crystalhd_cmd *ctx, struct crystalhd_adp *adp);
|
H A D | crystalhd_cmds.c | 106 rc = crystalhd_create_dio_pool(ctx->adp, BC_LINK_MAX_SGLS); 137 crystalhd_pci_cfg_rd(ctx->adp, 0, 2, 139 crystalhd_pci_cfg_rd(ctx->adp, 2, 2, 141 crystalhd_pci_cfg_rd(ctx->adp, 8, 1, 152 idata->udata.u.regAcc.Value = bc_dec_reg_rd(ctx->adp, 163 bc_dec_reg_wr(ctx->adp, idata->udata.u.regAcc.Offset, 175 idata->udata.u.regAcc.Value = crystalhd_reg_rd(ctx->adp, 186 crystalhd_reg_wr(ctx->adp, idata->udata.u.regAcc.Offset, 204 sts = crystalhd_mem_rd(ctx->adp, idata->udata.u.devMem.StartOff, 224 sts = crystalhd_mem_wr(ctx->adp, idat 935 crystalhd_setup_cmd_context(struct crystalhd_cmd *ctx, struct crystalhd_adp *adp) argument [all...] |
H A D | crystalhd_lnx.h | 93 void chd_set_log_level(struct crystalhd_adp *adp, char *arg);
|
H A D | crystalhd_hw.h | 293 void *adp; member in struct:crystalhd_hw 359 enum BC_STATUS crystalhd_download_fw(struct crystalhd_adp *adp, 362 bool crystalhd_hw_interrupt(struct crystalhd_adp *adp, struct crystalhd_hw *hw);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/libatalk/adouble/ |
H A D | ad_attr.c | 113 int ad_setid (struct adouble *adp, const dev_t dev, const ino_t ino , const u_int32_t id, const cnid_t did, const void *stamp) argument 115 if ((adp->ad_flags == AD_VERSION2) && (adp->ad_options & ADVOL_CACHE)) { 118 ad_setentrylen( adp, ADEID_PRIVID, sizeof(id)); 119 memcpy(ad_entry( adp, ADEID_PRIVID ), &id, sizeof(id)); 121 ad_setentrylen( adp, ADEID_PRIVDEV, sizeof(dev_t)); 122 if ((adp->ad_options & ADVOL_NODEV)) { 123 memset(ad_entry( adp, ADEID_PRIVDEV ), 0, sizeof(dev_t)); 125 memcpy(ad_entry( adp, ADEID_PRIVDEV ), &dev, sizeof(dev_t)); 128 ad_setentrylen( adp, ADEID_PRIVIN 142 ad_getid(struct adouble *adp, const dev_t st_dev, const ino_t st_ino , const cnid_t did, const void *stamp) argument 176 ad_forcegetid(struct adouble *adp) argument [all...] |
H A D | ad_open.c | 1546 * @param adp pointer to struct adouble 1551 int ad_metadata(const char *name, int flags, struct adouble *adp) argument 1560 if ( (adp->ad_options & ADVOL_CACHE) 1561 && ! (adp->ad_options & ADVOL_NOADOUBLE) 1565 if ((ret = ad_open(name, ADFLAGS_HF | dir, create, 0666, adp)) < 0 && errno == EACCES) { 1573 ret = ad_open(name, ADFLAGS_HF|ADFLAGS_RDONLY| dir, O_RDONLY, 0, adp); 1589 adp->ad_open_forks |= ad_openforks(adp, adp->ad_open_forks); 1597 int ad_metadataat(int dirfd, const char *name, int flags, struct adouble *adp) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/scsi/megaraid/ |
H A D | mega_common.h | 214 #define MRAID_IS_LOGICAL(adp, scp) \ 215 (SCP2CHANNEL(scp) == (adp)->max_channel) ? 1 : 0 217 #define MRAID_IS_LOGICAL_SDEV(adp, sdev) \ 218 (sdev->channel == (adp)->max_channel) ? 1 : 0 222 * @adp : adapter's soft state 231 #define MRAID_GET_DEVICE_MAP(adp, scp, p_chan, target, islogical) \ 235 islogical = MRAID_IS_LOGICAL(adp, scp); \ 243 (adp)->device_ids[(adp)->max_channel][SCP2TARGET(scp)]; \ 246 p_chan = ((adp) [all...] |
H A D | megaraid_mm.c | 118 mraid_mmadp_t *adp; local 164 if ((adp = mraid_mm_get_adapter(argp, &rval)) == NULL) { 172 if (!adp->quiescent) { 182 kioc = mraid_mm_alloc_kioc(adp); 187 if ((rval = mimd_to_kioc(argp, adp, kioc))) { 188 mraid_mm_dealloc_kioc(adp, kioc); 199 if ((rval = lld_ioctl(adp, kioc))) { 202 mraid_mm_dealloc_kioc(adp, kioc); 215 mraid_mm_dealloc_kioc(adp, kioc); 348 * @adp 357 mimd_to_kioc(mimd_t __user *umimd, mraid_mmadp_t *adp, uioc_t *kioc) argument 509 mraid_mm_attach_buf(mraid_mmadp_t *adp, uioc_t *kioc, int xferlen) argument 589 mraid_mm_alloc_kioc(mraid_mmadp_t *adp) argument 635 mraid_mm_dealloc_kioc(mraid_mmadp_t *adp, uioc_t *kioc) argument 679 lld_ioctl(mraid_mmadp_t *adp, uioc_t *kioc) argument 1064 mraid_mm_setup_dma_pools(mraid_mmadp_t *adp) argument 1148 mraid_mm_free_adp_resources(mraid_mmadp_t *adp) argument 1178 mraid_mm_teardown_dma_pools(mraid_mmadp_t *adp) argument [all...] |
H A D | megaraid_mbox.h | 223 #define ADAP2RAIDDEV(adp) ((mraid_device_t *)((adp)->raid_device))
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/etc/afpd/ |
H A D | file.c | 96 void *get_finderinfo(const struct vol *vol, const char *upath, struct adouble *adp, void *data, int islink) argument 102 if (adp) 103 ad_finder = ad_entry(adp, ADEID_FINDERI); 195 * FIXME: PDINFO is UTF8 and doesn't need adp 217 * @param adp (rw) adouble struct of object upath, might be NULL 224 struct adouble *adp, 238 adcnid = ad_getid(adp, st->st_dev, st->st_ino, 0, vol->v_stamp); /* (1) */ 288 else if (adp && (adcnid != dbcnid)) { /* 4 */ 289 /* Update the ressource fork. For a folder adp is always null */ 292 if (ad_setid(adp, s 223 get_id(struct vol *vol, struct adouble *adp, const struct stat *st, const cnid_t did, const char *upath, const int len) argument 304 getmetadata(struct vol *vol, u_int16_t bitmap, struct path *path, struct dir *dir, char *buf, size_t *buflen, struct adouble *adp) argument 624 struct adouble ad, *adp; local 667 struct adouble ad, *adp; local 861 struct adouble ad, *adp; local 1135 renamefile(const struct vol *vol, int sdir_fd, char *src, char *dst, char *newname, struct adouble *adp) argument 1286 struct adouble ad, *adp; local 1511 copyfile(const struct vol *s_vol, const struct vol *d_vol, int sfd, char *src, char *dst, char *newname, struct adouble *adp) argument 1639 check_attrib(struct adouble *adp) argument 1661 struct adouble *adp = NULL; local 1836 struct adouble ad, *adp; local 2096 find_adouble(const struct vol *vol, struct path *path, struct ofork **of, struct adouble *adp) argument [all...] |
H A D | catsearch.c | 184 static struct adouble *adl_lkup(struct vol *vol, struct path *path, struct adouble *adp) argument 191 if (adp) 192 return adp; 197 adp = of->of_ad; 200 adp = &ad; 203 if ( ad_metadata( path->u_name, ((isdir) ? ADFLAGS_DIR : 0), adp) < 0 ) { 204 adp = NULL; /* FIXME without resource fork adl_lkup will be call again */ 207 return adp; 225 unpack_finderinfo(struct vol *vol, struct path *path, struct adouble **adp, struct finderinfo *finfo, int islnk) argument 230 *adp 248 struct adouble *adp = NULL; local [all...] |
H A D | desktop.c | 680 struct adouble ad, *adp; local 693 adp = &ad; 695 adp = of->of_ad; 697 if (ad_open_metadata( upath , ( (isadir) ? ADFLAGS_DIR : 0), O_CREAT, adp) < 0 ) { 701 if (ad_getentryoff(adp, ADEID_COMMENT)) { 702 if ( (ad_get_MD_flags( adp ) & O_CREAT) ) { 708 ad_setname(adp, name); 710 ad_setentrylen( adp, ADEID_COMMENT, clen ); 711 memcpy( ad_entry( adp, ADEID_COMMENT ), ibuf, clen ); 712 ad_flush( adp ); 756 struct adouble ad, *adp; local 830 struct adouble ad, *adp; local [all...] |
H A D | extattrs.c | 83 struct adouble ad, *adp = NULL; local 142 adp = of_ad(vol, s_path, &ad); 154 if ( ad_metadata( uname, adflags, adp) < 0 ) { 157 adp = NULL; 169 if (adp) { 170 FinderInfo = ad_entry(adp, ADEID_FINDERI); 180 LOG(log_debug7, logtype_afpd, "afp_listextattr(%s): Ressourcefork size: %llu", uname, adp->ad_rlen); 182 if (adp->ad_rlen > 0) { 231 if (adp) 232 ad_close_metadata( adp); [all...] |
H A D | fork.c | 54 struct adouble *adp; local 69 adp = NULL; 71 adp = ofork->of_ad; 98 return getmetadata(vol, bitmap, &path, dir, buf, buflen, adp ); 162 static int setforkmode(struct adouble *adp, int eid, int ofrefnum, off_t what) argument 164 return ad_lock(adp, eid, ADLOCK_RD | ADLOCK_FILELOCK, what, 1, ofrefnum); 169 int getforkmode(struct adouble *adp, int eid, off_t what) argument 171 return ad_testlock(adp, eid, what); 176 static int fork_setmode(struct adouble *adp, int eid, int access, int ofrefnum) argument 185 return setforkmode(adp, ei [all...] |
H A D | filedir.c | 347 struct adouble *adp; local 358 adp = &ad; 384 adp = opened->of_ad; 410 if (!ad_metadata(oldunixname, adflags, adp)) { 413 ad_getattr(adp, &bshort); 414 ad_close_metadata( adp); 464 rc = renamefile(vol, sdir_fd, oldunixname, upath, newname, adp ); 486 if (!ad_metadata(upath, adflags, adp)) { 487 ad_setid(adp, st->st_dev, st->st_ino, id, curdir->d_did, vol->v_stamp); 488 ad_flush(adp); [all...] |
H A D | file.h | 123 struct dir *dir, char *buf, size_t *buflen, struct adouble *adp);
|
H A D | ofork.c | 456 struct adouble *adp; local 459 adp = of->of_ad; 462 adp = ad; 464 return adp;
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/openssl-0.9.8e/crypto/objects/ |
H A D | obj_dat.c | 275 ADDED_OBJ ad,*adp; local 294 adp=(ADDED_OBJ *)lh_retrieve(added,&ad); 295 if (adp != NULL) 296 return(adp->obj); 307 ADDED_OBJ ad,*adp; local 326 adp=(ADDED_OBJ *)lh_retrieve(added,&ad); 327 if (adp != NULL) 328 return(adp->obj->sn); 339 ADDED_OBJ ad,*adp; local 358 adp 372 ADDED_OBJ ad,*adp; local 610 ADDED_OBJ ad,*adp; local 629 ADDED_OBJ ad,*adp; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/crypto/objects/ |
H A D | obj_dat.c | 315 ADDED_OBJ ad, *adp; local 330 adp = lh_ADDED_OBJ_retrieve(added, &ad); 331 if (adp != NULL) 332 return (adp->obj); 342 ADDED_OBJ ad, *adp; local 357 adp = lh_ADDED_OBJ_retrieve(added, &ad); 358 if (adp != NULL) 359 return (adp->obj->sn); 369 ADDED_OBJ ad, *adp; local 384 adp 413 ADDED_OBJ ad, *adp; local 635 ADDED_OBJ ad, *adp; local 656 ADDED_OBJ ad, *adp; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/crypto/objects/ |
H A D | obj_dat.c | 315 ADDED_OBJ ad, *adp; local 330 adp = lh_ADDED_OBJ_retrieve(added, &ad); 331 if (adp != NULL) 332 return (adp->obj); 342 ADDED_OBJ ad, *adp; local 357 adp = lh_ADDED_OBJ_retrieve(added, &ad); 358 if (adp != NULL) 359 return (adp->obj->sn); 369 ADDED_OBJ ad, *adp; local 384 adp 413 ADDED_OBJ ad, *adp; local 635 ADDED_OBJ ad, *adp; local 656 ADDED_OBJ ad, *adp; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/include/atalk/ |
H A D | adouble.h | 439 extern int ad_testlock (struct adouble * /*adp*/, int /*eid*/, off_t /*off*/); 441 extern u_int16_t ad_openforks (struct adouble * /*adp*/, u_int16_t); 442 extern int ad_excl_lock (struct adouble * /*adp*/, const u_int32_t /*eid*/); 466 #define ad_open_metadata(name, flags, mode, adp)\ 467 ad_open(name, ADFLAGS_MD|(flags), O_RDWR |(mode), 0666, (adp)) 469 #define ad_close_metadata(adp) ad_close( (adp), ADFLAGS_MD) 548 extern u_int32_t ad_forcegetid (struct adouble *adp);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/tests/fate/ |
H A D | adpcm.mak | 20 fate-adpcm-dtk: CMD = framecrc -i $(TARGET_SAMPLES)/adp/shakespr_partial.adp -f s16le
|