Home
last modified time | relevance | path

Searched refs:ech (Results 1 – 7 of 7) sorted by relevance

/drivers/isdn/mISDN/
Dhwchannel.c239 recv_Echannel(struct dchannel *ech, struct dchannel *dch) in recv_Echannel() argument
243 if (ech->rx_skb->len < 2) { /* at least 2 for sapi / tei */ in recv_Echannel()
244 dev_kfree_skb(ech->rx_skb); in recv_Echannel()
245 ech->rx_skb = NULL; in recv_Echannel()
248 hh = mISDN_HEAD_P(ech->rx_skb); in recv_Echannel()
250 hh->id = get_sapi_tei(ech->rx_skb->data); in recv_Echannel()
251 skb_queue_tail(&dch->rqueue, ech->rx_skb); in recv_Echannel()
252 ech->rx_skb = NULL; in recv_Echannel()
/drivers/mtd/ubi/
Dattach.c957 struct ubi_ec_hdr *ech = ai->ech; in scan_peb() local
974 err = ubi_io_read_ec_hdr(ubi, pnum, ech, 0); in scan_peb()
1012 if (ech->version != UBI_VERSION) { in scan_peb()
1014 UBI_VERSION, (int)ech->version); in scan_peb()
1018 ec = be64_to_cpu(ech->ec); in scan_peb()
1029 ubi_dump_ec_hdr(ech); in scan_peb()
1044 image_seq = be32_to_cpu(ech->image_seq); in scan_peb()
1050 ubi_dump_ec_hdr(ech); in scan_peb()
1396 ai->ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_all()
1397 if (!ai->ech) in scan_all()
[all …]
Dfastmap.c416 struct ubi_ec_hdr *ech; in scan_pool() local
420 ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_pool()
421 if (!ech) in scan_pool()
426 kfree(ech); in scan_pool()
450 err = ubi_io_read_ec_hdr(ubi, pnum, ech, 0); in scan_pool()
463 image_seq = be32_to_cpu(ech->image_seq); in scan_pool()
467 be32_to_cpu(ech->image_seq), ubi->image_seq); in scan_pool()
474 unsigned long long ec = be64_to_cpu(ech->ec); in scan_pool()
489 new_aeb = ubi_alloc_aeb(ai, pnum, be64_to_cpu(ech->ec)); in scan_pool()
519 kfree(ech); in scan_pool()
[all …]
Dubi.h789 struct ubi_ec_hdr *ech; member
/drivers/isdn/hardware/mISDN/
Dhfcsusb.c437 test_and_clear_bit(FLG_ACTIVE, &hw->ech.Flags); in open_dchannel()
444 set_bit(FLG_ACTIVE, &hw->ech.Flags); in open_dchannel()
445 _queue_data(&hw->ech.dev.D, PH_ACTIVATE_IND, in open_dchannel()
827 fifo->dch, fifo->bch, fifo->ech); in hfcsusb_rx_frame()
832 if ((!!fifo->dch + !!fifo->bch + !!fifo->ech) != 1) { in hfcsusb_rx_frame()
863 if (fifo->ech) { in hfcsusb_rx_frame()
864 rx_skb = fifo->ech->rx_skb; in hfcsusb_rx_frame()
865 maxlen = fifo->ech->maxlen; in hfcsusb_rx_frame()
869 if (fifo->dch || fifo->ech) { in hfcsusb_rx_frame()
875 if (fifo->ech) in hfcsusb_rx_frame()
[all …]
Dhfcsusb.h266 struct dchannel *ech; /* link to hfcsusb_t->ech, TODO: E-CHANNEL */ member
275 struct dchannel ech; /* TODO : wait for struct echannel ;) */ member
/drivers/isdn/hisax/
Dhfc4s8s_l1.c631 rx_d_frame(struct hfc4s8s_l1 *l1p, int ech) in rx_d_frame() argument
644 (l1p->st_num * 8 + ((ech) ? 7 : 5))); in rx_d_frame()
721 if (ech) in rx_d_frame()