Home
last modified time | relevance | path

Searched refs:ctrl (Results 476 – 500 of 2140) sorted by relevance

1...<<11121314151617181920>>...86

/linux-6.15/drivers/hwtracing/ptt/
H A Dhisi_ptt.c205 ctrl->started = true; in hisi_ptt_trace_start()
257 addr = ctrl->trace_buf[ctrl->buf_index].addr; in hisi_ptt_update_aux()
707 sizeof(*ctrl->trace_buf), GFP_KERNEL); in hisi_ptt_config_trace_buf()
708 if (!ctrl->trace_buf) in hisi_ptt_config_trace_buf()
713 &ctrl->trace_buf[i].dma, in hisi_ptt_config_trace_buf()
715 if (!ctrl->trace_buf[i].addr) in hisi_ptt_config_trace_buf()
721 writel(lower_32_bits(ctrl->trace_buf[i].dma), in hisi_ptt_config_trace_buf()
724 writel(upper_32_bits(ctrl->trace_buf[i].dma), in hisi_ptt_config_trace_buf()
986 ctrl->direction = val; in hisi_ptt_pmu_init_configs()
989 ctrl->type = val; in hisi_ptt_pmu_init_configs()
[all …]
/linux-6.15/drivers/platform/surface/
H A Dsurface_acpi_notify.c29 struct ssam_controller *ctrl; member
699 status = ssam_notifier_register(d->ctrl, &d->nf_bat); in san_events_register()
703 status = ssam_notifier_register(d->ctrl, &d->nf_tmp); in san_events_register()
705 ssam_notifier_unregister(d->ctrl, &d->nf_bat); in san_events_register()
714 ssam_notifier_unregister(d->ctrl, &d->nf_bat); in san_events_unregister()
715 ssam_notifier_unregister(d->ctrl, &d->nf_tmp); in san_events_unregister()
781 struct ssam_controller *ctrl; in san_probe() local
786 ctrl = ssam_client_bind(&pdev->dev); in san_probe()
787 if (IS_ERR(ctrl)) in san_probe()
788 return PTR_ERR(ctrl) == -ENODEV ? -EPROBE_DEFER : PTR_ERR(ctrl); in san_probe()
[all …]
/linux-6.15/drivers/i2c/busses/
H A Di2c-ocores.c365 u8 ctrl; in ocores_xfer_core() local
367 ctrl = oc_getreg(i2c, OCI2C_CONTROL); in ocores_xfer_core()
413 u8 ctrl = oc_getreg(i2c, OCI2C_CONTROL); in ocores_init() local
416 ctrl &= ~(OCI2C_CTRL_EN | OCI2C_CTRL_IEN); in ocores_init()
417 oc_setreg(i2c, OCI2C_CONTROL, ctrl); in ocores_init()
729 u8 ctrl = oc_getreg(i2c, OCI2C_CONTROL); in ocores_i2c_remove() local
732 ctrl &= ~(OCI2C_CTRL_EN | OCI2C_CTRL_IEN); in ocores_i2c_remove()
733 oc_setreg(i2c, OCI2C_CONTROL, ctrl); in ocores_i2c_remove()
742 u8 ctrl = oc_getreg(i2c, OCI2C_CONTROL); in ocores_i2c_suspend() local
745 ctrl &= ~(OCI2C_CTRL_EN | OCI2C_CTRL_IEN); in ocores_i2c_suspend()
[all …]
H A Di2c-ali1563.c334 u16 ctrl; in ali1563_setup() local
336 pci_read_config_word(dev, ALI1563_SMBBA, &ctrl); in ali1563_setup()
340 ali1563_smba = ctrl & ~(ALI1563_SMB_IOSIZE - 1); in ali1563_setup()
347 if (!(ctrl & ALI1563_SMB_HOSTEN)) { in ali1563_setup()
351 if (!(ctrl & ALI1563_SMB_IOEN)) { in ali1563_setup()
354 ctrl | ALI1563_SMB_IOEN); in ali1563_setup()
355 pci_read_config_word(dev, ALI1563_SMBBA, &ctrl); in ali1563_setup()
356 if (!(ctrl & ALI1563_SMB_IOEN)) { in ali1563_setup()
/linux-6.15/arch/arm64/boot/dts/ti/
H A Dk3-j784s4-main.dtsi47 ti,syscon-pcie-ctrl = <&pcie2_ctrl 0x0>;
76 ti,syscon-pcie-ctrl = <&pcie3_ctrl 0x0>;
119 pcie2_ctrl: pcie2-ctrl@4078 {
120 compatible = "ti,j784s4-pcie-ctrl", "syscon";
124 pcie3_ctrl: pcie3-ctrl@407c {
125 compatible = "ti,j784s4-pcie-ctrl", "syscon";
/linux-6.15/drivers/crypto/amcc/
H A Dcrypto4xx_sa.h192 struct dynamic_sa_ctl ctrl; member
206 struct dynamic_sa_ctl ctrl; member
220 struct dynamic_sa_ctl ctrl; member
235 struct dynamic_sa_ctl ctrl; member
249 struct dynamic_sa_ctl ctrl; member
265 struct dynamic_sa_ctl ctrl; member
/linux-6.15/drivers/media/i2c/cx25840/
H A Dcx25840-audio.c524 static int cx25840_audio_s_ctrl(struct v4l2_ctrl *ctrl) in cx25840_audio_s_ctrl() argument
526 struct v4l2_subdev *sd = to_sd(ctrl); in cx25840_audio_s_ctrl()
530 switch (ctrl->id) { in cx25840_audio_s_ctrl()
540 48 - (ctrl->val * 48 / 0xffff)); in cx25840_audio_s_ctrl()
545 48 - (ctrl->val * 48 / 0xffff)); in cx25840_audio_s_ctrl()
548 set_balance(client, ctrl->val); in cx25840_audio_s_ctrl()
/linux-6.15/arch/x86/kernel/cpu/
H A Dbus_lock.c96 u64 ctrl, tmp; in split_lock_verify_msr() local
98 if (rdmsrl_safe(MSR_TEST_CTRL, &ctrl)) in split_lock_verify_msr()
101 ctrl |= MSR_TEST_CTRL_SPLIT_LOCK_DETECT; in split_lock_verify_msr()
103 ctrl &= ~MSR_TEST_CTRL_SPLIT_LOCK_DETECT; in split_lock_verify_msr()
104 if (wrmsrl_safe(MSR_TEST_CTRL, ctrl)) in split_lock_verify_msr()
107 return ctrl == tmp; in split_lock_verify_msr()
/linux-6.15/drivers/nvme/host/
H A Dtrace.h63 __entry->ctrl_id = nvme_req(req)->ctrl->instance;
99 __entry->ctrl_id = nvme_req(req)->ctrl->instance;
118 TP_PROTO(struct nvme_ctrl *ctrl, u32 result),
119 TP_ARGS(ctrl, result),
125 __entry->ctrl_id = ctrl->instance;
152 __entry->ctrl_id = nvme_req(req)->ctrl->instance;
/linux-6.15/drivers/net/ethernet/atheros/atlx/
H A Datl2.c347 *ctrl |= MAC_CTRL_RMV_VLAN; in __atl2_vlan_mode()
350 *ctrl &= ~MAC_CTRL_RMV_VLAN; in __atl2_vlan_mode()
358 u32 ctrl; in atl2_vlan_mode() local
363 __atl2_vlan_mode(features, &ctrl); in atl2_vlan_mode()
1494 u32 ctrl = 0; in atl2_suspend() local
1516 if (ctrl & BMSR_LSTATUS) in atl2_suspend()
1530 ctrl = 0; in atl2_suspend()
1542 ctrl |= MAC_CTRL_DUPLX; in atl2_suspend()
1551 ctrl |= MAC_CTRL_BC_EN; in atl2_suspend()
1558 ctrl |= PCIE_PHYMISC_FORCE_RCV_DET; in atl2_suspend()
[all …]
/linux-6.15/drivers/media/platform/renesas/vsp1/
H A Dvsp1_hgt.c71 static int hgt_hue_areas_try_ctrl(struct v4l2_ctrl *ctrl) in hgt_hue_areas_try_ctrl() argument
73 const u8 *values = ctrl->p_new.p_u8; in hgt_hue_areas_try_ctrl()
98 static int hgt_hue_areas_s_ctrl(struct v4l2_ctrl *ctrl) in hgt_hue_areas_s_ctrl() argument
100 struct vsp1_hgt *hgt = container_of(ctrl->handler, struct vsp1_hgt, in hgt_hue_areas_s_ctrl()
103 memcpy(hgt->hue_areas, ctrl->p_new.p_u8, sizeof(hgt->hue_areas)); in hgt_hue_areas_s_ctrl()
/linux-6.15/arch/arm/mach-bcm/
H A Dbcm63xx_pmb.c129 u32 val, ctrl; in bcm63xx_pmb_power_on_cpu() local
145 ret = bpcm_rd(base, addr, ARM_CONTROL, &ctrl); in bcm63xx_pmb_power_on_cpu()
149 if (ctrl & CPU_RESET_N(cpu)) { in bcm63xx_pmb_power_on_cpu()
208 ctrl |= CPU_RESET_N(cpu); in bcm63xx_pmb_power_on_cpu()
210 ret = bpcm_wr(base, addr, ARM_CONTROL, ctrl); in bcm63xx_pmb_power_on_cpu()
/linux-6.15/Documentation/devicetree/bindings/display/bridge/
H A Dfsl,imx93-mipi-dsi.yaml15 and extensions to them are controlled by i.MX93 media blk-ctrl.
41 fsl,media-blk-ctrl:
44 i.MX93 media blk-ctrl, as a syscon, controls pixel component bit map
55 - fsl,media-blk-ctrl
76 fsl,media-blk-ctrl = <&media_blk_ctrl>;
/linux-6.15/drivers/input/serio/
H A Dapbps2.c34 u32 __iomem ctrl; /* 0x08 */ member
95 &priv->regs->ctrl); in apbps2_write()
116 iowrite32be(APBPS2_CTRL_RE | APBPS2_CTRL_RI, &priv->regs->ctrl); in apbps2_open()
126 iowrite32be(0, &priv->regs->ctrl); in apbps2_close()
148 iowrite32be(0, &priv->regs->ctrl); in apbps2_of_probe()
/linux-6.15/drivers/net/ethernet/cadence/
H A Dmacb_main.c696 u32 ctrl; in macb_mac_link_down() local
721 u32 ctrl; in macb_mac_link_up() local
1111 u32 ctrl; in macb_tx_error_task() local
1114 ctrl = desc->ctrl; in macb_tx_error_task()
1150 desc->ctrl = ctrl | MACB_BIT(TX_USED); in macb_tx_error_task()
1244 ctrl = desc->ctrl; in macb_tx_complete()
1413 ctrl = desc->ctrl; in gem_rx()
1596 ctrl = desc->ctrl; in macb_rx()
1796 u32 ctrl; in macb_hresp_error_task() local
2130 desc->ctrl = ctrl; in macb_tx_map()
[all …]
/linux-6.15/drivers/media/tuners/
H A Dmsi001.c379 static int msi001_s_ctrl(struct v4l2_ctrl *ctrl) in msi001_s_ctrl() argument
381 struct msi001_dev *dev = container_of(ctrl->handler, struct msi001_dev, hdl); in msi001_s_ctrl()
387 ctrl->id, ctrl->name, ctrl->val, ctrl->minimum, ctrl->maximum, in msi001_s_ctrl()
388 ctrl->step); in msi001_s_ctrl()
390 switch (ctrl->id) { in msi001_s_ctrl()
411 dev_dbg(&spi->dev, "unknown control %d\n", ctrl->id); in msi001_s_ctrl()
/linux-6.15/drivers/staging/media/rkvdec/
H A Drkvdec-h264.c1072 struct v4l2_ctrl *ctrl; in rkvdec_h264_start() local
1075 ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl, in rkvdec_h264_start()
1077 if (!ctrl) in rkvdec_h264_start()
1121 struct v4l2_ctrl *ctrl; in rkvdec_h264_run_preamble() local
1123 ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl, in rkvdec_h264_run_preamble()
1125 run->decode_params = ctrl ? ctrl->p_cur.p : NULL; in rkvdec_h264_run_preamble()
1126 ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl, in rkvdec_h264_run_preamble()
1128 run->sps = ctrl ? ctrl->p_cur.p : NULL; in rkvdec_h264_run_preamble()
1129 ctrl = v4l2_ctrl_find(&ctx->ctrl_hdl, in rkvdec_h264_run_preamble()
1131 run->pps = ctrl ? ctrl->p_cur.p : NULL; in rkvdec_h264_run_preamble()
[all …]
/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dsend.c67 struct mlx5hws_send_engine_post_ctrl ctrl; in mlx5hws_send_engine_post_start() local
69 ctrl.queue = queue; in mlx5hws_send_engine_post_start()
71 ctrl.send_ring = &queue->send_ring; in mlx5hws_send_engine_post_start()
72 ctrl.num_wqebbs = 0; in mlx5hws_send_engine_post_start()
74 return ctrl; in mlx5hws_send_engine_post_start()
92 if (!ctrl->num_wqebbs) { in mlx5hws_send_engine_post_req_wqe()
97 ctrl->num_wqebbs++; in mlx5hws_send_engine_post_req_wqe()
143 sq = &ctrl->send_ring->send_sq; in mlx5hws_send_engine_post_end()
174 sq->cur_post += ctrl->num_wqebbs; in mlx5hws_send_engine_post_end()
191 struct mlx5hws_send_engine_post_ctrl ctrl; in hws_send_wqe() local
[all …]
/linux-6.15/drivers/pinctrl/samsung/
H A Dpinctrl-samsung.c1192 if (!ctrl) in samsung_pinctrl_get_soc_data()
1195 d->suspend = ctrl->suspend; in samsung_pinctrl_get_soc_data()
1196 d->resume = ctrl->resume; in samsung_pinctrl_get_soc_data()
1221 bdata = ctrl->pin_banks; in samsung_pinctrl_get_soc_data()
1253 return ctrl; in samsung_pinctrl_get_soc_data()
1268 if (IS_ERR(ctrl)) { in samsung_pinctrl_probe()
1270 return PTR_ERR(ctrl); in samsung_pinctrl_probe()
1280 if (ctrl->retention_data) { in samsung_pinctrl_probe()
1299 if (ctrl->eint_gpio_init) in samsung_pinctrl_probe()
1301 if (ctrl->eint_wkup_init) in samsung_pinctrl_probe()
[all …]
/linux-6.15/drivers/usb/fotg210/
H A Dfotg210-udc.c641 struct usb_ctrlrequest *ctrl) in fotg210_set_address() argument
652 struct usb_ctrlrequest *ctrl) in fotg210_set_feature() argument
678 struct usb_ctrlrequest *ctrl) in fotg210_clear_feature() argument
735 struct usb_ctrlrequest *ctrl) in fotg210_get_status() argument
770 struct usb_ctrlrequest *ctrl) in fotg210_setup_packet() argument
772 u8 *p = (u8 *)ctrl; in fotg210_setup_packet()
787 switch (ctrl->bRequest) { in fotg210_setup_packet()
789 fotg210_get_status(fotg210, ctrl); in fotg210_setup_packet()
795 fotg210_set_feature(fotg210, ctrl); in fotg210_setup_packet()
940 struct usb_ctrlrequest ctrl; in fotg210_irq() local
[all …]
/linux-6.15/drivers/net/dsa/microchip/
H A Dksz8.c880 u8 restart, speed, ctrl; in ksz8_r_phy_bmcr() local
944 u8 ctrl, link, val1, val2; in ksz8_r_phy() local
1142 ctrl = 0; in ksz8_w_phy_bmcr()
1209 u8 ctrl, data; in ksz8_w_phy() local
1226 data = ctrl; in ksz8_w_phy()
1243 if (data != ctrl) { in ksz8_w_phy()
1796 u8 ctrl = 0; in ksz8_cpu_port_link_up() local
1803 ctrl |= SW_FLOW_CTRL; in ksz8_cpu_port_link_up()
1806 ctrl |= SW_HALF_DUPLEX; in ksz8_cpu_port_link_up()
1812 ctrl |= SW_10_MBIT; in ksz8_cpu_port_link_up()
[all …]
/linux-6.15/Documentation/devicetree/bindings/mfd/
H A Dmxs-lradc.txt14 - fsl,ave-ctrl: number of samples per direction to calculate an average value.
17 2 ... 2048. It is used if 'fsl,ave-ctrl' > 1, counts at
30 fsl,ave-ctrl = <4>;
42 fsl,ave-ctrl = <4>;
/linux-6.15/drivers/media/i2c/
H A Dadv7393.c65 static inline struct v4l2_subdev *to_sd(struct v4l2_ctrl *ctrl) in to_sd() argument
67 return &container_of(ctrl->handler, struct adv7393_state, hdl)->sd; in to_sd()
283 static int adv7393_s_ctrl(struct v4l2_ctrl *ctrl) in adv7393_s_ctrl() argument
285 struct v4l2_subdev *sd = to_sd(ctrl); in adv7393_s_ctrl()
287 switch (ctrl->id) { in adv7393_s_ctrl()
290 ctrl->val & SD_BRIGHTNESS_VALUE_MASK); in adv7393_s_ctrl()
294 ctrl->val - ADV7393_HUE_MIN); in adv7393_s_ctrl()
298 ctrl->val); in adv7393_s_ctrl()
/linux-6.15/arch/riscv/kernel/
H A Dptrace.c163 long ctrl = get_tagged_addr_ctrl(target); in tagged_addr_ctrl_get() local
165 if (IS_ERR_VALUE(ctrl)) in tagged_addr_ctrl_get()
166 return ctrl; in tagged_addr_ctrl_get()
168 return membuf_write(&to, &ctrl, sizeof(ctrl)); in tagged_addr_ctrl_get()
177 long ctrl; in tagged_addr_ctrl_set() local
179 ret = user_regset_copyin(&pos, &count, &kbuf, &ubuf, &ctrl, 0, -1); in tagged_addr_ctrl_set()
183 return set_tagged_addr_ctrl(target, ctrl); in tagged_addr_ctrl_set()
/linux-6.15/drivers/media/usb/hdpvr/
H A Dhdpvr-video.c877 static int hdpvr_try_ctrl(struct v4l2_ctrl *ctrl) in hdpvr_try_ctrl() argument
882 switch (ctrl->id) { in hdpvr_try_ctrl()
893 static int hdpvr_s_ctrl(struct v4l2_ctrl *ctrl) in hdpvr_s_ctrl() argument
900 switch (ctrl->id) { in hdpvr_s_ctrl()
905 dev->options.brightness = ctrl->val; in hdpvr_s_ctrl()
911 dev->options.contrast = ctrl->val; in hdpvr_s_ctrl()
917 dev->options.saturation = ctrl->val; in hdpvr_s_ctrl()
923 dev->options.hue = ctrl->val; in hdpvr_s_ctrl()
929 dev->options.sharpness = ctrl->val; in hdpvr_s_ctrl()
933 opt->audio_codec = ctrl->val; in hdpvr_s_ctrl()
[all …]

1...<<11121314151617181920>>...86