/linux/arch/powerpc/sysdev/ |
A D | fsl_rmu.c | 422 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 D | fsl_rio.c | 91 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 D | fsl_rio.h | 122 extern struct fsl_rio_pw *pw; 126 extern int fsl_rio_port_write_init(struct fsl_rio_pw *pw);
|
/linux/drivers/i2c/busses/ |
A D | i2c-simtec.c | 34 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 D | padata.c | 74 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 D | pwc-dec23.c | 92 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 D | esas2r_flash.c | 589 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 D | st_accel_core.c | 140 .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 D | st_sensors_core.c | 86 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 D | dm-verity-target.c | 603 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 D | simtec-usb.c | 56 usb_simtec_ocirq(int irq, void *pw) in usb_simtec_ocirq() argument 58 struct s3c2410_hcd_info *info = pw; in usb_simtec_ocirq()
|
A D | mach-smartq.c | 78 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 D | adc.c | 280 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 D | st_pressure_core.c | 248 .pw = { 320 .pw = { 373 .pw = { 443 .pw = { 512 .pw = {
|
/linux/drivers/watchdog/ |
A D | f71808e_wdt.c | 229 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 D | mcip.h | 65 pad:1, gfrc:1, dbg:1, pw:1, member 71 pw:1, dbg:1, gfrc:1, pad:1,
|
/linux/drivers/iio/magnetometer/ |
A D | st_magn_core.c | 166 .pw = { 245 .pw = { 324 .pw = { 393 .pw = { 443 .pw = {
|
/linux/drivers/iio/gyro/ |
A D | st_gyro_core.c | 87 .pw = { 165 .pw = { 239 .pw = { 313 .pw = {
|
/linux/drivers/clk/bcm/ |
A D | clk-nsp.c | 26 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
|
A D | clk-ns2.c | 26 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
|
A D | clk-cygnus.c | 28 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
|
A D | clk-sr.c | 16 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
|
/linux/drivers/gpu/drm/imx/dcss/ |
A D | dcss-dtg.c | 259 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 D | pci-rcar-gen2.c | 133 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 D | pm8001_hwi.c | 1504 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 …]
|