Searched refs:logical_addr (Results 1 – 8 of 8) sorted by relevance
/drivers/media/cec/platform/meson/ |
D | ao-cec-g12a.c | 500 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()
|
D | ao-cec.c | 484 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()
|
/drivers/gpu/drm/bridge/synopsys/ |
D | dw-hdmi-cec.c | 77 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()
|
/drivers/media/cec/platform/sti/ |
D | stih-cec.c | 188 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()
|
/drivers/media/cec/platform/stm32/ |
D | stm32-cec.c | 194 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()
|
/drivers/media/cec/platform/tegra/ |
D | tegra_cec.c | 250 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()
|
/drivers/media/cec/platform/cros-ec/ |
D | cros-ec-cec.c | 94 static int cros_ec_cec_set_log_addr(struct cec_adapter *adap, u8 logical_addr) in cros_ec_cec_set_log_addr() argument 107 msg.data.val = logical_addr; in cros_ec_cec_set_log_addr()
|
/drivers/media/cec/platform/seco/ |
D | seco-cec.c | 152 static int secocec_adap_log_addr(struct cec_adapter *adap, u8 logical_addr) in secocec_adap_log_addr() argument 170 status = smb_wr16(SECOCEC_DEVICE_LA, logical_addr & 0xf); in secocec_adap_log_addr()
|