Home
last modified time | relevance | path

Searched refs:xp (Results 1 – 21 of 21) sorted by relevance

/drivers/bus/
Dqcom-ebi2.c249 const struct ebi2_xmem_prop *xp = &xmem_props[i]; in qcom_ebi2_setup_chipselect() local
252 ret = of_property_read_u32(np, xp->prop, &val); in qcom_ebi2_setup_chipselect()
255 xp->prop, csindex); in qcom_ebi2_setup_chipselect()
260 if (xp->max == 1 && val) { in qcom_ebi2_setup_chipselect()
261 if (xp->slowreg) in qcom_ebi2_setup_chipselect()
262 slowcfg |= BIT(xp->shift); in qcom_ebi2_setup_chipselect()
264 fastcfg |= BIT(xp->shift); in qcom_ebi2_setup_chipselect()
265 dev_dbg(dev, "set %s flag\n", xp->prop); in qcom_ebi2_setup_chipselect()
270 if (val > xp->max) { in qcom_ebi2_setup_chipselect()
273 xp->prop, val, xp->max); in qcom_ebi2_setup_chipselect()
[all …]
/drivers/xen/
Dsys-hypervisor.c420 struct xen_pmu_params xp; in pmu_mode_store() local
425 xp.val = pmu_modes[i].mode; in pmu_mode_store()
433 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_store()
434 xp.version.min = XENPMU_VER_MIN; in pmu_mode_store()
435 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_set, &xp); in pmu_mode_store()
445 struct xen_pmu_params xp; in pmu_mode_show() local
449 xp.version.maj = XENPMU_VER_MAJ; in pmu_mode_show()
450 xp.version.min = XENPMU_VER_MIN; in pmu_mode_show()
451 ret = HYPERVISOR_xenpmu_op(XENPMU_mode_get, &xp); in pmu_mode_show()
455 mode = (uint32_t)xp.val; in pmu_mode_show()
[all …]
/drivers/misc/sgi-xp/
Dxp_uv.c59 dev_err(xp, "gru_read_gpa() failed, dst_gpa=0x%016lx src_gpa=0x%016lx " in xp_remote_mmr_read()
78 dev_err(xp, "gru_copy_gpa() failed, dst_gpa=0x%016lx src_gpa=0x%016lx " in xp_remote_memcpy_uv()
98 dev_err(xp, "uv_bios_change_memprotect(,, " in xp_expand_memprotect_uv()
109 dev_err(xp, "sn_change_memprotect(,, " in xp_expand_memprotect_uv()
128 dev_err(xp, "uv_bios_change_memprotect(,, " in xp_restrict_memprotect_uv()
139 dev_err(xp, "sn_change_memprotect(,, " in xp_restrict_memprotect_uv()
DMakefile6 obj-$(CONFIG_SGI_XP) += xp.o
7 xp-y := xp_main.o xp_uv.o
Dxp.h341 extern struct device *xp;
Dxp_main.c33 struct device *xp = &xp_dbg_subname; variable
/drivers/spi/
Dspi-bcm-qspi.c570 const struct bcm_qspi_parms *xp) in bcm_qspi_hw_set_parms() argument
574 if (xp->speed_hz) in bcm_qspi_hw_set_parms()
575 spbr = qspi->base_clk / (2 * xp->speed_hz); in bcm_qspi_hw_set_parms()
587 if (xp->bits_per_word != 16) in bcm_qspi_hw_set_parms()
588 spcr |= xp->bits_per_word << 2; in bcm_qspi_hw_set_parms()
589 spcr |= xp->mode & 3; in bcm_qspi_hw_set_parms()
610 qspi->last_parms = *xp; in bcm_qspi_hw_set_parms()
617 struct bcm_qspi_parms xp; in bcm_qspi_update_parms() local
619 xp.speed_hz = trans->speed_hz; in bcm_qspi_update_parms()
620 xp.bits_per_word = trans->bits_per_word; in bcm_qspi_update_parms()
[all …]
/drivers/input/touchscreen/
Ds3c2410_ts.c100 unsigned long xp; member
137 ts.xp >>= ts.shift; in touch_timer_fire()
141 __func__, ts.xp, ts.yp, ts.count); in touch_timer_fire()
143 input_report_abs(ts.input, ABS_X, ts.xp); in touch_timer_fire()
149 ts.xp = 0; in touch_timer_fire()
156 ts.xp = 0; in touch_timer_fire()
219 ts.xp += data0; in s3c24xx_ts_conversion()
/drivers/perf/
Darm-ccn.c138 } xp; member
181 struct arm_ccn_component *xp; member
233 static CCN_FORMAT_ATTR(xp, "config:0-7");
664 source = &ccn->xp[node_xp]; in arm_ccn_pmu_event_alloc()
671 bit = arm_ccn_pmu_alloc_bit(source->xp.dt_cmp_mask, in arm_ccn_pmu_event_alloc()
703 clear_bit(hw->config_base, source->xp.dt_cmp_mask); in arm_ccn_pmu_event_release()
888 struct arm_ccn_component *xp; in arm_ccn_pmu_xp_dt_config() local
896 xp = &ccn->xp[CCN_CONFIG_XP(event->attr.config)]; in arm_ccn_pmu_xp_dt_config()
898 xp = &ccn->xp[arm_ccn_node_to_xp( in arm_ccn_pmu_xp_dt_config()
908 val = readl(xp->base + CCN_XP_DT_CONFIG); in arm_ccn_pmu_xp_dt_config()
[all …]
Darm-cmn.c433 struct arm_cmn_node *xp = cmn->xps + xp_base + x; in arm_cmn_map_show() local
434 void __iomem *base = xp->pmu_base - CMN_PMU_OFFSET; in arm_cmn_map_show()
1552 static void arm_cmn_init_dtm(struct arm_cmn_dtm *dtm, struct arm_cmn_node *xp, int idx) in arm_cmn_init_dtm() argument
1556 dtm->base = xp->pmu_base + CMN_DTM_OFFSET(idx); in arm_cmn_init_dtm()
1595 struct arm_cmn_node *dn, *xp; in arm_cmn_init_dtcs() local
1613 xp = arm_cmn_node_to_xp(cmn, dn); in arm_cmn_init_dtcs()
1614 dn->dtm = xp->dtm; in arm_cmn_init_dtcs()
1621 if (xp->dtc == 0xf) in arm_cmn_init_dtcs()
1622 xp->dtc = 1 << dtc_idx; in arm_cmn_init_dtcs()
1719 struct arm_cmn_node *xp = dn++; in arm_cmn_discover() local
[all …]
/drivers/iio/chemical/
Dsgp40.c103 u32 x, y, xp; in sgp40_exp() local
117 xp = 1; in sgp40_exp()
123 xp *= x; in sgp40_exp()
125 y += (xp >> divider) / factorial; in sgp40_exp()
128 if (xp >= xmax) { in sgp40_exp()
129 xp >>= power; in sgp40_exp()
/drivers/misc/cb710/
Ddebug.c57 const char *const xp = &cb710_xes[8 - t/4]; \
74 p += sprintf(p, "%s", xp); \
/drivers/net/ethernet/dec/tulip/
Dxircom_cb.c440 struct xircom_private *xp = netdev_priv(dev); in xircom_open() local
441 const int irq = xp->pdev->irq; in xircom_open()
449 xircom_up(xp); in xircom_open()
450 xp->open = 1; in xircom_open()
487 struct xircom_private *xp = netdev_priv(dev); in xircom_poll_controller() local
488 const int irq = xp->pdev->irq; in xircom_poll_controller()
/drivers/pinctrl/mvebu/
DMakefile11 obj-$(CONFIG_PINCTRL_ARMADA_XP) += pinctrl-armada-xp.o
/drivers/clk/mvebu/
DMakefile14 obj-$(CONFIG_ARMADA_XP_CLK) += armada-xp.o mv98dx3236.o
/drivers/gpu/drm/savage/
Dsavage_drv.h451 #define BCI_LINE_MISC(maj, ym, xp, yp, err) \ argument
454 ((xp) ? 1<<14 : 0) | \
/drivers/misc/
DMakefile24 obj-$(CONFIG_SGI_XP) += sgi-xp/
/drivers/clocksource/
DMakefile29 obj-$(CONFIG_ARMADA_370_XP_TIMER) += timer-armada-370-xp.o
/drivers/media/common/saa7146/
Dsaa7146_hlp.c74 u32 xim = 0, xp = 0, xsci =0; in calculate_h_scale_registers() local
137 xp = 0; in calculate_h_scale_registers()
183 *hps_h_scale |= (xim << 31) | (xp << 24) | (xsci << 12); in calculate_h_scale_registers()
/drivers/input/joystick/
Das5011.c181 error = as5011_i2c_write(client, AS5011_XP, plat_dat->xp); in as5011_configure_chip()
/drivers/irqchip/
DMakefile42 obj-$(CONFIG_ARMADA_370_XP_IRQ) += irq-armada-370-xp.o