Home
last modified time | relevance | path

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

/openbmc/linux/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()
/openbmc/u-boot/drivers/mtd/ubi/
H A Dattach.c90 static struct ubi_ec_hdr *ech; variable
869 if (ech->version != UBI_VERSION) { in scan_peb()
875 ec = be64_to_cpu(ech->ec); in scan_peb()
886 ubi_dump_ec_hdr(ech); in scan_peb()
907 ubi_dump_ec_hdr(ech); in scan_peb()
1233 if (!ech) in scan_all()
1287 kfree(ech); in scan_all()
1294 kfree(ech); in scan_all()
1342 if (!ech) in scan_fast()
1366 kfree(ech); in scan_fast()
[all …]
H A Dfastmap.c464 struct ubi_ec_hdr *ech; in scan_pool() local
469 if (!ech) in scan_pool()
474 kfree(ech); in scan_pool()
509 image_seq = be32_to_cpu(ech->image_seq); in scan_pool()
541 new_aeb->ec = be64_to_cpu(ech->ec); in scan_pool()
567 kfree(ech); in scan_pool()
882 struct ubi_ec_hdr *ech; in ubi_scan_fastmap() local
942 if (!ech) { in ubi_scan_fastmap()
973 image_seq = be32_to_cpu(ech->image_seq); in ubi_scan_fastmap()
1078 kfree(ech); in ubi_scan_fastmap()
[all …]
/openbmc/linux/drivers/mtd/ubi/
H A Dattach.c944 struct ubi_ec_hdr *ech = ai->ech; in scan_peb() local
999 if (ech->version != UBI_VERSION) { in scan_peb()
1005 ec = be64_to_cpu(ech->ec); in scan_peb()
1016 ubi_dump_ec_hdr(ech); in scan_peb()
1037 ubi_dump_ec_hdr(ech); in scan_peb()
1385 if (!ai->ech) in scan_all()
1439 kfree(ai->ech); in scan_all()
1446 kfree(ai->ech); in scan_all()
1499 if (!scan_ai->ech) in scan_fast()
1516 kfree(scan_ai->ech); in scan_fast()
[all …]
H A Dfastmap.c406 struct ubi_ec_hdr *ech; in scan_pool() local
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()
511 kfree(ech); in scan_pool()
866 struct ubi_ec_hdr *ech; in ubi_scan_fastmap() local
942 if (!ech) { in ubi_scan_fastmap()
982 image_seq = be32_to_cpu(ech->image_seq); in ubi_scan_fastmap()
1088 kfree(ech); in ubi_scan_fastmap()
[all …]
H A Dubi.h782 struct ubi_ec_hdr *ech; member
/openbmc/linux/drivers/isdn/hardware/mISDN/
H A Dhfcsusb.c435 set_bit(FLG_ACTIVE, &hw->ech.Flags); in open_dchannel()
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()
866 if (fifo->ech) in hfcsusb_rx_frame()
867 fifo->ech->rx_skb = rx_skb; in hfcsusb_rx_frame()
914 if (fifo->ech) in hfcsusb_rx_frame()
915 recv_Echannel(fifo->ech, in hfcsusb_rx_frame()
1880 hw->fifos[HFCUSB_PCM_RX].ech = &hw->ech; in setup_instance()
[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
/openbmc/u-boot/drivers/mtd/ubispl/
H A Dubispl.c553 ret = ubi_io_read_ec_hdr(ubi, pnum, ech, 0); in ubi_scan_fastmap()
563 image_seq = be32_to_cpu(ech->image_seq); in ubi_scan_fastmap()
572 be32_to_cpu(ech->image_seq), ubi->image_seq); in ubi_scan_fastmap()