/linux-master/sound/soc/tegra/ |
H A D | tegra186_dspk.c | 259 /* RX FIFO threshold in terms of frames */ 265 cif_conf.threshold = dspk->rx_fifo_th;
|
/linux-master/sound/soc/meson/ |
H A D | axg-fifo.c | 117 unsigned int burst_num, period, threshold, irq_en; local 136 threshold = min(period / 2, fifo->depth / 2); 139 * With the threshold in bytes, register value is: 140 * V = (threshold / burst) - 1 142 threshold /= AXG_FIFO_BURST; 144 threshold ? threshold - 1 : 0);
|
/linux-master/drivers/scsi/ |
H A D | sd.c | 1217 sector_t threshold; local 1251 threshold = sdkp->capacity - SD_LAST_BUGGY_SECTORS; 1253 if (unlikely(sdp->last_sector_bug && lba + nr_blocks > threshold)) { 1254 if (lba < threshold) { 1255 /* Access up to the threshold but not beyond */ 1256 nr_blocks = threshold - lba;
|
/linux-master/drivers/i2c/ |
H A D | i2c-core-base.c | 2618 * @threshold: the minimum number of bytes for which using DMA makes sense. 2627 u8 *i2c_get_dma_safe_msg_buf(struct i2c_msg *msg, unsigned int threshold) argument 2630 if (!threshold) 2633 if (msg->len < threshold || msg->len == 0)
|
/linux-master/drivers/dma/idxd/ |
H A D | idxd.h | 214 u32 threshold; member in struct:idxd_wq 622 * hit a threshold until iops becomes many million times a second. So the occasional
|
H A D | device.c | 117 num_descs = wq_dedicated(wq) ? wq->size : wq->threshold; 371 wq->threshold = 0; 937 wq->wqcfg->wq_thresh = wq->threshold; 1143 wq->threshold = wq->wqcfg->wq_thresh; 1405 * Shared wq with the threshold set to 0 means the user 1406 * did not set the threshold or transitioned from a 1407 * dedicated wq but did not set threshold. A value 1410 * threshold via sysfs. 1412 if (wq->threshold == 0) { 1414 dev_dbg(dev, "Shared wq and threshold [all...] |
/linux-master/net/bluetooth/ |
H A D | l2cap_core.c | 2125 int threshold; local 2150 threshold = chan->ack_win; 2151 threshold += threshold << 1; 2152 threshold >>= 2; 2154 BT_DBG("frames_to_ack %u, threshold %d", frames_to_ack, 2155 threshold); 2157 if (frames_to_ack >= threshold) {
|
/linux-master/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core.c | 1432 u32 threshold, 1443 pool_index, threshold, extack); 1468 u16 pool_index, u32 threshold, 1480 pool_index, threshold, extack); 1430 mlxsw_devlink_sb_port_pool_set(struct devlink_port *devlink_port, unsigned int sb_index, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument 1465 mlxsw_devlink_sb_tc_pool_bind_set(struct devlink_port *devlink_port, unsigned int sb_index, u16 tc_index, enum devlink_sb_pool_type pool_type, u16 pool_index, u32 threshold, struct netlink_ext_ack *extack) argument
|
/linux-master/arch/x86/entry/ |
H A D | entry_fred.c | 111 SYSVEC(THRESHOLD_APIC_VECTOR, threshold),
|
/linux-master/drivers/net/ethernet/stmicro/stmmac/ |
H A D | stmmac_main.c | 102 MODULE_PARM_DESC(tc, "DMA threshold control value"); 2383 priv->xstats.threshold = SF_DMA_MODE; 2483 * available TX ring is less than threshold. 2579 if (unlikely(priv->xstats.threshold != SF_DMA_MODE) && tc <= 256) { 2588 priv->xstats.threshold = tc; 2923 /* Try to bump up the dma threshold on this failure */ 3118 * timer handler and default threshold used for enabling the 4262 /* Desc availability based on threshold should be enough safe */ 6149 /* Try to bump up the dma threshold on this failure */ 7680 priv->xstats.threshold [all...] |
H A D | common.h | 152 unsigned long threshold; member in struct:stmmac_extra_stats
|
H A D | stmmac_ethtool.c | 91 STMMAC_STAT(threshold),
|
/linux-master/drivers/net/ethernet/amazon/ena/ |
H A D | ena_netdev.c | 52 unsigned int time_since_last_napi, threshold; local 61 threshold = jiffies_to_usecs(dev->watchdog_timeo); 68 "TX q %d is paused for too long (threshold %u). Time since last napi %u usec. napi scheduled: %d\n", 70 threshold, 74 if (threshold < time_since_last_napi && napi_scheduled) { 3471 "Lost TX completions are above the threshold (%d > %d). Completion transmission timeout: %u.\n",
|
/linux-master/drivers/gpu/drm/msm/disp/dpu1/ |
H A D | dpu_core_perf.c | 146 u32 bw, threshold; local 190 threshold = kms->perf.perf_cfg->max_bw_high; 192 DRM_DEBUG_ATOMIC("final threshold bw limit = %d\n", threshold); 194 if (!threshold) { 197 } else if (bw > threshold) { 199 threshold);
|
/linux-master/arch/x86/events/intel/ |
H A D | ds.c | 1118 * the large interrupt threshold, such that we can provide PID and TID 1142 u64 threshold; local 1154 threshold = ds->pebs_absolute_maximum - 1157 threshold = ds->pebs_buffer_base + cpuc->pebs_record_size; 1160 ds->pebs_interrupt_threshold = threshold;
|
/linux-master/sound/soc/codecs/ |
H A D | wm_adsp.c | 111 __be32 threshold; member in struct:wm_adsp_alg_xm_struct
|
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_gt_pagefault.c | 369 unsigned long threshold; local 372 threshold = jiffies + msecs_to_jiffies(USM_QUEUE_MAX_RUNTIME_MS); 395 if (time_after(jiffies, threshold) && 601 unsigned long threshold; local 604 threshold = jiffies + msecs_to_jiffies(USM_QUEUE_MAX_RUNTIME_MS); 613 if (time_after(jiffies, threshold) &&
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_os.c | 7214 u16 threshold = ha->nvme_last_rptd_aen + ha->last_zio_threshold; local 7216 if (threshold > ha->orig_fw_xcb_count) 7217 threshold = ha->orig_fw_xcb_count; 7220 "SET ZIO Activity exchange threshold to %d.\n", 7221 threshold); 7222 if (qla27xx_set_zio_threshold(base_vha, threshold)) { 7224 "Unable to SET ZIO Activity exchange threshold to %d.\n", 7225 threshold); 7564 "nvme: Sched: Set ZIO exchange threshold to %d.\n", 7574 "Sched: Set ZIO exchange threshold t [all...] |
/linux-master/drivers/md/ |
H A D | dm-integrity.c | 4105 __u64 threshold; local 4511 threshold = (__u64)ic->journal_entries * (100 - journal_watermark); 4512 threshold += 50; 4513 do_div(threshold, 100); 4514 ic->free_sectors_threshold = threshold;
|
/linux-master/drivers/video/fbdev/ |
H A D | arkfb.c | 111 static int threshold = 4; variable 113 module_param(threshold, int, 0644); 114 MODULE_PARM_DESC(threshold, "FIFO threshold"); 680 /* Set the FIFO threshold register */ 682 regval = 0x10 | ((threshold & 0x0E) >> 1) | (threshold & 0x01) << 7 | (threshold & 0x10) << 1;
|
/linux-master/drivers/usb/typec/tcpm/ |
H A D | tcpci.c | 343 unsigned int pwr_ctrl, threshold = 0; local 359 threshold = AUTO_DISCHARGE_DEFAULT_THRESHOLD_MV; 362 threshold = ((VPPS_NEW_MIN_PERCENT * requested_vbus_voltage_mv / 100) - 366 threshold = ((VSRC_NEW_MIN_PERCENT * requested_vbus_voltage_mv / 100) - 371 threshold = AUTO_DISCHARGE_DEFAULT_THRESHOLD_MV; 374 threshold = threshold / TCPC_VBUS_SINK_DISCONNECT_THRESH_LSB_MV; 376 if (threshold > TCPC_VBUS_SINK_DISCONNECT_THRESH_MAX) 380 return tcpci_write16(tcpci, TCPC_VBUS_SINK_DISCONNECT_THRESH, threshold); 388 /* To prevent disconnect during FRS, set disconnect threshold t [all...] |
/linux-master/drivers/staging/rtl8723bs/core/ |
H A D | rtw_mlme.c | 2185 u8 threshold; local 2202 threshold = 1; 2204 threshold = 0; 2205 rtw_hal_set_hwreg(padapter, HW_VAR_RXDMA_AGG_PG_TH, (u8 *)(&threshold)); 2207 threshold = 1; 2208 rtw_hal_set_hwreg(padapter, HW_VAR_RXDMA_AGG_PG_TH, (u8 *)(&threshold));
|
/linux-master/drivers/staging/pi433/ |
H A D | rf69.h | 41 int rf69_set_rssi_threshold(struct spi_device *spi, u8 threshold); 60 int rf69_set_fifo_threshold(struct spi_device *spi, u8 threshold);
|
H A D | rf69.c | 519 dev_dbg(&spi->dev, "set: illegal OOK threshold decrement %u\n", 581 int rf69_set_rssi_threshold(struct spi_device *spi, u8 threshold) argument 585 return rf69_write_reg(spi, REG_RSSITHRESH, threshold); 739 int rf69_set_fifo_threshold(struct spi_device *spi, u8 threshold) argument 744 if (threshold & ~MASK_FIFO_THRESH_VALUE) { 745 dev_dbg(&spi->dev, "set: illegal fifo threshold %u\n", threshold); 752 threshold); 757 * access the fifo to activate new threshold
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | mbox.h | 2116 u64 threshold; member in struct:mcs_set_pn_threshold 2117 u8 xpn; /* '1' for setting xpn threshold */
|