Home
last modified time | relevance | path

Searched refs:index2 (Results 1 – 7 of 7) sorted by relevance

/drivers/power/supply/
Dgeneric-adc-battery.c207 int index2; in gab_probe() local
209 for (index2 = 0; index2 < index; index2++) { in gab_probe()
210 if (properties[index2] == gab_dyn_props[chan]) in gab_probe()
213 if (index2 == index) /* really new */ in gab_probe()
/drivers/macintosh/
Dwindfarm_smu_sat.c43 int index2; /* used for power sensors */ member
154 if (sens->index2 >= 0) { in wf_sat_sensor_get()
155 i = sens->index2 * 2; in wf_sat_sensor_get()
271 sens->index2 = -1; in wf_sat_probe()
298 sens->index2 = isens[core]; in wf_sat_probe()
/drivers/misc/altera-stapl/
Daltera.c249 u32 index2; in altera_execute() local
1730 index2 = copy_index2; in altera_execute()
1794 index2 += (count - 1); in altera_execute()
1799 charptr_tmp[index2 >> 3] |= in altera_execute()
1800 (1 << (index2 & 7)); in altera_execute()
1802 charptr_tmp[index2 >> 3] &= in altera_execute()
1803 ~(1 << (index2 & 7)); in altera_execute()
1807 --index2; in altera_execute()
1809 ++index2; in altera_execute()
1990 u32 index2; in altera_execute() local
[all …]
/drivers/staging/media/atomisp/pci/hmm/
Dhmm.c58 int index2 = 0; in bo_show() local
84 ret = scnprintf(buf + index1 + index2, in bo_show()
85 PAGE_SIZE - index1 - index2, in bo_show()
90 index2 += ret; in bo_show()
95 return index1 + index2 + 1; in bo_show()
/drivers/usb/gadget/function/
Df_ncm.c1161 unsigned index, index2; in ncm_unwrap_ntb() local
1252 index2 = get_ncm(&tmp, opts->dgram_item_len); in ncm_unwrap_ntb()
1257 index = index2; in ncm_unwrap_ntb()
1293 index2 = get_ncm(&tmp, opts->dgram_item_len); in ncm_unwrap_ntb()
1297 if (index2 > block_len - opts->dpe_size) { in ncm_unwrap_ntb()
1299 "Bad index: %#X\n", index2); in ncm_unwrap_ntb()
1319 if (index2 == 0 || dg_len2 == 0) in ncm_unwrap_ntb()
/drivers/net/ethernet/mellanox/mlx5/core/diag/
Drsc_dump.c147 MLX5_SET(resource_dump, cmd->cmd, index2, key->index2); in mlx5_rsc_dump_cmd_create()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c2267 u16 index2; in wlc_lcnphy_set_tx_pwr_soft_ctrl() local
2308 index2 = (u16) (index * 2); in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2309 mod_phy_reg(pi, 0x4a9, (0x1ff << 0), (index2) << 0); in wlc_lcnphy_set_tx_pwr_soft_ctrl()
4261 u16 index2; in wlc_lcnphy_tx_power_adjustment() local
4268 index2 = (u16) (index * 2); in wlc_lcnphy_tx_power_adjustment()
4269 mod_phy_reg(pi, 0x4a9, (0x1ff << 0), (index2) << 0); in wlc_lcnphy_tx_power_adjustment()