Home
last modified time | relevance | path

Searched defs:bs (Results 1 – 25 of 249) sorted by relevance

12345678910

/kernel/linux/linux-5.10/drivers/spi/
Dspi-bcm2835.c158 static void bcm2835_debugfs_create(struct bcm2835_spi *bs, in bcm2835_debugfs_create()
182 static void bcm2835_debugfs_remove(struct bcm2835_spi *bs) in bcm2835_debugfs_remove()
188 static void bcm2835_debugfs_create(struct bcm2835_spi *bs, in bcm2835_debugfs_create()
193 static void bcm2835_debugfs_remove(struct bcm2835_spi *bs) in bcm2835_debugfs_remove()
198 static inline u32 bcm2835_rd(struct bcm2835_spi *bs, unsigned int reg) in bcm2835_rd()
203 static inline void bcm2835_wr(struct bcm2835_spi *bs, unsigned int reg, u32 val) in bcm2835_wr()
208 static inline void bcm2835_rd_fifo(struct bcm2835_spi *bs) in bcm2835_rd_fifo()
221 static inline void bcm2835_wr_fifo(struct bcm2835_spi *bs) in bcm2835_wr_fifo()
243 static inline void bcm2835_rd_fifo_count(struct bcm2835_spi *bs, int count) in bcm2835_rd_fifo_count()
269 static inline void bcm2835_wr_fifo_count(struct bcm2835_spi *bs, int count) in bcm2835_wr_fifo_count()
[all …]
Dspi-bcm2835aux.c108 static void bcm2835aux_debugfs_create(struct bcm2835aux_spi *bs, in bcm2835aux_debugfs_create()
130 static void bcm2835aux_debugfs_remove(struct bcm2835aux_spi *bs) in bcm2835aux_debugfs_remove()
136 static void bcm2835aux_debugfs_create(struct bcm2835aux_spi *bs, in bcm2835aux_debugfs_create()
141 static void bcm2835aux_debugfs_remove(struct bcm2835aux_spi *bs) in bcm2835aux_debugfs_remove()
146 static inline u32 bcm2835aux_rd(struct bcm2835aux_spi *bs, unsigned reg) in bcm2835aux_rd()
151 static inline void bcm2835aux_wr(struct bcm2835aux_spi *bs, unsigned reg, in bcm2835aux_wr()
157 static inline void bcm2835aux_rd_fifo(struct bcm2835aux_spi *bs) in bcm2835aux_rd_fifo()
180 static inline void bcm2835aux_wr_fifo(struct bcm2835aux_spi *bs) in bcm2835aux_wr_fifo()
209 static void bcm2835aux_spi_reset_hw(struct bcm2835aux_spi *bs) in bcm2835aux_spi_reset_hw()
217 static void bcm2835aux_spi_transfer_helper(struct bcm2835aux_spi *bs) in bcm2835aux_spi_transfer_helper()
[all …]
Dspi-bcm63xx.c154 static inline u8 bcm_spi_readb(struct bcm63xx_spi *bs, in bcm_spi_readb()
160 static inline u16 bcm_spi_readw(struct bcm63xx_spi *bs, in bcm_spi_readw()
170 static inline void bcm_spi_writeb(struct bcm63xx_spi *bs, in bcm_spi_writeb()
176 static inline void bcm_spi_writew(struct bcm63xx_spi *bs, in bcm_spi_writew()
199 struct bcm63xx_spi *bs = spi_master_get_devdata(spi->master); in bcm63xx_spi_setup_transfer() local
230 struct bcm63xx_spi *bs = spi_master_get_devdata(spi->master); in bcm63xx_txrx_bufs() local
328 struct bcm63xx_spi *bs = spi_master_get_devdata(master); in bcm63xx_spi_transfer_one() local
409 struct bcm63xx_spi *bs = spi_master_get_devdata(master); in bcm63xx_spi_interrupt() local
426 struct bcm63xx_spi *bs = spi_master_get_devdata(spi->master); in bcm63xx_spi_max_length() local
494 struct bcm63xx_spi *bs; in bcm63xx_spi_probe() local
[all …]
Dspi-bcm63xx-hsspi.c113 static void bcm63xx_hsspi_set_cs(struct bcm63xx_hsspi *bs, unsigned int cs, in bcm63xx_hsspi_set_cs()
129 static void bcm63xx_hsspi_set_clk(struct bcm63xx_hsspi *bs, in bcm63xx_hsspi_set_clk()
158 struct bcm63xx_hsspi *bs = spi_master_get_devdata(spi->master); in bcm63xx_hsspi_do_txrx() local
226 struct bcm63xx_hsspi *bs = spi_master_get_devdata(spi->master); in bcm63xx_hsspi_setup() local
264 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_transfer_one() local
316 struct bcm63xx_hsspi *bs = (struct bcm63xx_hsspi *)dev_id; in bcm63xx_hsspi_interrupt() local
332 struct bcm63xx_hsspi *bs; in bcm63xx_hsspi_probe() local
462 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_remove() local
476 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_suspend() local
488 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_resume() local
/kernel/linux/linux-4.19/drivers/spi/
Dspi-bcm2835aux.c107 static inline u32 bcm2835aux_rd(struct bcm2835aux_spi *bs, unsigned reg) in bcm2835aux_rd()
112 static inline void bcm2835aux_wr(struct bcm2835aux_spi *bs, unsigned reg, in bcm2835aux_wr()
118 static inline void bcm2835aux_rd_fifo(struct bcm2835aux_spi *bs) in bcm2835aux_rd_fifo()
144 static inline void bcm2835aux_wr_fifo(struct bcm2835aux_spi *bs) in bcm2835aux_wr_fifo()
173 static void bcm2835aux_spi_reset_hw(struct bcm2835aux_spi *bs) in bcm2835aux_spi_reset_hw()
181 static void bcm2835aux_spi_transfer_helper(struct bcm2835aux_spi *bs) in bcm2835aux_spi_transfer_helper()
202 struct bcm2835aux_spi *bs = spi_master_get_devdata(master); in bcm2835aux_spi_interrupt() local
231 struct bcm2835aux_spi *bs = spi_master_get_devdata(master); in __bcm2835aux_spi_transfer_one_irq() local
246 struct bcm2835aux_spi *bs = spi_master_get_devdata(master); in bcm2835aux_spi_transfer_one_irq() local
268 struct bcm2835aux_spi *bs = spi_master_get_devdata(master); in bcm2835aux_spi_transfer_one_poll() local
[all …]
Dspi-bcm2835.c94 static inline u32 bcm2835_rd(struct bcm2835_spi *bs, unsigned reg) in bcm2835_rd()
99 static inline void bcm2835_wr(struct bcm2835_spi *bs, unsigned reg, u32 val) in bcm2835_wr()
104 static inline void bcm2835_rd_fifo(struct bcm2835_spi *bs) in bcm2835_rd_fifo()
117 static inline void bcm2835_wr_fifo(struct bcm2835_spi *bs) in bcm2835_wr_fifo()
131 struct bcm2835_spi *bs = spi_master_get_devdata(master); in bcm2835_spi_reset_hw() local
151 struct bcm2835_spi *bs = spi_master_get_devdata(master); in bcm2835_spi_interrupt() local
173 struct bcm2835_spi *bs = spi_master_get_devdata(master); in bcm2835_spi_transfer_one_irq() local
225 struct bcm2835_spi *bs = spi_master_get_devdata(master); in bcm2835_spi_dma_done() local
306 struct bcm2835_spi *bs = spi_master_get_devdata(master); in bcm2835_spi_transfer_one_dma() local
484 struct bcm2835_spi *bs = spi_master_get_devdata(master); in bcm2835_spi_transfer_one_poll() local
[all …]
Dspi-bcm63xx.c162 static inline u8 bcm_spi_readb(struct bcm63xx_spi *bs, in bcm_spi_readb()
168 static inline u16 bcm_spi_readw(struct bcm63xx_spi *bs, in bcm_spi_readw()
178 static inline void bcm_spi_writeb(struct bcm63xx_spi *bs, in bcm_spi_writeb()
184 static inline void bcm_spi_writew(struct bcm63xx_spi *bs, in bcm_spi_writew()
207 struct bcm63xx_spi *bs = spi_master_get_devdata(spi->master); in bcm63xx_spi_setup_transfer() local
238 struct bcm63xx_spi *bs = spi_master_get_devdata(spi->master); in bcm63xx_txrx_bufs() local
336 struct bcm63xx_spi *bs = spi_master_get_devdata(master); in bcm63xx_spi_transfer_one() local
417 struct bcm63xx_spi *bs = spi_master_get_devdata(master); in bcm63xx_spi_interrupt() local
434 struct bcm63xx_spi *bs = spi_master_get_devdata(spi->master); in bcm63xx_spi_max_length() local
502 struct bcm63xx_spi *bs; in bcm63xx_spi_probe() local
[all …]
Dspi-bcm63xx-hsspi.c112 static void bcm63xx_hsspi_set_cs(struct bcm63xx_hsspi *bs, unsigned int cs, in bcm63xx_hsspi_set_cs()
128 static void bcm63xx_hsspi_set_clk(struct bcm63xx_hsspi *bs, in bcm63xx_hsspi_set_clk()
157 struct bcm63xx_hsspi *bs = spi_master_get_devdata(spi->master); in bcm63xx_hsspi_do_txrx() local
225 struct bcm63xx_hsspi *bs = spi_master_get_devdata(spi->master); in bcm63xx_hsspi_setup() local
263 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_transfer_one() local
316 struct bcm63xx_hsspi *bs = (struct bcm63xx_hsspi *)dev_id; in bcm63xx_hsspi_interrupt() local
332 struct bcm63xx_hsspi *bs; in bcm63xx_hsspi_probe() local
455 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_remove() local
469 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_suspend() local
481 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_resume() local
/kernel/linux/linux-5.10/net/netfilter/
Dnf_conntrack_h323_asn1.c100 #define INC_BIT(bs) if((++(bs)->bit)>7){(bs)->cur++;(bs)->bit=0;} argument
101 #define INC_BITS(bs,b) if(((bs)->bit+=(b))>7){(bs)->cur+=(bs)->bit>>3;(bs)->bit&=7;} argument
102 #define BYTE_ALIGN(bs) if((bs)->bit){(bs)->cur++;(bs)->bit=0;} argument
150 static unsigned int get_len(struct bitstr *bs) in get_len()
165 static int nf_h323_error_boundary(struct bitstr *bs, size_t bytes, size_t bits) in nf_h323_error_boundary()
178 static unsigned int get_bit(struct bitstr *bs) in get_bit()
188 static unsigned int get_bits(struct bitstr *bs, unsigned int b) in get_bits()
213 static unsigned int get_bitmap(struct bitstr *bs, unsigned int b) in get_bitmap()
252 static unsigned int get_uint(struct bitstr *bs, int b) in get_uint()
276 static int decode_nul(struct bitstr *bs, const struct field_t *f, in decode_nul()
[all …]
/kernel/linux/linux-4.19/net/netfilter/
Dnf_conntrack_h323_asn1.c103 #define INC_BIT(bs) if((++(bs)->bit)>7){(bs)->cur++;(bs)->bit=0;} argument
104 #define INC_BITS(bs,b) if(((bs)->bit+=(b))>7){(bs)->cur+=(bs)->bit>>3;(bs)->bit&=7;} argument
105 #define BYTE_ALIGN(bs) if((bs)->bit){(bs)->cur++;(bs)->bit=0;} argument
153 static unsigned int get_len(struct bitstr *bs) in get_len()
168 static int nf_h323_error_boundary(struct bitstr *bs, size_t bytes, size_t bits) in nf_h323_error_boundary()
181 static unsigned int get_bit(struct bitstr *bs) in get_bit()
191 static unsigned int get_bits(struct bitstr *bs, unsigned int b) in get_bits()
216 static unsigned int get_bitmap(struct bitstr *bs, unsigned int b) in get_bitmap()
255 static unsigned int get_uint(struct bitstr *bs, int b) in get_uint()
279 static int decode_nul(struct bitstr *bs, const struct field_t *f, in decode_nul()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/tw5864/
Dtw5864-h264.c24 struct bs { struct
31 static void bs_init(struct bs *s, void *buf, int size) in bs_init() argument
103 struct bs bs, *s; in tw5864_h264_gen_sps_rbsp() local
132 struct bs bs, *s; in tw5864_h264_gen_pps_rbsp() local
160 struct bs bs, *s; in tw5864_h264_gen_slice_head() local
/kernel/linux/linux-4.19/drivers/media/pci/tw5864/
Dtw5864-h264.c33 struct bs { struct
40 static void bs_init(struct bs *s, void *buf, int size) in bs_init() argument
112 struct bs bs, *s; in tw5864_h264_gen_sps_rbsp() local
141 struct bs bs, *s; in tw5864_h264_gen_pps_rbsp() local
169 struct bs bs, *s; in tw5864_h264_gen_slice_head() local
/kernel/linux/linux-5.10/fs/xfs/scrub/
Dbtree.c126 struct xchk_btree *bs) in xchk_btree_rec()
174 struct xchk_btree *bs, in xchk_btree_key()
221 struct xchk_btree *bs, in xchk_btree_ptr_ok()
246 struct xchk_btree *bs, in xchk_btree_block_check_sibling()
309 struct xchk_btree *bs, in xchk_btree_block_check_siblings()
357 struct xchk_btree *bs, in xchk_btree_check_block_owner()
404 struct xchk_btree *bs, in xchk_btree_check_owner()
451 struct xchk_btree *bs, in xchk_btree_check_minrecs()
498 struct xchk_btree *bs, in xchk_btree_get_block()
552 struct xchk_btree *bs, in xchk_btree_block_keys()
[all …]
Dialloc.c101 struct xchk_btree *bs, in xchk_iallocbt_chunk()
146 struct xchk_btree *bs, in xchk_iallocbt_check_cluster_ifree()
209 struct xchk_btree *bs, in xchk_iallocbt_check_cluster()
313 struct xchk_btree *bs, in xchk_iallocbt_check_clusters()
345 struct xchk_btree *bs, in xchk_iallocbt_rec_alignment()
421 struct xchk_btree *bs, in xchk_iallocbt_rec()
/kernel/linux/linux-4.19/fs/xfs/scrub/
Dbtree.c133 struct xchk_btree *bs) in xchk_btree_rec()
181 struct xchk_btree *bs, in xchk_btree_key()
228 struct xchk_btree *bs, in xchk_btree_ptr_ok()
253 struct xchk_btree *bs, in xchk_btree_block_check_sibling()
316 struct xchk_btree *bs, in xchk_btree_block_check_siblings()
364 struct xchk_btree *bs, in xchk_btree_check_block_owner()
411 struct xchk_btree *bs, in xchk_btree_check_owner()
449 struct xchk_btree *bs, in xchk_btree_check_minrecs()
487 struct xchk_btree *bs, in xchk_btree_get_block()
541 struct xchk_btree *bs, in xchk_btree_block_keys()
[all …]
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_vli.h226 static inline void bitstream_init(struct bitstream *bs, void *s, size_t len, unsigned int pad_bits) in bitstream_init()
234 static inline void bitstream_rewind(struct bitstream *bs) in bitstream_rewind()
248 static inline int bitstream_put_bits(struct bitstream *bs, u64 val, const unsigned int bits) in bitstream_put_bits()
281 static inline int bitstream_get_bits(struct bitstream *bs, u64 *out, int bits) in bitstream_get_bits()
328 static inline int vli_encode_bits(struct bitstream *bs, u64 in) in vli_encode_bits()
/kernel/linux/linux-4.19/drivers/block/drbd/
Ddrbd_vli.h238 static inline void bitstream_init(struct bitstream *bs, void *s, size_t len, unsigned int pad_bits) in bitstream_init()
246 static inline void bitstream_rewind(struct bitstream *bs) in bitstream_rewind()
260 static inline int bitstream_put_bits(struct bitstream *bs, u64 val, const unsigned int bits) in bitstream_put_bits()
293 static inline int bitstream_get_bits(struct bitstream *bs, u64 *out, int bits) in bitstream_get_bits()
340 static inline int vli_encode_bits(struct bitstream *bs, u64 in) in vli_encode_bits()
/kernel/linux/linux-4.19/drivers/crypto/
Domap-crypto.c19 static int omap_crypto_copy_sg_lists(int total, int bs, in omap_crypto_copy_sg_lists()
58 static int omap_crypto_copy_sgs(int total, int bs, struct scatterlist **sg, in omap_crypto_copy_sgs()
91 static int omap_crypto_check_sg(struct scatterlist *sg, int total, int bs, in omap_crypto_check_sg()
128 int omap_crypto_align_sg(struct scatterlist **sg, int total, int bs, in omap_crypto_align_sg()
/kernel/linux/linux-5.10/drivers/crypto/
Domap-crypto.c16 static int omap_crypto_copy_sg_lists(int total, int bs, in omap_crypto_copy_sg_lists()
55 static int omap_crypto_copy_sgs(int total, int bs, struct scatterlist **sg, in omap_crypto_copy_sgs()
88 static int omap_crypto_check_sg(struct scatterlist *sg, int total, int bs, in omap_crypto_check_sg()
125 int omap_crypto_align_sg(struct scatterlist **sg, int total, int bs, in omap_crypto_align_sg()
/kernel/linux/linux-4.19/drivers/pcmcia/
Dsa11xx_base.h69 #define MECR_SET(mecr, sock, shift, mask, bs) \ argument
78 #define MECR_BSIO_SET(mecr, sock, bs) \ argument
84 #define MECR_BSA_SET(mecr, sock, bs) \ argument
90 #define MECR_BSM_SET(mecr, sock, bs) \ argument
/kernel/linux/linux-5.10/drivers/pcmcia/
Dsa11xx_base.h69 #define MECR_SET(mecr, sock, shift, mask, bs) \ argument
78 #define MECR_BSIO_SET(mecr, sock, bs) \ argument
84 #define MECR_BSA_SET(mecr, sock, bs) \ argument
90 #define MECR_BSM_SET(mecr, sock, bs) \ argument
/kernel/linux/linux-5.10/block/
Dbio-integrity.c27 static void __bio_integrity_free(struct bio_set *bs, in __bio_integrity_free()
55 struct bio_set *bs = bio->bi_pool; in bio_integrity_alloc() local
109 struct bio_set *bs = bio->bi_pool; in bio_integrity_free() local
436 int bioset_integrity_create(struct bio_set *bs, int pool_size) in bioset_integrity_create()
454 void bioset_integrity_free(struct bio_set *bs) in bioset_integrity_free()
/kernel/linux/linux-4.19/block/
Dbio-integrity.c41 void __bio_integrity_free(struct bio_set *bs, struct bio_integrity_payload *bip) in __bio_integrity_free()
68 struct bio_set *bs = bio->bi_pool; in bio_integrity_alloc() local
120 struct bio_set *bs = bio->bi_pool; in bio_integrity_free() local
452 int bioset_integrity_create(struct bio_set *bs, int pool_size) in bioset_integrity_create()
470 void bioset_integrity_free(struct bio_set *bs) in bioset_integrity_free()
/kernel/linux/linux-4.19/crypto/
Dxcbc.c65 int bs = crypto_shash_blocksize(parent); in crypto_xcbc_digest_setkey() local
85 int bs = crypto_shash_blocksize(pdesc->tfm); in crypto_xcbc_digest_init() local
102 int bs = crypto_shash_blocksize(parent); in crypto_xcbc_digest_update() local
148 int bs = crypto_shash_blocksize(parent); in crypto_xcbc_digest_final() local
Dcmac.c59 unsigned int bs = crypto_shash_blocksize(parent); in crypto_cmac_digest_setkey() local
113 int bs = crypto_shash_blocksize(pdesc->tfm); in crypto_cmac_digest_init() local
130 int bs = crypto_shash_blocksize(parent); in crypto_cmac_digest_update() local
176 int bs = crypto_shash_blocksize(parent); in crypto_cmac_digest_final() local

12345678910