Home
last modified time | relevance | path

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

1234567891011

/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.c114 static void bcm63xx_hsspi_set_cs(struct bcm63xx_hsspi *bs, unsigned int cs, in bcm63xx_hsspi_set_cs()
130 static void bcm63xx_hsspi_set_clk(struct bcm63xx_hsspi *bs, in bcm63xx_hsspi_set_clk()
159 struct bcm63xx_hsspi *bs = spi_master_get_devdata(spi->master); in bcm63xx_hsspi_do_txrx() local
233 struct bcm63xx_hsspi *bs = spi_master_get_devdata(spi->master); in bcm63xx_hsspi_setup() local
271 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_transfer_one() local
323 struct bcm63xx_hsspi *bs = (struct bcm63xx_hsspi *)dev_id; in bcm63xx_hsspi_interrupt() local
339 struct bcm63xx_hsspi *bs; in bcm63xx_hsspi_probe() local
473 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_remove() local
487 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_suspend() local
499 struct bcm63xx_hsspi *bs = spi_master_get_devdata(master); in bcm63xx_hsspi_resume() local
/kernel/linux/linux-6.6/drivers/spi/
Dspi-bcm2835.c163 static void bcm2835_debugfs_create(struct bcm2835_spi *bs, in bcm2835_debugfs_create()
187 static void bcm2835_debugfs_remove(struct bcm2835_spi *bs) in bcm2835_debugfs_remove()
193 static void bcm2835_debugfs_create(struct bcm2835_spi *bs, in bcm2835_debugfs_create()
198 static void bcm2835_debugfs_remove(struct bcm2835_spi *bs) in bcm2835_debugfs_remove()
203 static inline u32 bcm2835_rd(struct bcm2835_spi *bs, unsigned int reg) in bcm2835_rd()
208 static inline void bcm2835_wr(struct bcm2835_spi *bs, unsigned int reg, u32 val) in bcm2835_wr()
213 static inline void bcm2835_rd_fifo(struct bcm2835_spi *bs) in bcm2835_rd_fifo()
226 static inline void bcm2835_wr_fifo(struct bcm2835_spi *bs) in bcm2835_wr_fifo()
248 static inline void bcm2835_rd_fifo_count(struct bcm2835_spi *bs, int count) in bcm2835_rd_fifo_count()
274 static inline void bcm2835_wr_fifo_count(struct bcm2835_spi *bs, int count) in bcm2835_wr_fifo_count()
[all …]
Dspi-bcm2835aux.c105 static void bcm2835aux_debugfs_create(struct bcm2835aux_spi *bs, in bcm2835aux_debugfs_create()
127 static void bcm2835aux_debugfs_remove(struct bcm2835aux_spi *bs) in bcm2835aux_debugfs_remove()
133 static void bcm2835aux_debugfs_create(struct bcm2835aux_spi *bs, in bcm2835aux_debugfs_create()
138 static void bcm2835aux_debugfs_remove(struct bcm2835aux_spi *bs) in bcm2835aux_debugfs_remove()
143 static inline u32 bcm2835aux_rd(struct bcm2835aux_spi *bs, unsigned int reg) in bcm2835aux_rd()
148 static inline void bcm2835aux_wr(struct bcm2835aux_spi *bs, unsigned int reg, in bcm2835aux_wr()
154 static inline void bcm2835aux_rd_fifo(struct bcm2835aux_spi *bs) in bcm2835aux_rd_fifo()
177 static inline void bcm2835aux_wr_fifo(struct bcm2835aux_spi *bs) in bcm2835aux_wr_fifo()
206 static void bcm2835aux_spi_reset_hw(struct bcm2835aux_spi *bs) in bcm2835aux_spi_reset_hw()
214 static void bcm2835aux_spi_transfer_helper(struct bcm2835aux_spi *bs) in bcm2835aux_spi_transfer_helper()
[all …]
Dspi-bcm63xx-hsspi.c122 #define bcm63xx_prepend_printk_on_checkfail(bs, fmt, ...) \ argument
152 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(ctrl); in wait_mode_show() local
161 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(ctrl); in wait_mode_store() local
188 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(ctrl); in xfer_mode_show() local
197 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(ctrl); in xfer_mode_store() local
235 static int bcm63xx_hsspi_wait_cmd(struct bcm63xx_hsspi *bs) in bcm63xx_hsspi_wait_cmd()
270 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(host); in bcm63xx_prepare_prepend_transfer() local
351 struct bcm63xx_hsspi *bs = spi_controller_get_devdata(spi->controller); in bcm63xx_hsspi_do_prepend_txrx() local
425 static void bcm63xx_hsspi_set_cs(struct bcm63xx_hsspi *bs, unsigned int cs, in bcm63xx_hsspi_set_cs()
441 static void bcm63xx_hsspi_set_clk(struct bcm63xx_hsspi *bs, in bcm63xx_hsspi_set_clk()
[all …]
Dspi-bcmbca-hsspi.c130 struct bcmbca_hsspi *bs = spi_controller_get_devdata(ctrl); in wait_mode_show() local
139 struct bcmbca_hsspi *bs = spi_controller_get_devdata(ctrl); in wait_mode_store() local
171 static void bcmbca_hsspi_set_cs(struct bcmbca_hsspi *bs, unsigned int cs, in bcmbca_hsspi_set_cs()
193 static void bcmbca_hsspi_set_clk(struct bcmbca_hsspi *bs, in bcmbca_hsspi_set_clk()
221 static int bcmbca_hsspi_wait_cmd(struct bcmbca_hsspi *bs, unsigned int cs) in bcmbca_hsspi_wait_cmd()
253 struct bcmbca_hsspi *bs = spi_controller_get_devdata(spi->controller); in bcmbca_hsspi_do_txrx() local
331 struct bcmbca_hsspi *bs = spi_controller_get_devdata(spi->controller); in bcmbca_hsspi_setup() local
372 struct bcmbca_hsspi *bs = spi_controller_get_devdata(host); in bcmbca_hsspi_transfer_one() local
419 struct bcmbca_hsspi *bs = (struct bcmbca_hsspi *)dev_id; in bcmbca_hsspi_interrupt() local
435 struct bcmbca_hsspi *bs; in bcmbca_hsspi_probe() local
[all …]
Dspi-bcm63xx.c154 static inline u8 bcm_spi_readb(struct bcm63xx_spi *bs, in bcm_spi_readb()
160 static inline void bcm_spi_writeb(struct bcm63xx_spi *bs, in bcm_spi_writeb()
166 static inline void bcm_spi_writew(struct bcm63xx_spi *bs, in bcm_spi_writew()
189 struct bcm63xx_spi *bs = spi_controller_get_devdata(spi->controller); in bcm63xx_spi_setup_transfer() local
220 struct bcm63xx_spi *bs = spi_controller_get_devdata(spi->controller); in bcm63xx_txrx_bufs() local
318 struct bcm63xx_spi *bs = spi_controller_get_devdata(host); in bcm63xx_spi_transfer_one() local
399 struct bcm63xx_spi *bs = spi_controller_get_devdata(host); in bcm63xx_spi_interrupt() local
416 struct bcm63xx_spi *bs = spi_controller_get_devdata(spi->controller); in bcm63xx_spi_max_length() local
486 struct bcm63xx_spi *bs; in bcm63xx_spi_probe() local
613 struct bcm63xx_spi *bs = spi_controller_get_devdata(host); in bcm63xx_spi_remove() local
[all …]
/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-6.6/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-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-6.6/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-6.6/fs/xfs/scrub/
Dbtree.c138 struct xchk_btree *bs) in xchk_btree_rec()
187 struct xchk_btree *bs, in xchk_btree_key()
235 struct xchk_btree *bs, in xchk_btree_ptr_ok()
260 struct xchk_btree *bs, in xchk_btree_block_check_sibling()
323 struct xchk_btree *bs, in xchk_btree_block_check_siblings()
371 struct xchk_btree *bs, in xchk_btree_check_block_owner()
424 struct xchk_btree *bs, in xchk_btree_check_owner()
470 struct xchk_btree *bs) in xchk_btree_check_iroot_minrecs()
497 struct xchk_btree *bs, in xchk_btree_check_minrecs()
545 struct xchk_btree *bs, in xchk_btree_block_check_keys()
[all …]
/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-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-6.6/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-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-6.6/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-6.6/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-6.6/block/
Dbio-integrity.c25 static void __bio_integrity_free(struct bio_set *bs, in __bio_integrity_free()
53 struct bio_set *bs = bio->bi_pool; in bio_integrity_alloc() local
104 struct bio_set *bs = bio->bi_pool; in bio_integrity_free() local
431 int bioset_integrity_create(struct bio_set *bs, int pool_size) in bioset_integrity_create()
449 void bioset_integrity_free(struct bio_set *bs) in bioset_integrity_free()
Dbio.c113 static inline unsigned int bs_bio_slab_size(struct bio_set *bs) in bs_bio_slab_size()
118 static struct kmem_cache *bio_find_or_create_slab(struct bio_set *bs) in bio_find_or_create_slab()
136 static void bio_put_slab(struct bio_set *bs) in bio_put_slab()
231 struct bio_set *bs = bio->bi_pool; in bio_free() local
364 struct bio_set *bs = container_of(work, struct bio_set, rescue_work); in bio_alloc_rescue() local
379 static void punt_bios_to_rescuer(struct bio_set *bs) in punt_bios_to_rescuer()
434 struct bio_set *bs) in bio_alloc_percpu_cache()
494 struct bio_set *bs) in bio_alloc_bioset()
731 struct bio_set *bs; in bio_cpu_dead() local
742 static void bio_alloc_cache_destroy(struct bio_set *bs) in bio_alloc_cache_destroy()
[all …]
/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
437 int bioset_integrity_create(struct bio_set *bs, int pool_size) in bioset_integrity_create()
455 void bioset_integrity_free(struct bio_set *bs) in bioset_integrity_free()

1234567891011