Searched refs:dtype (Results 1 - 25 of 37) sorted by relevance

12

/drivers/mtd/ubi/
H A Dkapi.c429 * @dtype: expected data type
432 * logical eraseblock @lnum. The @dtype argument describes expected lifetime of
450 int offset, int len, int dtype)
469 if (dtype != UBI_LONGTERM && dtype != UBI_SHORTTERM &&
470 dtype != UBI_UNKNOWN)
479 return ubi_eba_write_leb(ubi, vol, lnum, buf, offset, len, dtype);
489 * @dtype: expected data type
500 int len, int dtype)
518 if (dtype !
449 ubi_leb_write(struct ubi_volume_desc *desc, int lnum, const void *buf, int offset, int len, int dtype) argument
499 ubi_leb_change(struct ubi_volume_desc *desc, int lnum, const void *buf, int len, int dtype) argument
642 ubi_leb_map(struct ubi_volume_desc *desc, int lnum, int dtype) argument
[all...]
H A Dubi.h528 const void *buf, int offset, int len, int dtype);
530 int lnum, const void *buf, int len, int dtype,
533 int lnum, const void *buf, int len, int dtype);
539 int ubi_wl_get_peb(struct ubi_device *ubi, int dtype);
H A Deba.c588 * @dtype: data type
596 const void *buf, int offset, int len, int dtype)
644 pnum = ubi_wl_get_peb(ubi, dtype);
710 * @dtype: data type
727 int lnum, const void *buf, int len, int dtype,
766 pnum = ubi_wl_get_peb(ubi, dtype);
830 * @dtype: data type
842 int lnum, const void *buf, int len, int dtype)
859 return ubi_eba_write_leb(ubi, vol, lnum, NULL, 0, 0, dtype);
884 pnum = ubi_wl_get_peb(ubi, dtype);
595 ubi_eba_write_leb(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, const void *buf, int offset, int len, int dtype) argument
726 ubi_eba_write_leb_st(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, const void *buf, int len, int dtype, int used_ebs) argument
841 ubi_eba_atomic_leb_change(struct ubi_device *ubi, struct ubi_volume *vol, int lnum, const void *buf, int len, int dtype) argument
[all...]
H A Dupd.c190 req->dtype);
196 vol->ch_dtype = req->dtype;
H A Dcdev.c480 if (req.dtype != UBI_LONGTERM && req.dtype != UBI_SHORTTERM &&
481 req.dtype != UBI_UNKNOWN)
535 err = ubi_leb_map(desc, req.lnum, req.dtype);
H A Dwl.c386 * @dtype: type of data which will be stored in this physical eraseblock
391 int ubi_wl_get_peb(struct ubi_device *ubi, int dtype) argument
396 ubi_assert(dtype == UBI_LONGTERM || dtype == UBI_SHORTTERM ||
397 dtype == UBI_UNKNOWN);
416 switch (dtype) {
/drivers/mtd/devices/
H A Ddocecc.c47 typedef unsigned short dtype; typedef
131 generate_gf(dtype Alpha_to[NN + 1], dtype Index_of[NN + 1])
185 eras_dec_rs(dtype Alpha_to[NN + 1], dtype Index_of[NN + 1],
445 dtype *Alpha_to, *Index_of;
448 Alpha_to = kmalloc((NN + 1) * sizeof(dtype), GFP_KERNEL);
452 Index_of = kmalloc((NN + 1) * sizeof(dtype), GFP_KERNEL);
/drivers/net/vmxnet3/
H A Dvmxnet3_defs.h97 * Byte 2 : 5.msscof.0 ext1 dtype
102 * Byte 1 : 5.msscof.0 ext1 dtype
117 u32 dtype:1; /* descriptor type */ member in struct:Vmxnet3_TxDesc
125 u32 dtype:1; /* descriptor type */ member in struct:Vmxnet3_TxDesc
196 u32 dtype:1; /* Descriptor type */ member in struct:Vmxnet3_RxDesc
202 u32 dtype:1; /* Descriptor type */ member in struct:Vmxnet3_RxDesc
/drivers/block/
H A Damiflop.c730 for (scnt = 0;scnt < unit[drive].dtype->sects * unit[drive].type->sect_mult; scnt++) {
827 hdr.ord = unit[disk].dtype->sects * unit[disk].type->sect_mult - cnt;
859 for (cnt = 0; cnt < unit[disk].dtype->sects * unit[disk].type->sect_mult; cnt++)
1045 for (scnt=0; scnt < unit[drive].dtype->sects * unit[drive].type->sect_mult; scnt++) {
1232 for(cnt = 0; cnt < unit[disk].dtype->sects * unit[disk].type->sect_mult; cnt++)
1259 (*unit[nr].dtype->write_fkt)(nr);
1284 (*unit[nr].dtype->write_fkt)(nr);
1324 error = (*unit[drive].dtype->read_fkt)(drive);
1407 track = block / (floppy->dtype->sects * floppy->type->sect_mult);
1408 sector = block % (floppy->dtype
[all...]
/drivers/edac/
H A Dppc4xx_edac.c896 enum dev_type dtype; local
905 dtype = ppc4xx_edac_get_dtype(mcopt1);
982 csi->dtype = dtype;
H A Dtile_edac.c116 csrow->dtype = DEV_UNKNOWN;
H A Damd76x_edac.c211 csrow->dtype = ((dms >> index) & 0x1) ? DEV_X4 : DEV_UNKNOWN;
H A Di82860_edac.c171 csrow->dtype = DEV_UNKNOWN;
H A Dmv64x60_edac.c677 csrow->dtype = DEV_X32;
680 csrow->dtype = DEV_X16;
683 csrow->dtype = DEV_X4;
686 csrow->dtype = DEV_UNKNOWN;
H A Dpasemi_edac.c182 csrow->dtype = DEV_UNKNOWN;
H A Dr82600_edac.c256 csrow->dtype = DEV_UNKNOWN;
H A Di3000_edac.c400 csrow->dtype = DEV_UNKNOWN;
H A Di82443bxgx_edac.c225 csrow->dtype = DEV_UNKNOWN;
H A Dx38_edac.c387 csrow->dtype = DEV_UNKNOWN;
H A Dcpc925_edac.c374 csrow->dtype = DEV_X16;
378 csrow->dtype = DEV_X8;
381 csrow->dtype = DEV_UNKNOWN;
H A De7xxx_edac.c386 csrow->dtype = mem_dev ? DEV_X4 : DEV_X8;
H A Di3200_edac.c390 csrow->dtype = DEV_UNKNOWN;
H A Di7core_edac.c735 csr->dtype = DEV_X4;
738 csr->dtype = DEV_X8;
741 csr->dtype = DEV_X16;
744 csr->dtype = DEV_UNKNOWN;
/drivers/scsi/fcoe/
H A Dfcoe_ctlr.c487 * @dtype: The FIP descriptor type for the frame
500 u8 dtype, struct sk_buff *skb, u32 d_id)
546 cap->encaps.fd_desc.fip_dtype = dtype;
555 if (dtype != FIP_DT_FLOGI && dtype != FIP_DT_FDISC) {
2103 u32 dtype; local
2141 dtype = desc->fip_dtype;
2142 if (dtype < 32) {
2143 if (!(desc_mask & BIT(dtype))) {
2148 dtype, su
499 fcoe_ctlr_encaps(struct fcoe_ctlr *fip, struct fc_lport *lport, u8 dtype, struct sk_buff *skb, u32 d_id) argument
[all...]
/drivers/net/ethernet/micrel/
H A Dks8695net.c129 * @dtype: The type of this device
162 enum ks8695_dtype dtype; member in struct:ks8695_priv
229 switch (ksp->dtype) {
1510 ksp->dtype = KS8695_DTYPE_LAN;
1514 ksp->dtype = KS8695_DTYPE_WAN;
1518 ksp->dtype = KS8695_DTYPE_HPNA;

Completed in 333 milliseconds

12