/openbmc/u-boot/arch/arm/mach-tegra/ |
H A D | ivc.c | 66 uint32_t r_count; member 129 uint32_t r_count = ACCESS_ONCE(ch->r_count); in tegra_ivc_channel_empty() local 141 if (w_count - r_count > ivc->nframes) in tegra_ivc_channel_empty() 144 return w_count == r_count; in tegra_ivc_channel_empty() 154 return (ACCESS_ONCE(ch->w_count) - ACCESS_ONCE(ch->r_count)) >= in tegra_ivc_channel_full() 160 ACCESS_ONCE(ivc->rx_channel->r_count) = in tegra_ivc_advance_rx() 161 ACCESS_ONCE(ivc->rx_channel->r_count) + 1; in tegra_ivc_advance_rx() 219 offset = offsetof(struct tegra_ivc_channel_header, r_count); in tegra_ivc_check_write() 233 return ACCESS_ONCE(ch->w_count) - ACCESS_ONCE(ch->r_count); in tegra_ivc_channel_avail_count() 269 offset = offsetof(struct tegra_ivc_channel_header, r_count); in tegra_ivc_read_advance() [all …]
|
/openbmc/linux/drivers/media/usb/pvrusb2/ |
H A D | pvrusb2-io.c | 42 unsigned int r_count; member 133 cnt = &sp->r_count; in pvr2_buffer_remove() 178 fl = (sp->r_count == 0); in pvr2_buffer_set_ready() 182 (sp->r_count)++; in pvr2_buffer_set_ready() 187 sp->r_bcount, sp->r_count); in pvr2_buffer_set_ready() 515 stats->buffers_in_ready = sp->r_count; in pvr2_stream_get_stats() 570 return sp->r_count; in pvr2_stream_get_ready_count()
|
/openbmc/u-boot/fs/ext4/ |
H A D | ext4_journal.h | 105 __be32 r_count; /* Count of bytes used in the block */ member
|
H A D | ext4_journal.c | 218 max = be32_to_cpu(header->r_count); in print_revoke_blks() 306 max = be32_to_cpu(header->r_count); in check_blknr_for_revoke()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | omap2.c | 262 uint32_t r_count = 0; in omap_nand_data_in_pref() local 283 r_count = readl(info->reg.gpmc_prefetch_status); in omap_nand_data_in_pref() 284 r_count = PREFETCH_STATUS_FIFO_CNT(r_count); in omap_nand_data_in_pref() 285 r_count = r_count >> 2; in omap_nand_data_in_pref() 286 ioread32_rep(info->fifo, p, r_count); in omap_nand_data_in_pref() 287 p += r_count; in omap_nand_data_in_pref() 288 pref_len -= r_count << 2; in omap_nand_data_in_pref()
|
/openbmc/linux/fs/smb/server/ |
H A D | connection.c | 71 atomic_set(&conn->r_count, 0); in ksmbd_conn_alloc() 417 wait_event(conn->r_count_q, atomic_read(&conn->r_count) == 0); in ksmbd_conn_handler_loop()
|
H A D | server.c | 279 if (!atomic_dec_return(&conn->r_count) && waitqueue_active(&conn->r_count_q)) in handle_ksmbd_work() 313 atomic_inc(&conn->r_count); in queue_ksmbd_work()
|
H A D | connection.h | 60 atomic_t r_count; member
|
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | sil-sii8620.c | 95 int r_count; member 645 if (ctx->burst.r_count + len > ctx->burst.r_size) in sii8620_burst_send() 650 ctx->burst.r_count += len; in sii8620_burst_send() 660 if (ctx->burst.r_count + 2 > ctx->burst.r_size) in sii8620_burst_send() 664 ctx->burst.r_count += 2; in sii8620_burst_send() 681 ctx->burst.r_count -= buf[1]; in sii8620_burst_receive() 682 if (ctx->burst.r_count < 0) in sii8620_burst_receive() 683 ctx->burst.r_count = 0; in sii8620_burst_receive()
|
/openbmc/linux/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drx_driver.h | 116 u16 r_count, u8 *r_data); 208 r_dev_addr, u16 r_count, 242 u16 r_count, u8 *r_data); 1351 u16 r_count; /*< Size of data to read in bytes */ member
|
H A D | drxj.c | 1312 u16 r_count, u8 *r_data) in drxbsp_i2c_write_read() argument 1324 msg[0].len = r_count; in drxbsp_i2c_write_read() 1344 msg[1].len = r_count; in drxbsp_i2c_write_read() 1373 msg[1].len = r_count; in drxbsp_i2c_write_read() 1377 w_dev_addr->i2c_addr, state->i2c, w_count, r_count); in drxbsp_i2c_write_read()
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | fec_mpc52xx.h | 101 u32 r_count; /* FEC + 0x154 */ member
|
/openbmc/linux/drivers/tty/serial/ |
H A D | msm_serial.c | 740 int sysrq, r_count, i; in msm_handle_rx_dm() local 749 r_count = min_t(int, count, sizeof(buf)); in msm_handle_rx_dm() 751 for (i = 0; i < r_count; i++) { in msm_handle_rx_dm() 771 count -= r_count; in msm_handle_rx_dm()
|
/openbmc/linux/fs/jbd2/ |
H A D | revoke.c | 651 header->r_count = cpu_to_be32(offset); in flush_descriptor()
|
H A D | recovery.c | 954 rcount = be32_to_cpu(header->r_count); in scan_revoke_records()
|
/openbmc/linux/include/linux/ |
H A D | jbd2.h | 213 __be32 r_count; /* Count of bytes used in the block */ member
|
/openbmc/linux/Documentation/filesystems/ext4/ |
H A D | journal.rst | 551 - r_count 558 After r_count is a linear array of block numbers that are effectively
|
/openbmc/linux/fs/ocfs2/ |
H A D | refcounttree.c | 2231 unsigned int r_count = 0, r_len; in __ocfs2_decrease_refcount() local 2248 r_count = le32_to_cpu(rec.r_refcount); in __ocfs2_decrease_refcount() 2249 BUG_ON(r_count == 0); in __ocfs2_decrease_refcount() 2251 BUG_ON(r_count > 1); in __ocfs2_decrease_refcount()
|