| /linux-6.15/drivers/media/i2c/ |
| H A D | tw9903.c | 139 static int tw9903_s_ctrl(struct v4l2_ctrl *ctrl) in tw9903_s_ctrl() argument 141 struct tw9903 *dec = container_of(ctrl->handler, struct tw9903, hdl); in tw9903_s_ctrl() 144 switch (ctrl->id) { in tw9903_s_ctrl() 146 write_reg(sd, 0x10, ctrl->val); in tw9903_s_ctrl() 149 write_reg(sd, 0x11, ctrl->val); in tw9903_s_ctrl() 152 write_reg(sd, 0x15, ctrl->val); in tw9903_s_ctrl()
|
| H A D | tw9906.c | 109 static int tw9906_s_ctrl(struct v4l2_ctrl *ctrl) in tw9906_s_ctrl() argument 111 struct tw9906 *dec = container_of(ctrl->handler, struct tw9906, hdl); in tw9906_s_ctrl() 114 switch (ctrl->id) { in tw9906_s_ctrl() 116 write_reg(sd, 0x10, ctrl->val); in tw9906_s_ctrl() 119 write_reg(sd, 0x11, ctrl->val); in tw9906_s_ctrl() 122 write_reg(sd, 0x15, ctrl->val); in tw9906_s_ctrl()
|
| H A D | ov7740.c | 433 if (!ctrl->val) in ov7740_get_gain() 454 if (ctrl->val == V4L2_EXPOSURE_MANUAL) in ov7740_get_exp() 511 switch (ctrl->id) { in ov7740_get_volatile_ctrl() 513 ret = ov7740_get_gain(ov7740, ctrl); in ov7740_get_volatile_ctrl() 516 ret = ov7740_get_exp(ov7740, ctrl); in ov7740_get_volatile_ctrl() 537 switch (ctrl->id) { in ov7740_set_ctrl() 548 ret = ov7740_set_contrast(regmap, ctrl->val); in ov7740_set_ctrl() 551 val = ctrl->val ? REG0C_IMG_FLIP : 0x00; in ov7740_set_ctrl() 556 val = ctrl->val ? REG0C_IMG_MIRROR : 0x00; in ov7740_set_ctrl() 561 if (!ctrl->val) in ov7740_set_ctrl() [all …]
|
| H A D | mt9p031.c | 766 switch (ctrl->id) { in mt9p031_s_ctrl() 774 ctrl->val & 0xffff); in mt9p031_s_ctrl() 791 if (ctrl->val <= 32) { in mt9p031_s_ctrl() 792 data = ctrl->val; in mt9p031_s_ctrl() 793 } else if (ctrl->val <= 64) { in mt9p031_s_ctrl() 794 ctrl->val &= ~1; in mt9p031_s_ctrl() 797 ctrl->val &= ~7; in mt9p031_s_ctrl() 804 if (ctrl->val) in mt9p031_s_ctrl() 812 if (ctrl->val) in mt9p031_s_ctrl() 828 if (!ctrl->val) { in mt9p031_s_ctrl() [all …]
|
| /linux-6.15/sound/soc/amd/acp/ |
| H A D | chip_offset_byte.h | 32 #define ACP_EXTERNAL_INTR_REG_ADDR(chip, offset, ctrl) \ argument 33 (chip->base + chip->rsrc->irq_reg_offset + offset + (ctrl * 0x04)) 36 #define ACP_EXTERNAL_INTR_CNTL(chip, ctrl) ACP_EXTERNAL_INTR_REG_ADDR(chip, 0x4, ctrl) argument 37 #define ACP_EXTERNAL_INTR_STAT(chip, ctrl) ACP_EXTERNAL_INTR_REG_ADDR(chip, \ argument 38 (0x4 + (chip->rsrc->no_of_ctrls * 0x04)), ctrl)
|
| /linux-6.15/Documentation/devicetree/bindings/soc/imx/ |
| H A D | fsl,imx8mn-disp-blk-ctrl.yaml | 4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mn-disp-blk-ctrl.yaml# 7 title: NXP i.MX8MN DISP blk-ctrl 13 The i.MX8MN DISP blk-ctrl is a top-level peripheral providing access to 20 - const: fsl,imx8mn-disp-blk-ctrl 74 blk-ctrl@32e28000 { 75 compatible = "fsl,imx8mn-disp-blk-ctrl", "syscon";
|
| H A D | fsl,imx8mm-disp-blk-ctrl.yaml | 4 $id: http://devicetree.org/schemas/soc/imx/fsl,imx8mm-disp-blk-ctrl.yaml# 7 title: NXP i.MX8MM DISP blk-ctrl 13 The i.MX8MM DISP blk-ctrl is a top-level peripheral providing access to 20 - const: fsl,imx8mm-disp-blk-ctrl 73 blk-ctrl@32e28000 { 74 compatible = "fsl,imx8mm-disp-blk-ctrl", "syscon";
|
| /linux-6.15/drivers/usb/gadget/udc/ |
| H A D | aspeed_udc.c | 726 u32 ctrl; in ast_udc_ep_set_halt() local 738 ctrl |= EP0_STALL; in ast_udc_ep_set_halt() 740 ctrl &= ~EP0_STALL; in ast_udc_ep_set_halt() 748 ctrl |= EP_SET_EP_STALL; in ast_udc_ep_set_halt() 904 u32 len_in_desc, ctrl; in ast_udc_epn_handle_desc() local 1226 u32 ctrl; in ast_udc_wake_work() local 1276 u32 ctrl; in ast_udc_pullup() local 1321 u32 ctrl; in ast_udc_stop() local 1404 u32 ctrl; in ast_udc_init_hw() local 1415 ctrl |= USB_EP_LONG_DESC; in ast_udc_init_hw() [all …]
|
| /linux-6.15/drivers/pinctrl/ |
| H A D | pinctrl-rockchip.c | 727 struct rockchip_pin_ctrl *ctrl = info->ctrl; in rockchip_get_recalced_mux() local 1074 struct rockchip_pin_ctrl *ctrl = info->ctrl; in rockchip_get_mux_route() local 1098 struct rockchip_pin_ctrl *ctrl = info->ctrl; in rockchip_get_mux() local 1218 struct rockchip_pin_ctrl *ctrl = info->ctrl; in rockchip_set_mux() local 2655 struct rockchip_pin_ctrl *ctrl = info->ctrl; in rockchip_get_drive_perpin() local 2734 struct rockchip_pin_ctrl *ctrl = info->ctrl; in rockchip_set_drive_perpin() local 2865 struct rockchip_pin_ctrl *ctrl = info->ctrl; in rockchip_get_pull() local 2926 struct rockchip_pin_ctrl *ctrl = info->ctrl; in rockchip_set_pull() local 3057 struct rockchip_pin_ctrl *ctrl = info->ctrl; in rockchip_get_schmitt() local 3087 struct rockchip_pin_ctrl *ctrl = info->ctrl; in rockchip_set_schmitt() local [all …]
|
| /linux-6.15/drivers/pinctrl/samsung/ |
| H A D | pinctrl-exynos-arm.c | 75 ctrl = devm_kzalloc(drvdata->dev, sizeof(*ctrl), GFP_KERNEL); in s5pv210_retention_init() 76 if (!ctrl) in s5pv210_retention_init() 96 return ctrl; in s5pv210_retention_init() 157 .ctrl = s5pv210_pin_ctrl, 247 .ctrl = exynos3250_pin_ctrl, 364 .ctrl = exynos4210_pin_ctrl, 471 .ctrl = exynos4x12_pin_ctrl, 576 .ctrl = exynos5250_pin_ctrl, 654 .ctrl = exynos5260_pin_ctrl, 766 .ctrl = exynos5410_pin_ctrl, [all …]
|
| /linux-6.15/drivers/media/usb/gspca/ |
| H A D | pac207.c | 201 static int sd_s_ctrl(struct v4l2_ctrl *ctrl) in sd_s_ctrl() argument 204 container_of(ctrl->handler, struct gspca_dev, ctrl_handler); in sd_s_ctrl() 209 if (ctrl->id == V4L2_CID_AUTOGAIN && ctrl->is_new && ctrl->val) { in sd_s_ctrl() 222 switch (ctrl->id) { in sd_s_ctrl() 224 setcontrol(gspca_dev, PAC207_BRIGHTNESS_REG, ctrl->val); in sd_s_ctrl() 227 if (gspca_dev->exposure->is_new || (ctrl->is_new && ctrl->val)) in sd_s_ctrl() 230 if (gspca_dev->gain->is_new || (ctrl->is_new && ctrl->val)) in sd_s_ctrl()
|
| /linux-6.15/drivers/mfd/ |
| H A D | janz-cmodio.c | 46 struct janz_cmodio_onboard_regs __iomem *ctrl; member 203 priv->ctrl = pci_ioremap_bar(dev, 4); in cmodio_pci_probe() 204 if (!priv->ctrl) { in cmodio_pci_probe() 211 priv->hex = ioread8(&priv->ctrl->int_enable); in cmodio_pci_probe() 224 iowrite8(0xf, &priv->ctrl->int_disable); in cmodio_pci_probe() 238 iounmap(priv->ctrl); in cmodio_pci_probe() 253 iounmap(priv->ctrl); in cmodio_pci_remove()
|
| /linux-6.15/sound/soc/pxa/ |
| H A D | pxa2xx-ac97.c | 224 struct ac97_controller *ctrl; in pxa2xx_ac97_dev_probe() local 251 ctrl = snd_ac97_controller_register(&pxa2xx_ac97_ops, &pdev->dev, in pxa2xx_ac97_dev_probe() 254 if (IS_ERR(ctrl)) in pxa2xx_ac97_dev_probe() 255 return PTR_ERR(ctrl); in pxa2xx_ac97_dev_probe() 257 platform_set_drvdata(pdev, ctrl); in pxa2xx_ac97_dev_probe() 268 struct ac97_controller *ctrl = platform_get_drvdata(pdev); in pxa2xx_ac97_dev_remove() local 270 snd_ac97_controller_unregister(ctrl); in pxa2xx_ac97_dev_remove()
|
| /linux-6.15/drivers/media/pci/ivtv/ |
| H A D | ivtv-controls.c | 120 static int ivtv_g_volatile_ctrl(struct v4l2_ctrl *ctrl) in ivtv_g_volatile_ctrl() argument 122 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); in ivtv_g_volatile_ctrl() 124 switch (ctrl->id) { in ivtv_g_volatile_ctrl() 134 static int ivtv_s_ctrl(struct v4l2_ctrl *ctrl) in ivtv_s_ctrl() argument 136 struct ivtv *itv = container_of(ctrl->handler, struct ivtv, cxhdl.hdl); in ivtv_s_ctrl() 138 switch (ctrl->id) { in ivtv_s_ctrl()
|
| /linux-6.15/arch/sparc/include/asm/ |
| H A D | obio.h | 142 unsigned int ctrl; in bw_get_ctrl() local 145 "=r" (ctrl) : in bw_get_ctrl() 148 return ctrl; in bw_get_ctrl() 151 static inline void bw_set_ctrl(int cpu, unsigned int ctrl) in bw_set_ctrl() argument 154 "r" (ctrl), in bw_set_ctrl()
|
| /linux-6.15/drivers/pci/hotplug/ |
| H A D | ibmphp_hpc.c | 352 if (ctrl->ctrl_dev) in pci_ctrl_read() 361 if (ctrl->ctrl_dev) { in pci_ctrl_write() 539 ctlr_ptr = pslot->ctrl; in ibmphp_hpc_readslot() 557 pslot->ctrl->status = status; in ibmphp_hpc_readslot() 679 ctlr_ptr = pslot->ctrl; in ibmphp_hpc_writeslot() 810 if (pslot->ctrl->ctlr_relative_id == ctrl_count) { in poll_hpc() 812 if (READ_SLOT_LATCH(pslot->ctrl)) { in poll_hpc() 819 pslot->ctrl); in poll_hpc() 842 if (pslot->ctrl->ctlr_relative_id == ctrl_count) { in poll_hpc() 844 if (READ_SLOT_LATCH(pslot->ctrl)) in poll_hpc() [all …]
|
| /linux-6.15/drivers/tty/serial/ |
| H A D | rda-uart.c | 264 ctrl &= ~RDA_UART_DBITS_8; in rda_uart_set_termios() 269 ctrl |= RDA_UART_DBITS_8; in rda_uart_set_termios() 275 ctrl |= RDA_UART_TX_SBITS_2; in rda_uart_set_termios() 277 ctrl &= ~RDA_UART_TX_SBITS_2; in rda_uart_set_termios() 281 ctrl |= RDA_UART_PARITY_EN; in rda_uart_set_termios() 286 ctrl |= RDA_UART_PARITY_MARK; in rda_uart_set_termios() 290 ctrl |= RDA_UART_PARITY_ODD; in rda_uart_set_termios() 292 ctrl |= RDA_UART_PARITY_EVEN; in rda_uart_set_termios() 295 ctrl &= ~RDA_UART_PARITY_EN; in rda_uart_set_termios() 307 ctrl |= RDA_UART_ENABLE; in rda_uart_set_termios() [all …]
|
| /linux-6.15/arch/arc/mm/ |
| H A D | cache.c | 558 unsigned int ctrl; in slc_op_rgn() local 569 ctrl = read_aux_reg(ARC_REG_SLC_CTRL); in slc_op_rgn() 575 ctrl |= SLC_CTRL_IM; in slc_op_rgn() 580 ctrl &= ~SLC_CTRL_RGN_OP_INV; in slc_op_rgn() 582 write_aux_reg(ARC_REG_SLC_CTRL, ctrl); in slc_op_rgn() 622 unsigned int ctrl, cmd; in slc_op_line() local 628 ctrl = read_aux_reg(ARC_REG_SLC_CTRL); in slc_op_line() 634 ctrl |= SLC_CTRL_IM; in slc_op_line() 665 ctrl = read_aux_reg(r); in slc_entire_op() 670 ctrl |= SLC_CTRL_IM; in slc_entire_op() [all …]
|
| /linux-6.15/drivers/media/platform/renesas/vsp1/ |
| H A D | vsp1_brx.c | 39 static int brx_s_ctrl(struct v4l2_ctrl *ctrl) in brx_s_ctrl() argument 42 container_of(ctrl->handler, struct vsp1_brx, ctrls); in brx_s_ctrl() 44 switch (ctrl->id) { in brx_s_ctrl() 46 brx->bgcolor = ctrl->val; in brx_s_ctrl() 329 u32 ctrl = 0; in brx_configure_stream() local 338 ctrl |= VI6_BRU_CTRL_RBC; in brx_configure_stream() 343 ctrl |= VI6_BRU_CTRL_CROP(VI6_ROP_NOP) in brx_configure_stream() 352 ctrl |= VI6_BRU_CTRL_DSTSEL_VRPF; in brx_configure_stream() 362 ctrl |= VI6_BRU_CTRL_SRCSEL_BRUIN(i); in brx_configure_stream() 364 vsp1_brx_write(brx, dlb, VI6_BRU_CTRL(i), ctrl); in brx_configure_stream()
|
| /linux-6.15/drivers/media/pci/solo6x10/ |
| H A D | solo6x10-i2c.c | 63 u32 ctrl; in solo_i2c_flush() local 65 ctrl = SOLO_IIC_CH_SET(solo_dev->i2c_id); in solo_i2c_flush() 68 ctrl |= SOLO_IIC_START; in solo_i2c_flush() 71 ctrl |= SOLO_IIC_WRITE; in solo_i2c_flush() 73 ctrl |= SOLO_IIC_READ; in solo_i2c_flush() 75 ctrl |= SOLO_IIC_ACK_EN; in solo_i2c_flush() 79 ctrl |= SOLO_IIC_STOP; in solo_i2c_flush() 81 solo_reg_write(solo_dev, SOLO_IIC_CTRL, ctrl); in solo_i2c_flush()
|
| /linux-6.15/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
| H A D | gk104.c | 80 const u32 ctrl = 0x40000000 * enable | in gk104_sor_hdmi_ctrl() local 86 if (!(ctrl & 0x40000000)) { in gk104_sor_hdmi_ctrl() 103 nvkm_mask(device, 0x616798 + hoff, 0x401f007f, ctrl); in gk104_sor_hdmi_ctrl() 108 .ctrl = gk104_sor_hdmi_ctrl, 198 .ctrl = 5, 300 .ctrl = 0,
|
| /linux-6.15/drivers/pwm/ |
| H A D | pwm-sl28cpld.c | 132 u8 ctrl; in sl28cpld_pwm_apply() local 148 ctrl = FIELD_PREP(SL28CPLD_PWM_CTRL_PRESCALER_MASK, prescaler); in sl28cpld_pwm_apply() 150 ctrl |= SL28CPLD_PWM_CTRL_ENABLE; in sl28cpld_pwm_apply() 164 ctrl &= ~SL28CPLD_PWM_CTRL_PRESCALER_MASK; in sl28cpld_pwm_apply() 165 ctrl |= FIELD_PREP(SL28CPLD_PWM_CTRL_PRESCALER_MASK, 1); in sl28cpld_pwm_apply() 186 ret = sl28cpld_pwm_write(priv, SL28CPLD_PWM_CTRL, ctrl); in sl28cpld_pwm_apply()
|
| /linux-6.15/Documentation/devicetree/bindings/iio/amplifiers/ |
| H A D | adi,hmc425a.yaml | 37 ctrl-gpios: 56 ctrl-gpios: 68 ctrl-gpios: 78 ctrl-gpios: 84 - ctrl-gpios 93 ctrl-gpios = <&gpio 40 GPIO_ACTIVE_HIGH>,
|
| /linux-6.15/Documentation/devicetree/bindings/regulator/ |
| H A D | vctrl-regulator.yaml | 19 ctrl-supply: 22 ctrl-voltage-range: 60 - ctrl-supply 61 - ctrl-voltage-range 71 ctrl-supply = <&ctrl_reg>; 72 ctrl-voltage-range = <200000 500000>;
|
| /linux-6.15/drivers/gpu/drm/nouveau/dispnv50/ |
| H A D | dac907d.c | 29 dac907d_ctrl(struct nv50_core *core, int or, u32 ctrl, in dac907d_ctrl() argument 38 PUSH_MTHD(push, NV907D, DAC_SET_CONTROL(or), ctrl); in dac907d_ctrl() 44 .ctrl = dac907d_ctrl,
|