| /linux-6.15/drivers/crypto/caam/ |
| H A D | debugfs.c | 84 ctrlpriv->ctl_kek_wrap.data = (__force void *)&ctrlpriv->ctrl->kek[0]; in caam_debugfs_init() 89 ctrlpriv->ctl_tkek_wrap.data = (__force void *)&ctrlpriv->ctrl->tkek[0]; in caam_debugfs_init() 94 ctrlpriv->ctl_tdsk_wrap.data = (__force void *)&ctrlpriv->ctrl->tdsk[0]; in caam_debugfs_init()
|
| /linux-6.15/drivers/parisc/ |
| H A D | wax.c | 25 static void wax_choose_irq(struct parisc_device *dev, void *ctrl) in wax_choose_irq() argument 36 gsc_asic_assign_irq(ctrl, irq, &dev->irq); in wax_choose_irq() 44 gsc_asic_assign_irq(ctrl, irq, &dev->aux_irq); in wax_choose_irq()
|
| /linux-6.15/Documentation/devicetree/bindings/serial/ |
| H A D | st,stm32-uart.yaml | 34 st,hw-flow-ctrl: 51 # or 'st,hw-flow-ctrl' (deprecated) for making use of any gpio pins for flow 55 # 'st,hw-flow-ctrl' (deprecated) properties cannot co-exist in a design. 85 - st,hw-flow-ctrl
|
| /linux-6.15/drivers/vdpa/solidrun/ |
| H A D | snet_ctrl.c | 57 struct snet_ctrl_reg_ctrl ctrl; member 71 return readx_poll_timeout(ioread32, ®s->ctrl, val, SNET_EMPTY_CTRL(val), 10, in snet_wait_for_empty_ctrl() 86 return readx_poll_timeout(ioread32, ®s->ctrl, val, SNET_DATA_READY(val), 10, in snet_wait_for_data() 97 return ioread32(&ctrl_regs->ctrl); in snet_read_ctrl() 102 iowrite32(val, &ctrl_regs->ctrl); in snet_write_ctrl()
|
| /linux-6.15/drivers/media/i2c/ |
| H A D | dw9807-vcm.c | 112 static int dw9807_set_ctrl(struct v4l2_ctrl *ctrl) in dw9807_set_ctrl() argument 114 struct dw9807_device *dev_vcm = container_of(ctrl->handler, in dw9807_set_ctrl() 117 if (ctrl->id == V4L2_CID_FOCUS_ABSOLUTE) { in dw9807_set_ctrl() 120 dev_vcm->current_val = ctrl->val; in dw9807_set_ctrl() 121 return dw9807_set_dac(client, ctrl->val); in dw9807_set_ctrl()
|
| H A D | ov13858.c | 1208 static int ov13858_set_ctrl(struct v4l2_ctrl *ctrl) in ov13858_set_ctrl() argument 1210 struct ov13858 *ov13858 = container_of(ctrl->handler, in ov13858_set_ctrl() 1217 switch (ctrl->id) { in ov13858_set_ctrl() 1220 max = ov13858->cur_mode->height + ctrl->val - 8; in ov13858_set_ctrl() 1235 switch (ctrl->id) { in ov13858_set_ctrl() 1238 OV13858_REG_VALUE_16BIT, ctrl->val); in ov13858_set_ctrl() 1241 ret = ov13858_update_digital_gain(ov13858, ctrl->val); in ov13858_set_ctrl() 1246 ctrl->val << 4); in ov13858_set_ctrl() 1253 + ctrl->val); in ov13858_set_ctrl() 1256 ret = ov13858_enable_test_pattern(ov13858, ctrl->val); in ov13858_set_ctrl() [all …]
|
| H A D | imx415.c | 706 if (ctrl->id == V4L2_CID_VBLANK) { in imx415_s_ctrl() 718 switch (ctrl->id) { in imx415_s_ctrl() 721 format->height + ctrl->val, NULL); in imx415_s_ctrl() 728 ctrl = sensor->exposure; in imx415_s_ctrl() 733 ctrl->val = min_t(int, ctrl->val, vmax); in imx415_s_ctrl() 735 vmax - ctrl->val, NULL); in imx415_s_ctrl() 741 ctrl->val, NULL); in imx415_s_ctrl() 757 (format->width + ctrl->val) / in imx415_s_ctrl() 779 struct v4l2_ctrl *ctrl; in imx415_ctrls_init() local 810 if (ctrl) in imx415_ctrls_init() [all …]
|
| /linux-6.15/Documentation/devicetree/bindings/display/msm/ |
| H A D | qcom,msm8998-mdss.yaml | 54 - const: qcom,msm8998-dsi-ctrl 55 - const: qcom,mdss-dsi-ctrl 139 compatible = "qcom,msm8998-dsi-ctrl", "qcom,mdss-dsi-ctrl"; 209 compatible = "qcom,msm8998-dsi-ctrl", "qcom,mdss-dsi-ctrl";
|
| H A D | qcom,sdm845-mdss.yaml | 66 - const: qcom,sdm845-dsi-ctrl 67 - const: qcom,mdss-dsi-ctrl 149 compatible = "qcom,sdm845-dsi-ctrl", "qcom,mdss-dsi-ctrl"; 219 compatible = "qcom,sdm845-dsi-ctrl", "qcom,mdss-dsi-ctrl";
|
| /linux-6.15/drivers/scsi/arm/ |
| H A D | cumana_1.c | 31 unsigned ctrl 104 writeb(hostdata->ctrl | 0x40, base + CTRL); in cumanascsi_pwrite() 170 writeb(hostdata->ctrl | 0x40, base + CTRL); in cumanascsi_pread() 193 hostdata->ctrl = 0x40; in cumanascsi_read() 208 hostdata->ctrl = 0x40; in cumanascsi_write() 264 priv(host)->ctrl = 0; in cumanascsi1_probe()
|
| /linux-6.15/drivers/mmc/host/ |
| H A D | sdhci-pxav2.c | 159 u8 ctrl; in pxav2_mmc_set_bus_width() local 162 ctrl = readb(host->ioaddr + SDHCI_HOST_CONTROL); in pxav2_mmc_set_bus_width() 165 ctrl &= ~SDHCI_CTRL_4BITBUS; in pxav2_mmc_set_bus_width() 170 ctrl |= SDHCI_CTRL_4BITBUS; in pxav2_mmc_set_bus_width() 172 ctrl &= ~SDHCI_CTRL_4BITBUS; in pxav2_mmc_set_bus_width() 175 writeb(ctrl, host->ioaddr + SDHCI_HOST_CONTROL); in pxav2_mmc_set_bus_width()
|
| /linux-6.15/Documentation/devicetree/bindings/mips/brcm/ |
| H A D | soc.txt | 28 "brcm,bcm7425-aon-ctrl" 29 "brcm,bcm7429-aon-ctrl" 30 "brcm,bcm7435-aon-ctrl" and 31 "brcm,brcmstb-aon-ctrl" 37 compatible = "brcm,bcm7425-aon-ctrl", "brcm,brcmstb-aon-ctrl";
|
| /linux-6.15/drivers/mtd/nand/raw/ |
| H A D | txx9ndfmc.c | 131 unsigned int ctrl) in txx9ndfmc_cmd_ctrl() argument 137 if (ctrl & NAND_CTRL_CHANGE) { in txx9ndfmc_cmd_ctrl() 141 mcr |= ctrl & NAND_CLE ? TXX9_NDFMCR_CLE : 0; in txx9ndfmc_cmd_ctrl() 142 mcr |= ctrl & NAND_ALE ? TXX9_NDFMCR_ALE : 0; in txx9ndfmc_cmd_ctrl() 144 mcr |= ctrl & NAND_NCE ? TXX9_NDFMCR_CE : 0; in txx9ndfmc_cmd_ctrl() 145 if (txx9_priv->cs >= 0 && (ctrl & NAND_NCE)) { in txx9ndfmc_cmd_ctrl() 155 if ((ctrl & NAND_CTRL_CHANGE) && cmd == NAND_CMD_NONE) in txx9ndfmc_cmd_ctrl()
|
| H A D | s3c2410.c | 441 unsigned int ctrl) in s3c2410_nand_hwcontrol() argument 449 if (ctrl & NAND_CLE) in s3c2410_nand_hwcontrol() 458 unsigned int ctrl) in s3c2440_nand_hwcontrol() argument 466 if (ctrl & NAND_CLE) in s3c2440_nand_hwcontrol() 583 unsigned long ctrl; in s3c2410_nand_enable_hwecc() local 586 ctrl = readl(info->regs + S3C2410_NFCONF); in s3c2410_nand_enable_hwecc() 587 ctrl |= S3C2410_NFCONF_INITECC; in s3c2410_nand_enable_hwecc() 588 writel(ctrl, info->regs + S3C2410_NFCONF); in s3c2410_nand_enable_hwecc() 594 unsigned long ctrl; in s3c2412_nand_enable_hwecc() local 597 ctrl = readl(info->regs + S3C2440_NFCONT); in s3c2412_nand_enable_hwecc() [all …]
|
| /linux-6.15/drivers/pci/ |
| H A D | npem.c | 189 u32 ctrl; in npem_get_active_indications() local 192 ret = npem_read_reg(npem, PCI_NPEM_CTRL, &ctrl); in npem_get_active_indications() 197 if (!(ctrl & PCI_NPEM_CTRL_ENABLE)) { in npem_get_active_indications() 202 *inds = ctrl & npem->supported_indications; in npem_get_active_indications() 209 int ctrl, ret, ret_val; in npem_set_active_indications() local 215 ctrl = inds | PCI_NPEM_CTRL_ENABLE; in npem_set_active_indications() 217 ret = npem_write_ctrl(npem, ctrl); in npem_set_active_indications()
|
| /linux-6.15/drivers/media/dvb-frontends/ |
| H A D | au8522_decoder.c | 437 static int au8522_s_ctrl(struct v4l2_ctrl *ctrl) in au8522_s_ctrl() argument 440 container_of(ctrl->handler, struct au8522_state, hdl); in au8522_s_ctrl() 442 switch (ctrl->id) { in au8522_s_ctrl() 445 ctrl->val - 128); in au8522_s_ctrl() 449 ctrl->val); in au8522_s_ctrl() 453 ctrl->val); in au8522_s_ctrl() 455 ctrl->val); in au8522_s_ctrl() 459 ctrl->val >> 8); in au8522_s_ctrl() 461 ctrl->val & 0xFF); in au8522_s_ctrl()
|
| /linux-6.15/drivers/media/usb/gspca/ |
| H A D | pac7302.c | 571 static int sd_s_ctrl(struct v4l2_ctrl *ctrl) in sd_s_ctrl() argument 574 container_of(ctrl->handler, struct gspca_dev, ctrl_handler); in sd_s_ctrl() 579 if (ctrl->id == V4L2_CID_AUTOGAIN && ctrl->is_new && ctrl->val) { in sd_s_ctrl() 592 switch (ctrl->id) { in sd_s_ctrl() 609 if (gspca_dev->exposure->is_new || (ctrl->is_new && ctrl->val)) in sd_s_ctrl() 611 if (gspca_dev->gain->is_new || (ctrl->is_new && ctrl->val)) in sd_s_ctrl()
|
| /linux-6.15/drivers/media/usb/gspca/m5602/ |
| H A D | m5602_ov9650.c | 20 static int ov9650_s_ctrl(struct v4l2_ctrl *ctrl); 713 static int ov9650_s_ctrl(struct v4l2_ctrl *ctrl) in ov9650_s_ctrl() argument 716 container_of(ctrl->handler, struct gspca_dev, ctrl_handler); in ov9650_s_ctrl() 723 switch (ctrl->id) { in ov9650_s_ctrl() 725 err = ov9650_set_auto_white_balance(gspca_dev, ctrl->val); in ov9650_s_ctrl() 726 if (err || ctrl->val) in ov9650_s_ctrl() 734 err = ov9650_set_auto_exposure(gspca_dev, ctrl->val); in ov9650_s_ctrl() 735 if (err || ctrl->val == V4L2_EXPOSURE_AUTO) in ov9650_s_ctrl() 740 err = ov9650_set_auto_gain(gspca_dev, ctrl->val); in ov9650_s_ctrl() 741 if (err || ctrl->val) in ov9650_s_ctrl()
|
| /linux-6.15/drivers/usb/gadget/function/ |
| H A D | f_ecm.c | 457 static int ecm_setup(struct usb_function *f, const struct usb_ctrlrequest *ctrl) in ecm_setup() argument 463 u16 w_index = le16_to_cpu(ctrl->wIndex); in ecm_setup() 464 u16 w_value = le16_to_cpu(ctrl->wValue); in ecm_setup() 465 u16 w_length = le16_to_cpu(ctrl->wLength); in ecm_setup() 470 switch ((ctrl->bRequestType << 8) | ctrl->bRequest) { in ecm_setup() 499 ctrl->bRequestType, ctrl->bRequest, in ecm_setup() 506 ctrl->bRequestType, ctrl->bRequest, in ecm_setup() 513 ctrl->bRequestType, ctrl->bRequest, in ecm_setup()
|
| /linux-6.15/drivers/pci/hotplug/ |
| H A D | ibmphp_core.c | 58 debug("options = %x\n", slot_cur->ctrl->options); in get_cur_bus_info() 59 debug("revision = %x\n", slot_cur->ctrl->revision); in get_cur_bus_info() 61 if (READ_BUS_STATUS(slot_cur->ctrl)) in get_cur_bus_info() 68 if (READ_BUS_MODE(slot_cur->ctrl)) in get_cur_bus_info() 188 if (CTLR_RESULT(slot_cur->ctrl->status)) { in power_on() 206 if (CTLR_RESULT(slot_cur->ctrl->status)) { in power_off() 410 if (slot_cur->ctrl->revision == 0xFF) in init_ops() 412 &slot_cur->ctrl->revision)) in init_ops() 420 if (slot_cur->ctrl->options == 0xFF) in init_ops() 572 slot_cur->ctrl = NULL; in free_slots() [all …]
|
| H A D | ibmphp_ebda.c | 584 if (slot_cur->ctrl) { in calculate_first_slot() 585 …if ((slot_cur->ctrl->ctlr_type != 4) && (slot_cur->ctrl->ending_slot_num > first_slot) && (slot_nu… in calculate_first_slot() 586 first_slot = slot_cur->ctrl->ending_slot_num; in calculate_first_slot() 650 if (slot_cur->ctrl->ctlr_type == 4) { in create_file_name() 874 tmp_slot->ctrl = hpc_ptr; in ebda_rsrc_controller() 1090 struct controller *ctrl; in ibmphp_register_pci() local 1094 if (ctrl->ctlr_type == 1) { in ibmphp_register_pci() 1103 struct controller *ctrl; in ibmphp_probe() local 1108 if (ctrl->ctlr_type == 1) { in ibmphp_probe() 1109 if ((dev->devfn == ctrl->u.pci_ctlr.dev_fun) && (dev->bus->number == ctrl->u.pci_ctlr.bus)) { in ibmphp_probe() [all …]
|
| /linux-6.15/drivers/input/rmi4/ |
| H A D | rmi_f11.c | 759 ctrl->ctrl0_11_address = ctrl_base_addr; in f11_read_control_regs() 772 struct f11_2d_ctrl *ctrl, in f11_write_control_regs() argument 1065 struct f11_2d_ctrl *ctrl; in rmi_f11_initialize() local 1215 ctrl = &f11->dev_controls; in rmi_f11_initialize() 1217 ctrl->ctrl0_11[RMI_F11_DELTA_X_THRESHOLD] = in rmi_f11_initialize() 1221 ctrl->ctrl0_11[RMI_F11_DELTA_Y_THRESHOLD] = in rmi_f11_initialize() 1230 ctrl->ctrl0_11[0] &= ~RMI_F11_REPORT_MODE_MASK; in rmi_f11_initialize() 1237 ctrl->ctrl0_11[0] &= ~BIT(6); in rmi_f11_initialize() 1240 ctrl->ctrl0_11[0] |= BIT(6); in rmi_f11_initialize() 1251 ctrl->ctrl0_11[11] &= ~BIT(0); in rmi_f11_initialize() [all …]
|
| /linux-6.15/sound/soc/codecs/ |
| H A D | adau1373.c | 1057 unsigned int ctrl; in adau1373_hw_params() local 1098 ctrl = ADAU1373_DAI_WLEN_16; in adau1373_hw_params() 1101 ctrl = ADAU1373_DAI_WLEN_20; in adau1373_hw_params() 1104 ctrl = ADAU1373_DAI_WLEN_24; in adau1373_hw_params() 1107 ctrl = ADAU1373_DAI_WLEN_32; in adau1373_hw_params() 1114 ADAU1373_DAI_WLEN_MASK, ctrl); in adau1373_hw_params() 1122 unsigned int ctrl; in adau1373_set_dai_fmt() local 1126 ctrl = ADAU1373_DAI_MASTER; in adau1373_set_dai_fmt() 1130 ctrl = 0; in adau1373_set_dai_fmt() 1139 ctrl |= ADAU1373_DAI_FORMAT_I2S; in adau1373_set_dai_fmt() [all …]
|
| /linux-6.15/drivers/net/ethernet/intel/e1000e/ |
| H A D | 82571.c | 980 ctrl = er32(CTRL); in e1000_reset_hw_82571() 1335 u32 ctrl; in e1000_led_on_82574() local 1338 ctrl = hw->mac.ledctl_mode2; in e1000_led_on_82574() 1348 ew32(LEDCTL, ctrl); in e1000_led_on_82574() 1423 u32 ctrl; in e1000_setup_copper_link_82571() local 1426 ctrl = er32(CTRL); in e1000_setup_copper_link_82571() 1427 ctrl |= E1000_CTRL_SLU; in e1000_setup_copper_link_82571() 1429 ew32(CTRL, ctrl); in e1000_setup_copper_link_82571() 1499 u32 ctrl; in e1000_check_for_serdes_link_82571() local 1505 ctrl = er32(CTRL); in e1000_check_for_serdes_link_82571() [all …]
|
| /linux-6.15/drivers/media/radio/si4713/ |
| H A D | si4713.c | 1117 if (ctrl->id != V4L2_CID_AUDIO_MUTE) in si4713_s_ctrl() 1119 if (ctrl->is_new) { in si4713_s_ctrl() 1120 if (ctrl->val) { in si4713_s_ctrl() 1121 ret = si4713_set_mute(sdev, ctrl->val); in si4713_s_ctrl() 1128 ret = si4713_set_mute(sdev, ctrl->val); in si4713_s_ctrl() 1140 ctrl = ctrl->cluster[c]; in si4713_s_ctrl() 1142 if (!force && !ctrl->is_new) in si4713_s_ctrl() 1145 switch (ctrl->id) { in si4713_s_ctrl() 1188 val = ctrl->val; in si4713_s_ctrl() 1203 val = set_bits(val, ctrl->val, bit, mask); in si4713_s_ctrl() [all …]
|