/linux/fs/bcachefs/ |
H A D | eytzinger.c | 151 static inline int eytzinger1_do_cmp(void *base1, size_t n, size_t size, in eytzinger1_do_cmp() argument 155 return do_cmp(base1 + inorder_to_eytzinger1(l, n) * size, in eytzinger1_do_cmp() 156 base1 + inorder_to_eytzinger1(r, n) * size, in eytzinger1_do_cmp() 160 static inline void eytzinger1_do_swap(void *base1, size_t n, size_t size, in eytzinger1_do_swap() argument 164 do_swap(base1 + inorder_to_eytzinger1(l, n) * size, in eytzinger1_do_swap() 165 base1 + inorder_to_eytzinger1(r, n) * size, in eytzinger1_do_swap() 169 static void eytzinger1_sort_r(void *base1, size_t n, size_t size, in eytzinger1_sort_r() argument 181 if (is_aligned(base1, size, 8)) in eytzinger1_sort_r() 183 else if (is_aligned(base1, size, 4)) in eytzinger1_sort_r() 193 j = eytzinger1_do_cmp(base1, n, size, cmp_func, priv, k, k + 1) > 0 ? k : k + 1; in eytzinger1_sort_r() [all …]
|
H A D | eytzinger.h | 246 void *base1 = base - size; in eytzinger0_find_le() local 250 n = eytzinger1_child(n, cmp(base1 + n * size, search) <= 0); in eytzinger0_find_le() 259 void *base1 = base - size; in eytzinger0_find_gt() local 263 n = eytzinger1_child(n, cmp(base1 + n * size, search) <= 0); in eytzinger0_find_gt() 272 void *base1 = base - size; in eytzinger0_find_ge() local 276 n = eytzinger1_child(n, cmp(base1 + n * size, search) < 0); in eytzinger0_find_ge()
|
/linux/drivers/pinctrl/ |
H A D | pinctrl-keembay.c | 102 * @base1: Second register base address 117 void __iomem *base1; member 890 unsigned int val = keembay_read_reg(kpc->base1 + KEEMBAY_GPIO_MODE, pin); in keembay_gpio_invert() 899 keembay_write_reg(val, kpc->base1 + KEEMBAY_GPIO_MODE, pin); in keembay_gpio_invert() 904 unsigned int val = keembay_read_reg(kpc->base1 + KEEMBAY_GPIO_MODE, pin); in keembay_gpio_restore_default() 907 keembay_write_reg(val, kpc->base1 + KEEMBAY_GPIO_MODE, pin); in keembay_gpio_restore_default() 919 val = keembay_read_reg(kpc->base1 + KEEMBAY_GPIO_MODE, pin); in keembay_request_gpio() 951 val = keembay_read_reg(kpc->base1 + KEEMBAY_GPIO_MODE, pin); in keembay_set_mux() 953 keembay_write_reg(val, kpc->base1 + KEEMBAY_GPIO_MODE, pin); in keembay_set_mux() 960 unsigned int val = keembay_read_reg(kpc->base1 + KEEMBAY_GPIO_MODE, pin); in keembay_pinconf_get_pull() [all …]
|
/linux/drivers/mfd/ |
H A D | mcp-sa11x0.c | 29 void __iomem *base1; member 40 #define MCCR1(m) ((m)->base1 + 0x00) 196 m->base1 = ioremap(mem1->start, resource_size(mem1)); in mcp_sa11x0_probe() 197 if (!m->base0 || !m->base1) { in mcp_sa11x0_probe() 224 iounmap(m->base1); in mcp_sa11x0_probe() 249 iounmap(m->base1); in mcp_sa11x0_remove()
|
/linux/drivers/gpio/ |
H A D | gpio-em.c | 25 void __iomem *base1; member 63 return ioread32(p->base1 + (offs - GIO_IDT0)); in em_gio_read() 72 iowrite32(value, p->base1 + (offs - GIO_IDT0)); in em_gio_write() 296 p->base1 = devm_platform_ioremap_resource(pdev, 1); in em_gio_probe() 297 if (IS_ERR(p->base1)) in em_gio_probe() 298 return PTR_ERR(p->base1); in em_gio_probe()
|
/linux/Documentation/devicetree/bindings/thermal/ |
H A D | qcom-tsens.yaml | 132 - const: base1 169 - const: base1 223 - const: base1 352 "base1", "base2",
|
/linux/drivers/media/dvb-frontends/ |
H A D | zl10039.c | 45 BASE1, enumerator 214 ret = zl10039_writereg(state, BASE1, 0x0A); in zl10039_set_params() 222 ret = zl10039_writereg(state, BASE1, 0x6A); in zl10039_set_params()
|
/linux/drivers/thermal/qcom/ |
H A D | tsens.c | 77 u32 base1, base2; in tsens_read_calibration() local 96 ret = snprintf(name, sizeof(name), "base1%s", backup ? "_backup" : ""); in tsens_read_calibration() 100 ret = nvmem_cell_read_variable_le_u32(priv->dev, name, &base1); in tsens_read_calibration() 135 p1[i] = p1[i] + (base1 << shift); in tsens_read_calibration() 145 p1[i] = (p1[i] + base1) << shift; in tsens_read_calibration() 212 u32 base1, base2; in tsens_read_calibration_legacy() local 221 base1 = tsens_read_cell(&format->base[0], format->base_len, cdata0, cdata1); in tsens_read_calibration_legacy() 232 p1[i] = p1[i] + (base1 << 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 | 613 * @base: descriptors of the base0 and base1 fields
|
/linux/drivers/pinctrl/bcm/ |
H A D | pinctrl-cygnus-mux.c | 92 * @base1: second I/O register base 104 void __iomem *base1; member 855 val = readl(pinctrl->base1 + mux->offset); in cygnus_gpio_request_enable() 857 writel(val, pinctrl->base1 + mux->offset); in cygnus_gpio_request_enable() 882 val = readl(pinctrl->base1 + mux->offset); in cygnus_gpio_disable_free() 884 writel(val, pinctrl->base1 + mux->offset); in cygnus_gpio_disable_free() 954 pinctrl->base1 = devm_platform_ioremap_resource(pdev, 1); in cygnus_pinmux_probe() 955 if (IS_ERR(pinctrl->base1)) { in cygnus_pinmux_probe() 957 return PTR_ERR(pinctrl->base1); in cygnus_pinmux_probe()
|
H A D | pinctrl-nsp-mux.c | 99 * @base1: second mux register 112 void __iomem *base1; member 429 base_address = pinctrl->base1; in nsp_pinmux_set() 575 pinctrl->base1 = devm_ioremap(&pdev->dev, res->start, in nsp_pinmux_probe() 577 if (!pinctrl->base1) { in nsp_pinmux_probe()
|
H A D | pinctrl-ns2-mux.c | 105 * @base1: second IOMUX register base 118 void __iomem *base1; member 613 base_address = pinctrl->base1; in ns2_pinmux_set() 1046 pinctrl->base1 = devm_ioremap(&pdev->dev, res->start, in ns2_pinmux_probe() 1048 if (!pinctrl->base1) { in ns2_pinmux_probe()
|
/linux/arch/arm/kernel/ |
H A D | bios32.c | 206 u32 base0, base1; in pci_fixup_cy82c693() local 210 base1 = 0x3f4; in pci_fixup_cy82c693() 213 base1 = 0x374; in pci_fixup_cy82c693() 219 base1 | PCI_BASE_ADDRESS_SPACE_IO); in pci_fixup_cy82c693()
|
/linux/drivers/pci/controller/ |
H A D | pci-v3-semi.c | 264 * Base0 and Base1 can be used for any type of PCI memory access. Base2 362 * prefetchable), this frees up base1 for re-use by in v3_map_bus() 370 * Set up base1/map1 to point into configuration space. in v3_map_bus() 384 * Reassign base1 for use by prefetchable PCI memory in v3_unmap_bus()
|
/linux/drivers/video/ |
H A D | aperture.c | 144 static bool overlap(resource_size_t base1, resource_size_t end1, in overlap() argument 147 return (base1 < end2) && (end1 > base2); in overlap()
|
/linux/arch/arm/boot/dts/qcom/ |
H A D | qcom-apq8084.dtsi | 254 tsens_base1: base1@d0 { 414 tsens_base1_backup: base1-backup@440 { 542 "base1", "base2",
|
H A D | qcom-msm8974.dtsi | 1200 "base1", "base2", 1243 tsens_base1: base1@d0 { 1403 tsens_base1_backup: base1-backup@440 {
|
H A D | qcom-msm8226.dtsi | 793 "base1", "base2", 818 tsens_base1: base1@1c1 {
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | sdio.c | 1450 u8 base0, base1; in mwifiex_prog_fw_w_helper() local 1501 &base1); in mwifiex_prog_fw_w_helper() 1504 "dev BASE1 register read failed:\t" in mwifiex_prog_fw_w_helper() 1505 "base1=%#04X(%d). Terminating dnld\n", in mwifiex_prog_fw_w_helper() 1506 base1, base1); in mwifiex_prog_fw_w_helper() 1509 len = (u16) (((base1 & 0xff) << 8) | (base0 & 0xff)); in mwifiex_prog_fw_w_helper()
|
/linux/arch/arm64/boot/dts/qcom/ |
H A D | ipq5332.dtsi | 216 tsens_base1: base1@3e2 { 245 "base1",
|
H A D | ipq5424.dtsi | 264 tsens_base1: base1@41a { 340 "base1",
|
/linux/arch/arm64/boot/dts/ti/ |
H A D | k3-j722s.dtsi | 170 <0x00 0x30270000 0x00 0x30270000 0x00 0x00010000>, /* DSI-base1 */
|
/linux/drivers/char/tpm/ |
H A D | tpm_nsc.c | 366 dev_dbg(&pdev->dev, "NSC IO Base1 0x%x\n", in init_nsc()
|
/linux/tools/testing/selftests/kvm/include/x86/ |
H A D | processor.h | 404 unsigned base1:8, type:4, s:1, dpl:2, p:1; member 433 (desc->base0 | ((desc->base1) << 16) | ((desc->base2) << 24)); in get_desc64_base()
|
/linux/include/linux/ |
H A D | memblock.h | 147 unsigned long memblock_addrs_overlap(phys_addr_t base1, phys_addr_t size1,
|