Home
last modified time | relevance | path

Searched refs:cmd_base (Results 1 – 13 of 13) sorted by relevance

/linux-6.12.1/drivers/hid/amd-sfh-hid/sfh1_1/
Damd_sfh_interface.c34 struct sfh_cmd_base cmd_base; in amd_start_sensor() local
36 cmd_base.ul = 0; in amd_start_sensor()
37 cmd_base.cmd.cmd_id = ENABLE_SENSOR; in amd_start_sensor()
38 cmd_base.cmd.intr_disable = 0; in amd_start_sensor()
39 cmd_base.cmd.sub_cmd_value = 1; in amd_start_sensor()
40 cmd_base.cmd.sensor_id = info.sensor_idx; in amd_start_sensor()
42 writel(cmd_base.ul, privdata->mmio + amd_get_c2p_val(privdata, 0)); in amd_start_sensor()
47 struct sfh_cmd_base cmd_base; in amd_stop_sensor() local
49 cmd_base.ul = 0; in amd_stop_sensor()
50 cmd_base.cmd.cmd_id = DISABLE_SENSOR; in amd_stop_sensor()
[all …]
/linux-6.12.1/drivers/hid/amd-sfh-hid/
Damd_sfh_pcie.c57 union sfh_cmd_base cmd_base; in amd_start_sensor_v2() local
59 cmd_base.ul = 0; in amd_start_sensor_v2()
60 cmd_base.cmd_v2.cmd_id = ENABLE_SENSOR; in amd_start_sensor_v2()
61 cmd_base.cmd_v2.intr_disable = intr_disable; in amd_start_sensor_v2()
62 cmd_base.cmd_v2.period = info.period; in amd_start_sensor_v2()
63 cmd_base.cmd_v2.sensor_id = info.sensor_idx; in amd_start_sensor_v2()
64 cmd_base.cmd_v2.length = 16; in amd_start_sensor_v2()
67 cmd_base.cmd_v2.mem_type = USE_C2P_REG; in amd_start_sensor_v2()
70 writel(cmd_base.ul, privdata->mmio + AMD_C2P_MSG0); in amd_start_sensor_v2()
75 union sfh_cmd_base cmd_base; in amd_stop_sensor_v2() local
[all …]
Damd_sfh_pcie.h73 union sfh_cmd_base cmd_base; member
/linux-6.12.1/drivers/platform/x86/amd/pmc/
Dmp2_stb.c88 struct mp2_cmd_base cmd_base; in amd_mp2_stb_send_cmd() local
90 cmd_base.ul = 0; in amd_mp2_stb_send_cmd()
91 cmd_base.field.cmd_id = cmd_id; in amd_mp2_stb_send_cmd()
92 cmd_base.field.intr_disable = 1; in amd_mp2_stb_send_cmd()
93 cmd_base.field.is_dma_used = is_dma_used; in amd_mp2_stb_send_cmd()
96 writel(cmd_base.ul, mp2->mmio + AMD_C2P_MSG0); in amd_mp2_stb_send_cmd()
/linux-6.12.1/drivers/net/ethernet/apm/xgene/
Dxgene_enet_ring2.c173 u32 __iomem *cmd_base = ring->cmd_base; in xgene_enet_ring_len() local
176 ring_state = ioread32(&cmd_base[1]); in xgene_enet_ring_len()
Dxgene_enet_main.h103 void __iomem *cmd_base; member
Dxgene_enet_hw.c186 u32 __iomem *cmd_base = ring->cmd_base; in xgene_enet_ring_len() local
189 ring_state = ioread32(&cmd_base[1]); in xgene_enet_ring_len()
Dxgene_enet_main.c1259 ring->cmd_base = xgene_enet_ring_cmd_base(pdata, ring); in xgene_enet_create_desc_ring()
1260 ring->cmd = ring->cmd_base + INC_DEC_CMD_ADDR; in xgene_enet_create_desc_ring()
/linux-6.12.1/drivers/soundwire/
Dcadence_master.c603 u32 num_resp, cmd_base; in cdns_read_response() local
616 cmd_base = CDNS_IP_MCP_CMD_BASE; in cdns_read_response()
619 cdns->response_buf[i] = cdns_ip_readl(cdns, cmd_base); in cdns_read_response()
620 cmd_base += CDNS_MCP_CMD_WORD_LEN; in cdns_read_response()
/linux-6.12.1/drivers/mtd/nand/raw/
Dstm32_fmc2_nand.c261 void __iomem *cmd_base[FMC2_MAX_CE]; member
1337 nfc->cmd_base[nfc->cs_sel]); in stm32_fmc2_nfc_exec_op()
1965 nfc->cmd_base[chip_cs] = devm_platform_ioremap_resource(pdev, mem_region + 1); in stm32_fmc2_nfc_probe()
1966 if (IS_ERR(nfc->cmd_base[chip_cs])) in stm32_fmc2_nfc_probe()
1967 return PTR_ERR(nfc->cmd_base[chip_cs]); in stm32_fmc2_nfc_probe()
/linux-6.12.1/drivers/platform/x86/
Dsony-laptop.c1009 int cmd_base; member
1037 sony_call_snc_handle(sdev->handle, sdev->cmd_base + 0x100, &result); in sony_nc_get_brightness_ng()
1049 if (sony_call_snc_handle(sdev->handle, sdev->cmd_base | (value << 0x10), in sony_nc_update_status_ng()
3098 sony_bl_props.cmd_base = 0x0100; in sony_nc_backlight_setup()
3104 sony_bl_props.cmd_base = 0x0100; in sony_nc_backlight_setup()
3110 sony_bl_props.cmd_base = 0x3000; in sony_nc_backlight_setup()
3116 sony_bl_props.cmd_base = 0x3000; in sony_nc_backlight_setup()
3122 sony_bl_props.cmd_base = 0x3000; in sony_nc_backlight_setup()
/linux-6.12.1/drivers/irqchip/
Dirq-gic-v3-its.c104 struct its_cmd_block *cmd_base; member
1006 return (ptr - its->cmd_base) * sizeof(*ptr); in its_cmd_ptr_to_offset()
1014 widx = its->cmd_write - its->cmd_base; in its_queue_full()
1042 if (its->cmd_write == (its->cmd_base + ITS_CMD_QUEUE_NR_ENTRIES)) in its_allocate_entry()
1043 its->cmd_write = its->cmd_base; in its_allocate_entry()
4928 its->cmd_write = its->cmd_base; in its_restore_enable()
5141 its->cmd_base = (void *)page_address(page); in its_probe_one()
5142 its->cmd_write = its->cmd_base; in its_probe_one()
5152 baser = (virt_to_phys(its->cmd_base) | in its_probe_one()
5200 free_pages((unsigned long)its->cmd_base, get_order(ITS_CMD_QUEUE_SZ)); in its_probe_one()
/linux-6.12.1/drivers/dma/
Dxgene-dma.c226 void __iomem *cmd_base; member
1129 ring->cmd_base = ring->pdma->csr_ring_cmd + in xgene_dma_set_ring_cmd()
1133 ring->cmd = ring->cmd_base + XGENE_DMA_RING_CMD_OFFSET; in xgene_dma_set_ring_cmd()