Home
last modified time | relevance | path

Searched refs:log_addr (Results 1 – 22 of 22) sorted by relevance

/kernel/linux/common_modules/tzdriver/tlogger/
Dlog_pages_cfg.c43 uint64_t log_addr; member
51 if (g_mem_info.log_addr != 0 || g_mem_info.log_len != 0) { in tee_pages_register_core()
52 if (memset_s((void *)g_mem_info.log_addr, g_mem_info.log_len, 0, g_mem_info.log_len) != 0) { in tee_pages_register_core()
59 g_mem_info.log_addr = get_log_mem_vaddr(); in tee_pages_register_core()
60 if (IS_ERR_OR_NULL((void *)(uintptr_t)g_mem_info.log_addr)) { in tee_pages_register_core()
84 mem_addr = get_log_mem_paddr(g_mem_info.log_addr); in register_log_mem()
91 *addr = g_mem_info.log_addr; in register_log_mem()
/kernel/linux/linux-5.10/drivers/mtd/
Dftl.c751 uint32_t log_addr, bsize; in ftl_read() local
769 log_addr = part->VirtualBlockMap[sector+i]; in ftl_read()
770 if (log_addr == 0xffffffff) in ftl_read()
773 offset = (part->EUNInfo[log_addr / bsize].Offset in ftl_read()
774 + (log_addr % bsize)); in ftl_read()
794 static int set_bam_entry(partition_t *part, uint32_t log_addr, in set_bam_entry() argument
806 part, log_addr, virt_addr); in set_bam_entry()
808 eun = log_addr / bsize; in set_bam_entry()
809 blk = (log_addr % bsize) / SECTOR_SIZE; in set_bam_entry()
829 ", new = 0x%x\n", log_addr, old_addr, virt_addr); in set_bam_entry()
[all …]
/kernel/linux/linux-5.10/drivers/media/cec/core/
Dcec-adap.c51 static int cec_log_addr2idx(const struct cec_adapter *adap, u8 log_addr) in cec_log_addr2idx() argument
56 if (adap->log_addrs.log_addr[i] == log_addr) in cec_log_addr2idx()
61 static unsigned int cec_log_addr2dev(const struct cec_adapter *adap, u8 log_addr) in cec_log_addr2dev() argument
63 int i = cec_log_addr2idx(adap, log_addr); in cec_log_addr2dev()
1253 unsigned int log_addr) in cec_config_log_addr() argument
1261 if (cec_has_log_addr(adap, log_addr)) in cec_config_log_addr()
1266 msg.msg[0] = (log_addr << 4) | log_addr; in cec_config_log_addr()
1311 err = adap->ops->adap_log_addr(adap, log_addr); in cec_config_log_addr()
1315 las->log_addr[idx] = log_addr; in cec_config_log_addr()
1316 las->log_addr_mask |= 1 << log_addr; in cec_config_log_addr()
[all …]
Dcec-api.c158 memset(log_addrs.log_addr, CEC_LOG_ADDR_INVALID, in cec_adap_g_log_addrs()
159 sizeof(log_addrs.log_addr)); in cec_adap_g_log_addrs()
Dcec-pin.c1152 static int cec_pin_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in cec_pin_adap_log_addr() argument
1156 if (log_addr == CEC_LOG_ADDR_INVALID) in cec_pin_adap_log_addr()
1159 pin->la_mask |= (1 << log_addr); in cec_pin_adap_log_addr()
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/dss/
Dhdmi4_cec.c256 static int hdmi_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in hdmi_cec_adap_log_addr() argument
261 if (log_addr == CEC_LOG_ADDR_INVALID) { in hdmi_cec_adap_log_addr()
266 if (log_addr <= 7) { in hdmi_cec_adap_log_addr()
268 v |= 1 << log_addr; in hdmi_cec_adap_log_addr()
272 v |= 1 << (log_addr - 8); in hdmi_cec_adap_log_addr()
/kernel/linux/linux-5.10/drivers/media/cec/usb/rainshadow/
Drainshadow-cec.c263 static int rain_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in rain_cec_adap_log_addr() argument
268 if (log_addr == CEC_LOG_ADDR_INVALID) in rain_cec_adap_log_addr()
269 log_addr = CEC_LOG_ADDR_UNREGISTERED; in rain_cec_adap_log_addr()
270 snprintf(cmd, sizeof(cmd), "A %x", log_addr); in rain_cec_adap_log_addr()
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
Dcec.h189 __u8 log_addr[CEC_MAX_LOG_ADDRS]; member
592 las->log_addr[0] >= CEC_LOG_ADDR_SPECIFIC && in cec_is_2nd_tv()
599 las->log_addr[0] >= CEC_LOG_ADDR_BACKUP_1 && in cec_is_processor()
606 las->log_addr[0] == CEC_LOG_ADDR_UNREGISTERED && in cec_is_switch()
614 las->log_addr[0] == CEC_LOG_ADDR_UNREGISTERED && in cec_is_cdc_only()
/kernel/linux/linux-5.10/include/uapi/linux/
Dcec.h358 __u8 log_addr[CEC_MAX_LOG_ADDRS]; member
1144 las->log_addr[0] >= CEC_LOG_ADDR_SPECIFIC && in cec_is_2nd_tv()
1155 las->log_addr[0] >= CEC_LOG_ADDR_BACKUP_1 && in cec_is_processor()
1166 las->log_addr[0] == CEC_LOG_ADDR_UNREGISTERED && in cec_is_switch()
1178 las->log_addr[0] == CEC_LOG_ADDR_UNREGISTERED && in cec_is_cdc_only()
/kernel/linux/linux-5.10/drivers/media/cec/usb/pulse8/
Dpulse8-cec.c501 static int pulse8_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in pulse8_cec_adap_log_addr() argument
510 if (log_addr != CEC_LOG_ADDR_INVALID) in pulse8_cec_adap_log_addr()
511 mask = 1 << log_addr; in pulse8_cec_adap_log_addr()
521 cmd[1] = log_addr == CEC_LOG_ADDR_INVALID ? 0 : 1; in pulse8_cec_adap_log_addr()
527 if (log_addr == CEC_LOG_ADDR_INVALID) in pulse8_cec_adap_log_addr()
572 cmd[1] = log_addr; in pulse8_cec_adap_log_addr()
620 return log_addr == CEC_LOG_ADDR_INVALID ? 0 : err; in pulse8_cec_adap_log_addr()
/kernel/linux/linux-5.10/include/linux/
Dtboot.h76 u32 log_addr; member
/kernel/linux/linux-5.10/include/media/
Dcec.h262 static inline bool cec_has_log_addr(const struct cec_adapter *adap, u8 log_addr) in cec_has_log_addr() argument
264 return adap->log_addrs.log_addr_mask & (1 << log_addr); in cec_has_log_addr()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/
Dvivid-cec.c182 static int vivid_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in vivid_cec_adap_log_addr() argument
234 dest = adap->log_addrs.log_addr[0]; in vivid_received()
/kernel/linux/linux-5.10/drivers/media/cec/i2c/
Dch7322.c340 static int ch7322_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in ch7322_cec_adap_log_addr() argument
347 CH7322_ADDLW_MASK, log_addr << 4); in ch7322_cec_adap_log_addr()
/kernel/linux/linux-5.10/drivers/vhost/
Dvhost.h114 u64 log_addr; member
Dvhost.c327 vq->log_addr = -1ull; in vhost_vq_reset()
1388 u64 log_addr) in vq_log_used_access_ok() argument
1395 return !log_used || log_access_ok(log_base, log_addr, in vq_log_used_access_ok()
1406 vq_log_used_access_ok(vq, log_base, vq->log_used, vq->log_addr); in vq_log_access_ok()
1554 vq->log_addr = a.log_guest_addr; in vhost_vring_set_addr()
1922 return log_write(vq->log_base, vq->log_addr + used_offset, len); in log_used()
/kernel/linux/linux-5.10/arch/x86/kernel/
Dtboot.c84 pr_debug("log_addr: 0x%08x\n", tboot->log_addr); in tboot_probe()
/kernel/linux/linux-5.10/Documentation/userspace-api/media/cec/
Dcec-ioc-adap-g-log-addrs.rst80 - ``log_addr[CEC_MAX_LOG_ADDRS]``
84 ``log_addr[0]`` is set to 0xf and all others to
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dcec.h119 __u8 log_addr[CEC_MAX_LOG_ADDRS]; member
/kernel/linux/linux-5.10/drivers/media/i2c/
Dtc358743.c884 static int tc358743_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in tc358743_cec_adap_log_addr() argument
890 if (log_addr != CEC_LOG_ADDR_INVALID) { in tc358743_cec_adap_log_addr()
892 la |= 1 << log_addr; in tc358743_cec_adap_log_addr()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_hdmi.c1437 static int vc4_hdmi_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in vc4_hdmi_cec_adap_log_addr() argument
1443 (log_addr & 0xf) << VC4_HDMI_CEC_ADDR_SHIFT); in vc4_hdmi_cec_adap_log_addr()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c336 uint log_addr; /* Log struct address (fixed) */ member