Searched refs:index2 (Results 1 – 8 of 8) sorted by relevance
/drivers/power/supply/ |
D | generic-adc-battery.c | 298 int index2; in gab_probe() local 300 for (index2 = 0; index2 < index; index2++) { in gab_probe() 301 if (properties[index2] == gab_dyn_props[chan]) in gab_probe() 304 if (index2 == index) /* really new */ in gab_probe()
|
/drivers/macintosh/ |
D | windfarm_smu_sat.c | 43 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() 272 sens->index2 = -1; in wf_sat_probe() 299 sens->index2 = isens[core]; in wf_sat_probe()
|
/drivers/misc/altera-stapl/ |
D | altera.c | 249 u32 index2; in altera_execute() local 1754 index2 = copy_index2; in altera_execute() 1818 index2 += (count - 1); in altera_execute() 1823 charptr_tmp[index2 >> 3] |= in altera_execute() 1824 (1 << (index2 & 7)); in altera_execute() 1826 charptr_tmp[index2 >> 3] &= in altera_execute() 1827 ~(1 << (index2 & 7)); in altera_execute() 1831 --index2; in altera_execute() 1833 ++index2; in altera_execute() 2014 u32 index2; in altera_execute() local [all …]
|
/drivers/staging/media/atomisp/pci/hmm/ |
D | hmm.c | 64 int index2 = 0; in bo_show() local 90 ret = scnprintf(buf + index1 + index2, in bo_show() 91 PAGE_SIZE - index1 - index2, in bo_show() 96 index2 += ret; in bo_show() 101 return index1 + index2 + 1; in bo_show()
|
/drivers/usb/gadget/function/ |
D | f_ncm.c | 1185 unsigned index, index2; in ncm_unwrap_ntb() local 1276 index2 = get_ncm(&tmp, opts->dgram_item_len); in ncm_unwrap_ntb() 1281 index = index2; in ncm_unwrap_ntb() 1317 index2 = get_ncm(&tmp, opts->dgram_item_len); in ncm_unwrap_ntb() 1321 if (index2 > block_len - opts->dpe_size) { in ncm_unwrap_ntb() 1323 "Bad index: %#X\n", index2); in ncm_unwrap_ntb() 1343 if (index2 == 0 || dg_len2 == 0) in ncm_unwrap_ntb()
|
/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | rsc_dump.c | 147 MLX5_SET(resource_dump, cmd->cmd, index2, key->index2); in mlx5_rsc_dump_cmd_create()
|
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_lcn.c | 2267 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()
|
/drivers/iommu/intel/ |
D | irq_remapping.c | 1294 entry->index2 = (index >> 15) & 0x1; in intel_irq_remapping_prepare_irte()
|