Home
last modified time | relevance | path

Searched refs:pw (Results 1 – 25 of 33) sorted by relevance

12

/kernel/linux/linux-5.10/arch/powerpc/sysdev/
Dfsl_rmu.c376 out_be32(&pw->pw_regs->pwsr, IPWSR_CLEAR); in msg_unit_error_handler()
391 struct fsl_rio_pw *pw = (struct fsl_rio_pw *)dev_instance; in fsl_rio_port_write_handler() local
398 ipwmr = in_be32(&pw->pw_regs->pwmr); in fsl_rio_port_write_handler()
399 ipwsr = in_be32(&pw->pw_regs->pwsr); in fsl_rio_port_write_handler()
420 if (kfifo_avail(&pw->pw_fifo) >= RIO_PW_MSG_SIZE) { in fsl_rio_port_write_handler()
421 pw->port_write_msg.msg_count++; in fsl_rio_port_write_handler()
422 kfifo_in(&pw->pw_fifo, pw->port_write_msg.virt, in fsl_rio_port_write_handler()
425 pw->port_write_msg.discard_count++; in fsl_rio_port_write_handler()
427 pw->port_write_msg.discard_count); in fsl_rio_port_write_handler()
432 out_be32(&pw->pw_regs->pwsr, RIO_IPWSR_QFI); in fsl_rio_port_write_handler()
[all …]
Dfsl_rio.c91 struct fsl_rio_pw *pw; variable
559 pw = kzalloc(sizeof(struct fsl_rio_pw), GFP_KERNEL); in fsl_rio_setup()
560 if (!(pw)) { in fsl_rio_setup()
565 pw->dev = &dev->dev; in fsl_rio_setup()
566 pw->pwirq = irq_of_parse_and_map(np, 0); in fsl_rio_setup()
567 dev_info(&dev->dev, "pwirq: %d\n", pw->pwirq); in fsl_rio_setup()
577 pw->pw_regs = (struct rio_pw_regs *)(rmu_regs_win + (u32)range_start); in fsl_rio_setup()
729 pw->mport[i] = port; in fsl_rio_setup()
746 fsl_rio_port_write_init(pw); in fsl_rio_setup()
750 kfree(pw); in fsl_rio_setup()
[all …]
Dfsl_rio.h122 extern struct fsl_rio_pw *pw;
126 extern int fsl_rio_port_write_init(struct fsl_rio_pw *pw);
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-simtec.c34 static void simtec_i2c_setsda(void *pw, int state) in simtec_i2c_setsda() argument
36 struct simtec_i2c_data *pd = pw; in simtec_i2c_setsda()
40 static void simtec_i2c_setscl(void *pw, int state) in simtec_i2c_setscl() argument
42 struct simtec_i2c_data *pd = pw; in simtec_i2c_setscl()
46 static int simtec_i2c_getsda(void *pw) in simtec_i2c_getsda() argument
48 struct simtec_i2c_data *pd = pw; in simtec_i2c_getsda()
52 static int simtec_i2c_getscl(void *pw) in simtec_i2c_getscl() argument
54 struct simtec_i2c_data *pd = pw; in simtec_i2c_getscl()
/kernel/linux/linux-5.10/kernel/
Dpadata.c87 struct padata_work *pw; in padata_work_alloc() local
94 pw = list_first_entry(&padata_free_works, struct padata_work, pw_list); in padata_work_alloc()
95 list_del(&pw->pw_list); in padata_work_alloc()
96 return pw; in padata_work_alloc()
99 static void padata_work_init(struct padata_work *pw, work_func_t work_fn, in padata_work_init() argument
103 INIT_WORK_ONSTACK(&pw->pw_work, work_fn); in padata_work_init()
105 INIT_WORK(&pw->pw_work, work_fn); in padata_work_init()
106 pw->pw_data = data; in padata_work_init()
117 struct padata_work *pw = padata_work_alloc(); in padata_work_alloc_mt() local
119 if (!pw) in padata_work_alloc_mt()
[all …]
/kernel/liteos_m/testsuites/sample/kernel/mem/
Dit_los_mem.c70 UINT32 pw = 1; in CalPow() local
71 pw <<= exp; in CalPow()
72 return pw; in CalPow()
/kernel/linux/linux-5.10/drivers/media/usb/pwc/
Dpwc-dec23.c92 int compression_mode, j, k, bit, pw; in build_table_color() local
125 pw = 1 << bit; in build_table_color()
126 p0[k + 0x00] = (1 * pw) + 0x80; in build_table_color()
127 p0[k + 0x10] = (2 * pw) + 0x80; in build_table_color()
128 p0[k + 0x20] = (3 * pw) + 0x80; in build_table_color()
129 p0[k + 0x30] = (4 * pw) + 0x80; in build_table_color()
130 p0[k + 0x40] = (-1 * pw) + 0x80; in build_table_color()
131 p0[k + 0x50] = (-2 * pw) + 0x80; in build_table_color()
132 p0[k + 0x60] = (-3 * pw) + 0x80; in build_table_color()
133 p0[k + 0x70] = (-4 * pw) + 0x80; in build_table_color()
/kernel/linux/linux-5.10/drivers/scsi/esas2r/
Desas2r_flash.c589 u16 *pw = (u16 *)cfg - 1; in chk_cfg() local
603 type = le16_to_cpu(*pw--); in chk_cfg()
604 size = le16_to_cpu(*pw--); in chk_cfg()
613 *flash_ver = le32_to_cpu(*(u32 *)(pw - 1)); in chk_cfg()
616 pw -= size / sizeof(u16); in chk_cfg()
669 u16 *pw; in calc_fi_checksum() local
672 pw = (u16 *)((u8 *)fi + fc->fi_hdr_len), in calc_fi_checksum()
675 len--, pw++) in calc_fi_checksum()
676 cksum = cksum + le16_to_cpu(*pw); in calc_fi_checksum()
1044 u16 *pw; in esas2r_read_flash_rev() local
[all …]
/kernel/linux/linux-5.10/drivers/iio/common/st_sensors/
Dst_sensors_core.c87 sdata->sensor_settings->pw.addr) && in st_sensors_set_odr()
89 sdata->sensor_settings->pw.mask)) { in st_sensors_set_odr()
169 tmp_value = sdata->sensor_settings->pw.value_on; in st_sensors_set_enable()
171 sdata->sensor_settings->pw.addr) && in st_sensors_set_enable()
173 sdata->sensor_settings->pw.mask)) { in st_sensors_set_enable()
182 sdata->sensor_settings->pw.addr, in st_sensors_set_enable()
183 sdata->sensor_settings->pw.mask, tmp_value); in st_sensors_set_enable()
193 sdata->sensor_settings->pw.addr, in st_sensors_set_enable()
194 sdata->sensor_settings->pw.mask, in st_sensors_set_enable()
195 sdata->sensor_settings->pw.value_off); in st_sensors_set_enable()
/kernel/linux/linux-5.10/drivers/iio/accel/
Dst_accel_core.c121 .pw = {
199 .pw = {
284 .pw = {
368 .pw = {
438 .pw = {
512 .pw = {
582 .pw = {
644 .pw = {
717 .pw = {
792 .pw = {
[all …]
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Dsimtec-usb.c56 usb_simtec_ocirq(int irq, void *pw) in usb_simtec_ocirq() argument
58 struct s3c2410_hcd_info *info = pw; in usb_simtec_ocirq()
Dmach-smartq.c78 static irqreturn_t smartq_usb_host_ocirq(int irq, void *pw) in smartq_usb_host_ocirq() argument
80 struct s3c2410_hcd_info *info = pw; in smartq_usb_host_ocirq()
Dadc.c280 static irqreturn_t s3c_adc_irq(int irq, void *pw) in s3c_adc_irq() argument
282 struct adc_device *adc = pw; in s3c_adc_irq()
/kernel/linux/linux-5.10/include/soc/arc/
Dmcip.h65 pad:1, gfrc:1, dbg:1, pw:1, member
71 pw:1, dbg:1, gfrc:1, pad:1,
/kernel/linux/linux-5.10/drivers/md/
Ddm-verity-target.c593 struct dm_verity_prefetch_work *pw = in verity_prefetch_io() local
595 struct dm_verity *v = pw->v; in verity_prefetch_io()
601 verity_hash_at_level(v, pw->block, i, &hash_block_start, NULL); in verity_prefetch_io()
602 verity_hash_at_level(v, pw->block + pw->n_blocks - 1, i, &hash_block_end, NULL); in verity_prefetch_io()
623 kfree(pw); in verity_prefetch_io()
630 struct dm_verity_prefetch_work *pw; in verity_submit_prefetch() local
644 pw = kmalloc(sizeof(struct dm_verity_prefetch_work), in verity_submit_prefetch()
647 if (!pw) in verity_submit_prefetch()
650 INIT_WORK(&pw->work, verity_prefetch_io); in verity_submit_prefetch()
651 pw->v = v; in verity_submit_prefetch()
[all …]
/kernel/linux/linux-5.10/drivers/iio/pressure/
Dst_pressure_core.c254 .pw = {
326 .pw = {
379 .pw = {
449 .pw = {
518 .pw = {
/kernel/linux/linux-5.10/drivers/iio/gyro/
Dst_gyro_core.c75 .pw = {
153 .pw = {
227 .pw = {
301 .pw = {
/kernel/linux/linux-5.10/drivers/iio/magnetometer/
Dst_magn_core.c126 .pw = {
205 .pw = {
284 .pw = {
352 .pw = {
/kernel/linux/linux-5.10/drivers/watchdog/
Df71808e_wdt.c247 static int watchdog_set_pulse_width(unsigned int pw) in watchdog_set_pulse_width() argument
260 if (pw <= 1) { in watchdog_set_pulse_width()
262 } else if (pw <= t1) { in watchdog_set_pulse_width()
264 } else if (pw <= t2) { in watchdog_set_pulse_width()
266 } else if (pw <= t3) { in watchdog_set_pulse_width()
274 watchdog.pulse_mode = pw; in watchdog_set_pulse_width()
/kernel/linux/linux-5.10/drivers/clk/bcm/
Dclk-nsp.c26 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
Dclk-ns2.c26 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
Dclk-cygnus.c28 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
Dclk-sr.c16 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
/kernel/linux/linux-5.10/drivers/gpu/drm/imx/dcss/
Ddcss-dtg.c259 int px, int py, int pw, int ph) in dcss_dtg_plane_pos_set() argument
266 p_lrc_x = p_ulc_x + pw; in dcss_dtg_plane_pos_set()
269 if (!px && !py && !pw && !ph) { in dcss_dtg_plane_pos_set()
/kernel/linux/linux-5.10/drivers/pci/controller/
Dpci-rcar-gen2.c133 static irqreturn_t rcar_pci_err_irq(int irq, void *pw) in rcar_pci_err_irq() argument
135 struct rcar_pci_priv *priv = pw; in rcar_pci_err_irq()

12