Searched refs:off_value (Results 1 – 6 of 6) sorted by relevance
/drivers/leds/ |
D | leds-spi-byte.c | 40 u8 off_value; member 54 .off_value = 0x0, 72 value = (u8) brightness + led->cdef->off_value; in spi_byte_brightness_set_blocking() 107 led->ldev.max_brightness = led->cdef->max_value - led->cdef->off_value; in spi_byte_probe()
|
/drivers/media/usb/pwc/ |
D | pwc-ctrl.c | 495 int pwc_set_leds(struct pwc_device *pdev, int on_value, int off_value) in pwc_set_leds() argument 502 off_value /= 100; in pwc_set_leds() 507 if (off_value < 0) in pwc_set_leds() 508 off_value = 0; in pwc_set_leds() 509 if (off_value > 0xff) in pwc_set_leds() 510 off_value = 0xff; in pwc_set_leds() 513 pdev->ctrl_buf[1] = off_value; in pwc_set_leds()
|
D | pwc.h | 359 extern int pwc_set_leds(struct pwc_device *pdev, int on_value, int off_value);
|
/drivers/scsi/qla4xxx/ |
D | ql4_nx.c | 458 uint32_t win_read, off_value; in qla4_82xx_md_rd_32() local 461 off_value = off & 0xFFFF0000; in qla4_82xx_md_rd_32() 462 writel(off_value, (void __iomem *)(CRB_WINDOW_2M + ha->nx_pcibase)); in qla4_82xx_md_rd_32() 469 if (win_read != off_value) { in qla4_82xx_md_rd_32() 472 __func__, off_value, win_read, off)); in qla4_82xx_md_rd_32() 475 off_value = off & 0x0000FFFF; in qla4_82xx_md_rd_32() 476 *data = readl((void __iomem *)(off_value + CRB_INDIRECT_2M + in qla4_82xx_md_rd_32() 484 uint32_t win_read, off_value; in qla4_82xx_md_wr_32() local 487 off_value = off & 0xFFFF0000; in qla4_82xx_md_wr_32() 488 writel(off_value, (void __iomem *)(CRB_WINDOW_2M + ha->nx_pcibase)); in qla4_82xx_md_wr_32() [all …]
|
/drivers/scsi/qla2xxx/ |
D | qla_nx.c | 893 uint32_t off_value, rval = 0; in qla82xx_md_rw_32() local 899 off_value = (off & 0x0000FFFF); in qla82xx_md_rw_32() 902 wrt_reg_dword(off_value + CRB_INDIRECT_2M + ha->nx_pcibase, in qla82xx_md_rw_32() 905 rval = rd_reg_dword(off_value + CRB_INDIRECT_2M + in qla82xx_md_rw_32()
|
/drivers/platform/x86/ |
D | thinkpad_acpi.c | 9265 int off_value; member 9273 .off_value = 0, 9278 .off_value = 0, 9293 state ? t->on_value : t->off_value)) in mute_led_on_off()
|