/openbmc/linux/lib/ |
H A D | bch.c | 118 static u8 swap_bits(struct bch_control *bch, u8 in) in swap_bits() 129 static void bch_encode_unaligned(struct bch_control *bch, in bch_encode_unaligned() 152 static void load_ecc8(struct bch_control *bch, uint32_t *dst, in load_ecc8() 174 static void store_ecc8(struct bch_control *bch, uint8_t *dst, in store_ecc8() 207 void bch_encode(struct bch_control *bch, const uint8_t *data, in bch_encode() 289 static inline int modulo(struct bch_control *bch, unsigned int v) in modulo() 302 static inline int mod_s(struct bch_control *bch, unsigned int v) in mod_s() 328 static inline unsigned int gf_mul(struct bch_control *bch, unsigned int a, in gf_mul() 335 static inline unsigned int gf_sqr(struct bch_control *bch, unsigned int a) in gf_sqr() 340 static inline unsigned int gf_div(struct bch_control *bch, unsigned int a, in gf_div() [all …]
|
/openbmc/u-boot/lib/ |
H A D | bch.c | 161 static void encode_bch_unaligned(struct bch_control *bch, in encode_bch_unaligned() 182 static void load_ecc8(struct bch_control *bch, uint32_t *dst, in load_ecc8() 198 static void store_ecc8(struct bch_control *bch, uint8_t *dst, in store_ecc8() 231 void encode_bch(struct bch_control *bch, const uint8_t *data, in encode_bch() 302 static inline int modulo(struct bch_control *bch, unsigned int v) in modulo() 315 static inline int mod_s(struct bch_control *bch, unsigned int v) in mod_s() 341 static inline unsigned int gf_mul(struct bch_control *bch, unsigned int a, in gf_mul() 348 static inline unsigned int gf_sqr(struct bch_control *bch, unsigned int a) in gf_sqr() 353 static inline unsigned int gf_div(struct bch_control *bch, unsigned int a, in gf_div() 360 static inline unsigned int gf_inv(struct bch_control *bch, unsigned int a) in gf_inv() [all …]
|
/openbmc/linux/drivers/mtd/nand/raw/ingenic/ |
H A D | jz4725b_bch.c | 62 static inline void jz4725b_bch_config_set(struct ingenic_ecc *bch, u32 cfg) in jz4725b_bch_config_set() 67 static inline void jz4725b_bch_config_clear(struct ingenic_ecc *bch, u32 cfg) in jz4725b_bch_config_clear() 72 static int jz4725b_bch_reset(struct ingenic_ecc *bch, in jz4725b_bch_reset() 112 static void jz4725b_bch_disable(struct ingenic_ecc *bch) in jz4725b_bch_disable() 121 static void jz4725b_bch_write_data(struct ingenic_ecc *bch, const u8 *buf, in jz4725b_bch_write_data() 128 static void jz4725b_bch_read_parity(struct ingenic_ecc *bch, u8 *buf, in jz4725b_bch_read_parity() 158 static int jz4725b_bch_wait_complete(struct ingenic_ecc *bch, unsigned int irq, in jz4725b_bch_wait_complete() 183 static int jz4725b_calculate(struct ingenic_ecc *bch, in jz4725b_calculate() 214 static int jz4725b_correct(struct ingenic_ecc *bch, in jz4725b_correct()
|
H A D | jz4780_bch.c | 62 static void jz4780_bch_reset(struct ingenic_ecc *bch, in jz4780_bch_reset() 83 static void jz4780_bch_disable(struct ingenic_ecc *bch) in jz4780_bch_disable() 89 static void jz4780_bch_write_data(struct ingenic_ecc *bch, const void *buf, in jz4780_bch_write_data() 106 static void jz4780_bch_read_parity(struct ingenic_ecc *bch, void *buf, in jz4780_bch_read_parity() 136 static bool jz4780_bch_wait_complete(struct ingenic_ecc *bch, unsigned int irq, in jz4780_bch_wait_complete() 160 static int jz4780_calculate(struct ingenic_ecc *bch, in jz4780_calculate() 183 static int jz4780_correct(struct ingenic_ecc *bch, in jz4780_correct() 234 struct ingenic_ecc *bch; in jz4780_bch_probe() local
|
/openbmc/linux/drivers/isdn/mISDN/ |
H A D | hwchannel.c | 39 struct bchannel *bch = container_of(ws, struct bchannel, workq); in bchannel_bh() local 156 mISDN_ctrl_bchannel(struct bchannel *bch, struct mISDN_ctrl_req *cq) in mISDN_ctrl_bchannel() 249 recv_Bchannel(struct bchannel *bch, unsigned int id, bool force) in recv_Bchannel() 292 recv_Bchannel_skb(struct bchannel *bch, struct sk_buff *skb) in recv_Bchannel_skb() 338 confirm_Bsend(struct bchannel *bch) in confirm_Bsend() 361 get_next_bframe(struct bchannel *bch) in get_next_bframe() 470 bchannel_get_rxbuf(struct bchannel *bch, int reqlen) in bchannel_get_rxbuf()
|
H A D | l1oip_core.c | 354 struct bchannel *bch; in l1oip_socket_recv() local 1007 struct bchannel *bch; in open_bchannel() local 1088 struct bchannel *bch = container_of(ch, struct bchannel, ch); in handle_bmsg() local 1173 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl() 1203 struct bchannel *bch = container_of(ch, struct bchannel, ch); in l1oip_bctrl() local 1289 struct bchannel *bch; in init_card() local
|
H A D | l1oip.h | 34 struct bchannel *bch; member
|
/openbmc/linux/drivers/isdn/hardware/mISDN/ |
H A D | hfcpci.c | 134 struct bchannel bch[2]; member 393 hfcpci_empty_bfifo(struct bchannel *bch, struct bzfifo *bz, in hfcpci_empty_bfifo() 534 hfcpci_empty_fifo_trans(struct bchannel *bch, struct bzfifo *rxbz, in hfcpci_empty_fifo_trans() 598 main_rec_hfcpci(struct bchannel *bch) in main_rec_hfcpci() 739 hfcpci_fill_fifo(struct bchannel *bch) in hfcpci_fill_fifo() 1117 tx_birq(struct bchannel *bch) in tx_birq() 1145 struct bchannel *bch; in hfcpci_int() local 1237 mode_hfcpci(struct bchannel *bch, int bc, int protocol) in mode_hfcpci() 1430 set_hfcpci_rxtest(struct bchannel *bch, int protocol, int chan) in set_hfcpci_rxtest() 1505 deactivate_bchannel(struct bchannel *bch) in deactivate_bchannel() [all …]
|
H A D | avmfritz.c | 130 struct bchannel bch[2]; member 275 write_ctrl(struct bchannel *bch, int which) { in write_ctrl() 336 modehdlc(struct bchannel *bch, int protocol) in modehdlc() 390 hdlc_empty_fifo(struct bchannel *bch, int count) in hdlc_empty_fifo() 436 hdlc_fill_fifo(struct bchannel *bch) in hdlc_fill_fifo() 507 HDLC_irq_xpr(struct bchannel *bch) in HDLC_irq_xpr() 523 HDLC_irq(struct bchannel *bch, u32 stat) in HDLC_irq() 599 struct bchannel *bch; in HDLC_irq_main() local 682 struct bchannel *bch = container_of(ch, struct bchannel, ch); in avm_l2l1B() local 830 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl() [all …]
|
H A D | hfcsusb.c | 198 struct bchannel *bch = container_of(ch, struct bchannel, ch); in hfcusb_l2l1B() local 471 struct bchannel *bch; in open_bchannel() local 684 hfcsusb_setup_bch(struct bchannel *bch, int protocol) in hfcsusb_setup_bch() 796 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl() 1783 deactivate_bchannel(struct bchannel *bch) in deactivate_bchannel() 1805 struct bchannel *bch = container_of(ch, struct bchannel, ch); in hfc_bctrl() local
|
H A D | hfcmulti.c | 813 struct bchannel *bch = hc->chan[ch].bch; in vpm_echocan_on() local 845 struct bchannel *bch = hc->chan[ch].bch; in vpm_echocan_off() local 1799 struct bchannel *bch = NULL; in hfcmulti_dtmf() local 1908 struct bchannel *bch; in hfcmulti_tx() local 2154 struct bchannel *bch; in hfcmulti_rx() local 2603 struct bchannel *bch; in fifo_irq() local 3414 deactivate_bchannel(struct bchannel *bch) in deactivate_bchannel() 3431 struct bchannel *bch = container_of(ch, struct bchannel, ch); in handle_bmsg() local 3526 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl() 3658 struct bchannel *bch = container_of(ch, struct bchannel, ch); in hfcm_bctrl() local [all …]
|
H A D | mISDNisar.c | 1468 struct bchannel *bch = container_of(ch, struct bchannel, ch); in isar_l2l1() local 1563 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl() 1571 struct bchannel *bch = container_of(ch, struct bchannel, ch); in isar_bctrl() local 1637 struct bchannel *bch; in isar_open() local
|
H A D | w6692.c | 45 struct bchannel bch; member 933 struct bchannel *bch = container_of(ch, struct bchannel, ch); in w6692_l2l1B() local 981 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl() 989 struct bchannel *bch; in open_bchannel() local 1026 struct bchannel *bch = container_of(ch, struct bchannel, ch); in w6692_bctrl() local
|
H A D | mISDNipac.c | 1333 struct bchannel *bch = container_of(ch, struct bchannel, ch); in hscx_l2l1() local 1380 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl() 1388 struct bchannel *bch = container_of(ch, struct bchannel, ch); in hscx_bctrl() local 1481 struct bchannel *bch; in open_bchannel() local
|
H A D | netjet.c | 42 struct bchannel bch; member 740 struct bchannel *bch = container_of(ch, struct bchannel, ch); in nj_l2l1B() local 791 struct bchannel *bch = container_of(ch, struct bchannel, ch); in nj_bctrl() local 851 struct bchannel *bch; in open_bchannel() local
|
/openbmc/u-boot/arch/mips/dts/ |
H A D | jz4780.dtsi | 156 bch: bch@134d0000 { label
|
/openbmc/u-boot/tools/ |
H A D | sunxi-spl-image-builder.c | 115 struct bch_control *bch, int page) in write_page() 241 struct bch_control *bch; in create_image() local
|
/openbmc/linux/include/linux/mtd/ |
H A D | nand-ecc-sw-bch.h | 30 struct bch_control *bch; member
|
/openbmc/linux/arch/mips/boot/dts/ingenic/ |
H A D | jz4725b.dtsi | 360 bch: ecc-controller@130d0000 { label
|
H A D | jz4780.dtsi | 572 bch: bch@134d0000 { label
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_bch.c | 29 struct bch_control *bch; member
|
/openbmc/linux/arch/arm/boot/dts/mediatek/ |
H A D | mt2701.dtsi | 375 bch: ecc@1100e000 { label
|
/openbmc/u-boot/board/ge/common/ |
H A D | vpd_reader.c | 55 struct bch_control *bch = init_bch(gfo, ecc_bits, prim_poly); in verify_bch() local
|
/openbmc/linux/arch/arm64/boot/dts/mediatek/ |
H A D | mt7622.dtsi | 565 bch: ecc@1100e000 { label
|
H A D | mt2712e.dtsi | 575 bch: ecc@1100f000 { label
|