Home
last modified time | relevance | path

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

/linux-6.1.9/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 …]
/linux-6.1.9/drivers/media/cec/core/
Dcec-adap.c30 static int cec_log_addr2idx(const struct cec_adapter *adap, u8 log_addr) in cec_log_addr2idx() argument
35 if (adap->log_addrs.log_addr[i] == log_addr) in cec_log_addr2idx()
40 static unsigned int cec_log_addr2dev(const struct cec_adapter *adap, u8 log_addr) in cec_log_addr2dev() argument
42 int i = cec_log_addr2idx(adap, log_addr); in cec_log_addr2dev()
1257 unsigned int log_addr) in cec_config_log_addr() argument
1265 if (cec_has_log_addr(adap, log_addr)) in cec_config_log_addr()
1270 msg.msg[0] = (log_addr << 4) | log_addr; in cec_config_log_addr()
1315 log_addr, msg.tx_status); in cec_config_log_addr()
1323 err = call_op(adap, adap_log_addr, log_addr); in cec_config_log_addr()
1327 las->log_addr[idx] = 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.c1156 static int cec_pin_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in cec_pin_adap_log_addr() argument
1160 if (log_addr == CEC_LOG_ADDR_INVALID) in cec_pin_adap_log_addr()
1163 pin->la_mask |= (1 << log_addr); in cec_pin_adap_log_addr()
/linux-6.1.9/drivers/gpu/drm/omapdrm/dss/
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()
/linux-6.1.9/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()
/linux-6.1.9/include/uapi/linux/
Dcec.h378 __u8 log_addr[CEC_MAX_LOG_ADDRS]; member
1167 las->log_addr[0] >= CEC_LOG_ADDR_SPECIFIC && in cec_is_2nd_tv()
1178 las->log_addr[0] >= CEC_LOG_ADDR_BACKUP_1 && in cec_is_processor()
1189 las->log_addr[0] == CEC_LOG_ADDR_UNREGISTERED && in cec_is_switch()
1201 las->log_addr[0] == CEC_LOG_ADDR_UNREGISTERED && in cec_is_cdc_only()
/linux-6.1.9/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()
/linux-6.1.9/include/linux/
Dtboot.h76 u32 log_addr; member
/linux-6.1.9/include/media/
Dcec.h283 static inline bool cec_has_log_addr(const struct cec_adapter *adap, u8 log_addr) in cec_has_log_addr() argument
285 return adap->log_addrs.log_addr_mask & (1 << log_addr); in cec_has_log_addr()
/linux-6.1.9/drivers/media/test-drivers/vivid/
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()
/linux-6.1.9/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()
/linux-6.1.9/drivers/vhost/
Dvhost.h108 u64 log_addr; member
Dvhost.c319 vq->log_addr = -1ull; in vhost_vq_reset()
1399 u64 log_addr) in vq_log_used_access_ok() argument
1406 return !log_used || log_access_ok(log_base, log_addr, in vq_log_used_access_ok()
1417 vq_log_used_access_ok(vq, log_base, vq->log_used, vq->log_addr); in vq_log_access_ok()
1565 vq->log_addr = a.log_guest_addr; in vhost_vring_set_addr()
1925 return log_write(vq->log_base, vq->log_addr + used_offset, len); in log_used()
/linux-6.1.9/arch/x86/kernel/
Dtboot.c66 pr_debug("log_addr: 0x%08x\n", tboot->log_addr); in check_tboot_version()
/linux-6.1.9/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
/linux-6.1.9/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()
/linux-6.1.9/drivers/gpu/drm/vc4/
Dvc4_hdmi.c2911 static int vc4_hdmi_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in vc4_hdmi_cec_adap_log_addr() argument
2930 (log_addr & 0xf) << VC4_HDMI_CEC_ADDR_SHIFT); in vc4_hdmi_cec_adap_log_addr()
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c336 uint log_addr; /* Log struct address (fixed) */ member