Home
last modified time | relevance | path

Searched defs:bch (Results 1 – 25 of 32) sorted by relevance

12

/Linux-v5.10/lib/
Dbch.c152 static u8 swap_bits(struct bch_control *bch, u8 in) in swap_bits()
163 static void bch_encode_unaligned(struct bch_control *bch, in bch_encode_unaligned()
186 static void load_ecc8(struct bch_control *bch, uint32_t *dst, in load_ecc8()
208 static void store_ecc8(struct bch_control *bch, uint8_t *dst, in store_ecc8()
241 void bch_encode(struct bch_control *bch, const uint8_t *data, in bch_encode()
323 static inline int modulo(struct bch_control *bch, unsigned int v) in modulo()
336 static inline int mod_s(struct bch_control *bch, unsigned int v) in mod_s()
362 static inline unsigned int gf_mul(struct bch_control *bch, unsigned int a, in gf_mul()
369 static inline unsigned int gf_sqr(struct bch_control *bch, unsigned int a) in gf_sqr()
374 static inline unsigned int gf_div(struct bch_control *bch, unsigned int a, in gf_div()
[all …]
/Linux-v5.10/drivers/mtd/nand/raw/ingenic/
Djz4725b_bch.c62 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()
Djz4780_bch.c62 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
/Linux-v5.10/drivers/isdn/mISDN/
Dhwchannel.c39 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()
Dl1oip_core.c354 struct bchannel *bch; in l1oip_socket_recv() local
1005 struct bchannel *bch; in open_bchannel() local
1086 struct bchannel *bch = container_of(ch, struct bchannel, ch); in handle_bmsg() local
1171 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl()
1201 struct bchannel *bch = container_of(ch, struct bchannel, ch); in l1oip_bctrl() local
1288 struct bchannel *bch; in init_card() local
Dl1oip.h34 struct bchannel *bch; member
/Linux-v5.10/drivers/isdn/hardware/mISDN/
Dhfcpci.c134 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 …]
Davmfritz.c130 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 …]
Dhfcsusb.c198 struct bchannel *bch = container_of(ch, struct bchannel, ch); in hfcusb_l2l1B() local
467 struct bchannel *bch; in open_bchannel() local
680 hfcsusb_setup_bch(struct bchannel *bch, int protocol) in hfcsusb_setup_bch()
793 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl()
1780 deactivate_bchannel(struct bchannel *bch) in deactivate_bchannel()
1802 struct bchannel *bch = container_of(ch, struct bchannel, ch); in hfc_bctrl() local
Dhfcmulti.c844 struct bchannel *bch = hc->chan[ch].bch; in vpm_echocan_on() local
876 struct bchannel *bch = hc->chan[ch].bch; in vpm_echocan_off() local
1830 struct bchannel *bch = NULL; in hfcmulti_dtmf() local
1939 struct bchannel *bch; in hfcmulti_tx() local
2184 struct bchannel *bch; in hfcmulti_rx() local
2633 struct bchannel *bch; in fifo_irq() local
3439 deactivate_bchannel(struct bchannel *bch) in deactivate_bchannel()
3456 struct bchannel *bch = container_of(ch, struct bchannel, ch); in handle_bmsg() local
3551 channel_bctrl(struct bchannel *bch, struct mISDN_ctrl_req *cq) in channel_bctrl()
3683 struct bchannel *bch = container_of(ch, struct bchannel, ch); in hfcm_bctrl() local
[all …]
DmISDNisar.c1468 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
Dw6692.c45 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
DmISDNipac.c1333 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
Dnetjet.c42 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
Dhfcsusb.h265 struct bchannel *bch; /* link to hfcsusb_t->bch */ member
274 struct bchannel bch[2]; member
/Linux-v5.10/arch/mips/boot/dts/ingenic/
Djz4725b.dtsi363 bch: ecc-controller@130d0000 { label
Djz4780.dtsi489 bch: bch@134d0000 { label
/Linux-v5.10/drivers/mtd/nand/raw/
Dnand_bch.c26 struct bch_control *bch; member
Dmeson_nand.c59 #define CMDRWGEN(cmd_dir, ran, bch, short_mode, page_size, pages) \ argument
125 u32 bch; member
271 u32 bch = meson_chip->bch_mode, cmd; in meson_nfc_cmd_access() local
/Linux-v5.10/arch/arm/boot/dts/
Dmt2701.dtsi376 bch: ecc@1100e000 { label
Dmt7623.dtsi538 bch: ecc@1100e000 { label
/Linux-v5.10/arch/arm64/boot/dts/mediatek/
Dmt7622.dtsi548 bch: ecc@1100e000 { label
Dmt2712e.dtsi573 bch: ecc@1100f000 { label
/Linux-v5.10/drivers/mtd/nand/raw/gpmi-nand/
Dgpmi-nand.h143 bool bch; member
/Linux-v5.10/drivers/mtd/devices/
Ddocg3.h267 struct bch_control *bch; member

12