Home
last modified time | relevance | path

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

/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()
/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()
/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 …]
/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()
/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 …]
/drivers/md/
Ddm-verity-target.c604 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 …]
Ddm-thin.c2459 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/
Dst_pressure_core.c254 .pw = {
326 .pw = {
379 .pw = {
449 .pw = {
518 .pw = {
/drivers/iio/gyro/
Dst_gyro_core.c75 .pw = {
153 .pw = {
227 .pw = {
301 .pw = {
/drivers/iio/magnetometer/
Dst_magn_core.c126 .pw = {
205 .pw = {
284 .pw = {
352 .pw = {
/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()
/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
/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()
Ddcss-dev.h153 int px, int py, int pw, int ph);
/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()
/drivers/scsi/pm8001/
Dpm8001_hwi.c1494 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/
Dspi-s3c24xx.c312 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/
Dgadget.c3701 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()