/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/cec/platform/s5p/ |
H A D | s5p_cec.c | 43 s5p_cec_reset(cec); in s5p_cec_adap_enable() 116 s5p_cec_get_rx_buf(cec, cec->msg.len, in s5p_cec_irq_handler() 117 cec->msg.msg); in s5p_cec_irq_handler() 158 cec_received_msg(cec->adap, &cec->msg); in s5p_cec_irq_handler_thread() 188 cec = devm_kzalloc(&pdev->dev, sizeof(*cec), GFP_KERNEL); in s5p_cec_probe() 189 if (!cec) in s5p_cec_probe() 192 cec->dev = dev; in s5p_cec_probe() 195 if (cec->irq < 0) in s5p_cec_probe() 196 return cec->irq; in s5p_cec_probe() 242 cec_notifier_cec_adap_unregister(cec->notifier, cec->adap); in s5p_cec_probe() [all …]
|
H A D | exynos_hdmi_cecctrl.c | 54 reg = readb(cec->reg + S5P_CEC_RX_CTRL); in s5p_cec_enable_rx() 56 writeb(reg, cec->reg + S5P_CEC_RX_CTRL); in s5p_cec_enable_rx() 63 reg = readb(cec->reg + S5P_CEC_IRQ_MASK); in s5p_cec_mask_rx_interrupts() 106 reg = readb(cec->reg + 0xc4); in s5p_cec_reset() 108 writeb(reg, cec->reg + 0xc4); in s5p_cec_reset() 122 reg = readb(cec->reg + 0xc4); in s5p_cec_rx_reset() 124 writeb(reg, cec->reg + 0xc4); in s5p_cec_rx_reset() 151 dev_dbg(cec->dev, "Broadcast"); in s5p_cec_copy_packet() 154 dev_dbg(cec->dev, "No Broadcast"); in s5p_cec_copy_packet() 186 cec->reg + S5P_CEC_IRQ_CLEAR); in s5p_clr_pending_tx() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/cec/platform/s5p/ |
H A D | s5p_cec.c | 43 s5p_cec_reset(cec); in s5p_cec_adap_enable() 116 s5p_cec_get_rx_buf(cec, cec->msg.len, in s5p_cec_irq_handler() 117 cec->msg.msg); in s5p_cec_irq_handler() 158 cec_received_msg(cec->adap, &cec->msg); in s5p_cec_irq_handler_thread() 188 cec = devm_kzalloc(&pdev->dev, sizeof(*cec), GFP_KERNEL); in s5p_cec_probe() 189 if (!cec) in s5p_cec_probe() 192 cec->dev = dev; in s5p_cec_probe() 195 if (cec->irq < 0) in s5p_cec_probe() 196 return cec->irq; in s5p_cec_probe() 242 cec_notifier_cec_adap_unregister(cec->notifier, cec->adap); in s5p_cec_probe() [all …]
|
H A D | exynos_hdmi_cecctrl.c | 54 reg = readb(cec->reg + S5P_CEC_RX_CTRL); in s5p_cec_enable_rx() 56 writeb(reg, cec->reg + S5P_CEC_RX_CTRL); in s5p_cec_enable_rx() 63 reg = readb(cec->reg + S5P_CEC_IRQ_MASK); in s5p_cec_mask_rx_interrupts() 106 reg = readb(cec->reg + 0xc4); in s5p_cec_reset() 108 writeb(reg, cec->reg + 0xc4); in s5p_cec_reset() 122 reg = readb(cec->reg + 0xc4); in s5p_cec_rx_reset() 124 writeb(reg, cec->reg + 0xc4); in s5p_cec_rx_reset() 151 dev_dbg(cec->dev, "Broadcast"); in s5p_cec_copy_packet() 154 dev_dbg(cec->dev, "No Broadcast"); in s5p_cec_copy_packet() 186 cec->reg + S5P_CEC_IRQ_CLEAR); in s5p_clr_pending_tx() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/cec/platform/s5p/ |
H A D | s5p_cec.c | 43 s5p_cec_reset(cec); in s5p_cec_adap_enable() 116 s5p_cec_get_rx_buf(cec, cec->msg.len, in s5p_cec_irq_handler() 117 cec->msg.msg); in s5p_cec_irq_handler() 158 cec_received_msg(cec->adap, &cec->msg); in s5p_cec_irq_handler_thread() 188 cec = devm_kzalloc(&pdev->dev, sizeof(*cec), GFP_KERNEL); in s5p_cec_probe() 189 if (!cec) in s5p_cec_probe() 192 cec->dev = dev; in s5p_cec_probe() 195 if (cec->irq < 0) in s5p_cec_probe() 196 return cec->irq; in s5p_cec_probe() 242 cec_notifier_cec_adap_unregister(cec->notifier, cec->adap); in s5p_cec_probe() [all …]
|
H A D | exynos_hdmi_cecctrl.c | 54 reg = readb(cec->reg + S5P_CEC_RX_CTRL); in s5p_cec_enable_rx() 56 writeb(reg, cec->reg + S5P_CEC_RX_CTRL); in s5p_cec_enable_rx() 63 reg = readb(cec->reg + S5P_CEC_IRQ_MASK); in s5p_cec_mask_rx_interrupts() 106 reg = readb(cec->reg + 0xc4); in s5p_cec_reset() 108 writeb(reg, cec->reg + 0xc4); in s5p_cec_reset() 122 reg = readb(cec->reg + 0xc4); in s5p_cec_rx_reset() 124 writeb(reg, cec->reg + 0xc4); in s5p_cec_rx_reset() 151 dev_dbg(cec->dev, "Broadcast"); in s5p_cec_copy_packet() 154 dev_dbg(cec->dev, "No Broadcast"); in s5p_cec_copy_packet() 186 cec->reg + S5P_CEC_IRQ_CLEAR); in s5p_clr_pending_tx() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/cec/platform/cec-gpio/ |
H A D | cec-gpio.c | 67 cec_queue_pin_hpd_event(cec->adap, cec->hpd_is_high, cec->hpd_ts); in cec_hpd_gpio_irq_handler_thread() 88 cec_queue_pin_5v_event(cec->adap, cec->v5_is_high, cec->v5_ts); in cec_5v_gpio_irq_handler_thread() 193 cec = devm_kzalloc(dev, sizeof(*cec), GFP_KERNEL); in cec_gpio_probe() 194 if (!cec) in cec_gpio_probe() 197 cec->dev = dev; in cec_gpio_probe() 202 cec->cec_irq = gpiod_to_irq(cec->cec_gpio); in cec_gpio_probe() 219 cec->adap->name, cec); in cec_gpio_probe() 226 cec->hpd_irq = gpiod_to_irq(cec->hpd_gpio); in cec_gpio_probe() 238 cec->v5_irq = gpiod_to_irq(cec->v5_gpio); in cec_gpio_probe() 266 cec_notifier_cec_adap_unregister(cec->notifier, cec->adap); in cec_gpio_probe() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/cec/platform/cec-gpio/ |
H A D | cec-gpio.c | 67 cec_queue_pin_hpd_event(cec->adap, cec->hpd_is_high, cec->hpd_ts); in cec_hpd_gpio_irq_handler_thread() 88 cec_queue_pin_5v_event(cec->adap, cec->v5_is_high, cec->v5_ts); in cec_5v_gpio_irq_handler_thread() 193 cec = devm_kzalloc(dev, sizeof(*cec), GFP_KERNEL); in cec_gpio_probe() 194 if (!cec) in cec_gpio_probe() 197 cec->dev = dev; in cec_gpio_probe() 202 cec->cec_irq = gpiod_to_irq(cec->cec_gpio); in cec_gpio_probe() 219 cec->adap->name, cec); in cec_gpio_probe() 226 cec->hpd_irq = gpiod_to_irq(cec->hpd_gpio); in cec_gpio_probe() 238 cec->v5_irq = gpiod_to_irq(cec->v5_gpio); in cec_gpio_probe() 266 cec_notifier_cec_adap_unregister(cec->notifier, cec->adap); in cec_gpio_probe() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/cec/platform/cec-gpio/ |
H A D | cec-gpio.c | 67 cec_queue_pin_hpd_event(cec->adap, cec->hpd_is_high, cec->hpd_ts); in cec_hpd_gpio_irq_handler_thread() 88 cec_queue_pin_5v_event(cec->adap, cec->v5_is_high, cec->v5_ts); in cec_5v_gpio_irq_handler_thread() 193 cec = devm_kzalloc(dev, sizeof(*cec), GFP_KERNEL); in cec_gpio_probe() 194 if (!cec) in cec_gpio_probe() 197 cec->dev = dev; in cec_gpio_probe() 202 cec->cec_irq = gpiod_to_irq(cec->cec_gpio); in cec_gpio_probe() 219 cec->adap->name, cec); in cec_gpio_probe() 226 cec->hpd_irq = gpiod_to_irq(cec->hpd_gpio); in cec_gpio_probe() 238 cec->v5_irq = gpiod_to_irq(cec->v5_gpio); in cec_gpio_probe() 266 cec_notifier_cec_adap_unregister(cec->notifier, cec->adap); in cec_gpio_probe() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/cec/platform/tegra/ |
H A D | tegra_cec.c | 77 if (cec->tx_done) { in tegra_cec_irq_thread_handler() 78 cec_transmit_attempt_done(cec->adap, cec->tx_status); in tegra_cec_irq_thread_handler() 81 if (cec->rx_done) { in tegra_cec_irq_thread_handler() 88 cec->rx_buf_cnt = 0; in tegra_cec_irq_thread_handler() 114 cec->tx_done = true; in tegra_cec_irq_handler() 153 if (cec->tx_buf_cur == cec->tx_buf_cnt) { in tegra_cec_irq_handler() 158 cec->tx_buf[cec->tx_buf_cur++]); in tegra_cec_irq_handler() 177 cec->rx_buf[cec->rx_buf_cnt++] = v & 0xff; in tegra_cec_irq_handler() 331 if (!cec) in tegra_cec_probe() 412 cec_notifier_cec_adap_unregister(cec->notifier, cec->adap); in tegra_cec_probe() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/cec/platform/tegra/ |
H A D | tegra_cec.c | 77 if (cec->tx_done) { in tegra_cec_irq_thread_handler() 78 cec_transmit_attempt_done(cec->adap, cec->tx_status); in tegra_cec_irq_thread_handler() 81 if (cec->rx_done) { in tegra_cec_irq_thread_handler() 88 cec->rx_buf_cnt = 0; in tegra_cec_irq_thread_handler() 114 cec->tx_done = true; in tegra_cec_irq_handler() 153 if (cec->tx_buf_cur == cec->tx_buf_cnt) { in tegra_cec_irq_handler() 158 cec->tx_buf[cec->tx_buf_cur++]); in tegra_cec_irq_handler() 177 cec->rx_buf[cec->rx_buf_cnt++] = v & 0xff; in tegra_cec_irq_handler() 331 if (!cec) in tegra_cec_probe() 412 cec_notifier_cec_adap_unregister(cec->notifier, cec->adap); in tegra_cec_probe() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/cec/platform/tegra/ |
H A D | tegra_cec.c | 77 if (cec->tx_done) { in tegra_cec_irq_thread_handler() 78 cec_transmit_attempt_done(cec->adap, cec->tx_status); in tegra_cec_irq_thread_handler() 81 if (cec->rx_done) { in tegra_cec_irq_thread_handler() 88 cec->rx_buf_cnt = 0; in tegra_cec_irq_thread_handler() 114 cec->tx_done = true; in tegra_cec_irq_handler() 153 if (cec->tx_buf_cur == cec->tx_buf_cnt) { in tegra_cec_irq_handler() 158 cec->tx_buf[cec->tx_buf_cur++]); in tegra_cec_irq_handler() 177 cec->rx_buf[cec->rx_buf_cnt++] = v & 0xff; in tegra_cec_irq_handler() 331 if (!cec) in tegra_cec_probe() 412 cec_notifier_cec_adap_unregister(cec->notifier, cec->adap); in tegra_cec_probe() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi-cec.c | 69 cec->ops->write(cec->hdmi, val, offset); in dw_hdmi_write() 74 return cec->ops->read(cec->hdmi, offset); in dw_hdmi_read() 86 dw_hdmi_write(cec, cec->addresses & 255, HDMI_CEC_ADDR_L); in dw_hdmi_cec_log_addr() 87 dw_hdmi_write(cec, cec->addresses >> 8, HDMI_CEC_ADDR_H); in dw_hdmi_cec_log_addr() 195 cec->ops->disable(cec->hdmi); in dw_hdmi_cec_enable() 205 cec->ops->enable(cec->hdmi); in dw_hdmi_cec_enable() 243 cec = devm_kzalloc(&pdev->dev, sizeof(*cec), GFP_KERNEL); in dw_hdmi_cec_probe() 244 if (!cec) in dw_hdmi_cec_probe() 283 if (!cec->notify) in dw_hdmi_cec_probe() 288 cec_notifier_cec_adap_unregister(cec->notify, cec->adap); in dw_hdmi_cec_probe() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi-cec.c | 69 cec->ops->write(cec->hdmi, val, offset); in dw_hdmi_write() 74 return cec->ops->read(cec->hdmi, offset); in dw_hdmi_read() 86 dw_hdmi_write(cec, cec->addresses & 255, HDMI_CEC_ADDR_L); in dw_hdmi_cec_log_addr() 87 dw_hdmi_write(cec, cec->addresses >> 8, HDMI_CEC_ADDR_H); in dw_hdmi_cec_log_addr() 195 cec->ops->disable(cec->hdmi); in dw_hdmi_cec_enable() 205 cec->ops->enable(cec->hdmi); in dw_hdmi_cec_enable() 243 cec = devm_kzalloc(&pdev->dev, sizeof(*cec), GFP_KERNEL); in dw_hdmi_cec_probe() 244 if (!cec) in dw_hdmi_cec_probe() 283 if (!cec->notify) in dw_hdmi_cec_probe() 288 cec_notifier_cec_adap_unregister(cec->notify, cec->adap); in dw_hdmi_cec_probe() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/bridge/synopsys/ |
H A D | dw-hdmi-cec.c | 69 cec->ops->write(cec->hdmi, val, offset); in dw_hdmi_write() 74 return cec->ops->read(cec->hdmi, offset); in dw_hdmi_read() 86 dw_hdmi_write(cec, cec->addresses & 255, HDMI_CEC_ADDR_L); in dw_hdmi_cec_log_addr() 87 dw_hdmi_write(cec, cec->addresses >> 8, HDMI_CEC_ADDR_H); in dw_hdmi_cec_log_addr() 195 cec->ops->disable(cec->hdmi); in dw_hdmi_cec_enable() 205 cec->ops->enable(cec->hdmi); in dw_hdmi_cec_enable() 243 cec = devm_kzalloc(&pdev->dev, sizeof(*cec), GFP_KERNEL); in dw_hdmi_cec_probe() 244 if (!cec) in dw_hdmi_cec_probe() 283 if (!cec->notify) in dw_hdmi_cec_probe() 288 cec_notifier_cec_adap_unregister(cec->notify, cec->adap); in dw_hdmi_cec_probe() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/cec/platform/stm32/ |
H A D | stm32-cec.c | 112 if (cec->tx_cnt < cec->tx_msg.len) in stm32_tx_done() 114 cec->tx_msg.msg[cec->tx_cnt++]); in stm32_tx_done() 117 if (cec->tx_cnt == cec->tx_msg.len) in stm32_tx_done() 136 cec->rx_msg.msg[cec->rx_msg.len++] = val & 0xFF; in stm32_rx_done() 140 cec_received_msg(cec->adap, &cec->rx_msg); in stm32_rx_done() 150 stm32_tx_done(cec, cec->irq_status); in stm32_cec_irq_thread() 153 stm32_rx_done(cec, cec->irq_status); in stm32_cec_irq_thread() 164 regmap_read(cec->regmap, CEC_ISR, &cec->irq_status); in stm32_cec_irq_handler() 235 regmap_write(cec->regmap, CEC_TXDR, cec->tx_msg.msg[0]); in stm32_cec_adap_transmit() 263 cec = devm_kzalloc(&pdev->dev, sizeof(*cec), GFP_KERNEL); in stm32_cec_probe() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/cec/platform/stm32/ |
H A D | stm32-cec.c | 112 if (cec->tx_cnt < cec->tx_msg.len) in stm32_tx_done() 114 cec->tx_msg.msg[cec->tx_cnt++]); in stm32_tx_done() 117 if (cec->tx_cnt == cec->tx_msg.len) in stm32_tx_done() 136 cec->rx_msg.msg[cec->rx_msg.len++] = val & 0xFF; in stm32_rx_done() 140 cec_received_msg(cec->adap, &cec->rx_msg); in stm32_rx_done() 150 stm32_tx_done(cec, cec->irq_status); in stm32_cec_irq_thread() 153 stm32_rx_done(cec, cec->irq_status); in stm32_cec_irq_thread() 164 regmap_read(cec->regmap, CEC_ISR, &cec->irq_status); in stm32_cec_irq_handler() 235 regmap_write(cec->regmap, CEC_TXDR, cec->tx_msg.msg[0]); in stm32_cec_adap_transmit() 263 cec = devm_kzalloc(&pdev->dev, sizeof(*cec), GFP_KERNEL); in stm32_cec_probe() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/cec/platform/stm32/ |
H A D | stm32-cec.c | 112 if (cec->tx_cnt < cec->tx_msg.len) in stm32_tx_done() 114 cec->tx_msg.msg[cec->tx_cnt++]); in stm32_tx_done() 117 if (cec->tx_cnt == cec->tx_msg.len) in stm32_tx_done() 136 cec->rx_msg.msg[cec->rx_msg.len++] = val & 0xFF; in stm32_rx_done() 140 cec_received_msg(cec->adap, &cec->rx_msg); in stm32_rx_done() 150 stm32_tx_done(cec, cec->irq_status); in stm32_cec_irq_thread() 153 stm32_rx_done(cec, cec->irq_status); in stm32_cec_irq_thread() 164 regmap_read(cec->regmap, CEC_ISR, &cec->irq_status); in stm32_cec_irq_handler() 235 regmap_write(cec->regmap, CEC_TXDR, cec->tx_msg.msg[0]); in stm32_cec_adap_transmit() 263 cec = devm_kzalloc(&pdev->dev, sizeof(*cec), GFP_KERNEL); in stm32_cec_probe() [all …]
|
/dports/multimedia/libcec/libcec-libcec-6.0.2/src/EventGhost/egplugin_sources/PulseEight/ |
H A D | cec_classes.py | 53 from . import cec 58 cec.CEC_LOG_ERROR: "ERROR: ", 62 cec.CEC_LOG_DEBUG: "DEBUG: ", 63 cec.CEC_LOG_ALL: "ALL: " 67 cec.CEC_POWER_STATUS_ON: True, 76 cec.CEC_USER_CONTROL_CODE_UP, 77 cec.CEC_USER_CONTROL_CODE_DOWN, 78 cec.CEC_USER_CONTROL_CODE_LEFT, 104 cec.CEC_USER_CONTROL_CODE_DOT, 158 cec.CEC_USER_CONTROL_CODE_F5, [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/gpu/drm/mediatek/ |
H A D | mtk_cec.c | 99 cec->hdmi_dev = hdmi_dev; in mtk_cec_set_hpd_event() 173 if (cec->hpd != hpd) { in mtk_cec_htplg_isr_thread() 175 cec->hpd, hpd); in mtk_cec_htplg_isr_thread() 176 cec->hpd = hpd; in mtk_cec_htplg_isr_thread() 185 struct mtk_cec *cec; in mtk_cec_probe() local 189 cec = devm_kzalloc(dev, sizeof(*cec), GFP_KERNEL); in mtk_cec_probe() 190 if (!cec) in mtk_cec_probe() 198 if (IS_ERR(cec->regs)) { in mtk_cec_probe() 205 if (IS_ERR(cec->clk)) { in mtk_cec_probe() 212 if (cec->irq < 0) in mtk_cec_probe() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/gpu/drm/mediatek/ |
H A D | mtk_cec.c | 99 cec->hdmi_dev = hdmi_dev; in mtk_cec_set_hpd_event() 173 if (cec->hpd != hpd) { in mtk_cec_htplg_isr_thread() 175 cec->hpd, hpd); in mtk_cec_htplg_isr_thread() 176 cec->hpd = hpd; in mtk_cec_htplg_isr_thread() 185 struct mtk_cec *cec; in mtk_cec_probe() local 189 cec = devm_kzalloc(dev, sizeof(*cec), GFP_KERNEL); in mtk_cec_probe() 190 if (!cec) in mtk_cec_probe() 198 if (IS_ERR(cec->regs)) { in mtk_cec_probe() 205 if (IS_ERR(cec->clk)) { in mtk_cec_probe() 212 if (cec->irq < 0) in mtk_cec_probe() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/gpu/drm/mediatek/ |
H A D | mtk_cec.c | 99 cec->hdmi_dev = hdmi_dev; in mtk_cec_set_hpd_event() 173 if (cec->hpd != hpd) { in mtk_cec_htplg_isr_thread() 175 cec->hpd, hpd); in mtk_cec_htplg_isr_thread() 176 cec->hpd = hpd; in mtk_cec_htplg_isr_thread() 185 struct mtk_cec *cec; in mtk_cec_probe() local 189 cec = devm_kzalloc(dev, sizeof(*cec), GFP_KERNEL); in mtk_cec_probe() 190 if (!cec) in mtk_cec_probe() 198 if (IS_ERR(cec->regs)) { in mtk_cec_probe() 205 if (IS_ERR(cec->clk)) { in mtk_cec_probe() 212 if (cec->irq < 0) in mtk_cec_probe() [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/media/cec/platform/sti/ |
H A D | stih-cec.c | 273 stih_tx_done(cec, cec->irq_status); in stih_cec_irq_handler_thread() 276 stih_rx_done(cec, cec->irq_status); in stih_cec_irq_handler_thread() 287 cec->irq_status = readl(cec->regs + CEC_STATUS); in stih_cec_irq_handler() 288 writel(cec->irq_status, cec->regs + CEC_STATUS); in stih_cec_irq_handler() 312 cec = devm_kzalloc(dev, sizeof(*cec), GFP_KERNEL); in stih_cec_probe() 313 if (!cec) in stih_cec_probe() 316 cec->dev = dev; in stih_cec_probe() 324 if (cec->irq < 0) in stih_cec_probe() 325 return cec->irq; in stih_cec_probe() 362 cec_notifier_cec_adap_unregister(cec->notifier, cec->adap); in stih_cec_probe() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/media/cec/platform/sti/ |
H A D | stih-cec.c | 273 stih_tx_done(cec, cec->irq_status); in stih_cec_irq_handler_thread() 276 stih_rx_done(cec, cec->irq_status); in stih_cec_irq_handler_thread() 287 cec->irq_status = readl(cec->regs + CEC_STATUS); in stih_cec_irq_handler() 288 writel(cec->irq_status, cec->regs + CEC_STATUS); in stih_cec_irq_handler() 312 cec = devm_kzalloc(dev, sizeof(*cec), GFP_KERNEL); in stih_cec_probe() 313 if (!cec) in stih_cec_probe() 316 cec->dev = dev; in stih_cec_probe() 324 if (cec->irq < 0) in stih_cec_probe() 325 return cec->irq; in stih_cec_probe() 362 cec_notifier_cec_adap_unregister(cec->notifier, cec->adap); in stih_cec_probe() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/media/cec/platform/sti/ |
H A D | stih-cec.c | 273 stih_tx_done(cec, cec->irq_status); in stih_cec_irq_handler_thread() 276 stih_rx_done(cec, cec->irq_status); in stih_cec_irq_handler_thread() 287 cec->irq_status = readl(cec->regs + CEC_STATUS); in stih_cec_irq_handler() 288 writel(cec->irq_status, cec->regs + CEC_STATUS); in stih_cec_irq_handler() 312 cec = devm_kzalloc(dev, sizeof(*cec), GFP_KERNEL); in stih_cec_probe() 313 if (!cec) in stih_cec_probe() 316 cec->dev = dev; in stih_cec_probe() 324 if (cec->irq < 0) in stih_cec_probe() 325 return cec->irq; in stih_cec_probe() 362 cec_notifier_cec_adap_unregister(cec->notifier, cec->adap); in stih_cec_probe() [all …]
|