Home
last modified time | relevance | path

Searched refs:logical_addr (Results 1 – 10 of 10) sorted by relevance

/linux-5.19.10/drivers/media/cec/platform/meson/ !
Dao-cec-g12a.c500 meson_ao_cec_g12a_set_log_addr(struct cec_adapter *adap, u8 logical_addr) in meson_ao_cec_g12a_set_log_addr() argument
505 if (logical_addr == CEC_LOG_ADDR_INVALID) { in meson_ao_cec_g12a_set_log_addr()
511 } else if (logical_addr < 8) { in meson_ao_cec_g12a_set_log_addr()
513 BIT(logical_addr), in meson_ao_cec_g12a_set_log_addr()
514 BIT(logical_addr)); in meson_ao_cec_g12a_set_log_addr()
517 BIT(logical_addr - 8), in meson_ao_cec_g12a_set_log_addr()
518 BIT(logical_addr - 8)); in meson_ao_cec_g12a_set_log_addr()
Dao-cec.c484 static int meson_ao_cec_set_log_addr(struct cec_adapter *adap, u8 logical_addr) in meson_ao_cec_set_log_addr() argument
498 if (logical_addr == CEC_LOG_ADDR_INVALID) in meson_ao_cec_set_log_addr()
502 logical_addr & LOGICAL_ADDR_MASK, &ret); in meson_ao_cec_set_log_addr()
509 (logical_addr & LOGICAL_ADDR_MASK) | in meson_ao_cec_set_log_addr()
/linux-5.19.10/drivers/gpu/drm/bridge/synopsys/ !
Ddw-hdmi-cec.c77 static int dw_hdmi_cec_log_addr(struct cec_adapter *adap, u8 logical_addr) in dw_hdmi_cec_log_addr() argument
81 if (logical_addr == CEC_LOG_ADDR_INVALID) in dw_hdmi_cec_log_addr()
84 cec->addresses |= BIT(logical_addr) | BIT(15); in dw_hdmi_cec_log_addr()
/linux-5.19.10/drivers/media/cec/platform/sti/ !
Dstih-cec.c188 static int stih_cec_adap_log_addr(struct cec_adapter *adap, u8 logical_addr) in stih_cec_adap_log_addr() argument
193 reg |= 1 << logical_addr; in stih_cec_adap_log_addr()
195 if (logical_addr == CEC_LOG_ADDR_INVALID) in stih_cec_adap_log_addr()
/linux-5.19.10/drivers/media/cec/platform/stm32/ !
Dstm32-cec.c194 static int stm32_cec_adap_log_addr(struct cec_adapter *adap, u8 logical_addr) in stm32_cec_adap_log_addr() argument
197 u32 oar = (1 << logical_addr) << 16; in stm32_cec_adap_log_addr()
205 if (logical_addr == CEC_LOG_ADDR_INVALID) in stm32_cec_adap_log_addr()
/linux-5.19.10/drivers/media/cec/platform/tegra/ !
Dtegra_cec.c250 static int tegra_cec_adap_log_addr(struct cec_adapter *adap, u8 logical_addr) in tegra_cec_adap_log_addr() argument
255 if (logical_addr == CEC_LOG_ADDR_INVALID) in tegra_cec_adap_log_addr()
258 state |= TEGRA_CEC_HWCTRL_RX_LADDR((1 << logical_addr)); in tegra_cec_adap_log_addr()
/linux-5.19.10/drivers/media/cec/platform/cros-ec/ !
Dcros-ec-cec.c92 static int cros_ec_cec_set_log_addr(struct cec_adapter *adap, u8 logical_addr) in cros_ec_cec_set_log_addr() argument
105 msg.data.val = logical_addr; in cros_ec_cec_set_log_addr()
/linux-5.19.10/drivers/media/cec/platform/seco/ !
Dseco-cec.c139 static int secocec_adap_log_addr(struct cec_adapter *adap, u8 logical_addr) in secocec_adap_log_addr() argument
157 status = smb_wr16(SECOCEC_DEVICE_LA, logical_addr & 0xf); in secocec_adap_log_addr()
/linux-5.19.10/Documentation/driver-api/media/ !
Dcec-core.rst111 int (*adap_log_addr)(struct cec_adapter *adap, u8 logical_addr);
171 int (*adap_log_addr)(struct cec_adapter *adap, u8 logical_addr);
173 If logical_addr == CEC_LOG_ADDR_INVALID then all programmed logical addresses
179 Note that adap_log_addr must return 0 if logical_addr is CEC_LOG_ADDR_INVALID.
/linux-5.19.10/include/media/ !
Dcec.h120 int (*adap_log_addr)(struct cec_adapter *adap, u8 logical_addr);