Searched refs:base_shift (Results 1 – 8 of 8) sorted by relevance
| /linux/drivers/net/ethernet/netronome/nfp/abm/ |
| H A D | cls.c | 121 unsigned int i, bits_per_prio, prios_per_word, base_shift; in nfp_abm_update_band_map() local 132 base_shift = 8 - order_base_2(abm->num_prios); in nfp_abm_update_band_map() 142 band = nfp_abm_find_band_for_prio(alink, i << base_shift); in nfp_abm_update_band_map()
|
| /linux/drivers/thermal/qcom/ |
| H A D | tsens-v0_1.c | 28 .base_shift = 3, 44 .base_shift = 2, 66 .base_shift = 2,
|
| H A D | tsens-v1.c | 26 .base_shift = 2,
|
| H A D | tsens.c | 232 p1[i] = p1[i] + (base1 << format->base_shift); in tsens_read_calibration_legacy() 236 p2[i] = (p2[i] + base2) << format->base_shift; in tsens_read_calibration_legacy() 240 p1[i] = (p1[i] + base1) << format->base_shift; in tsens_read_calibration_legacy()
|
| H A D | tsens.h | 618 unsigned int base_shift; member
|
| /linux/arch/powerpc/mm/book3s64/ |
| H A D | hash_utils.c | 866 unsigned int base_shift = be32_to_cpu(prop[0]); in htab_dt_scan_page_sizes() local 873 base_idx = get_idx_from_shift(base_shift); in htab_dt_scan_page_sizes() 883 def->shift = base_shift; in htab_dt_scan_page_sizes() 884 if (base_shift <= 23) in htab_dt_scan_page_sizes() 887 def->avpnm = (1 << (base_shift - 23)) - 1; in htab_dt_scan_page_sizes() 911 "shift=%d\n", base_shift, shift); in htab_dt_scan_page_sizes() 916 base_shift, shift, def->sllp, in htab_dt_scan_page_sizes()
|
| /linux/arch/sparc/kernel/ |
| H A D | iommu.c | 454 unsigned long base_shift; in dma_4u_map_sg() local 486 base_shift = iommu->tbl.table_map_base >> IO_PAGE_SHIFT; in dma_4u_map_sg() 533 (is_span_boundary(out_entry, base_shift, in dma_4u_map_sg()
|
| H A D | pci_sun4v.c | 492 unsigned long base_shift; in dma_4v_map_sg() local 530 base_shift = tbl->table_map_base >> IO_PAGE_SHIFT; in dma_4v_map_sg() 576 (is_span_boundary(out_entry, base_shift, in dma_4v_map_sg()
|