Searched refs:rd_index (Results 1 – 10 of 10) sorted by relevance
/Linux-v6.1/drivers/media/i2c/ |
D | saa6588.c | 61 unsigned int rd_index; member 145 if (s->rd_index == s->wr_index) { in block_from_buf() 153 for (i = s->rd_index; i < s->rd_index + 3; i++) in block_from_buf() 157 memcpy(buf, &s->buffer[s->rd_index], 3); in block_from_buf() 159 s->rd_index += 3; in block_from_buf() 160 if (s->rd_index >= s->buf_size) in block_from_buf() 161 s->rd_index = 0; in block_from_buf() 237 if (s->wr_index == s->rd_index) { in block_to_buf() 238 s->rd_index += 3; in block_to_buf() 239 if (s->rd_index >= s->buf_size) in block_to_buf() [all …]
|
/Linux-v6.1/drivers/media/radio/si470x/ |
D | radio-si470x-common.c | 471 while (radio->wr_index == radio->rd_index) { in si470x_fops_read() 477 radio->wr_index != radio->rd_index) < 0) { in si470x_fops_read() 488 if (radio->rd_index == radio->wr_index) in si470x_fops_read() 492 if (copy_to_user(buf, &radio->buffer[radio->rd_index], 3)) in si470x_fops_read() 497 radio->rd_index += 3; in si470x_fops_read() 498 if (radio->rd_index >= radio->buf_size) in si470x_fops_read() 499 radio->rd_index = 0; in si470x_fops_read() 529 if (radio->rd_index != radio->wr_index) in si470x_fops_poll()
|
D | radio-si470x-i2c.c | 314 if (radio->wr_index == radio->rd_index) { in si470x_i2c_interrupt() 316 radio->rd_index += 3; in si470x_i2c_interrupt() 317 if (radio->rd_index >= radio->buf_size) in si470x_i2c_interrupt() 318 radio->rd_index = 0; in si470x_i2c_interrupt() 322 if (radio->wr_index != radio->rd_index) in si470x_i2c_interrupt() 431 radio->rd_index = 0; in si470x_i2c_probe()
|
D | radio-si470x-usb.c | 451 if (radio->wr_index == radio->rd_index) { in si470x_int_in_callback() 453 radio->rd_index += 3; in si470x_int_in_callback() 454 if (radio->rd_index >= radio->buf_size) in si470x_int_in_callback() 455 radio->rd_index = 0; in si470x_int_in_callback() 458 if (radio->wr_index != radio->rd_index) in si470x_int_in_callback() 724 radio->rd_index = 0; in si470x_usb_driver_probe()
|
D | radio-si470x.h | 149 unsigned int rd_index; member
|
/Linux-v6.1/Documentation/trace/postprocess/ |
D | trace-vmscan-postprocess.pl | 701 my $rd_index = 0; 702 while (defined $perprocesspid{$process_pid}->{HIGH_DIRECT_RECLAIM_LATENCY}[$rd_index]) { 703 …CLAIM_LATENCY}[$wr_index] = $perprocesspid{$process_pid}->{HIGH_DIRECT_RECLAIM_LATENCY}[$rd_index]; 704 $rd_index++; 711 my $rd_index = 0; 712 while (defined $perprocesspid{$process_pid}->{HIGH_KSWAPD_LATENCY}[$rd_index]) { 713 …>{HIGH_KSWAPD_LATENCY}[$wr_index] = $perprocesspid{$process_pid}->{HIGH_KSWAPD_LATENCY}[$rd_index]; 714 $rd_index++;
|
/Linux-v6.1/arch/riscv/kernel/probes/ |
D | simulate-insn.c | 71 u32 rd_index = (opcode >> 7) & 0x1f; in simulate_jalr() local 74 ret = rv_insn_reg_set_val(regs, rd_index, addr + 4); in simulate_jalr()
|
/Linux-v6.1/drivers/media/radio/ |
D | radio-wl1273.c | 66 unsigned int rd_index; member 202 if (radio->wr_index == radio->rd_index) { in wl1273_fm_rds() 205 radio->rd_index = 0; in wl1273_fm_rds() 212 if (radio->wr_index != radio->rd_index) in wl1273_fm_rds() 445 radio->rd_index = 0; in wl1273_fm_set_rx_freq() 590 radio->rd_index = 0; in wl1273_fm_start() 1098 if (radio->rd_index != radio->wr_index) in wl1273_fm_fops_poll() 1217 while (radio->wr_index == radio->rd_index) { in wl1273_fm_fops_read() 1226 radio->rd_index) < 0) { in wl1273_fm_fops_read() 1237 if (radio->rd_index == radio->wr_index) in wl1273_fm_fops_read() [all …]
|
/Linux-v6.1/drivers/net/wireless/marvell/mwifiex/ |
D | pcie.c | 1560 u32 wrptr, rd_index, tx_val; in mwifiex_pcie_process_recv_data() local 1586 rd_index = card->rxbd_rdptr & reg->rx_mask; in mwifiex_pcie_process_recv_data() 1587 skb_data = card->rx_buf_list[rd_index]; in mwifiex_pcie_process_recv_data() 1596 card->rx_buf_list[rd_index] = NULL; in mwifiex_pcie_process_recv_data() 1640 skb_tmp, rd_index); in mwifiex_pcie_process_recv_data() 1641 card->rx_buf_list[rd_index] = skb_tmp; in mwifiex_pcie_process_recv_data() 1644 desc2 = card->rxbd_ring[rd_index]; in mwifiex_pcie_process_recv_data() 1651 desc = card->rxbd_ring[rd_index]; in mwifiex_pcie_process_recv_data()
|
/Linux-v6.1/drivers/scsi/lpfc/ |
D | lpfc_bsg.c | 5258 u32 rd_offset, rd_index, offset; in lpfc_bsg_get_ras_fwlog() local 5300 rd_index = (rd_offset / LPFC_RAS_MAX_ENTRY_SIZE); in lpfc_bsg_get_ras_fwlog() 5306 if (dmabuf->buffer_tag < rd_index) in lpfc_bsg_get_ras_fwlog()
|