Home
last modified time | relevance | path

Searched refs:newpos (Results 1 – 2 of 2) sorted by relevance

/drivers/net/wireless/ath/wil6210/
Dpmc.c387 loff_t newpos; in wil_pmc_llseek() local
405 newpos = off; in wil_pmc_llseek()
409 newpos = filp->f_pos + off; in wil_pmc_llseek()
413 newpos = pmc_size; in wil_pmc_llseek()
417 newpos = -EINVAL; in wil_pmc_llseek()
421 if (newpos < 0) { in wil_pmc_llseek()
422 newpos = -EINVAL; in wil_pmc_llseek()
425 if (newpos > pmc_size) in wil_pmc_llseek()
426 newpos = pmc_size; in wil_pmc_llseek()
428 filp->f_pos = newpos; in wil_pmc_llseek()
[all …]
/drivers/net/wireless/intel/iwlwifi/mvm/
Dscan.c753 u8 *newpos = pos; in iwl_mvm_copy_and_insert_ds_elem() local
756 memcpy(newpos, ies, len); in iwl_mvm_copy_and_insert_ds_elem()
757 return newpos + len; in iwl_mvm_copy_and_insert_ds_elem()
765 memcpy(newpos, ies, offs); in iwl_mvm_copy_and_insert_ds_elem()
766 newpos += offs; in iwl_mvm_copy_and_insert_ds_elem()
769 *newpos++ = WLAN_EID_DS_PARAMS; in iwl_mvm_copy_and_insert_ds_elem()
770 *newpos++ = 1; in iwl_mvm_copy_and_insert_ds_elem()
771 *newpos++ = 0; in iwl_mvm_copy_and_insert_ds_elem()
773 memcpy(newpos, ies + offs, len - offs); in iwl_mvm_copy_and_insert_ds_elem()
774 newpos += len - offs; in iwl_mvm_copy_and_insert_ds_elem()
[all …]