Searched refs:max_count (Results 26 - 50 of 112) sorted by relevance

12345

/linux-master/sound/oss/dmasound/
H A Ddmasound_core.c480 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 Ddmasound.h216 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 Dhung_task.c183 int max_count = sysctl_hung_task_check_count; local
199 if (!max_count--)
/linux-master/drivers/iio/imu/inv_icm42600/
H A Dinv_icm42600_buffer.c447 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 Drequest_manager.c84 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 Docteon_droq.h274 u32 max_count; member in struct:octeon_droq
H A Docteon_iq.h116 u32 max_count; member in struct:octeon_instr_queue
H A Dcn66xx_device.c273 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 Dcn23xx_vf_device.c220 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 Dcore.c359 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 Dacdebug.h39 u32 max_count; member in struct:acpi_db_execute_walk
H A Ddbtest.c940 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 Dperfmon.c90 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 Doctep_vf_cn9k.c182 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 Doctep_vf_cnxk.c185 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 Dext_caps.c119 unsigned int max_count = FIELD_GET(GENMASK(3, 0), autocmd_ext_caps); local
124 count, max_count);
/linux-master/drivers/input/touchscreen/
H A Dads7846.c1044 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 Dqed_rdma.c39 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 Dpic32_uart.c269 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 Dmilbeaut_usio.c153 int max_count = 2; local
155 while (max_count--) {
197 max_count = readw(port->membase + MLB_USIO_REG_FBYTE) >> 8;
H A Dbcm63xx_uart.c230 unsigned int max_count; local
235 max_count = 32;
294 } while (--max_count);
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_aca.c137 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 Dperf_event.c340 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 Dcore-fsl-emb.c251 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 Dlpfc_mem.c127 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.

Completed in 260 milliseconds

12345