/linux-master/sound/oss/dmasound/ |
H A D | dmasound_core.c | 480 sq->max_count = sq->numBufs ; 513 sq->max_count = sq->user_frags ; 515 sq->max_active = (sq->max_active <= sq->max_count) ? 516 sq->max_active : sq->max_count ; 521 sq->max_count = 647 dest = write_sq.buffers[(write_sq.rear+1) % write_sq.max_count]; 658 write_sq.rear = (write_sq.rear+1) % write_sq.max_count; 823 /* write_sq.front = (write_sq.rear+1) % write_sq.max_count;*/ 974 from max_count. This could be a LL driver issue - I guess 1310 "write", write_sq.max_count, write_s [all...] |
H A D | dmasound.h | 216 int max_count; /* actual # fragments <= numBufs */ member in struct:sound_queue 218 int max_active; /* in-use fragments <= max_count */
|
/linux-master/kernel/ |
H A D | hung_task.c | 183 int max_count = sysctl_hung_task_check_count; local 199 if (!max_count--)
|
/linux-master/drivers/iio/imu/inv_icm42600/ |
H A D | inv_icm42600_buffer.c | 447 size_t max_count; local 463 max_count = sizeof(st->fifo.data); 465 max_count = max * inv_icm42600_get_packet_size(st->fifo.en); 478 if (st->fifo.count > max_count) 479 st->fifo.count = max_count;
|
/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | request_manager.c | 84 iq->max_count = num_descs; 101 iq_no, iq->base_addr, &iq->base_addr_dma, iq->max_count); 177 q_size = iq->max_count * desc_size; 310 if (atomic_read(&iq->instr_pending) >= (s32)(iq->max_count - 1)) { 316 if (atomic_read(&iq->instr_pending) >= (s32)(iq->max_count - 2)) 324 iq->max_count); 421 old = incr_index(old, 1, iq->max_count);
|
H A D | octeon_droq.h | 274 u32 max_count; member in struct:octeon_droq
|
H A D | octeon_iq.h | 116 u32 max_count; member in struct:octeon_instr_queue
|
H A D | cn66xx_device.c | 273 octeon_write_csr(oct, CN6XXX_SLI_IQ_SIZE(iq_no), iq->max_count); 308 octeon_write_csr(oct, CN6XXX_SLI_OQ_SIZE(oq_no), droq->max_count); 465 new_idx %= iq->max_count;
|
H A D | cn23xx_vf_device.c | 220 octeon_write_csr(oct, CN23XX_VF_SLI_IQ_SIZE(iq_no), iq->max_count); 251 octeon_write_csr(oct, CN23XX_VF_SLI_OQ_SIZE(oq_no), droq->max_count); 539 iq->max_count;
|
/linux-master/drivers/misc/ocxl/ |
H A D | core.c | 359 int rc, desired_count, max_count; local 365 rc = ocxl_config_get_pasid_info(dev, &max_count); 371 if (desired_count > max_count) { 374 desired_count, max_count);
|
/linux-master/drivers/acpi/acpica/ |
H A D | acdebug.h | 39 u32 max_count; member in struct:acpi_db_execute_walk
|
H A D | dbtest.c | 940 info.max_count = ACPI_UINT32_MAX; 943 info.max_count = strtoul(count_arg, NULL, 0); 1099 if (info->count >= info->max_count) {
|
/linux-master/drivers/dma/idxd/ |
H A D | perfmon.c | 90 int n, max_count; local 92 max_count = idxd_pmu->n_counters; 95 if (n >= max_count) 112 if (n >= max_count)
|
/linux-master/drivers/net/ethernet/marvell/octeon_ep_vf/ |
H A D | octep_vf_cn9k.c | 182 octep_vf_write_csr64(oct, CN93_VF_SDP_R_IN_INSTR_RSIZE(iq_no), iq->max_count); 228 octep_vf_write_csr64(oct, CN93_VF_SDP_R_OUT_SLIST_RSIZE(oq_no), oq->max_count); 305 writel(oct->oq[i]->max_count, oct->oq[i]->pkts_credit_reg); 360 new_idx = (iq->octep_vf_read_index + last_done) % iq->max_count;
|
H A D | octep_vf_cnxk.c | 185 octep_vf_write_csr64(oct, CNXK_VF_SDP_R_IN_INSTR_RSIZE(iq_no), iq->max_count); 231 octep_vf_write_csr64(oct, CNXK_VF_SDP_R_OUT_SLIST_RSIZE(oq_no), oq->max_count); 316 writel(oct->oq[i]->max_count, oct->oq[i]->pkts_credit_reg); 371 new_idx = (iq->octep_vf_read_index + last_done) % iq->max_count;
|
/linux-master/drivers/i3c/master/mipi-i3c-hci/ |
H A D | ext_caps.c | 119 unsigned int max_count = FIELD_GET(GENMASK(3, 0), autocmd_ext_caps); local 124 count, max_count);
|
/linux-master/drivers/input/touchscreen/ |
H A D | ads7846.c | 1044 unsigned int max_count; local 1050 max_count = packet->count + packet->count_skip; 1052 max_count = packet->count; 1055 offset += max_count; 1056 l->count = max_count; 1058 size += sizeof(*packet->tx) * max_count;
|
/linux-master/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_rdma.c | 39 struct qed_bmap *bmap, u32 max_count, char *name) 41 DP_VERBOSE(p_hwfn, QED_MSG_RDMA, "max_count = %08x\n", max_count); 43 bmap->max_count = max_count; 45 bmap->bitmap = bitmap_zalloc(max_count, GFP_KERNEL); 58 *id_num = find_first_zero_bit(bmap->bitmap, bmap->max_count); 59 if (*id_num >= bmap->max_count) 73 if (id_num >= bmap->max_count) 84 if (id_num >= bmap->max_count) 38 qed_rdma_bmap_alloc(struct qed_hwfn *p_hwfn, struct qed_bmap *bmap, u32 max_count, char *name) argument [all...] |
/linux-master/drivers/tty/serial/ |
H A D | pic32_uart.c | 269 unsigned int max_count; local 275 max_count = PIC32_UART_RX_FIFO_DEPTH; 332 } while (--max_count); 346 unsigned int max_count = PIC32_UART_TX_FIFO_DEPTH; local 381 if (--max_count == 0)
|
H A D | milbeaut_usio.c | 153 int max_count = 2; local 155 while (max_count--) { 197 max_count = readw(port->membase + MLB_USIO_REG_FBYTE) >> 8;
|
H A D | bcm63xx_uart.c | 230 unsigned int max_count; local 235 max_count = 32; 294 } while (--max_count);
|
/linux-master/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_aca.c | 137 int i, max_count, ret; local 147 max_count = smu_funcs->max_ue_bank_count; 150 max_count = smu_funcs->max_ce_bank_count; 157 if (start + count >= max_count) 160 count = min_t(int, count, max_count);
|
/linux-master/arch/alpha/kernel/ |
H A D | perf_event.c | 340 static int collect_events(struct perf_event *group, int max_count, argument 348 if (n >= max_count) 356 if (n >= max_count)
|
/linux-master/arch/powerpc/perf/ |
H A D | core-fsl-emb.c | 251 static int collect_events(struct perf_event *group, int max_count, argument 258 if (n >= max_count) 266 if (n >= max_count)
|
/linux-master/drivers/scsi/lpfc/ |
H A D | lpfc_mem.c | 127 pool->max_count = 0; 134 pool->max_count++; 412 * it is below its max_count, frees the mbuf otherwise. 424 if (pool->current_count < pool->max_count) { 441 * it is below its max_count, frees the mbuf otherwise.
|