Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/
H A 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()
774 + (log_addr % bsize)); in ftl_read()
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()
857 log_addr, virt_addr); in set_bam_entry()
906 if (set_bam_entry(part, log_addr, 0xfffffffe)) in ftl_write()
931 if (set_bam_entry(part, log_addr, virt_addr)) in ftl_write()
[all …]
/openbmc/linux/drivers/media/cec/core/
H A Dcec-adap.c35 if (adap->log_addrs.log_addr[i] == log_addr) in cec_log_addr2idx()
42 int i = cec_log_addr2idx(adap, log_addr); in cec_log_addr2dev()
1259 unsigned int log_addr) in cec_config_log_addr() argument
1267 if (cec_has_log_addr(adap, log_addr)) in cec_config_log_addr()
1272 msg.msg[0] = (log_addr << 4) | log_addr; in cec_config_log_addr()
1317 log_addr, msg.tx_status); in cec_config_log_addr()
1329 las->log_addr[idx] = log_addr; in cec_config_log_addr()
1330 las->log_addr_mask |= 1 << log_addr; in cec_config_log_addr()
1433 last_la = las->log_addr[i]; in cec_config_thread_func()
1434 las->log_addr[i] = CEC_LOG_ADDR_INVALID; in cec_config_thread_func()
[all …]
H A 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()
H A Dcec-pin.c1166 static int cec_pin_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in cec_pin_adap_log_addr() argument
1170 if (log_addr == CEC_LOG_ADDR_INVALID) in cec_pin_adap_log_addr()
1173 pin->la_mask |= (1 << log_addr); in cec_pin_adap_log_addr()
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A Dhdmi4_cec.c244 static int hdmi_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in hdmi_cec_adap_log_addr() argument
249 if (log_addr == CEC_LOG_ADDR_INVALID) { in hdmi_cec_adap_log_addr()
254 if (log_addr <= 7) { in hdmi_cec_adap_log_addr()
256 v |= 1 << log_addr; in hdmi_cec_adap_log_addr()
260 v |= 1 << (log_addr - 8); in hdmi_cec_adap_log_addr()
/openbmc/linux/drivers/media/cec/usb/rainshadow/
H A 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()
/openbmc/linux/include/uapi/linux/
H A Dcec.h382 __u8 log_addr[CEC_MAX_LOG_ADDRS]; member
1171 las->log_addr[0] >= CEC_LOG_ADDR_SPECIFIC && in cec_is_2nd_tv()
1182 las->log_addr[0] >= CEC_LOG_ADDR_BACKUP_1 && in cec_is_processor()
1193 las->log_addr[0] == CEC_LOG_ADDR_UNREGISTERED && in cec_is_switch()
1205 las->log_addr[0] == CEC_LOG_ADDR_UNREGISTERED && in cec_is_cdc_only()
/openbmc/linux/drivers/media/cec/usb/pulse8/
H A 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()
/openbmc/linux/include/linux/
H A Dtboot.h76 u32 log_addr; member
/openbmc/linux/drivers/cxl/core/
H A Dpci.c665 u32 *log_addr; in header_log_copy() local
669 log_addr = log; in header_log_copy()
672 *log_addr = readl(addr); in header_log_copy()
673 log_addr++; in header_log_copy()
/openbmc/linux/include/media/
H A Dcec.h287 static inline bool cec_has_log_addr(const struct cec_adapter *adap, u8 log_addr) in cec_has_log_addr() argument
289 return adap->log_addrs.log_addr_mask & (1 << log_addr); in cec_has_log_addr()
/openbmc/linux/drivers/media/test-drivers/vivid/
H A Dvivid-cec.c236 static int vivid_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in vivid_cec_adap_log_addr() argument
273 dest = adap->log_addrs.log_addr[0]; in vivid_received()
/openbmc/linux/drivers/media/cec/i2c/
H A 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()
/openbmc/linux/drivers/vhost/
H A Dvhost.h126 u64 log_addr; member
H A Dvhost.c385 vq->log_addr = -1ull; in vhost_vq_reset()
1748 u64 log_addr) in vq_log_used_access_ok() argument
1755 return !log_used || log_access_ok(log_base, log_addr, in vq_log_used_access_ok()
1766 vq_log_used_access_ok(vq, log_base, vq->log_used, vq->log_addr); in vq_log_access_ok()
1914 vq->log_addr = a.log_guest_addr; in vhost_vring_set_addr()
2276 return log_write(vq->log_base, vq->log_addr + used_offset, len); in log_used()
/openbmc/linux/arch/x86/kernel/
H A Dtboot.c66 pr_debug("log_addr: 0x%08x\n", tboot->log_addr); in check_tboot_version()
/openbmc/linux/Documentation/userspace-api/media/cec/
H A 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
/openbmc/linux/drivers/media/i2c/
H A 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()
/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_hdmi.c3169 static int vc4_hdmi_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in vc4_hdmi_cec_adap_log_addr() argument
3188 (log_addr & 0xf) << VC4_HDMI_CEC_ADDR_SHIFT); in vc4_hdmi_cec_adap_log_addr()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dsdio.c334 uint log_addr; /* Log struct address (fixed) */ member