Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/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()
1306 unsigned int log_addr) in cec_config_log_addr() argument
1314 if (cec_has_log_addr(adap, log_addr)) in cec_config_log_addr()
1319 msg.msg[0] = (log_addr << 4) | log_addr; in cec_config_log_addr()
1364 log_addr, msg.tx_status); in cec_config_log_addr()
1372 err = call_op(adap, adap_log_addr, log_addr); in cec_config_log_addr()
1376 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.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()
/linux-6.12.1/drivers/media/cec/usb/extron-da-hd-4k-plus/
Dcec-splitter.c43 cec_msg_init(&msg, adap->log_addrs.log_addr[0], 0); in cec_port_out_active_source()
65 cec_msg_init(&msg, adap->log_addrs.log_addr[0], 0); in cec_port_out_standby()
83 u8 la = adap->log_addrs.log_addr[0]; in cec_port_out_wakeup()
157 cec_msg_init(&msg, adap->log_addrs.log_addr[0], 0); in cec_out_passthrough()
210 cec_msg_init(&reply, input_adap->log_addrs.log_addr[0], in cec_out_report_current_latency()
250 cec_msg_init(&msg, adap->log_addrs.log_addr[0], 0); in cec_out_request_current_latency()
310 cec_msg_init(&reply, input_adap->log_addrs.log_addr[0], in cec_out_report_power_status()
345 cec_msg_init(&msg, adap->log_addrs.log_addr[0], 0); in cec_out_give_device_power_status()
Dextron-da-hd-4k-plus.c983 static int extron_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in extron_cec_adap_log_addr() argument
988 u8 la = log_addr == CEC_LOG_ADDR_INVALID ? 15 : log_addr; in extron_cec_adap_log_addr()
998 return log_addr != CEC_LOG_ADDR_INVALID && err ? err : 0; in extron_cec_adap_log_addr()
/linux-6.12.1/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.12.1/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.12.1/include/uapi/linux/
Dcec.h385 __u8 log_addr[CEC_MAX_LOG_ADDRS]; member
1174 las->log_addr[0] >= CEC_LOG_ADDR_SPECIFIC && in cec_is_2nd_tv()
1185 las->log_addr[0] >= CEC_LOG_ADDR_BACKUP_1 && in cec_is_processor()
1196 las->log_addr[0] == CEC_LOG_ADDR_UNREGISTERED && in cec_is_switch()
1208 las->log_addr[0] == CEC_LOG_ADDR_UNREGISTERED && in cec_is_cdc_only()
/linux-6.12.1/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.12.1/include/linux/
Dtboot.h76 u32 log_addr; member
/linux-6.12.1/include/media/
Dcec.h337 static inline bool cec_has_log_addr(const struct cec_adapter *adap, u8 log_addr) in cec_has_log_addr() argument
339 return adap->log_addrs.log_addr_mask & (1 << log_addr); in cec_has_log_addr()
/linux-6.12.1/drivers/cxl/core/
Dpci.c679 u32 *log_addr; in header_log_copy() local
683 log_addr = log; in header_log_copy()
686 *log_addr = readl(addr); in header_log_copy()
687 log_addr++; in header_log_copy()
/linux-6.12.1/drivers/media/test-drivers/vivid/
Dvivid-cec.c271 static int vivid_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in vivid_cec_adap_log_addr() argument
321 dest = adap->log_addrs.log_addr[0]; in vivid_received()
/linux-6.12.1/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.12.1/drivers/vhost/
Dvhost.h126 u64 log_addr; member
Dvhost.c373 vq->log_addr = -1ull; in vhost_vq_reset()
1762 u64 log_addr) in vq_log_used_access_ok() argument
1769 return !log_used || log_access_ok(log_base, log_addr, in vq_log_used_access_ok()
1780 vq_log_used_access_ok(vq, log_base, vq->log_used, vq->log_addr); in vq_log_access_ok()
1928 vq->log_addr = a.log_guest_addr; in vhost_vring_set_addr()
2290 return log_write(vq->log_base, vq->log_addr + used_offset, len); in log_used()
/linux-6.12.1/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.12.1/arch/x86/kernel/
Dtboot.c66 pr_debug("log_addr: 0x%08x\n", tboot->log_addr); in check_tboot_version()
/linux-6.12.1/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.12.1/drivers/gpu/drm/vc4/
Dvc4_hdmi.c2698 static int vc4_hdmi_cec_adap_log_addr(struct cec_adapter *adap, u8 log_addr) in vc4_hdmi_cec_adap_log_addr() argument
2717 (log_addr & 0xf) << VC4_HDMI_CEC_ADDR_SHIFT); in vc4_hdmi_cec_adap_log_addr()
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c334 uint log_addr; /* Log struct address (fixed) */ member