type stringclasses 5
values | content stringlengths 9 163k |
|---|---|
functions | t_Error FmSpBuildBufferStructure(t_FmSpIntContextDataCopy *p_FmSpIntContextDataCopy,
t_FmBufferPrefixContent *p_BufferPrefixContent,
t_FmSpBufMargins *p_FmSpBufMargins,
t_FmSpBufferOffsets *p_FmSp... |
functions | t_Handle FM_VSP_Config(t_FmVspParams *p_FmVspParams)
{
t_FmVspEntry *p_FmVspEntry = NULL;
struct fm_storage_profile_params fm_vsp_params;
p_FmVspEntry = (t_FmVspEntry *)XX_Malloc(sizeof(t_FmVspEntry));
if (!p_FmVspEntry)
{
REPORT_ERROR(MAJOR, E_NO_MEMORY, ("p_StorageProfile alloc... |
functions | t_Error FM_VSP_Init(t_Handle h_FmVsp)
{
t_FmVspEntry *p_FmVspEntry = (t_FmVspEntry *)h_FmVsp;
struct fm_storage_profile_params fm_vsp_params;
uint8_t orderedArray[FM_PORT_MAX_NUM_OF_EXT_POOLS];
uint16_t sizesArray[BM_MAX_NUM_OF_POOLS];
t_Error... |
functions | t_Error FM_VSP_Free(t_Handle h_FmVsp)
{
t_FmVspEntry *p_FmVspEntry = (t_FmVspEntry *)h_FmVsp;
SANITY_CHECK_RETURN_ERROR(h_FmVsp, E_INVALID_HANDLE);
XX_Free(p_FmVspEntry);
return E_OK;
} |
functions | t_Error FM_VSP_ConfigBufferPrefixContent(t_Handle h_FmVsp, t_FmBufferPrefixContent *p_FmBufferPrefixContent)
{
t_FmVspEntry *p_FmVspEntry = (t_FmVspEntry*)h_FmVsp;
SANITY_CHECK_RETURN_ERROR(p_FmVspEntry, E_INVALID_HANDLE);
SANITY_CHECK_RETURN_ERROR(p_FmVspEntry->p_FmVspEntryDriverParams, E_INVALID_HANDLE);... |
functions | t_Error FM_VSP_ConfigDmaSwapData(t_Handle h_FmVsp, e_FmDmaSwapOption swapData)
{
t_FmVspEntry *p_FmVspEntry = (t_FmVspEntry*)h_FmVsp;
SANITY_CHECK_RETURN_ERROR(p_FmVspEntry, E_INVALID_HANDLE);
SANITY_CHECK_RETURN_ERROR(p_FmVspEntry->p_FmVspEntryDriverParams, E_INVALID_HANDLE);
p_FmVspEntry->p_FmVspEnt... |
functions | t_Error FM_VSP_ConfigDmaIcCacheAttr(t_Handle h_FmVsp, e_FmDmaCacheOption intContextCacheAttr)
{
t_FmVspEntry *p_FmVspEntry = (t_FmVspEntry*)h_FmVsp;
SANITY_CHECK_RETURN_ERROR(p_FmVspEntry, E_INVALID_HANDLE);
SANITY_CHECK_RETURN_ERROR(p_FmVspEntry->p_FmVspEntryDriverParams, E_INVALID_HANDLE);
p_FmVspEn... |
functions | t_Error FM_VSP_ConfigDmaHdrAttr(t_Handle h_FmVsp, e_FmDmaCacheOption headerCacheAttr)
{
t_FmVspEntry *p_FmVspEntry = (t_FmVspEntry*)h_FmVsp;
SANITY_CHECK_RETURN_ERROR(p_FmVspEntry, E_INVALID_HANDLE);
SANITY_CHECK_RETURN_ERROR(p_FmVspEntry->p_FmVspEntryDriverParams, E_INVALID_HANDLE);
p_FmVspEntry->p_F... |
functions | t_Error FM_VSP_ConfigDmaScatterGatherAttr(t_Handle h_FmVsp, e_FmDmaCacheOption scatterGatherCacheAttr)
{
t_FmVspEntry *p_FmVspEntry = (t_FmVspEntry*)h_FmVsp;
SANITY_CHECK_RETURN_ERROR(p_FmVspEntry, E_INVALID_HANDLE);
SANITY_CHECK_RETURN_ERROR(p_FmVspEntry->p_FmVspEntryDriverParams, E_INVALID_HANDLE);
... |
functions | t_Error FM_VSP_ConfigDmaWriteOptimize(t_Handle h_FmVsp, bool optimize)
{
t_FmVspEntry *p_FmVspEntry = (t_FmVspEntry*)h_FmVsp;
SANITY_CHECK_RETURN_ERROR(p_FmVspEntry, E_INVALID_HANDLE);
SANITY_CHECK_RETURN_ERROR(p_FmVspEntry->p_FmVspEntryDriverParams, E_INVALID_HANDLE);
p_FmVspEntry->p_FmVspEntryDrive... |
functions | t_Error FM_VSP_ConfigNoScatherGather(t_Handle h_FmVsp, bool noScatherGather)
{
t_FmVspEntry *p_FmVspEntry = (t_FmVspEntry*)h_FmVsp;
SANITY_CHECK_RETURN_ERROR(p_FmVspEntry, E_INVALID_HANDLE);
SANITY_CHECK_RETURN_ERROR(p_FmVspEntry->p_FmVspEntryDriverParams, E_INVALID_HANDLE);
p_FmVspEntry->p_FmVspEntr... |
functions | t_Error FM_VSP_ConfigPoolDepletion(t_Handle h_FmVsp, t_FmBufPoolDepletion *p_BufPoolDepletion)
{
t_FmVspEntry *p_FmVspEntry = (t_FmVspEntry*)h_FmVsp;
SANITY_CHECK_RETURN_ERROR(h_FmVsp, E_INVALID_HANDLE);
SANITY_CHECK_RETURN_ERROR(p_FmVspEntry->p_FmVspEntryDriverParams, E_INVALID_HANDLE);
SANITY_CHECK_R... |
functions | t_Error FM_VSP_ConfigBackupPools(t_Handle h_FmVsp, t_FmBackupBmPools *p_BackupBmPools)
{
t_FmVspEntry *p_FmVspEntry = (t_FmVspEntry*)h_FmVsp;
SANITY_CHECK_RETURN_ERROR(h_FmVsp, E_INVALID_HANDLE);
SANITY_CHECK_RETURN_ERROR(p_FmVspEntry->p_FmVspEntryDriverParams, E_INVALID_HANDLE);
SANITY_CHECK_RETURN_ER... |
functions | uint32_t FM_VSP_GetBufferDataOffset(t_Handle h_FmVsp)
{
t_FmVspEntry *p_FmVspEntry = (t_FmVspEntry*)h_FmVsp;
SANITY_CHECK_RETURN_VALUE(p_FmVspEntry, E_INVALID_HANDLE, 0);
SANITY_CHECK_RETURN_VALUE(!p_FmVspEntry->p_FmVspEntryDriverParams, E_INVALID_STATE, 0);
return p_FmVspEntry->bufferOffsets.dataOffs... |
functions | tANI_U32
limDeactivateMinChannelTimerDuringScan(tpAniSirGlobal pMac)
{
if ((VOS_TRUE ==
tx_timer_running(&pMac->lim.limTimers.gLimMinChannelTimer)) &&
(pMac->lim.gLimMlmState == eLIM_MLM_WT_PROBE_RESP_STATE) &&
(pMac->lim.gLimHalScanState == eLIM_HAL_SCANNING_STATE))
{
/**... |
functions | endif
if(!pBssDescr->beaconInterval )
{
limLog(pMac, LOGW,
FL("Beacon Interval is ZERO, making it to default 100 "
MAC_ADDRESS_STR), MAC_ADDR_ARRAY(pHdr->bssId));
pBssDescr->beaconInterval= 100;
} |
functions | WLAN_FEATURE_VOWIFI
if( fScanning )
{
rrmGetStartTSF( pMac, pBssDescr->startTSF );
pBssDescr->parentTSF = WDA_GET_RX_TIMESTAMP(pRxPacketInfo);
} |
functions | description
if( pBPR->mdiePresent)
{
pBssDescr->mdiePresent = TRUE;
pBssDescr->mdie[0] = pBPR->mdie[0];
pBssDescr->mdie[1] = pBPR->mdie[1];
pBssDescr->mdie[2] = pBPR->mdie[2];
} |
functions | tANI_BOOLEAN limIsScanRequestedSSID(tpAniSirGlobal pMac, tSirMacSSid *ssId)
{
tANI_U8 i = 0;
for (i = 0; i < pMac->lim.gpLimMlmScanReq->numSsid; i++)
{
if ( eANI_BOOLEAN_TRUE == vos_mem_compare((tANI_U8 *) ssId,
(tANI_U8 *) &pMac->lim.gpLimMlmScanReq->ssId[i],
... |
functions | void
limCheckAndAddBssDescription(tpAniSirGlobal pMac,
tpSirProbeRespBeacon pBPR,
tANI_U8 *pRxPacketInfo,
tANI_BOOLEAN fScanning,
tANI_U8 fProbeRsp)
{
tLimScanResultNode *pBssDescr;
tANI_U32 ... |
functions | tANI_U8
limScanHashFunction(tSirMacAddr bssId)
{
tANI_U16 i, hash = 0;
for (i = 0; i < sizeof(tSirMacAddr); i++)
hash += bssId[i];
return hash % LIM_MAX_NUM_OF_SCAN_RESULTS;
} |
functions | void
limInitHashTable(tpAniSirGlobal pMac)
{
tANI_U16 i;
for (i = 0; i < LIM_MAX_NUM_OF_SCAN_RESULTS; i++)
pMac->lim.gLimCachedScanHashTable[i] = NULL;
} |
functions | eHalStatus
limLookupNaddHashEntry(tpAniSirGlobal pMac,
tLimScanResultNode *pBssDescr, tANI_U8 action,
tANI_U8 dontUpdateAll)
{
tANI_U8 index, ssidLen = 0;
tANI_U8 found = false;
tLimScanResultNode *ptemp, *pprev;
tSirMacCapabi... |
functions | index
if (pprev == pMac->lim.gLimCachedScanHashTable[index])
{
pBssDescr->next = pMac->lim.gLimCachedScanHashTable[index];
pMac->lim.gLimCachedScanHashTable[index] = pBssDescr;
} |
functions | void limDeleteHashEntry(tLimScanResultNode *pBssDescr)
{
} |
functions | void
limInitLfrHashTable(tpAniSirGlobal pMac)
{
tANI_U16 i;
for (i = 0; i < LIM_MAX_NUM_OF_SCAN_RESULTS; i++)
pMac->lim.gLimCachedLfrScanHashTable[i] = NULL;
} |
functions | eHalStatus
limLookupNaddLfrHashEntry(tpAniSirGlobal pMac,
tLimScanResultNode *pBssDescr, tANI_U8 action,
tANI_U8 dontUpdateAll)
{
tANI_U8 index, ssidLen = 0;
tLimScanResultNode *ptemp, *pprev;
tSirMacCapabilityInfo *pSirCap, *pSirCapTemp;
... |
functions | index
if (pprev == pMac->lim.gLimCachedLfrScanHashTable[index])
{
pBssDescr->next = pMac->lim.gLimCachedLfrScanHashTable[index];
pMac->lim.gLimCachedLfrScanHashTable[index] = pBssDescr;
} |
functions | void limDeleteLfrHashEntry(tLimScanResultNode *pBssDescr)
{
} |
functions | void
limCopyScanResult(tpAniSirGlobal pMac, tANI_U8 *pDest)
{
tLimScanResultNode *ptemp;
tANI_U16 i;
for (i = 0; i < LIM_MAX_NUM_OF_SCAN_RESULTS; i++)
{
if ((ptemp = pMac->lim.gLimCachedScanHashTable[i]) != NULL)
{
while(ptemp)
{
/// Copy entire... |
functions | void
limDeleteCachedScanResults(tpAniSirGlobal pMac)
{
tLimScanResultNode *pNode, *pNextNode;
tANI_U16 i;
for (i = 0; i < LIM_MAX_NUM_OF_SCAN_RESULTS; i++)
{
if ((pNode = pMac->lim.gLimCachedScanHashTable[i]) != NULL)
{
while (pNode)
{
pNextNod... |
functions | void
limReInitScanResults(tpAniSirGlobal pMac)
{
limLog(pMac, LOG1, FL("Re initialize scan hash table."));
limDeleteCachedScanResults(pMac);
limInitHashTable(pMac);
// !!LAC - need to clear out the global scan result length
// since the list was just purged from the hash table.
pMac->lim.gLimMl... |
functions | void
limDeleteCachedLfrScanResults(tpAniSirGlobal pMac)
{
tLimScanResultNode *pNode, *pNextNode;
tANI_U16 i;
for (i = 0; i < LIM_MAX_NUM_OF_SCAN_RESULTS; i++)
{
if ((pNode = pMac->lim.gLimCachedLfrScanHashTable[i]) != NULL)
{
while (pNode)
{
pNe... |
functions | void
limReInitLfrScanResults(tpAniSirGlobal pMac)
{
limLog(pMac, LOG1, FL("Re initialize lfr scan hash table."));
limDeleteCachedLfrScanResults(pMac);
limInitLfrHashTable(pMac);
// !!LAC - need to clear out the global scan result length
// since the list was just purged from the hash table.
pMa... |
includes |
#include <linux/cpu.h> |
includes | #include <linux/cpumask.h> |
includes | #include <linux/cpufreq.h> |
includes | #include <linux/module.h> |
includes | #include <linux/moduleparam.h> |
includes | #include <linux/rwsem.h> |
includes | #include <linux/sched.h> |
includes | #include <linux/tick.h> |
includes | #include <linux/time.h> |
includes | #include <linux/timer.h> |
includes | #include <linux/workqueue.h> |
includes | #include <linux/kthread.h> |
includes | #include <linux/slab.h> |
includes | #include <linux/version.h> |
includes | #include <linux/kernel_stat.h> |
includes | #include <asm/cputime.h> |
includes | #include <linux/input.h> |
includes | #include <linux/freezer.h> |
includes | #include <trace/events/cpufreq_interactive.h> |
defines |
#define CREATE_TRACE_POINTS |
defines | #define DEFAULT_TARGET_LOAD 90 |
defines |
#define DEFAULT_TIMER_RATE (50 * USEC_PER_MSEC) |
defines | #define DEFAULT_ABOVE_HISPEED_DELAY DEFAULT_TIMER_RATE |
defines | #define DEFAULT_HISPEED_FREQ_BIG (1296000) |
defines | #define DEFAULT_HISPEED_FREQ_LITTLE (864000) |
defines | #define DEFAULT_HISPEED_FREQ_LITTLE (648000) |
defines | #define DEFAULT_GO_HISPEED_LOAD 70 |
defines | #define DEFAULT_MIN_SAMPLE_TIME (4 * DEFAULT_TIMER_RATE) |
defines | #define DEFAULT_TIMER_SLACK (4 * DEFAULT_TIMER_RATE) |
defines | #define DEFAULT_INPUT_EVENT_FRFQ_BIG (1296000) |
defines | #define DEFAULT_INPUT_EVENT_FRFQ_LITTLE (1008000) |
defines | #define DEFAULT_INPUT_EVENT_FRFQ_LITTLE (816000) |
defines | #define show_gov_pol_sys(file_name) \ |
defines |
#define store_gov_pol_sys(file_name) \ |
defines |
#define show_store_gov_pol_sys(file_name) \ |
defines |
#define gov_sys_attr_rw(_name) \ |
defines |
#define gov_pol_attr_rw(_name) \ |
defines |
#define gov_sys_pol_attr_rw(_name) \ |
structs | struct cpufreq_interactive_cpuinfo {
struct timer_list cpu_timer;
struct timer_list cpu_slack_timer;
spinlock_t load_lock; /* protects the next 4 fields */
u64 time_in_idle;
u64 time_in_idle_timestamp;
u64 cputime_speedadj;
u64 cputime_speedadj_timestamp;
struct cpufreq_policy *policy;
struct cpufreq_frequency... |
structs | struct cpufreq_interactive_tunables {
int usage_count;
#if defined(CONFIG_ARCH_SUN9IW1P1)
#define DEFAULT_HISPEED_FREQ_BIG (1296000)
#define DEFAULT_HISPEED_FREQ_LITTLE (864000)
#elif defined(CONFIG_ARCH_SUN8IW5P1)
#define DEFAULT_HISPEED_FREQ_LITTLE (648000)
#endif
/* Hi speed to bump to from l... |
functions | void cpufreq_interactive_timer_resched(
struct cpufreq_interactive_cpuinfo *pcpu)
{
struct cpufreq_interactive_tunables *tunables =
pcpu->policy->governor_data;
unsigned long expires;
unsigned long flags;
spin_lock_irqsave(&pcpu->load_lock, flags);
pcpu->time_in_idle =
get_cpu_idle_time(smp_processor_id(),
... |
functions | void cpufreq_interactive_timer_start(
struct cpufreq_interactive_tunables *tunables, int cpu)
{
struct cpufreq_interactive_cpuinfo *pcpu = &per_cpu(cpuinfo, cpu);
unsigned long expires = jiffies +
usecs_to_jiffies(tunables->timer_rate);
unsigned long flags;
pcpu->cpu_timer.expires = expires;
add_timer_on(&pcpu... |
functions | int freq_to_above_hispeed_delay(
struct cpufreq_interactive_tunables *tunables,
unsigned int freq)
{
int i;
unsigned int ret;
unsigned long flags;
spin_lock_irqsave(&tunables->above_hispeed_delay_lock, flags);
for (i = 0; i < tunables->nabove_hispeed_delay - 1 &&
freq >= tunables->above_hispeed_delay[i+1]; ... |
functions | int freq_to_targetload(
struct cpufreq_interactive_tunables *tunables, unsigned int freq)
{
int i;
unsigned int ret;
unsigned long flags;
spin_lock_irqsave(&tunables->target_loads_lock, flags);
for (i = 0; i < tunables->ntarget_loads - 1 &&
freq >= tunables->target_loads[i+1]; i += 2)
;
ret = tunables... |
functions | int choose_freq(struct cpufreq_interactive_cpuinfo *pcpu,
unsigned int loadadjfreq)
{
unsigned int freq = pcpu->policy->cur;
unsigned int prevfreq, freqmin, freqmax;
unsigned int tl;
int index;
freqmin = 0;
freqmax = UINT_MAX;
do {
prevfreq = freq;
tl = freq_to_targetload(pcpu->policy->governor_data, fre... |
functions | else if (freq < prevfreq) {
/* The previous frequency is high enough. */
freqmax = prevfreq;
if (freq <= freqmin) {
/*
* Find the lowest frequency that is higher
* than freqmin.
*/
if (cpufreq_frequency_table_target(
pcpu->policy, pcpu->freq_table,
freqmin + 1, CPUFREQ... |
functions | u64 update_load(int cpu)
{
struct cpufreq_interactive_cpuinfo *pcpu = &per_cpu(cpuinfo, cpu);
struct cpufreq_interactive_tunables *tunables =
pcpu->policy->governor_data;
u64 now;
u64 now_idle;
u64 delta_idle;
u64 delta_time;
u64 active_time;
now_idle = get_cpu_idle_time(cpu, &now, tunables->io_is_busy);
de... |
functions | void cpufreq_interactive_timer(unsigned long data)
{
u64 now;
unsigned int delta_time;
u64 cputime_speedadj;
int cpu_load;
struct cpufreq_interactive_cpuinfo *pcpu =
&per_cpu(cpuinfo, data);
struct cpufreq_interactive_tunables *tunables =
pcpu->policy->governor_data;
unsigned int new_freq;
unsigned int load... |
functions | void cpufreq_interactive_idle_start(void)
{
struct cpufreq_interactive_cpuinfo *pcpu =
&per_cpu(cpuinfo, smp_processor_id());
int pending;
if (!down_read_trylock(&pcpu->enable_sem))
return;
if (!pcpu->governor_enabled) {
up_read(&pcpu->enable_sem);
return;
} |
functions | void cpufreq_interactive_idle_end(void)
{
struct cpufreq_interactive_cpuinfo *pcpu =
&per_cpu(cpuinfo, smp_processor_id());
if (!down_read_trylock(&pcpu->enable_sem))
return;
if (!pcpu->governor_enabled) {
up_read(&pcpu->enable_sem);
return;
} |
functions | int cpufreq_interactive_speedchange_task(void *data)
{
unsigned int cpu;
cpumask_t tmp_mask;
unsigned long flags;
struct cpufreq_interactive_cpuinfo *pcpu;
set_freezable();
while (1) {
set_current_state(TASK_INTERRUPTIBLE);
spin_lock_irqsave(&speedchange_cpumask_lock, flags);
if (cpumask_empty(&speedchang... |
functions | void cpufreq_interactive_boost(void)
{
int i;
int anyboost = 0;
unsigned long flags[2];
struct cpufreq_interactive_cpuinfo *pcpu;
struct cpufreq_interactive_tunables *tunables;
spin_lock_irqsave(&speedchange_cpumask_lock, flags[0]);
for_each_online_cpu(i) {
pcpu = &per_cpu(cpuinfo, i);
tunables = pcpu->pol... |
functions | int cpufreq_interactive_notifier(
struct notifier_block *nb, unsigned long val, void *data)
{
struct cpufreq_freqs *freq = data;
struct cpufreq_interactive_cpuinfo *pcpu;
int cpu;
unsigned long flags;
if (val == CPUFREQ_POSTCHANGE) {
pcpu = &per_cpu(cpuinfo, freq->cpu);
if (!down_read_trylock(&pcpu->enable_s... |
functions | ssize_t show_target_loads(
struct cpufreq_interactive_tunables *tunables,
char *buf)
{
int i;
ssize_t ret = 0;
unsigned long flags;
spin_lock_irqsave(&tunables->target_loads_lock, flags);
for (i = 0; i < tunables->ntarget_loads; i++)
ret += sprintf(buf + ret, "%u%s", tunables->target_loads[i],
i & ... |
functions | ssize_t store_target_loads(
struct cpufreq_interactive_tunables *tunables,
const char *buf, size_t count)
{
int ntokens;
unsigned int *new_target_loads = NULL;
unsigned long flags;
new_target_loads = get_tokenized_data(buf, &ntokens);
if (IS_ERR(new_target_loads))
return PTR_RET(new_target_loads);
spin_lock... |
functions | ssize_t show_above_hispeed_delay(
struct cpufreq_interactive_tunables *tunables, char *buf)
{
int i;
ssize_t ret = 0;
unsigned long flags;
spin_lock_irqsave(&tunables->above_hispeed_delay_lock, flags);
for (i = 0; i < tunables->nabove_hispeed_delay; i++)
ret += sprintf(buf + ret, "%u%s",
tunables->a... |
functions | ssize_t store_above_hispeed_delay(
struct cpufreq_interactive_tunables *tunables,
const char *buf, size_t count)
{
int ntokens;
unsigned int *new_above_hispeed_delay = NULL;
unsigned long flags;
new_above_hispeed_delay = get_tokenized_data(buf, &ntokens);
if (IS_ERR(new_above_hispeed_delay))
return PTR_RET(ne... |
functions | ssize_t show_hispeed_freq(struct cpufreq_interactive_tunables *tunables,
char *buf)
{
return sprintf(buf, "%u\n", tunables->hispeed_freq);
} |
functions | ssize_t store_hispeed_freq(struct cpufreq_interactive_tunables *tunables,
const char *buf, size_t count)
{
int ret;
long unsigned int val;
ret = strict_strtoul(buf, 0, &val);
if (ret < 0)
return ret;
tunables->hispeed_freq = val;
return count;
} |
functions | ssize_t show_go_hispeed_load(struct cpufreq_interactive_tunables
*tunables, char *buf)
{
return sprintf(buf, "%lu\n", tunables->go_hispeed_load);
} |
functions | ssize_t store_go_hispeed_load(struct cpufreq_interactive_tunables
*tunables, const char *buf, size_t count)
{
int ret;
unsigned long val;
ret = strict_strtoul(buf, 0, &val);
if (ret < 0)
return ret;
tunables->go_hispeed_load = val;
return count;
} |
functions | ssize_t show_min_sample_time(struct cpufreq_interactive_tunables
*tunables, char *buf)
{
return sprintf(buf, "%lu\n", tunables->min_sample_time);
} |
functions | ssize_t store_min_sample_time(struct cpufreq_interactive_tunables
*tunables, const char *buf, size_t count)
{
int ret;
unsigned long val;
ret = strict_strtoul(buf, 0, &val);
if (ret < 0)
return ret;
tunables->min_sample_time = val;
return count;
} |
functions | ssize_t show_timer_rate(struct cpufreq_interactive_tunables *tunables,
char *buf)
{
return sprintf(buf, "%lu\n", tunables->timer_rate);
} |
functions | ssize_t store_timer_rate(struct cpufreq_interactive_tunables *tunables,
const char *buf, size_t count)
{
int ret;
unsigned long val;
ret = strict_strtoul(buf, 0, &val);
if (ret < 0)
return ret;
tunables->timer_rate = val;
return count;
} |
functions | ssize_t show_timer_slack(struct cpufreq_interactive_tunables *tunables,
char *buf)
{
return sprintf(buf, "%d\n", tunables->timer_slack_val);
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.