Home
last modified time | relevance | path

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

12

/linux/arch/powerpc/sysdev/
A Dfsl_rmu.c422 kfifo_in(&pw->pw_fifo, pw->port_write_msg.virt, in fsl_rio_port_write_handler()
435 schedule_work(&pw->pw_work); in fsl_rio_port_write_handler()
506 if (pw->mport[i]) in fsl_pw_dpc()
548 out_be32(&pw->pw_regs->pwmr, in fsl_rio_port_write_init()
552 pw->port_write_msg.virt = dma_alloc_coherent(pw->dev, in fsl_rio_port_write_init()
565 out_be32(&pw->pw_regs->pwqbar, (u32) pw->port_write_msg.phys); in fsl_rio_port_write_init()
572 out_be32(&pw->pw_regs->pwsr, in fsl_rio_port_write_init()
577 out_be32(&pw->pw_regs->pwmr, in fsl_rio_port_write_init()
606 free_irq(IRQ_RIO_PW(pw), (void *)pw); in fsl_rio_port_write_init()
609 pw->port_write_msg.virt, in fsl_rio_port_write_init()
[all …]
A Dfsl_rio.c91 struct fsl_rio_pw *pw; variable
557 pw = kzalloc(sizeof(struct fsl_rio_pw), GFP_KERNEL); in fsl_rio_setup()
558 if (!(pw)) { in fsl_rio_setup()
563 pw->dev = &dev->dev; in fsl_rio_setup()
564 pw->pwirq = irq_of_parse_and_map(np, 0); in fsl_rio_setup()
565 dev_info(&dev->dev, "pwirq: %d\n", pw->pwirq); in fsl_rio_setup()
575 pw->pw_regs = (struct rio_pw_regs *)(rmu_regs_win + (u32)range_start); in fsl_rio_setup()
727 pw->mport[i] = port; in fsl_rio_setup()
744 fsl_rio_port_write_init(pw); in fsl_rio_setup()
748 kfree(pw); in fsl_rio_setup()
[all …]
A Dfsl_rio.h122 extern struct fsl_rio_pw *pw;
126 extern int fsl_rio_port_write_init(struct fsl_rio_pw *pw);
/linux/drivers/i2c/busses/
A 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()
/linux/kernel/
A Dpadata.c74 struct padata_work *pw; in padata_work_alloc() local
82 list_del(&pw->pw_list); in padata_work_alloc()
83 return pw; in padata_work_alloc()
92 INIT_WORK(&pw->pw_work, work_fn); in padata_work_init()
93 pw->pw_data = data; in padata_work_init()
106 if (!pw) in padata_work_alloc_mt()
109 list_add(&pw->pw_list, head); in padata_work_alloc_mt()
146 padata_work_free(pw); in padata_parallel_worker()
173 struct padata_work *pw; in padata_do_parallel() local
207 pw = padata_work_alloc(); in padata_do_parallel()
[all …]
/linux/drivers/media/usb/pwc/
A 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()
/linux/drivers/scsi/esas2r/
A Desas2r_flash.c589 u16 *pw = (u16 *)cfg - 1; in chk_cfg() local
669 u16 *pw; in calc_fi_checksum() local
675 len--, pw++) in calc_fi_checksum()
1044 u16 *pw; in esas2r_read_flash_rev() local
1051 pw = (u16 *)(bytes + sz); in esas2r_read_flash_rev()
1057 while (pw >= pwstart) { in esas2r_read_flash_rev()
1058 pw--; in esas2r_read_flash_rev()
1059 type = le16_to_cpu(*pw); in esas2r_read_flash_rev()
1060 pw--; in esas2r_read_flash_rev()
1062 pw -= size / 2; in esas2r_read_flash_rev()
[all …]
/linux/drivers/iio/accel/
A Dst_accel_core.c140 .pw = {
218 .pw = {
303 .pw = {
387 .pw = {
457 .pw = {
531 .pw = {
601 .pw = {
663 .pw = {
736 .pw = {
811 .pw = {
[all …]
/linux/drivers/iio/common/st_sensors/
A Dst_sensors_core.c86 sdata->sensor_settings->pw.addr) && in st_sensors_set_odr()
88 sdata->sensor_settings->pw.mask)) { in st_sensors_set_odr()
166 tmp_value = sdata->sensor_settings->pw.value_on; in st_sensors_set_enable()
168 sdata->sensor_settings->pw.addr) && in st_sensors_set_enable()
170 sdata->sensor_settings->pw.mask)) { in st_sensors_set_enable()
179 sdata->sensor_settings->pw.addr, in st_sensors_set_enable()
180 sdata->sensor_settings->pw.mask, tmp_value); in st_sensors_set_enable()
190 sdata->sensor_settings->pw.addr, in st_sensors_set_enable()
191 sdata->sensor_settings->pw.mask, in st_sensors_set_enable()
192 sdata->sensor_settings->pw.value_off); in st_sensors_set_enable()
/linux/drivers/md/
A Ddm-verity-target.c603 struct dm_verity_prefetch_work *pw = in verity_prefetch_io() local
605 struct dm_verity *v = pw->v; in verity_prefetch_io()
612 verity_hash_at_level(v, pw->block + pw->n_blocks - 1, i, &hash_block_end, NULL); in verity_prefetch_io()
633 kfree(pw); in verity_prefetch_io()
640 struct dm_verity_prefetch_work *pw; in verity_submit_prefetch() local
657 if (!pw) in verity_submit_prefetch()
660 INIT_WORK(&pw->work, verity_prefetch_io); in verity_submit_prefetch()
661 pw->v = v; in verity_submit_prefetch()
662 pw->block = block; in verity_submit_prefetch()
663 pw->n_blocks = n_blocks; in verity_submit_prefetch()
[all …]
/linux/arch/arm/mach-s3c/
A 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()
A 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()
A 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()
/linux/drivers/iio/pressure/
A Dst_pressure_core.c248 .pw = {
320 .pw = {
373 .pw = {
443 .pw = {
512 .pw = {
/linux/drivers/watchdog/
A Df71808e_wdt.c229 static int fintek_wdt_set_pulse_width(struct fintek_wdt *wd, unsigned int pw) in fintek_wdt_set_pulse_width() argument
239 if (pw <= 1) { in fintek_wdt_set_pulse_width()
241 } else if (pw <= t1) { in fintek_wdt_set_pulse_width()
243 } else if (pw <= t2) { in fintek_wdt_set_pulse_width()
245 } else if (pw <= t3) { in fintek_wdt_set_pulse_width()
252 wd->pulse_mode = pw; in fintek_wdt_set_pulse_width()
/linux/include/soc/arc/
A Dmcip.h65 pad:1, gfrc:1, dbg:1, pw:1, member
71 pw:1, dbg:1, gfrc:1, pad:1,
/linux/drivers/iio/magnetometer/
A Dst_magn_core.c166 .pw = {
245 .pw = {
324 .pw = {
393 .pw = {
443 .pw = {
/linux/drivers/iio/gyro/
A Dst_gyro_core.c87 .pw = {
165 .pw = {
239 .pw = {
313 .pw = {
/linux/drivers/clk/bcm/
A Dclk-nsp.c26 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
A Dclk-ns2.c26 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
A Dclk-cygnus.c28 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
A Dclk-sr.c16 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
/linux/drivers/gpu/drm/imx/dcss/
A 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()
/linux/drivers/pci/controller/
A 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()
/linux/drivers/scsi/pm8001/
A Dpm8001_hwi.c1504 if (pw->handler != IO_FATAL_ERROR) { in pm8001_work_fn()
1509 kfree(pw); in pm8001_work_fn()
1514 switch (pw->handler) { in pm8001_work_fn()
1728 kfree(pw); in pm8001_work_fn()
1734 struct pm8001_work *pw; in pm8001_handle_event() local
1738 if (pw) { in pm8001_handle_event()
1739 pw->pm8001_ha = pm8001_ha; in pm8001_handle_event()
1740 pw->data = data; in pm8001_handle_event()
1741 pw->handler = handler; in pm8001_handle_event()
1742 INIT_WORK(&pw->work, pm8001_work_fn); in pm8001_handle_event()
[all …]

Completed in 68 milliseconds

12