Home
last modified time | relevance | path

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

1234567891011

/openbmc/qemu/block/
H A Dthrottle.c76 static int throttle_open(BlockDriverState *bs, QDict *options, in throttle_open()
105 static void throttle_close(BlockDriverState *bs) in throttle_close()
113 throttle_co_getlength(BlockDriverState *bs) in throttle_co_getlength()
119 throttle_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in throttle_co_preadv()
130 throttle_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in throttle_co_pwritev()
140 throttle_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in throttle_co_pwrite_zeroes()
150 throttle_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in throttle_co_pdiscard()
159 throttle_co_pwritev_compressed(BlockDriverState *bs, int64_t offset, in throttle_co_pwritev_compressed()
166 static int coroutine_fn GRAPH_RDLOCK throttle_co_flush(BlockDriverState *bs) in throttle_co_flush()
171 static void throttle_detach_aio_context(BlockDriverState *bs) in throttle_detach_aio_context()
[all …]
H A Dsnapshot.c53 int bdrv_snapshot_find(BlockDriverState *bs, QEMUSnapshotInfo *sn_info, in bdrv_snapshot_find()
98 bool bdrv_snapshot_find_by_id_and_name(BlockDriverState *bs, in bdrv_snapshot_find_by_id_and_name()
158 bdrv_snapshot_fallback_child(BlockDriverState *bs) in bdrv_snapshot_fallback_child()
189 bdrv_snapshot_fallback(BlockDriverState *bs) in bdrv_snapshot_fallback()
195 int bdrv_can_snapshot(BlockDriverState *bs) in bdrv_can_snapshot()
216 int bdrv_snapshot_create(BlockDriverState *bs, in bdrv_snapshot_create()
236 int bdrv_snapshot_goto(BlockDriverState *bs, in bdrv_snapshot_goto()
349 int bdrv_snapshot_delete(BlockDriverState *bs, in bdrv_snapshot_delete()
388 int bdrv_snapshot_list(BlockDriverState *bs, in bdrv_snapshot_list()
429 int bdrv_snapshot_load_tmp(BlockDriverState *bs, in bdrv_snapshot_load_tmp()
[all …]
H A Dio.c52 bdrv_parent_drained_begin(BlockDriverState *bs, BdrvChild *ignore) in bdrv_parent_drained_begin()
79 bdrv_parent_drained_end(BlockDriverState *bs, BdrvChild *ignore) in bdrv_parent_drained_end()
104 bdrv_parent_drained_poll(BlockDriverState *bs, BdrvChild *ignore, in bdrv_parent_drained_poll()
152 BlockDriverState *bs; member
169 void bdrv_refresh_limits(BlockDriverState *bs, Transaction *tran, Error **errp) in bdrv_refresh_limits()
238 void bdrv_enable_copy_on_read(BlockDriverState *bs) in bdrv_enable_copy_on_read()
244 void bdrv_disable_copy_on_read(BlockDriverState *bs) in bdrv_disable_copy_on_read()
253 BlockDriverState *bs; member
261 bool bdrv_drain_poll(BlockDriverState *bs, BdrvChild *ignore_parent, in bdrv_drain_poll()
277 static bool bdrv_drain_poll_top_level(BlockDriverState *bs, in bdrv_drain_poll_top_level()
[all …]
H A Draw-format.c99 raw_apply_options(BlockDriverState *bs, BDRVRawState *s, uint64_t offset, in raw_apply_options()
189 static inline int raw_adjust_offset(BlockDriverState *bs, int64_t *offset, in raw_adjust_offset()
210 raw_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in raw_co_preadv()
225 raw_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in raw_co_pwritev()
286 raw_co_block_status(BlockDriverState *bs, bool want_zero, int64_t offset, in raw_co_block_status()
298 raw_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in raw_co_pwrite_zeroes()
311 raw_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in raw_co_pdiscard()
323 raw_co_zone_report(BlockDriverState *bs, int64_t offset, in raw_co_zone_report()
331 raw_co_zone_mgmt(BlockDriverState *bs, BlockZoneOp op, in raw_co_zone_mgmt()
338 raw_co_zone_append(BlockDriverState *bs,int64_t *offset, QEMUIOVector *qiov, in raw_co_zone_append()
[all …]
H A Dfilter-compress.c31 static int compress_open(BlockDriverState *bs, QDict *options, int flags, in compress_open()
61 compress_co_getlength(BlockDriverState *bs) in compress_co_getlength()
68 compress_co_preadv_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in compress_co_preadv_part()
78 compress_co_pwritev_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in compress_co_pwritev_part()
88 compress_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in compress_co_pwrite_zeroes()
96 compress_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in compress_co_pdiscard()
103 compress_refresh_limits(BlockDriverState *bs, Error **errp) in compress_refresh_limits()
122 compress_co_eject(BlockDriverState *bs, bool eject_flag) in compress_co_eject()
129 compress_co_lock_medium(BlockDriverState *bs, bool locked) in compress_co_lock_medium()
H A Dcopy-on-read.c39 cor_open(BlockDriverState *bs, QDict *options, int flags, Error **errp) in cor_open()
111 static void cor_child_perm(BlockDriverState *bs, BdrvChild *c, in cor_child_perm()
128 static int64_t coroutine_fn GRAPH_RDLOCK cor_co_getlength(BlockDriverState *bs) in cor_co_getlength()
135 cor_co_preadv_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in cor_co_preadv_part()
187 cor_co_pwritev_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in cor_co_pwritev_part()
197 cor_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in cor_co_pwrite_zeroes()
205 cor_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in cor_co_pdiscard()
212 cor_co_pwritev_compressed(BlockDriverState *bs, int64_t offset, int64_t bytes, in cor_co_pwritev_compressed()
221 cor_co_eject(BlockDriverState *bs, bool eject_flag) in cor_co_eject()
228 cor_co_lock_medium(BlockDriverState *bs, bool locked) in cor_co_lock_medium()
[all …]
H A Dpreallocate.c140 static int preallocate_open(BlockDriverState *bs, QDict *options, int flags, in preallocate_open()
177 preallocate_truncate_to_real_size(BlockDriverState *bs, Error **errp) in preallocate_truncate_to_real_size()
204 static void preallocate_close(BlockDriverState *bs) in preallocate_close()
278 preallocate_co_preadv_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in preallocate_co_preadv_part()
287 preallocate_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in preallocate_co_pdiscard()
297 static bool GRAPH_RDLOCK has_prealloc_perms(BlockDriverState *bs) in has_prealloc_perms()
322 handle_write(BlockDriverState *bs, int64_t offset, int64_t bytes, in handle_write()
399 preallocate_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, in preallocate_co_pwrite_zeroes()
412 preallocate_co_pwritev_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in preallocate_co_pwritev_part()
423 preallocate_co_truncate(BlockDriverState *bs, int64_t offset, in preallocate_co_truncate()
[all …]
H A Dcopy-before-write.c84 cbw_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in cbw_co_preadv()
92 BlockDriverState *bs = opaque; in block_copy_cb() local
106 static coroutine_fn int cbw_do_copy_before_write(BlockDriverState *bs, in cbw_do_copy_before_write()
155 cbw_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in cbw_co_pdiscard()
166 cbw_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in cbw_co_pwrite_zeroes()
178 int cbw_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in cbw_co_pwritev()
189 static int coroutine_fn GRAPH_RDLOCK cbw_co_flush(BlockDriverState *bs) in cbw_co_flush()
209 cbw_snapshot_read_lock(BlockDriverState *bs, int64_t offset, int64_t bytes, in cbw_snapshot_read_lock()
246 cbw_snapshot_read_unlock(BlockDriverState *bs, BlockReq *req) in cbw_snapshot_read_unlock()
262 cbw_co_preadv_snapshot(BlockDriverState *bs, int64_t offset, int64_t bytes, in cbw_co_preadv_snapshot()
[all …]
H A Dblkreplay.c24 static int blkreplay_open(BlockDriverState *bs, QDict *options, int flags, in blkreplay_open()
44 blkreplay_co_getlength(BlockDriverState *bs) in blkreplay_co_getlength()
62 static void block_request_create(uint64_t reqid, BlockDriverState *bs, in block_request_create()
74 blkreplay_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in blkreplay_co_preadv()
86 blkreplay_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in blkreplay_co_pwritev()
98 blkreplay_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in blkreplay_co_pwrite_zeroes()
110 blkreplay_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in blkreplay_co_pdiscard()
120 static int coroutine_fn GRAPH_RDLOCK blkreplay_co_flush(BlockDriverState *bs) in blkreplay_co_flush()
130 static int blkreplay_snapshot_goto(BlockDriverState *bs, in blkreplay_snapshot_goto()
H A Dblkio.c234 BlockDriverState *bs = opaque; in blkio_completion_fd_read() local
279 BlockDriverState *bs = opaque; in blkio_completion_fd_poll() local
299 static void blkio_attach_aio_context(BlockDriverState *bs, in blkio_attach_aio_context()
310 static void blkio_detach_aio_context(BlockDriverState *bs) in blkio_detach_aio_context()
335 static void blkio_submit_io(BlockDriverState *bs) in blkio_submit_io()
343 blkio_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in blkio_co_pdiscard()
360 blkio_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in blkio_co_preadv()
403 static int coroutine_fn blkio_co_pwritev(BlockDriverState *bs, int64_t offset, in blkio_co_pwritev()
442 static int coroutine_fn blkio_co_flush(BlockDriverState *bs) in blkio_co_flush()
458 static int coroutine_fn blkio_co_pwrite_zeroes(BlockDriverState *bs, in blkio_co_pwrite_zeroes()
[all …]
H A Dsnapshot-access.c30 snapshot_access_co_preadv_part(BlockDriverState *bs, in snapshot_access_co_preadv_part()
43 snapshot_access_co_block_status(BlockDriverState *bs, in snapshot_access_co_block_status()
53 snapshot_access_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in snapshot_access_co_pdiscard()
59 snapshot_access_co_pwrite_zeroes(BlockDriverState *bs, in snapshot_access_co_pwrite_zeroes()
67 snapshot_access_co_pwritev_part(BlockDriverState *bs, in snapshot_access_co_pwritev_part()
76 static void GRAPH_RDLOCK snapshot_access_refresh_filename(BlockDriverState *bs) in snapshot_access_refresh_filename()
82 static int snapshot_access_open(BlockDriverState *bs, QDict *options, int flags, in snapshot_access_open()
100 static void snapshot_access_child_perm(BlockDriverState *bs, BdrvChild *c, in snapshot_access_child_perm()
H A Dnull.c80 static int null_open(BlockDriverState *bs, QDict *options, int flags, in null_open()
103 static int64_t coroutine_fn null_co_getlength(BlockDriverState *bs) in null_co_getlength()
109 static coroutine_fn int null_co_common(BlockDriverState *bs) in null_co_common()
119 static coroutine_fn int null_co_preadv(BlockDriverState *bs, in null_co_preadv()
133 static coroutine_fn int null_co_pwritev(BlockDriverState *bs, in null_co_pwritev()
141 static coroutine_fn int null_co_flush(BlockDriverState *bs) in null_co_flush()
170 static inline BlockAIOCB *null_aio_common(BlockDriverState *bs, in null_aio_common()
192 static BlockAIOCB *null_aio_preadv(BlockDriverState *bs, in null_aio_preadv()
207 static BlockAIOCB *null_aio_pwritev(BlockDriverState *bs, in null_aio_pwritev()
216 static BlockAIOCB *null_aio_flush(BlockDriverState *bs, in null_aio_flush()
[all …]
H A Dreplication.c82 static int replication_open(BlockDriverState *bs, QDict *options, in replication_open()
139 static void replication_close(BlockDriverState *bs) in replication_close()
161 static void replication_child_perm(BlockDriverState *bs, BdrvChild *c, in replication_child_perm()
183 replication_co_getlength(BlockDriverState *bs) in replication_co_getlength()
225 replication_co_readv(BlockDriverState *bs, int64_t sector_num, in replication_co_readv()
248 replication_co_writev(BlockDriverState *bs, int64_t sector_num, in replication_co_writev()
311 secondary_do_checkpoint(BlockDriverState *bs, Error **errp) in secondary_do_checkpoint()
360 static void reopen_backing_file(BlockDriverState *bs, bool writable, in reopen_backing_file()
401 static void backup_job_cleanup(BlockDriverState *bs) in backup_job_cleanup()
419 BlockDriverState *bs = opaque; in backup_job_completed() local
[all …]
H A Dqcow2.c103 BlockDriverState *bs = opaque; in qcow2_crypto_hdr_read_func() local
126 BlockDriverState *bs = opaque; in qcow2_crypto_hdr_init_func() local
165 BlockDriverState *bs = opaque; in qcow2_crypto_hdr_write_func() local
205 qcow2_read_extensions(BlockDriverState *bs, uint64_t start_offset, in qcow2_read_extensions()
463 static void cleanup_unknown_header_ext(BlockDriverState *bs) in cleanup_unknown_header_ext()
510 int qcow2_mark_dirty(BlockDriverState *bs) in qcow2_mark_dirty()
540 static int GRAPH_RDLOCK qcow2_mark_clean(BlockDriverState *bs) in qcow2_mark_clean()
562 int qcow2_mark_corrupt(BlockDriverState *bs) in qcow2_mark_corrupt()
575 qcow2_mark_consistent(BlockDriverState *bs) in qcow2_mark_consistent()
608 qcow2_co_check_locked(BlockDriverState *bs, BdrvCheckResult *result, in qcow2_co_check_locked()
[all …]
H A Dqcow2-snapshot.c34 static void qcow2_free_single_snapshot(BlockDriverState *bs, int i) in qcow2_free_single_snapshot()
45 void qcow2_free_snapshots(BlockDriverState *bs) in qcow2_free_snapshots()
81 int qcow2_do_read_snapshots(BlockDriverState *bs, bool repair, in qcow2_do_read_snapshots()
265 int coroutine_fn qcow2_read_snapshots(BlockDriverState *bs, Error **errp) in qcow2_read_snapshots()
271 int qcow2_write_snapshots(BlockDriverState *bs) in qcow2_write_snapshots()
430 int coroutine_fn qcow2_check_read_snapshot_table(BlockDriverState *bs, in qcow2_check_read_snapshot_table()
551 int coroutine_fn qcow2_check_fix_snapshot_table(BlockDriverState *bs, in qcow2_check_fix_snapshot_table()
576 static void find_new_snapshot_id(BlockDriverState *bs, in find_new_snapshot_id()
593 static int find_snapshot_by_id_and_name(BlockDriverState *bs, in find_snapshot_by_id_and_name()
624 static int find_snapshot_by_id_or_name(BlockDriverState *bs, in find_snapshot_by_id_or_name()
[all …]
H A Dparallels.c181 static int mark_used(BlockDriverState *bs, unsigned long *bitmap, in mark_used()
203 static int GRAPH_RDLOCK parallels_fill_used_bitmap(BlockDriverState *bs) in parallels_fill_used_bitmap()
243 static void parallels_free_used_bitmap(BlockDriverState *bs) in parallels_free_used_bitmap()
251 allocate_clusters(BlockDriverState *bs, int64_t sector_num, in allocate_clusters()
387 parallels_co_flush_to_os(BlockDriverState *bs) in parallels_co_flush_to_os()
419 parallels_co_block_status(BlockDriverState *bs, bool want_zero, int64_t offset, in parallels_co_block_status()
443 parallels_co_writev(BlockDriverState *bs, int64_t sector_num, int nb_sectors, in parallels_co_writev()
486 parallels_co_readv(BlockDriverState *bs, int64_t sector_num, int nb_sectors, in parallels_co_readv()
538 parallels_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in parallels_co_pdiscard()
582 parallels_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in parallels_co_pwrite_zeroes()
[all …]
H A Dcrypto.c66 BlockDriverState *bs = opaque; in block_crypto_read_func() local
89 BlockDriverState *bs = opaque; in block_crypto_write_func() local
169 BlockDriverState *bs = NULL; in block_crypto_co_format_luks_payload() local
308 BlockDriverState *bs, in block_crypto_open_generic()
384 block_crypto_co_create_generic(BlockDriverState *bs, int64_t size, in block_crypto_co_create_generic()
432 block_crypto_co_truncate(BlockDriverState *bs, int64_t offset, bool exact, in block_crypto_co_truncate()
450 static void block_crypto_close(BlockDriverState *bs) in block_crypto_close()
470 block_crypto_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in block_crypto_co_preadv()
532 block_crypto_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in block_crypto_co_pwritev()
594 static void block_crypto_refresh_limits(BlockDriverState *bs, Error **errp) in block_crypto_refresh_limits()
[all …]
H A Dqcow2-cluster.c35 int coroutine_fn qcow2_shrink_l1_table(BlockDriverState *bs, in qcow2_shrink_l1_table()
86 int qcow2_grow_l1_table(BlockDriverState *bs, uint64_t min_size, in qcow2_grow_l1_table()
211 l2_load(BlockDriverState *bs, uint64_t offset, in l2_load()
227 int qcow2_write_l1_entry(BlockDriverState *bs, int l1_index) in qcow2_write_l1_entry()
273 static int GRAPH_RDLOCK l2_allocate(BlockDriverState *bs, int l1_index) in l2_allocate()
395 qcow2_get_subcluster_range_type(BlockDriverState *bs, uint64_t l2_entry, in qcow2_get_subcluster_range_type()
445 count_contiguous_subclusters(BlockDriverState *bs, int nb_clusters, in count_contiguous_subclusters()
496 do_perform_cow_read(BlockDriverState *bs, uint64_t src_cluster_offset, in do_perform_cow_read()
539 do_perform_cow_write(BlockDriverState *bs, uint64_t cluster_offset, in do_perform_cow_write()
586 int qcow2_get_host_offset(BlockDriverState *bs, uint64_t offset, in qcow2_get_host_offset()
[all …]
H A Dblkverify.c28 BlockDriverState *bs; member
112 static int blkverify_open(BlockDriverState *bs, QDict *options, int flags, in blkverify_open()
150 static void blkverify_close(BlockDriverState *bs) in blkverify_close()
161 blkverify_co_getlength(BlockDriverState *bs) in blkverify_co_getlength()
196 blkverify_co_prwv(BlockDriverState *bs, BlkverifyRequest *r, uint64_t offset, in blkverify_co_prwv()
232 blkverify_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in blkverify_co_preadv()
261 blkverify_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in blkverify_co_pwritev()
268 static int coroutine_fn GRAPH_RDLOCK blkverify_co_flush(BlockDriverState *bs) in blkverify_co_flush()
277 blkverify_recurse_can_replace(BlockDriverState *bs, in blkverify_recurse_can_replace()
291 static void GRAPH_RDLOCK blkverify_refresh_filename(BlockDriverState *bs) in blkverify_refresh_filename()
[all …]
H A Dfile-posix.c185 static int fd_open(BlockDriverState *bs) in fd_open()
199 BlockDriverState *bs; member
359 static bool raw_needs_alignment(BlockDriverState *bs) in raw_needs_alignment()
395 static void raw_probe_alignment(BlockDriverState *bs, int fd, Error **errp) in raw_probe_alignment()
592 static int raw_open_common(BlockDriverState *bs, QDict *options, in raw_open_common()
824 static int raw_open(BlockDriverState *bs, QDict *options, int flags, in raw_open()
962 static int raw_handle_perm_lock(BlockDriverState *bs, in raw_handle_perm_lock()
1045 static int raw_reconfigure_getfd(BlockDriverState *bs, int flags, in raw_reconfigure_getfd()
1319 static int get_zones_wp(BlockDriverState *bs, int fd, int64_t offset, in get_zones_wp()
1389 static void update_zones_wp(BlockDriverState *bs, int fd, int64_t offset, in update_zones_wp()
[all …]
/openbmc/qemu/
H A Dblock.c136 size_t bdrv_opt_mem_align(BlockDriverState *bs) in bdrv_opt_mem_align()
147 size_t bdrv_min_mem_align(BlockDriverState *bs) in bdrv_min_mem_align()
277 bool bdrv_is_read_only(BlockDriverState *bs) in bdrv_is_read_only()
284 bdrv_can_set_read_only(BlockDriverState *bs, bool read_only, in bdrv_can_set_read_only()
318 int bdrv_apply_auto_read_only(BlockDriverState *bs, const char *errmsg, in bdrv_apply_auto_read_only()
398 char *bdrv_get_full_backing_filename(BlockDriverState *bs, Error **errp) in bdrv_get_full_backing_filename()
413 BlockDriverState *bs; in bdrv_new() local
744 int coroutine_fn bdrv_co_delete_file(BlockDriverState *bs, Error **errp) in bdrv_co_delete_file()
772 void coroutine_fn bdrv_co_delete_file_noerr(BlockDriverState *bs) in bdrv_co_delete_file_noerr()
801 int bdrv_probe_blocksizes(BlockDriverState *bs, BlockSizes *bsz) in bdrv_probe_blocksizes()
[all …]
/openbmc/linux/drivers/spi/
H A 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 …]
H A 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 …]
/openbmc/linux/net/netfilter/
H A 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 …]
/openbmc/linux/drivers/media/pci/tw5864/
H A 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

1234567891011