/drivers/i2c/busses/ |
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()
|
/drivers/media/usb/pwc/ |
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()
|
/drivers/scsi/esas2r/ |
D | esas2r_flash.c | 589 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 …]
|
/drivers/iio/common/st_sensors/ |
D | st_sensors_core.c | 87 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()
|
/drivers/iio/accel/ |
D | st_accel_core.c | 121 .pw = { 199 .pw = { 284 .pw = { 368 .pw = { 438 .pw = { 512 .pw = { 582 .pw = { 644 .pw = { 717 .pw = { 792 .pw = { [all …]
|
/drivers/md/ |
D | dm-verity-target.c | 604 struct dm_verity_prefetch_work *pw = in verity_prefetch_io() local 606 struct dm_verity *v = pw->v; in verity_prefetch_io() 612 verity_hash_at_level(v, pw->block, i, &hash_block_start, NULL); in verity_prefetch_io() 613 verity_hash_at_level(v, pw->block + pw->n_blocks - 1, i, &hash_block_end, NULL); in verity_prefetch_io() 634 kfree(pw); in verity_prefetch_io() 641 struct dm_verity_prefetch_work *pw; in verity_submit_prefetch() local 655 pw = kmalloc(sizeof(struct dm_verity_prefetch_work), in verity_submit_prefetch() 658 if (!pw) in verity_submit_prefetch() 661 INIT_WORK(&pw->work, verity_prefetch_io); in verity_submit_prefetch() 662 pw->v = v; in verity_submit_prefetch() [all …]
|
D | dm-thin.c | 2459 static void pool_work_complete(struct pool_work *pw) in pool_work_complete() argument 2461 complete(&pw->complete); in pool_work_complete() 2464 static void pool_work_wait(struct pool_work *pw, struct pool *pool, in pool_work_wait() argument 2467 INIT_WORK_ONSTACK(&pw->worker, fn); in pool_work_wait() 2468 init_completion(&pw->complete); in pool_work_wait() 2469 queue_work(pool->wq, &pw->worker); in pool_work_wait() 2470 wait_for_completion(&pw->complete); in pool_work_wait() 2476 struct pool_work pw; member 2482 return container_of(to_pool_work(ws), struct noflush_work, pw); in to_noflush() 2490 pool_work_complete(&w->pw); in do_noflush_start() [all …]
|
/drivers/iio/pressure/ |
D | st_pressure_core.c | 254 .pw = { 326 .pw = { 379 .pw = { 449 .pw = { 518 .pw = {
|
/drivers/iio/gyro/ |
D | st_gyro_core.c | 75 .pw = { 153 .pw = { 227 .pw = { 301 .pw = {
|
/drivers/iio/magnetometer/ |
D | st_magn_core.c | 126 .pw = { 205 .pw = { 284 .pw = { 352 .pw = {
|
/drivers/watchdog/ |
D | f71808e_wdt.c | 247 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()
|
/drivers/clk/bcm/ |
D | clk-nsp.c | 26 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
|
D | clk-ns2.c | 26 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
|
D | clk-cygnus.c | 28 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
|
D | clk-sr.c | 16 #define AON_VAL(o, pw, ps, is) { .offset = o, .pwr_width = pw, \ argument
|
/drivers/gpu/drm/imx/dcss/ |
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()
|
D | dcss-dev.h | 153 int px, int py, int pw, int ph);
|
/drivers/pci/controller/ |
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()
|
/drivers/scsi/pm8001/ |
D | pm8001_hwi.c | 1494 struct pm8001_work *pw = container_of(work, struct pm8001_work, work); in pm8001_work_fn() local 1504 pm8001_dev = pw->data; /* Most stash device structure */ in pm8001_work_fn() 1506 || ((pw->handler != IO_XFER_ERROR_BREAK) in pm8001_work_fn() 1508 kfree(pw); in pm8001_work_fn() 1512 switch (pw->handler) { in pm8001_work_fn() 1518 struct pm8001_hba_info *pm8001_ha = pw->pm8001_ha; in pm8001_work_fn() 1560 t, pw->handler, ts->resp, ts->stat); in pm8001_work_fn() 1576 struct pm8001_hba_info *pm8001_ha = pw->pm8001_ha; in pm8001_work_fn() 1674 kfree(pw); in pm8001_work_fn() 1680 struct pm8001_work *pw; in pm8001_handle_event() local [all …]
|
/drivers/spi/ |
D | spi-s3c24xx.c | 312 static int s3c24xx_spi_fiqop(void *pw, int release) in s3c24xx_spi_fiqop() argument 314 struct s3c24xx_spi *hw = pw; in s3c24xx_spi_fiqop()
|
/drivers/usb/dwc2/ |
D | gadget.c | 3701 static irqreturn_t dwc2_hsotg_irq(int irq, void *pw) in dwc2_hsotg_irq() argument 3703 struct dwc2_hsotg *hsotg = pw; in dwc2_hsotg_irq()
|