Home
last modified time | relevance | path

Searched refs:ech (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-5.10/drivers/isdn/mISDN/
H A Dhwchannel.c230 recv_Echannel(struct dchannel *ech, struct dchannel *dch) in recv_Echannel() argument
234 if (ech->rx_skb->len < 2) { /* at least 2 for sapi / tei */ in recv_Echannel()
235 dev_kfree_skb(ech->rx_skb); in recv_Echannel()
236 ech->rx_skb = NULL; in recv_Echannel()
239 hh = mISDN_HEAD_P(ech->rx_skb); in recv_Echannel()
241 hh->id = get_sapi_tei(ech->rx_skb->data); in recv_Echannel()
242 skb_queue_tail(&dch->rqueue, ech->rx_skb); in recv_Echannel()
243 ech->rx_skb = NULL; in recv_Echannel()
/kernel/linux/linux-6.6/drivers/isdn/mISDN/
H A Dhwchannel.c230 recv_Echannel(struct dchannel *ech, struct dchannel *dch) in recv_Echannel() argument
234 if (ech->rx_skb->len < 2) { /* at least 2 for sapi / tei */ in recv_Echannel()
235 dev_kfree_skb(ech->rx_skb); in recv_Echannel()
236 ech->rx_skb = NULL; in recv_Echannel()
239 hh = mISDN_HEAD_P(ech->rx_skb); in recv_Echannel()
241 hh->id = get_sapi_tei(ech->rx_skb->data); in recv_Echannel()
242 skb_queue_tail(&dch->rqueue, ech->rx_skb); in recv_Echannel()
243 ech->rx_skb = NULL; in recv_Echannel()
/kernel/linux/linux-5.10/drivers/mtd/ubi/
H A Dattach.c944 struct ubi_ec_hdr *ech = ai->ech; in scan_peb() local
961 err = ubi_io_read_ec_hdr(ubi, pnum, ech, 0); in scan_peb()
999 if (ech->version != UBI_VERSION) { in scan_peb()
1001 UBI_VERSION, (int)ech->version); in scan_peb()
1005 ec = be64_to_cpu(ech->ec); in scan_peb()
1016 ubi_dump_ec_hdr(ech); in scan_peb()
1031 image_seq = be32_to_cpu(ech->image_seq); in scan_peb()
1037 ubi_dump_ec_hdr(ech); in scan_peb()
1384 ai->ech in scan_all()
[all...]
H A Dfastmap.c406 struct ubi_ec_hdr *ech; in scan_pool() local
410 ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_pool()
411 if (!ech) in scan_pool()
416 kfree(ech); in scan_pool()
440 err = ubi_io_read_ec_hdr(ubi, pnum, ech, 0); in scan_pool()
453 image_seq = be32_to_cpu(ech->image_seq); in scan_pool()
457 be32_to_cpu(ech->image_seq), ubi->image_seq); in scan_pool()
464 unsigned long long ec = be64_to_cpu(ech->ec); in scan_pool()
481 new_aeb = ubi_alloc_aeb(ai, pnum, be64_to_cpu(ech->ec)); in scan_pool()
511 kfree(ech); in scan_pool()
848 struct ubi_ec_hdr *ech; ubi_scan_fastmap() local
[all...]
H A Dubi.h754 * @ech: temporary EC header. Only available during scan
784 struct ubi_ec_hdr *ech; member
/kernel/linux/linux-6.6/drivers/mtd/ubi/
H A Dattach.c944 struct ubi_ec_hdr *ech = ai->ech; in scan_peb() local
961 err = ubi_io_read_ec_hdr(ubi, pnum, ech, 0); in scan_peb()
999 if (ech->version != UBI_VERSION) { in scan_peb()
1001 UBI_VERSION, (int)ech->version); in scan_peb()
1005 ec = be64_to_cpu(ech->ec); in scan_peb()
1016 ubi_dump_ec_hdr(ech); in scan_peb()
1031 image_seq = be32_to_cpu(ech->image_seq); in scan_peb()
1037 ubi_dump_ec_hdr(ech); in scan_peb()
1384 ai->ech in scan_all()
[all...]
H A Dfastmap.c406 struct ubi_ec_hdr *ech; in scan_pool() local
410 ech = kzalloc(ubi->ec_hdr_alsize, GFP_KERNEL); in scan_pool()
411 if (!ech) in scan_pool()
416 kfree(ech); in scan_pool()
440 err = ubi_io_read_ec_hdr(ubi, pnum, ech, 0); in scan_pool()
453 image_seq = be32_to_cpu(ech->image_seq); in scan_pool()
457 be32_to_cpu(ech->image_seq), ubi->image_seq); in scan_pool()
464 unsigned long long ec = be64_to_cpu(ech->ec); in scan_pool()
481 new_aeb = ubi_alloc_aeb(ai, pnum, be64_to_cpu(ech->ec)); in scan_pool()
511 kfree(ech); in scan_pool()
866 struct ubi_ec_hdr *ech; ubi_scan_fastmap() local
[all...]
H A Dubi.h752 * @ech: temporary EC header. Only available during scan
782 struct ubi_ec_hdr *ech; member
/kernel/linux/linux-5.10/drivers/isdn/hardware/mISDN/
H A Dhfcsusb.c428 test_and_clear_bit(FLG_ACTIVE, &hw->ech.Flags); in open_dchannel()
435 set_bit(FLG_ACTIVE, &hw->ech.Flags); in open_dchannel()
436 _queue_data(&hw->ech.dev.D, PH_ACTIVATE_IND, in open_dchannel()
816 "dch(%p) bch(%p) ech(%p)\n", in hfcsusb_rx_frame()
818 fifo->dch, fifo->bch, fifo->ech); in hfcsusb_rx_frame()
823 if ((!!fifo->dch + !!fifo->bch + !!fifo->ech) != 1) { in hfcsusb_rx_frame()
854 if (fifo->ech) { in hfcsusb_rx_frame()
855 rx_skb = fifo->ech->rx_skb; in hfcsusb_rx_frame()
856 maxlen = fifo->ech->maxlen; in hfcsusb_rx_frame()
860 if (fifo->dch || fifo->ech) { in hfcsusb_rx_frame()
[all...]
H A Dhfcsusb.h266 struct dchannel *ech; /* link to hfcsusb_t->ech, TODO: E-CHANNEL */ member
275 struct dchannel ech; /* TODO : wait for struct echannel ;) */ member
/kernel/linux/linux-6.6/drivers/isdn/hardware/mISDN/
H A Dhfcsusb.c428 test_and_clear_bit(FLG_ACTIVE, &hw->ech.Flags); in open_dchannel()
435 set_bit(FLG_ACTIVE, &hw->ech.Flags); in open_dchannel()
436 _queue_data(&hw->ech.dev.D, PH_ACTIVATE_IND, in open_dchannel()
816 "dch(%p) bch(%p) ech(%p)\n", in hfcsusb_rx_frame()
818 fifo->dch, fifo->bch, fifo->ech); in hfcsusb_rx_frame()
823 if ((!!fifo->dch + !!fifo->bch + !!fifo->ech) != 1) { in hfcsusb_rx_frame()
854 if (fifo->ech) { in hfcsusb_rx_frame()
855 rx_skb = fifo->ech->rx_skb; in hfcsusb_rx_frame()
856 maxlen = fifo->ech->maxlen; in hfcsusb_rx_frame()
860 if (fifo->dch || fifo->ech) { in hfcsusb_rx_frame()
[all...]
H A Dhfcsusb.h266 struct dchannel *ech; /* link to hfcsusb_t->ech, TODO: E-CHANNEL */ member
275 struct dchannel ech; /* TODO : wait for struct echannel ;) */ member

Completed in 16 milliseconds