/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/ |
H A D | rpc_rdma.c | 219 char *base; in rpcrdma_convert_kvec() local 221 base = vec->iov_base; in rpcrdma_convert_kvec() 222 page_offset = offset_in_page(base); in rpcrdma_convert_kvec() 226 seg->mr_offset = base; in rpcrdma_convert_kvec() 229 base += seg->mr_len; in rpcrdma_convert_kvec() 1287 char *base; in rpcrdma_decode_msg() local 1302 base = (char *)xdr_inline_decode(xdr, 0); in rpcrdma_decode_msg() 1305 rpcrdma_inline_fixup(rqst, base, rpclen, writelist & 3); in rpcrdma_decode_msg()
|
/kernel/linux/linux-5.10/include/net/sctp/ |
H A D | structs.h | 162 /* What is our base endpointer? */ 1205 * A common base class to bridge the implmentation view of a 1274 struct sctp_ep_common base; member 1346 static inline struct sctp_endpoint *sctp_ep(struct sctp_ep_common *base) in sctp_ep() argument 1350 ep = container_of(base, struct sctp_endpoint, base); in sctp_ep() 1554 /* A base structure common to endpoint and association. 1558 struct sctp_ep_common base; member 2092 static inline struct sctp_association *sctp_assoc(struct sctp_ep_common *base) in sctp_assoc() argument 2096 asoc = container_of(base, struc in sctp_assoc() [all...] |
/kernel/linux/linux-5.10/sound/pci/ |
H A D | intel8x0m.c | 66 #define DEFINE_REGSET(name,base) \ 68 ICH_REG_##name##_BDBAR = base + 0x0, /* dword - buffer descriptor list base address */ \ 69 ICH_REG_##name##_CIV = base + 0x04, /* byte - current index value */ \ 70 ICH_REG_##name##_LVI = base + 0x05, /* byte - last valid index */ \ 71 ICH_REG_##name##_SR = base + 0x06, /* byte - status register */ \ 72 ICH_REG_##name##_PICB = base + 0x08, /* word - position in current buffer */ \ 73 ICH_REG_##name##_PIV = base + 0x0a, /* byte - prefetched index value */ \ 74 ICH_REG_##name##_CR = base + 0x0b, /* byte - control register */ \
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ast/ |
H A D | ast_mode.c | 280 /* Set CRTC; except base address and offset */ in ast_set_std_reg() 861 __drm_atomic_helper_crtc_reset(crtc, &ast_state->base); in ast_crtc_reset() 878 __drm_atomic_helper_crtc_duplicate_state(crtc, &new_ast_state->base); in ast_crtc_atomic_duplicate_state() 886 return &new_ast_state->base; in ast_crtc_atomic_duplicate_state() 894 __drm_atomic_helper_crtc_destroy_state(&ast_state->base); in ast_crtc_atomic_destroy_state() 971 drm_connector_update_edid_property(&ast_connector->base, edid); in ast_get_modes() 976 drm_connector_update_edid_property(&ast_connector->base, NULL); in ast_get_modes() 1061 struct drm_connector *connector = &ast_connector->base; in ast_connector_init() 1103 struct drm_device *dev = &ast->base; in ast_mode_config_init()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/ |
H A D | vc4_plane.c | 176 __drm_atomic_helper_plane_duplicate_state(plane, &vc4_state->base); in vc4_plane_duplicate_state() 189 return &vc4_state->base; in vc4_plane_duplicate_state() 207 __drm_atomic_helper_plane_destroy_state(&vc4_state->base); in vc4_plane_destroy_state() 222 __drm_atomic_helper_plane_reset(plane, &vc4_state->base); in vc4_plane_reset() 681 /* Adjust the base pointer to the first pixel to be scanned in vc4_plane_mode_set() 715 /* Intra-tile offsets, which modify the base address (the in vc4_plane_mode_set() 717 * base address). in vc4_plane_mode_set() 798 /* Adjust the base pointer to the first pixel to be scanned in vc4_plane_mode_set() 1100 container_of(state, typeof(*vc4_state), base); in vc4_plane_dlist_size() 1249 bo = to_vc4_bo(&drm_fb_cma_get_gem_obj(state->fb, 0)->base); in vc4_prepare_fb() [all...] |
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/ |
H A D | pci-keystone.c | 885 static void ks_pcie_am654_write_dbi2(struct dw_pcie *pci, void __iomem *base, in ks_pcie_am654_write_dbi2() argument 891 dw_pcie_write(base + reg, size, val); in ks_pcie_am654_write_dbi2() 1160 void __iomem *base; in ks_pcie_probe() local 1194 base = devm_pci_remap_cfg_resource(dev, res); in ks_pcie_probe() 1195 if (IS_ERR(base)) in ks_pcie_probe() 1196 return PTR_ERR(base); in ks_pcie_probe() 1201 pci->dbi_base = base; in ks_pcie_probe() 1202 pci->dbi_base2 = base; in ks_pcie_probe()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/rockchip/ |
H A D | dw-mipi-dsi-rockchip.c | 223 void __iomem *base; member 311 writel(val, dsi->base + reg); in dsi_write() 316 return readl(dsi->base + reg); in dsi_read() 1044 dsi->base = devm_ioremap_resource(dev, res); in dw_mipi_dsi_rockchip_probe() 1045 if (IS_ERR(dsi->base)) { in dw_mipi_dsi_rockchip_probe() 1047 return PTR_ERR(dsi->base); in dw_mipi_dsi_rockchip_probe() 1116 dsi->pdata.base = dsi->base; in dw_mipi_dsi_rockchip_probe()
|
/kernel/linux/linux-6.6/drivers/net/dsa/ |
H A D | rzn1_a5psw.c | 73 writel(value, a5psw->base + offset); in a5psw_reg_writel() 78 return readl(a5psw->base + offset); in a5psw_reg_readl() 156 ret = readl_poll_timeout(a5psw->base + A5PSW_LK_ADDR_CTRL, *ctrl, in a5psw_lk_execute_ctrl() 948 ret = readl_poll_timeout(a5psw->base + A5PSW_LK_CTRL, reg, in a5psw_setup() 1032 err = readl_poll_timeout(a5psw->base + A5PSW_MDIO_CFG_STATUS, status, in a5psw_mdio_wait_busy() 1207 a5psw->base = devm_platform_ioremap_resource(pdev, 0); in a5psw_probe() 1208 if (IS_ERR(a5psw->base)) in a5psw_probe() 1209 return PTR_ERR(a5psw->base); in a5psw_probe()
|
/kernel/linux/linux-6.6/include/net/sctp/ |
H A D | structs.h | 162 /* What is our base endpointer? */ 1229 * A common base class to bridge the implmentation view of a 1294 struct sctp_ep_common base; member 1360 static inline struct sctp_endpoint *sctp_ep(struct sctp_ep_common *base) in sctp_ep() argument 1364 ep = container_of(base, struct sctp_endpoint, base); in sctp_ep() 1578 /* A base structure common to endpoint and association. 1582 struct sctp_ep_common base; member 2128 static inline struct sctp_association *sctp_assoc(struct sctp_ep_common *base) in sctp_assoc() argument 2132 asoc = container_of(base, struc in sctp_assoc() [all...] |
/kernel/linux/linux-6.6/drivers/soundwire/ |
H A D | bus.c | 1283 u8 base; in sdw_slave_set_frequency() local 1287 * frequency base and scale registers are required for SDCA in sdw_slave_set_frequency() 1302 * map base frequency using Table 89 of SoundWire 1.2 spec. in sdw_slave_set_frequency() 1312 base = SDW_SCP_BASE_CLOCK_19200000_HZ; in sdw_slave_set_frequency() 1315 base = SDW_SCP_BASE_CLOCK_24000000_HZ; in sdw_slave_set_frequency() 1318 base = SDW_SCP_BASE_CLOCK_24576000_HZ; in sdw_slave_set_frequency() 1321 base = SDW_SCP_BASE_CLOCK_22579200_HZ; in sdw_slave_set_frequency() 1324 base = SDW_SCP_BASE_CLOCK_32000000_HZ; in sdw_slave_set_frequency() 1327 "Unsupported clock base, mclk %d\n", in sdw_slave_set_frequency() 1355 ret = sdw_write_no_pm(slave, SDW_SCP_BUS_CLOCK_BASE, base); in sdw_slave_set_frequency() [all...] |
/kernel/linux/linux-6.6/drivers/staging/vc04_services/interface/vchiq_arm/ |
H A D | vchiq_dev.c | 218 user_service = (struct user_service *)service->base.userdata; in vchiq_ioc_dequeue_message() 488 user_service = service->base.userdata; in vchiq_ioc_await_completion() 668 user_service = service->base.userdata; in vchiq_ioctl() 709 VCHIQ_FOURCC_AS_4CHARS(service->base.fourcc), in vchiq_ioctl() 849 (struct user_service *)service->base.userdata; in vchiq_ioctl() 1234 struct user_service *user_service = service->base.userdata; in vchiq_release() 1246 struct user_service *user_service = service->base.userdata; in vchiq_release() 1285 service->base.userdata; in vchiq_release()
|
/kernel/linux/linux-6.6/drivers/video/ |
H A D | sticore.c | 304 static void sti_rom_copy(unsigned long base, unsigned long count, void *dest) in sti_rom_copy() argument 311 *(u32 *)dest = gsc_readl(base); in sti_rom_copy() 312 base += 4; in sti_rom_copy() 317 *(u8 *)dest = gsc_readb(base); in sti_rom_copy() 318 base++; in sti_rom_copy() 737 static void sti_bmode_rom_copy(unsigned long base, unsigned long count, in sti_bmode_rom_copy() argument 744 *(u8 *)dest = gsc_readl(base); in sti_bmode_rom_copy() 745 base += 4; in sti_bmode_rom_copy()
|
/kernel/linux/linux-6.6/drivers/nvdimm/ |
H A D | label.c | 276 void *base = to_namespace_index(ndd, 0); in nd_label_base() local 278 return base + 2 * sizeof_namespace_index(ndd); in nd_label_base() 284 unsigned long label, base; in to_slot() local 287 base = (unsigned long) nd_label_base(ndd); in to_slot() 289 return (label - base) / sizeof_namespace_label(ndd); in to_slot() 294 unsigned long label, base; in to_label() local 296 base = (unsigned long) nd_label_base(ndd); in to_label() 297 label = base + sizeof_namespace_label(ndd) * slot; in to_label()
|
/kernel/linux/linux-6.6/drivers/pci/controller/dwc/ |
H A D | pcie-designware.c | 146 /* eDMA region can be mapped to a custom base address */ in dw_pcie_get_resources() 381 void __iomem *base; in dw_pcie_readl_atu() local 385 base = dw_pcie_select_atu(pci, dir, index); in dw_pcie_readl_atu() 388 return pci->ops->read_dbi(pci, base, reg, 4); in dw_pcie_readl_atu() 390 ret = dw_pcie_read(base + reg, 4, &val); in dw_pcie_readl_atu() 400 void __iomem *base; in dw_pcie_writel_atu() local 403 base = dw_pcie_select_atu(pci, dir, index); in dw_pcie_writel_atu() 406 pci->ops->write_dbi(pci, base, reg, 4, val); in dw_pcie_writel_atu() 410 ret = dw_pcie_write(base + reg, 4, val); in dw_pcie_writel_atu()
|
H A D | pci-keystone.c | 856 static void ks_pcie_am654_write_dbi2(struct dw_pcie *pci, void __iomem *base, in ks_pcie_am654_write_dbi2() argument 862 dw_pcie_write(base + reg, size, val); in ks_pcie_am654_write_dbi2() 1116 void __iomem *base; in ks_pcie_probe() local 1151 base = devm_pci_remap_cfg_resource(dev, res); in ks_pcie_probe() 1152 if (IS_ERR(base)) in ks_pcie_probe() 1153 return PTR_ERR(base); in ks_pcie_probe() 1158 pci->dbi_base = base; in ks_pcie_probe() 1159 pci->dbi_base2 = base; in ks_pcie_probe()
|
/kernel/linux/linux-6.6/drivers/pci/controller/ |
H A D | pcie-microchip-host.c | 210 .base = MC_PCIE_CTRL_ADDR, \ 218 .base = MC_PCIE_CTRL_ADDR, \ 226 .base = MC_PCIE_CTRL_ADDR, \ 234 .base = MC_PCIE_BRIDGE_ADDR, \ 347 u32 base; member 761 addr = port->axi_base_addr + event_descs[event].base + in mc_ack_event_irq() 777 addr = port->axi_base_addr + event_descs[event].base + in mc_mask_event_irq() 807 addr = port->axi_base_addr + event_descs[event].base + in mc_unmask_event_irq()
|
/kernel/linux/linux-6.6/drivers/parisc/ |
H A D | lba_pci.c | 283 #define LBA_CFG_MASTER_ABORT_CHECK(d, base, tok, error) { \ 289 WRITE_REG32(status_control | CLEAR_ERRLOG_ENABLE, base + LBA_STAT_CTL); \ 290 error_status = READ_REG32(base + LBA_ERROR_STATUS); \ 301 WRITE_REG32(status_control | CLEAR_ERRLOG, base + LBA_STAT_CTL); \ 319 #define LBA_CFG_RESTORE(d, base) { \ 323 WRITE_REG32(status_control, base + LBA_STAT_CTL); \ 327 WRITE_REG32(error_config, base + LBA_ERROR_CONFIG); \ 331 WRITE_REG32(arb_mask, base + LBA_ARB_MASK); \ 705 ** But it needs to access local data structures to get the IRQ base. 966 ** Then add the base an [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/ |
H A D | intel_overlay.c | 677 to_intel_plane_state(overlay->crtc->base.primary->state); in update_colorkey() 1085 if (rec->offset_Y + tmp > new_bo->base.size) in check_overlay_src() 1096 if (rec->offset_Y + tmp > new_bo->base.size) in check_overlay_src() 1100 if (rec->offset_U + tmp > new_bo->base.size || in check_overlay_src() 1101 rec->offset_V + tmp > new_bo->base.size) in check_overlay_src() 1457 unsigned long base; member 1477 error->base = overlay->flip_addr; in intel_overlay_capture_error_state() 1491 error->base); in intel_overlay_print_error_state()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tiny/ |
H A D | ofdrm.c | 221 * framebuffer base address from the device's memory regions. in display_get_address_of() 736 struct drm_crtc_state base; member 742 static struct ofdrm_crtc_state *to_ofdrm_crtc_state(struct drm_crtc_state *base) in to_ofdrm_crtc_state() argument 744 return container_of(base, struct ofdrm_crtc_state, base); in to_ofdrm_crtc_state() 749 __drm_atomic_helper_crtc_destroy_state(&ofdrm_crtc_state->base); in ofdrm_crtc_state_destroy() 948 __drm_atomic_helper_crtc_reset(crtc, &ofdrm_crtc_state->base); in ofdrm_crtc_reset() 969 __drm_atomic_helper_crtc_duplicate_state(crtc, &new_ofdrm_crtc_state->base); in ofdrm_crtc_atomic_duplicate_state() 972 return &new_ofdrm_crtc_state->base; in ofdrm_crtc_atomic_duplicate_state()
|
/kernel/linux/linux-6.6/drivers/iommu/intel/ |
H A D | irq_remapping.c | 175 irte = &iommu->ir_table->base[index]; in modify_irte() 242 start = iommu->ir_table->base + index; in clear_entries() 444 memcpy(iommu->ir_table->base, old_ir_table, size); in iommu_load_old_irte() 446 __iommu_flush_cache(iommu, iommu->ir_table->base, size); in iommu_load_old_irte() 453 if (iommu->ir_table->base[i].present) in iommu_load_old_irte() 469 addr = virt_to_phys((void *)iommu->ir_table->base); in iommu_set_irq_remapping() 576 ir_table->base = page_address(pages); in intel_setup_irq_remapping() 646 free_pages((unsigned long)iommu->ir_table->base, in intel_teardown_irq_remapping() 883 pr_info("HPET id %d under DRHD base 0x%Lx\n", in ir_parse_one_hpet_scope() 928 pr_info("IOAPIC id %d under DRHD base in ir_parse_one_ioapic_scope() [all...] |
/kernel/linux/linux-6.6/drivers/iommu/ |
H A D | rockchip-iommu.c | 335 static u32 rk_iommu_read(void __iomem *base, u32 offset) in rk_iommu_read() argument 337 return readl(base + offset); in rk_iommu_read() 340 static void rk_iommu_write(void __iomem *base, u32 offset, u32 value) in rk_iommu_write() argument 342 writel(value, base + offset); in rk_iommu_write() 353 static void rk_iommu_base_command(void __iomem *base, u32 command) in rk_iommu_base_command() argument 355 writel(command, base + RK_MMU_COMMAND); in rk_iommu_base_command() 535 void __iomem *base = iommu->bases[index]; in log_iova() local 551 mmu_dte_addr = rk_iommu_read(base, RK_MMU_DTE_ADDR); in log_iova()
|
/kernel/linux/linux-6.6/sound/pci/ |
H A D | intel8x0m.c | 51 #define DEFINE_REGSET(name,base) \ 53 ICH_REG_##name##_BDBAR = base + 0x0, /* dword - buffer descriptor list base address */ \ 54 ICH_REG_##name##_CIV = base + 0x04, /* byte - current index value */ \ 55 ICH_REG_##name##_LVI = base + 0x05, /* byte - last valid index */ \ 56 ICH_REG_##name##_SR = base + 0x06, /* byte - status register */ \ 57 ICH_REG_##name##_PICB = base + 0x08, /* word - position in current buffer */ \ 58 ICH_REG_##name##_PIV = base + 0x0a, /* byte - prefetched index value */ \ 59 ICH_REG_##name##_CR = base + 0x0b, /* byte - control register */ \
|
/kernel/liteos_a/arch/arm/arm/src/ |
H A D | los_exc.c | 293 return region->range.base; in OsGetTextRegionBase() 299 lastRegion = LOS_RegionFind(runProcess->vmSpace, curRegion->range.base - 1); in OsGetTextRegionBase() 309 if (curRegion->range.base == EXEC_MMAP_BASE) { in OsGetTextRegionBase() 313 return curRegion->range.base; in OsGetTextRegionBase() 334 runProcess->vmSpace->base, in OsExcSysInfo() 335 runProcess->vmSpace->base + runProcess->vmSpace->size, in OsExcSysInfo() 435 pageBase = region->range.base + i * PAGE_SIZE; in OsDumpExcVaddrRegion() 477 PrintExcInfo("%3u -> regionBase: 0x%08x regionSize: 0x%08x\n", count, region->range.base, region->range.size); in OsDumpProcessUsedMemRegion()
|
/kernel/linux/linux-6.6/kernel/trace/ |
H A D | trace_uprobe.c | 142 fetch_store_string(unsigned long addr, void *dest, void *base) in fetch_store_string() argument 147 u8 *dst = get_loc_data(dest, base); in fetch_store_string() 167 *(u32 *)dest = make_data_loc(ret, (void *)dst - base); in fetch_store_string() 169 *(u32 *)dest = make_data_loc(0, (void *)dst - base); in fetch_store_string() 175 fetch_store_string_user(unsigned long addr, void *dest, void *base) in fetch_store_string_user() argument 177 return fetch_store_string(addr, dest, base); in fetch_store_string_user() 215 void *base) in process_fetch_insn() 248 return process_fetch_insn_bottom(code, val, dest, base); in process_fetch_insn() 214 process_fetch_insn(struct fetch_insn *code, void *rec, void *dest, void *base) process_fetch_insn() argument
|
/kernel/linux/linux-6.6/lib/zstd/compress/ |
H A D | huf_compress.c | 236 /* Prepare base value per rank */ in HUF_readCTable() 428 U16 base; member 551 /* Compute base and set curr to base. in HUF_sort() 554 * We attribute each symbol to lowerRank's base value, because we want to know where in HUF_sort() 561 rankPosition[lowerRank].base++; in HUF_sort() 564 assert(rankPosition[RANK_POSITION_TABLE_SIZE - 1].base == 0); in HUF_sort() 567 rankPosition[n-1].base += rankPosition[n].base; in HUF_sort() 568 rankPosition[n-1].curr = rankPosition[n-1].base; in HUF_sort() [all...] |