Home
last modified time | relevance | path

Searched refs:index (Results 776 - 800 of 14442) sorted by relevance

1...<<31323334353637383940>>...578

/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8192ce/
H A Drf.c144 " [OFDM power base index rf(%c) = 0x%x]\n", in rtl92c_phy_get_power_base()
160 " [MCS power base index rf(%c) = 0x%x]\n", in rtl92c_phy_get_power_base()
166 u8 channel, u8 index, in _rtl92c_get_txpower_writeval_by_regulatory()
182 writeval = rtlphy->mcs_offset[chnlgroup][index + in _rtl92c_get_txpower_writeval_by_regulatory()
184 + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in _rtl92c_get_txpower_writeval_by_regulatory()
192 writeval = ((index < 2) ? powerbase0[rf] : in _rtl92c_get_txpower_writeval_by_regulatory()
213 [index + (rf ? 8 : 0)] + ((index < 2) ? in _rtl92c_get_txpower_writeval_by_regulatory()
224 ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in _rtl92c_get_txpower_writeval_by_regulatory()
248 [chnlgroup][index in _rtl92c_get_txpower_writeval_by_regulatory()
165 _rtl92c_get_txpower_writeval_by_regulatory(struct ieee80211_hw *hw, u8 channel, u8 index, u32 *powerbase0, u32 *powerbase1, u32 *p_outwriteval) _rtl92c_get_txpower_writeval_by_regulatory() argument
306 _rtl92c_write_ofdm_power_reg(struct ieee80211_hw *hw, u8 index, u32 *value) _rtl92c_write_ofdm_power_reg() argument
375 u8 index; rtl92ce_phy_rf6052_set_ofdm_txpower() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723be/
H A Drf.c154 " [OFDM power base index rf(%c) = 0x%x]\n", in rtl8723be_phy_get_power_base()
171 " [MCS power base index rf(%c) = 0x%x]\n", in rtl8723be_phy_get_power_base()
178 u8 channel, u8 index, in _rtl8723be_get_txpower_writeval_by_regulatory()
195 rtlphy->mcs_txpwrlevel_origoffset[chnlgroup][index + in _rtl8723be_get_txpower_writeval_by_regulatory()
197 + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in _rtl8723be_get_txpower_writeval_by_regulatory()
223 [index + (rf ? 8 : 0)] + ((index < 2) ? in _rtl8723be_get_txpower_writeval_by_regulatory()
234 ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in _rtl8723be_get_txpower_writeval_by_regulatory()
257 if (index < 2) in _rtl8723be_get_txpower_writeval_by_regulatory()
280 [chnlgroup][index in _rtl8723be_get_txpower_writeval_by_regulatory()
176 _rtl8723be_get_txpower_writeval_by_regulatory( struct ieee80211_hw *hw, u8 channel, u8 index, u32 *powerbase0, u32 *powerbase1, u32 *p_outwriteval) _rtl8723be_get_txpower_writeval_by_regulatory() argument
326 _rtl8723be_write_ofdm_power_reg(struct ieee80211_hw *hw, u8 index, u32 *pvalue) _rtl8723be_write_ofdm_power_reg() argument
373 u8 index; rtl8723be_phy_rf6052_set_ofdm_txpower() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/
H A Drf.c136 " [OFDM power base index rf(%c) = 0x%x]\n", in rtl8821ae_phy_get_power_base()
153 " [MCS power base index rf(%c) = 0x%x]\n", in rtl8821ae_phy_get_power_base()
159 u8 channel, u8 index, in get_txpower_writeval_by_regulatory()
176 rtlphy->mcs_txpwrlevel_origoffset[chnlgroup][index + in get_txpower_writeval_by_regulatory()
178 + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in get_txpower_writeval_by_regulatory()
204 [index + (rf ? 8 : 0)] + ((index < 2) ? in get_txpower_writeval_by_regulatory()
215 ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in get_txpower_writeval_by_regulatory()
238 if (index < 2) in get_txpower_writeval_by_regulatory()
259 [chnlgroup][index in get_txpower_writeval_by_regulatory()
158 get_txpower_writeval_by_regulatory(struct ieee80211_hw *hw, u8 channel, u8 index, u32 *powerbase0, u32 *powerbase1, u32 *p_outwriteval) get_txpower_writeval_by_regulatory() argument
303 _rtl8821ae_write_ofdm_power_reg(struct ieee80211_hw *hw, u8 index, u32 *pvalue) _rtl8821ae_write_ofdm_power_reg() argument
351 u8 index; rtl8821ae_phy_rf6052_set_ofdm_txpower() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8188ee/
H A Drf.c154 " [OFDM power base index rf(%c) = 0x%x]\n", in rtl88e_phy_get_power_base()
171 " [MCS power base index rf(%c) = 0x%x]\n", in rtl88e_phy_get_power_base()
177 u8 channel, u8 index, in _rtl88e_get_txpower_writeval_by_regulatory()
195 [chnlgroup][index + (rf ? 8 : 0)] in _rtl88e_get_txpower_writeval_by_regulatory()
196 + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in _rtl88e_get_txpower_writeval_by_regulatory()
222 [index + (rf ? 8 : 0)] + ((index < 2) ? in _rtl88e_get_txpower_writeval_by_regulatory()
233 ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in _rtl88e_get_txpower_writeval_by_regulatory()
256 if (index < 2) in _rtl88e_get_txpower_writeval_by_regulatory()
278 [chnlgroup][index in _rtl88e_get_txpower_writeval_by_regulatory()
176 _rtl88e_get_txpower_writeval_by_regulatory(struct ieee80211_hw *hw, u8 channel, u8 index, u32 *powerbase0, u32 *powerbase1, u32 *p_outwriteval) _rtl88e_get_txpower_writeval_by_regulatory() argument
323 _rtl88e_write_ofdm_power_reg(struct ieee80211_hw *hw, u8 index, u32 *value) _rtl88e_write_ofdm_power_reg() argument
370 u8 index; rtl88e_phy_rf6052_set_ofdm_txpower() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/
H A Drf.c148 " [OFDM power base index rf(%c) = 0x%x]\n", in rtl8723e_phy_get_power_base()
165 " [MCS power base index rf(%c) = 0x%x]\n", in rtl8723e_phy_get_power_base()
171 u8 channel, u8 index, in get_txpower_writeval_by_reg()
188 rtlphy->mcs_txpwrlevel_origoffset[chnlgroup][index + in get_txpower_writeval_by_reg()
190 + ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in get_txpower_writeval_by_reg()
198 writeval = ((index < 2) ? powerbase0[rf] : in get_txpower_writeval_by_reg()
223 [index + (rf ? 8 : 0)] + ((index < 2) ? in get_txpower_writeval_by_reg()
234 ((index < 2) ? powerbase0[rf] : powerbase1[rf]); in get_txpower_writeval_by_reg()
259 [chnlgroup][index in get_txpower_writeval_by_reg()
170 get_txpower_writeval_by_reg(struct ieee80211_hw *hw, u8 channel, u8 index, u32 *powerbase0, u32 *powerbase1, u32 *p_outwriteval) get_txpower_writeval_by_reg() argument
318 _rtl8723e_write_ofdm_power_reg(struct ieee80211_hw *hw, u8 index, u32 *pvalue) _rtl8723e_write_ofdm_power_reg() argument
387 u8 index; rtl8723e_phy_rf6052_set_ofdm_txpower() local
[all...]
/kernel/linux/linux-6.6/drivers/of/
H A Dirq.c31 * @index: Index of the interrupt to map
36 unsigned int irq_of_parse_and_map(struct device_node *dev, int index) in irq_of_parse_and_map() argument
40 if (of_irq_parse_one(dev, index, &oirq)) in irq_of_parse_and_map()
322 * @index: index of the interrupt to resolve
329 int of_irq_parse_one(struct device_node *device, int index, struct of_phandle_args *out_irq) in of_irq_parse_one() argument
336 pr_debug("of_irq_parse_one: dev=%pOF, index=%d\n", device, index); in of_irq_parse_one()
340 return of_irq_parse_oldworld(device, index, out_irq); in of_irq_parse_one()
347 "#interrupt-cells", index, out_ir in of_irq_parse_one()
392 of_irq_to_resource(struct device_node *dev, int index, struct resource *r) of_irq_to_resource() argument
430 of_irq_get(struct device_node *dev, int index) of_irq_get() argument
465 int index; of_irq_get_byname() local
723 int index = 0; of_msi_get_domain() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv04/
H A Dhw.h37 void NVWriteVgaSeq(struct drm_device *, int head, uint8_t index, uint8_t value);
38 uint8_t NVReadVgaSeq(struct drm_device *, int head, uint8_t index);
39 void NVWriteVgaGr(struct drm_device *, int head, uint8_t index, uint8_t value);
40 uint8_t NVReadVgaGr(struct drm_device *, int head, uint8_t index);
120 int head, uint8_t index, uint8_t value) in NVWriteVgaCrtc()
123 nvif_wr08(device, NV_PRMCIO_CRX__COLOR + head * NV_PRMCIO_SIZE, index); in NVWriteVgaCrtc()
128 int head, uint8_t index) in NVReadVgaCrtc()
132 nvif_wr08(device, NV_PRMCIO_CRX__COLOR + head * NV_PRMCIO_SIZE, index); in NVReadVgaCrtc()
137 /* CR57 and CR58 are a fun pair of regs. CR57 provides an index (0-0xf) for CR58
143 * 0x00 index t
119 NVWriteVgaCrtc(struct drm_device *dev, int head, uint8_t index, uint8_t value) NVWriteVgaCrtc() argument
127 NVReadVgaCrtc(struct drm_device *dev, int head, uint8_t index) NVReadVgaCrtc() argument
152 NVWriteVgaCrtc5758(struct drm_device *dev, int head, uint8_t index, uint8_t value) NVWriteVgaCrtc5758() argument
158 NVReadVgaCrtc5758(struct drm_device *dev, int head, uint8_t index) NVReadVgaCrtc5758() argument
208 NVWriteVgaAttr(struct drm_device *dev, int head, uint8_t index, uint8_t value) NVWriteVgaAttr() argument
222 NVReadVgaAttr(struct drm_device *dev, int head, uint8_t index) NVReadVgaAttr() argument
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/
H A Dplane.c43 plane->state->zpos = p->index; in tegra_plane_reset()
44 plane->state->normalized_zpos = p->index; in tegra_plane_reset()
321 tegra->planes |= WIN_A_ACT_REQ << plane->index; in tegra_plane_state_add()
650 unsigned int index = 0, i; in tegra_plane_get_overlap_index() local
655 if (i == plane->index) in tegra_plane_get_overlap_index()
658 if (i == other->index) in tegra_plane_get_overlap_index()
661 index++; in tegra_plane_get_overlap_index()
664 return index; in tegra_plane_get_overlap_index()
676 unsigned index; in tegra_plane_update_transparency() local
682 index in tegra_plane_update_transparency()
[all...]
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dadm1021.c149 int index = to_sensor_dev_attr(devattr)->index; in temp_show() local
152 return sprintf(buf, "%d\n", data->temp[index]); in temp_show()
158 int index = to_sensor_dev_attr(devattr)->index; in temp_max_show() local
161 return sprintf(buf, "%d\n", data->temp_max[index]); in temp_max_show()
167 int index = to_sensor_dev_attr(devattr)->index; in temp_min_show() local
170 return sprintf(buf, "%d\n", data->temp_min[index]); in temp_min_show()
176 int index in alarm_show() local
193 int index = to_sensor_dev_attr(devattr)->index; temp_max_store() local
219 int index = to_sensor_dev_attr(devattr)->index; temp_min_store() local
[all...]
H A Dnct6683.c355 u8 index; member
357 int index; member
359 bool s2; /* true if both index and nr are used */
378 .u.index = _index, \
384 .u.s.index = _index, \
455 a2->index = (*t)->u.s.index; in nct6683_create_attr_group()
465 a->index = (*t)->u.index + i; in nct6683_create_attr_group()
521 static int get_in_reg(struct nct6683_data *data, int nr, int index) in get_in_reg() argument
544 get_temp_reg(struct nct6683_data *data, int nr, int index) get_temp_reg() argument
668 int index = sattr->index; show_in_reg() local
675 nct6683_in_is_visible(struct kobject *kobj, struct attribute *attr, int index) nct6683_in_is_visible() argument
740 nct6683_fan_is_visible(struct kobject *kobj, struct attribute *attr, int index) nct6683_fan_is_visible() argument
798 int index = sattr->index; show_temp8() local
820 int index = sattr->index; show_temp16() local
858 nct6683_temp_is_visible(struct kobject *kobj, struct attribute *attr, int index) nct6683_temp_is_visible() argument
916 int index = sattr->index; show_pwm() local
927 int index = sattr->index; store_pwm() local
945 nct6683_pwm_is_visible(struct kobject *kobj, struct attribute *attr, int index) nct6683_pwm_is_visible() argument
[all...]
H A Dpc87360.c226 * ldi is the logical device index
407 return sprintf(buf, "%u\n", IN_FROM_REG(data->in[attr->index], in in_input_show()
430 return sprintf(buf, "%u\n", data->in_status[attr->index]); in in_status_show()
452 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_min[attr->index], in in_min_show()
470 data->in_min[attr->index] = IN_TO_REG(val, data->in_vref); in in_min_store()
471 pc87360_write_value(data, LD_IN, attr->index, PC87365_REG_IN_MIN, in in_min_store()
472 data->in_min[attr->index]); in in_min_store()
496 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_max[attr->index], in in_max_show()
514 data->in_max[attr->index] = IN_TO_REG(val, in in_max_store()
516 pc87360_write_value(data, LD_IN, attr->index, PC87365_REG_IN_MA in in_max_store()
[all...]
/kernel/linux/linux-5.10/drivers/edac/
H A Dsynopsys_edac.c928 int index; in ddr_poison_setup() local
933 for (index = 0; index < DDR_MAX_ROW_SHIFT; index++) { in ddr_poison_setup()
934 if (priv->row_shift[index]) in ddr_poison_setup()
935 row |= (((hif_addr >> priv->row_shift[index]) & in ddr_poison_setup()
936 BIT(0)) << index); in ddr_poison_setup()
941 for (index = 0; index < DDR_MAX_COL_SHIFT; index in ddr_poison_setup()
1061 int index; setup_row_address_map() local
1120 int index; setup_column_address_map() local
1263 int index; setup_address_map() local
[all...]
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dnct6683.c343 u8 index; member
345 int index; member
347 bool s2; /* true if both index and nr are used */
366 .u.index = _index, \
372 .u.s.index = _index, \
443 a2->index = (*t)->u.s.index; in nct6683_create_attr_group()
453 a->index = (*t)->u.index + i; in nct6683_create_attr_group()
520 static int get_in_reg(struct nct6683_data *data, int nr, int index) in get_in_reg() argument
543 get_temp_reg(struct nct6683_data *data, int nr, int index) get_temp_reg() argument
667 int index = sattr->index; show_in_reg() local
674 nct6683_in_is_visible(struct kobject *kobj, struct attribute *attr, int index) nct6683_in_is_visible() argument
739 nct6683_fan_is_visible(struct kobject *kobj, struct attribute *attr, int index) nct6683_fan_is_visible() argument
797 int index = sattr->index; show_temp8() local
819 int index = sattr->index; show_temp16() local
857 nct6683_temp_is_visible(struct kobject *kobj, struct attribute *attr, int index) nct6683_temp_is_visible() argument
915 int index = sattr->index; show_pwm() local
926 int index = sattr->index; store_pwm() local
944 nct6683_pwm_is_visible(struct kobject *kobj, struct attribute *attr, int index) nct6683_pwm_is_visible() argument
[all...]
H A Dpc87360.c249 return sprintf(buf, "%u\n", FAN_FROM_REG(data->fan[attr->index], in fan_input_show()
250 FAN_DIV_FROM_REG(data->fan_status[attr->index]))); in fan_input_show()
257 return sprintf(buf, "%u\n", FAN_FROM_REG(data->fan_min[attr->index], in fan_min_show()
258 FAN_DIV_FROM_REG(data->fan_status[attr->index]))); in fan_min_show()
266 FAN_DIV_FROM_REG(data->fan_status[attr->index])); in fan_div_show()
274 FAN_STATUS_FROM_REG(data->fan_status[attr->index])); in fan_status_show()
291 FAN_DIV_FROM_REG(data->fan_status[attr->index])); in fan_min_store()
295 && (data->fan_status[attr->index] & 0x60) != 0x60) { in fan_min_store()
297 data->fan[attr->index] >>= 1; in fan_min_store()
298 data->fan_status[attr->index] in fan_min_store()
[all...]
H A Dw83773g.c74 static int get_remote_temp(struct regmap *regmap, int index, long *val) in get_remote_temp() argument
80 ret = regmap_read(regmap, W83773_TEMP_MSB[index], &regval_high); in get_remote_temp()
84 ret = regmap_read(regmap, W83773_TEMP_LSB[index], &regval_low); in get_remote_temp()
92 static int get_fault(struct regmap *regmap, int index, long *val) in get_fault() argument
97 ret = regmap_read(regmap, W83773_STATUS[index], &regval); in get_fault()
105 static int get_offset(struct regmap *regmap, int index, long *val) in get_offset() argument
111 ret = regmap_read(regmap, W83773_OFFSET_MSB[index], &regval_high); in get_offset()
115 ret = regmap_read(regmap, W83773_OFFSET_LSB[index], &regval_low); in get_offset()
123 static int set_offset(struct regmap *regmap, int index, long val) in set_offset() argument
135 ret = regmap_write(regmap, W83773_OFFSET_MSB[index], high_byt in set_offset()
[all...]
/kernel/linux/linux-6.6/drivers/clk/nuvoton/
H A Dclk-ma35d1.c117 { .index = -1, },
118 { .index = -1, },
120 { .index = -1, },
128 { .index = -1, },
129 { .index = -1, },
131 { .index = -1, },
139 { .index = -1, },
140 { .index = -1, },
142 { .index = -1, },
150 { .index
[all...]
/kernel/linux/linux-6.6/drivers/edac/
H A Dsynopsys_edac.c955 int index; in ddr_poison_setup() local
960 for (index = 0; index < DDR_MAX_ROW_SHIFT; index++) { in ddr_poison_setup()
961 if (priv->row_shift[index]) in ddr_poison_setup()
962 row |= (((hif_addr >> priv->row_shift[index]) & in ddr_poison_setup()
963 BIT(0)) << index); in ddr_poison_setup()
968 for (index = 0; index < DDR_MAX_COL_SHIFT; index in ddr_poison_setup()
1088 int index; setup_row_address_map() local
1147 int index; setup_column_address_map() local
1290 int index; setup_address_map() local
[all...]
/kernel/linux/linux-5.10/mm/
H A Dshmem.c142 struct shmem_inode_info *info, pgoff_t index);
143 static int shmem_swapin_page(struct inode *inode, pgoff_t index,
147 static int shmem_getpage_gfp(struct inode *inode, pgoff_t index,
152 int shmem_getpage(struct inode *inode, pgoff_t index, in shmem_getpage() argument
155 return shmem_getpage_gfp(inode, index, pagep, sgp, in shmem_getpage()
415 pgoff_t index, void *expected, void *replacement) in shmem_replace_entry()
417 XA_STATE(xas, &mapping->i_pages, index); in shmem_replace_entry()
437 pgoff_t index, swp_entry_t swap) in shmem_confirm_swap()
439 return xa_load(&mapping->i_pages, index) == swp_to_radix_entry(swap); in shmem_confirm_swap()
674 pgoff_t index, voi in shmem_add_to_page_cache()
414 shmem_replace_entry(struct address_space *mapping, pgoff_t index, void *expected, void *replacement) shmem_replace_entry() argument
436 shmem_confirm_swap(struct address_space *mapping, pgoff_t index, swp_entry_t swap) shmem_confirm_swap() argument
672 shmem_add_to_page_cache(struct page *page, struct address_space *mapping, pgoff_t index, void *expected, gfp_t gfp, struct mm_struct *charge_mm) shmem_add_to_page_cache() argument
766 shmem_free_swap(struct address_space *mapping, pgoff_t index, void *radswap) shmem_free_swap() argument
851 pgoff_t index = 0; shmem_unlock_mapping() local
916 pgoff_t index; shmem_undo_range() local
1370 pgoff_t index; shmem_writepage() local
1507 shmem_pseudo_vma_init(struct vm_area_struct *vma, struct shmem_inode_info *info, pgoff_t index) shmem_pseudo_vma_init() argument
1523 shmem_swapin(swp_entry_t swap, gfp_t gfp, struct shmem_inode_info *info, pgoff_t index) shmem_swapin() argument
1539 shmem_alloc_hugepage(gfp_t gfp, struct shmem_inode_info *info, pgoff_t index) shmem_alloc_hugepage() argument
1563 shmem_alloc_page(gfp_t gfp, struct shmem_inode_info *info, pgoff_t index) shmem_alloc_page() argument
1576 shmem_alloc_and_acct_page(gfp_t gfp, struct inode *inode, pgoff_t index, bool huge) shmem_alloc_and_acct_page() argument
1625 shmem_replace_page(struct page **pagep, gfp_t gfp, struct shmem_inode_info *info, pgoff_t index) shmem_replace_page() argument
1698 shmem_swapin_page(struct inode *inode, pgoff_t index, struct page **pagep, enum sgp_type sgp, gfp_t gfp, struct vm_area_struct *vma, vm_fault_t *fault_type) shmem_swapin_page() argument
1798 shmem_getpage_gfp(struct inode *inode, pgoff_t index, struct page **pagep, enum sgp_type sgp, gfp_t gfp, struct vm_area_struct *vma, struct vm_fault *vmf, vm_fault_t *fault_type) shmem_getpage_gfp() argument
2226 pgoff_t index; shmem_get_policy() local
2523 pgoff_t index = pos >> PAGE_SHIFT; shmem_write_begin() local
2578 pgoff_t index; shmem_file_read_iter() local
2686 shmem_seek_hole_data(struct address_space *mapping, pgoff_t index, pgoff_t end, int whence) shmem_seek_hole_data() argument
2776 pgoff_t start, index, end; shmem_fallocate() local
4327 shmem_read_mapping_page_gfp(struct address_space *mapping, pgoff_t index, gfp_t gfp) shmem_read_mapping_page_gfp() argument
[all...]
/kernel/linux/linux-5.10/drivers/misc/altera-stapl/
H A Daltera.c248 u32 index; in altera_execute() local
922 index = 7 + 1; in altera_execute()
923 if (altera_check_stack(stack_ptr, index, &status)) { in altera_execute()
924 long_tmp = stack[stack_ptr - index]; in altera_execute()
925 stack[stack_ptr - index] = stack[stack_ptr - 1]; in altera_execute()
937 index = 6 + 1; in altera_execute()
938 if (altera_check_stack(stack_ptr, index, &status)) { in altera_execute()
939 long_tmp = stack[stack_ptr - index]; in altera_execute()
940 stack[stack_ptr - index] = stack[stack_ptr - 1]; in altera_execute()
945 index in altera_execute()
2317 altera_get_act_info(u8 *p, s32 program_size, int index, char **name, char **description, struct altera_procinfo **proc_list) altera_get_act_info() argument
2416 int index = 0; altera_init() local
[all...]
/base/powermgr/battery_statistics/frameworks/napi/src/
H A Dbattery_stats.cpp94 napi_value BatteryStats::GetAppStatsMah(napi_callback_info& info, uint32_t maxArgc, uint32_t index) in GetAppStatsMah() argument
96 return GetAppOrPartStats(info, maxArgc, index, [&](int32_t uid, NapiError& error) { in GetAppStatsMah()
104 napi_value BatteryStats::GetAppStatsPercent(napi_callback_info& info, uint32_t maxArgc, uint32_t index) in GetAppStatsPercent() argument
106 return GetAppOrPartStats(info, maxArgc, index, [&](int32_t uid, NapiError& error) { in GetAppStatsPercent()
114 napi_value BatteryStats::GetPartStatsMah(napi_callback_info& info, uint32_t maxArgc, uint32_t index) in GetPartStatsMah() argument
116 return GetAppOrPartStats(info, maxArgc, index, [&](int32_t type, NapiError& error) { in GetPartStatsMah()
125 napi_value BatteryStats::GetPartStatsPercent(napi_callback_info& info, uint32_t maxArgc, uint32_t index)
127 return GetAppOrPartStats(info, maxArgc, index, [&](int32_t type, NapiError& error) {
137 napi_callback_info& info, uint32_t maxArgc, uint32_t index, std::function<double(int32_t, NapiError&)> getAppOrPart)
144 if (argc != maxArgc || !NapiUtils::CheckValueType(env_, argv[index], napi_numbe
[all...]
/kernel/linux/linux-5.10/drivers/acpi/
H A Dirq.c126 * Contains a return code, the lookup index, and references to the flags
131 unsigned int index; member
173 * might contain multiple interrupts we check if the index is within this
175 * count from the lookup index to prepare for the next resource.
194 if (ctx->index >= irq->interrupt_count) { in acpi_irq_parse_one_cb()
195 ctx->index -= irq->interrupt_count; in acpi_irq_parse_one_cb()
199 acpi_irq_parse_one_match(fwnode, irq->interrupts[ctx->index], in acpi_irq_parse_one_cb()
207 if (ctx->index >= eirq->interrupt_count) { in acpi_irq_parse_one_cb()
208 ctx->index -= eirq->interrupt_count; in acpi_irq_parse_one_cb()
212 acpi_irq_parse_one_match(fwnode, eirq->interrupts[ctx->index], in acpi_irq_parse_one_cb()
237 acpi_irq_parse_one(acpi_handle handle, unsigned int index, struct irq_fwspec *fwspec, unsigned long *flags) acpi_irq_parse_one() argument
261 acpi_irq_get(acpi_handle handle, unsigned int index, struct resource *res) acpi_irq_get() argument
[all...]
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/crypto/
H A Docteon-sha512.c115 unsigned int index; in __octeon_sha512_update() local
119 index = sctx->count[0] % SHA512_BLOCK_SIZE; in __octeon_sha512_update()
125 part_len = SHA512_BLOCK_SIZE - index; in __octeon_sha512_update()
129 memcpy(&sctx->buf[index], data, part_len); in __octeon_sha512_update()
136 index = 0; in __octeon_sha512_update()
142 memcpy(&sctx->buf[index], &data[i], len - i); in __octeon_sha512_update()
179 unsigned int index; in octeon_sha512_final() local
188 index = sctx->count[0] & 0x7f; in octeon_sha512_final()
189 pad_len = (index < 112) ? (112 - index) in octeon_sha512_final()
[all...]
/kernel/linux/linux-5.10/drivers/firmware/efi/
H A Dcapsule-loader.c32 while (cap_info->index > 0) in efi_free_all_buff_pages()
33 __free_page(cap_info->pages[--cap_info->index]); in efi_free_all_buff_pages()
35 cap_info->index = NO_FURTHER_WRITE_ACTION; in efi_free_all_buff_pages()
119 cap_info->capsule = vmap(cap_info->pages, cap_info->index, in efi_capsule_submit_update()
135 cap_info->index = NO_FURTHER_WRITE_ACTION; in efi_capsule_submit_update()
181 if (cap_info->index < 0) in efi_capsule_write()
192 cap_info->pages[cap_info->index] = page; in efi_capsule_write()
193 cap_info->phys[cap_info->index] = page_to_phys(page); in efi_capsule_write()
195 cap_info->index++; in efi_capsule_write()
197 page = cap_info->pages[cap_info->index in efi_capsule_write()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/basics/
H A Dvector.c158 uint32_t index) in dal_vector_at_index()
160 if (vector->container == NULL || index >= vector->count) in dal_vector_at_index()
162 return vector->container + (index * vector->struct_size); in dal_vector_at_index()
167 uint32_t index) in dal_vector_remove_at_index()
169 if (index >= vector->count) in dal_vector_remove_at_index()
172 if (index != vector->count - 1) in dal_vector_remove_at_index()
174 vector->container + (index * vector->struct_size), in dal_vector_remove_at_index()
175 vector->container + ((index + 1) * vector->struct_size), in dal_vector_remove_at_index()
176 (vector->count - index - 1) * vector->struct_size); in dal_vector_remove_at_index()
185 uint32_t index) in dal_vector_set_at_index()
156 dal_vector_at_index( const struct vector *vector, uint32_t index) dal_vector_at_index() argument
165 dal_vector_remove_at_index( struct vector *vector, uint32_t index) dal_vector_remove_at_index() argument
182 dal_vector_set_at_index( const struct vector *vector, const void *what, uint32_t index) dal_vector_set_at_index() argument
[all...]
/kernel/linux/linux-6.6/arch/mips/cavium-octeon/crypto/
H A Docteon-sha512.c82 unsigned int index; in __octeon_sha512_update() local
86 index = sctx->count[0] % SHA512_BLOCK_SIZE; in __octeon_sha512_update()
92 part_len = SHA512_BLOCK_SIZE - index; in __octeon_sha512_update()
96 memcpy(&sctx->buf[index], data, part_len); in __octeon_sha512_update()
103 index = 0; in __octeon_sha512_update()
109 memcpy(&sctx->buf[index], &data[i], len - i); in __octeon_sha512_update()
146 unsigned int index; in octeon_sha512_final() local
155 index = sctx->count[0] & 0x7f; in octeon_sha512_final()
156 pad_len = (index < 112) ? (112 - index) in octeon_sha512_final()
[all...]

Completed in 28 milliseconds

1...<<31323334353637383940>>...578