/linux-6.12.1/drivers/media/usb/dvb-usb/ |
D | dvb-usb-dvb.c | 16 struct dvb_usb_adapter *adap = dvbdmxfeed->demux->priv; in dvb_usb_ctrl_feed() local 19 if (adap == NULL) in dvb_usb_ctrl_feed() 22 if ((adap->active_fe < 0) || in dvb_usb_ctrl_feed() 23 (adap->active_fe >= adap->num_frontends_initialized)) { in dvb_usb_ctrl_feed() 27 newfeedcount = adap->feedcount + (onoff ? 1 : -1); in dvb_usb_ctrl_feed() 32 usb_urb_kill(&adap->fe_adap[adap->active_fe].stream); in dvb_usb_ctrl_feed() 34 if (adap->props.fe[adap->active_fe].streaming_ctrl != NULL) { in dvb_usb_ctrl_feed() 35 ret = adap->props.fe[adap->active_fe].streaming_ctrl(adap, 0); in dvb_usb_ctrl_feed() 43 adap->feedcount = newfeedcount; in dvb_usb_ctrl_feed() 47 adap->fe_adap[adap->active_fe].pid_filtering ? in dvb_usb_ctrl_feed() [all …]
|
D | dib0700_devices.c | 85 static int bristol_frontend_attach(struct dvb_usb_adapter *adap) in bristol_frontend_attach() argument 87 struct dib0700_state *st = adap->dev->priv; in bristol_frontend_attach() 88 if (adap->id == 0) { in bristol_frontend_attach() 89 dib0700_set_gpio(adap->dev, GPIO6, GPIO_OUT, 0); msleep(10); in bristol_frontend_attach() 90 dib0700_set_gpio(adap->dev, GPIO6, GPIO_OUT, 1); msleep(10); in bristol_frontend_attach() 91 dib0700_set_gpio(adap->dev, GPIO10, GPIO_OUT, 0); msleep(10); in bristol_frontend_attach() 92 dib0700_set_gpio(adap->dev, GPIO10, GPIO_OUT, 1); msleep(10); in bristol_frontend_attach() 95 dib0700_set_gpio(adap->dev, GPIO0, GPIO_OUT, 1); in bristol_frontend_attach() 97 dib0700_set_gpio(adap->dev, GPIO0, GPIO_OUT, 0); in bristol_frontend_attach() 99 …if (dib3000mc_i2c_enumeration(&adap->dev->i2c_adap, 2, DEFAULT_DIB3000P_I2C_ADDRESS, bristol_dib30… in bristol_frontend_attach() [all …]
|
/linux-6.12.1/drivers/media/usb/pvrusb2/ |
D | pvrusb2-dvb.c | 21 static int pvr2_dvb_feed_func(struct pvr2_dvb_adapter *adap) in pvr2_dvb_feed_func() argument 31 stream = adap->channel.stream->stream; in pvr2_dvb_feed_func() 41 &adap->demux, in pvr2_dvb_feed_func() 42 adap->buffer_storage[ in pvr2_dvb_feed_func() 62 ret = wait_event_freezable(adap->buffer_wait_data, in pvr2_dvb_feed_func() 89 struct pvr2_dvb_adapter *adap = ptr; in pvr2_dvb_notify() local 91 wake_up(&adap->buffer_wait_data); in pvr2_dvb_notify() 94 static void pvr2_dvb_stream_end(struct pvr2_dvb_adapter *adap) in pvr2_dvb_stream_end() argument 99 if (adap->thread) { in pvr2_dvb_stream_end() 100 kthread_stop(adap->thread); in pvr2_dvb_stream_end() [all …]
|
/linux-6.12.1/drivers/i2c/algos/ |
D | i2c-algo-bit.c | 48 #define setsda(adap, val) adap->setsda(adap->data, val) argument 49 #define setscl(adap, val) adap->setscl(adap->data, val) argument 50 #define getsda(adap) adap->getsda(adap->data) argument 51 #define getscl(adap) adap->getscl(adap->data) argument 53 static inline void sdalo(struct i2c_algo_bit_data *adap) in sdalo() argument 55 setsda(adap, 0); in sdalo() 56 udelay((adap->udelay + 1) / 2); in sdalo() 59 static inline void sdahi(struct i2c_algo_bit_data *adap) in sdahi() argument 61 setsda(adap, 1); in sdahi() 62 udelay((adap->udelay + 1) / 2); in sdahi() [all …]
|
D | i2c-algo-pcf.c | 38 #define set_pcf(adap, ctl, val) adap->setpcf(adap->data, ctl, val) argument 39 #define get_pcf(adap, ctl) adap->getpcf(adap->data, ctl) argument 40 #define get_own(adap) adap->getown(adap->data) argument 41 #define get_clock(adap) adap->getclock(adap->data) argument 42 #define i2c_outb(adap, val) adap->setpcf(adap->data, 0, val) argument 43 #define i2c_inb(adap) adap->getpcf(adap->data, 0) argument 47 static void i2c_start(struct i2c_algo_pcf_data *adap) in i2c_start() argument 50 set_pcf(adap, 1, I2C_PCF_START); in i2c_start() 53 static void i2c_repstart(struct i2c_algo_pcf_data *adap) in i2c_repstart() argument 56 set_pcf(adap, 1, I2C_PCF_REPSTART); in i2c_repstart() [all …]
|
D | i2c-algo-pca.c | 26 #define pca_outw(adap, reg, val) adap->write_byte(adap->data, reg, val) argument 27 #define pca_inw(adap, reg) adap->read_byte(adap->data, reg) argument 29 #define pca_status(adap) pca_inw(adap, I2C_PCA_STA) argument 30 #define pca_clock(adap) adap->i2c_clock argument 31 #define pca_set_con(adap, val) pca_outw(adap, I2C_PCA_CON, val) argument 32 #define pca_get_con(adap) pca_inw(adap, I2C_PCA_CON) argument 33 #define pca_wait(adap) adap->wait_for_completion(adap->data) argument 35 static void pca_reset(struct i2c_algo_pca_data *adap) in pca_reset() argument 37 if (adap->chip == I2C_PCA_CHIP_9665) { in pca_reset() 41 pca_outw(adap, I2C_PCA_INDPTR, I2C_PCA_IPRESET); in pca_reset() [all …]
|
/linux-6.12.1/drivers/media/cec/core/ |
D | cec-adap.c | 26 static void cec_fill_msg_report_features(struct cec_adapter *adap, 30 static int cec_log_addr2idx(const struct cec_adapter *adap, u8 log_addr) in cec_log_addr2idx() argument 34 for (i = 0; i < adap->log_addrs.num_log_addrs; i++) in cec_log_addr2idx() 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() 44 return adap->log_addrs.primary_device_type[i < 0 ? 0 : i]; in cec_log_addr2dev() 137 static void cec_queue_event(struct cec_adapter *adap, in cec_queue_event() argument 143 mutex_lock(&adap->devnode.lock_fhs); in cec_queue_event() 144 list_for_each_entry(fh, &adap->devnode.fhs, list) in cec_queue_event() [all …]
|
D | cec-core.c | 140 static void cec_devnode_unregister(struct cec_adapter *adap) in cec_devnode_unregister() argument 142 struct cec_devnode *devnode = &adap->devnode; in cec_devnode_unregister() 162 mutex_lock(&adap->lock); in cec_devnode_unregister() 163 __cec_s_phys_addr(adap, CEC_PHYS_ADDR_INVALID, false); in cec_devnode_unregister() 164 __cec_s_log_addrs(adap, NULL, false); in cec_devnode_unregister() 166 cec_adap_enable(adap); in cec_devnode_unregister() 167 mutex_unlock(&adap->lock); in cec_devnode_unregister() 178 struct cec_adapter *adap = sf->private; in cec_error_inj_write() local 192 if (!call_op(adap, error_inj_parse_line, line)) { in cec_error_inj_write() 203 struct cec_adapter *adap = sf->private; in cec_error_inj_show() local [all …]
|
D | cec-api.c | 29 return &fh->adap->devnode; in cec_devnode_data() 38 struct cec_adapter *adap = fh->adap; in cec_poll() local 42 if (!cec_is_registered(adap)) in cec_poll() 44 mutex_lock(&adap->lock); in cec_poll() 45 if (adap->is_configured && in cec_poll() 46 adap->transmit_queue_sz < CEC_MAX_MSG_TX_QUEUE_SZ) in cec_poll() 52 mutex_unlock(&adap->lock); in cec_poll() 56 static bool cec_is_busy(const struct cec_adapter *adap, in cec_is_busy() argument 59 bool valid_initiator = adap->cec_initiator && adap->cec_initiator == fh; in cec_is_busy() 60 bool valid_follower = adap->cec_follower && adap->cec_follower == fh; in cec_is_busy() [all …]
|
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_uld.c | 59 struct adapter *adap = q->adap; in uldrx_flush_handler() local 61 if (adap->uld[q->uld].lro_flush) in uldrx_flush_handler() 62 adap->uld[q->uld].lro_flush(&q->lro_mgr); in uldrx_flush_handler() 77 struct adapter *adap = q->adap; in uldrx_handler() local 87 ret = adap->uld[q->uld].lro_rx_handler(adap->uld[q->uld].handle, in uldrx_handler() 91 ret = adap->uld[q->uld].rx_handler(adap->uld[q->uld].handle, in uldrx_handler() 108 static int alloc_uld_rxqs(struct adapter *adap, in alloc_uld_rxqs() argument 115 struct sge *s = &adap->sge; in alloc_uld_rxqs() 118 per_chan = rxq_info->nrxq / adap->params.nports; in alloc_uld_rxqs() 120 if (adap->flags & CXGB4_USING_MSIX) in alloc_uld_rxqs() [all …]
|
D | cxgb4_main.c | 187 static int cfg_queues(struct adapter *adap); 237 struct adapter *adap = pi->adapter; in dcb_tx_queue_prio_enable() local 238 struct sge_eth_txq *txq = &adap->sge.ethtxq[pi->first_qset]; in dcb_tx_queue_prio_enable() 258 err = t4_set_params_timeout(adap, adap->mbox, adap->pf, 0, 1, in dcb_tx_queue_prio_enable() 263 dev_err(adap->pdev_dev, in dcb_tx_queue_prio_enable() 305 void t4_os_portmod_changed(struct adapter *adap, int port_id) in t4_os_portmod_changed() argument 311 struct net_device *dev = adap->port[port_id]; in t4_os_portmod_changed() 350 struct adapter *adap = pi->adapter; in cxgb4_set_addr_hash() local 356 list_for_each_entry(entry, &adap->mac_hlist, list) { in cxgb4_set_addr_hash() 360 return t4_set_addr_hash(adap, adap->mbox, pi->viid, ucast, in cxgb4_set_addr_hash() [all …]
|
D | cxgb4_mps.c | 6 static int cxgb4_mps_ref_dec_by_mac(struct adapter *adap, in cxgb4_mps_ref_dec_by_mac() argument 13 spin_lock_bh(&adap->mps_ref_lock); in cxgb4_mps_ref_dec_by_mac() 14 list_for_each_entry_safe(mps_entry, tmp, &adap->mps_ref, list) { in cxgb4_mps_ref_dec_by_mac() 18 spin_unlock_bh(&adap->mps_ref_lock); in cxgb4_mps_ref_dec_by_mac() 27 spin_unlock_bh(&adap->mps_ref_lock); in cxgb4_mps_ref_dec_by_mac() 31 static int cxgb4_mps_ref_dec(struct adapter *adap, u16 idx) in cxgb4_mps_ref_dec() argument 36 spin_lock(&adap->mps_ref_lock); in cxgb4_mps_ref_dec() 37 list_for_each_entry_safe(mps_entry, tmp, &adap->mps_ref, list) { in cxgb4_mps_ref_dec() 40 spin_unlock(&adap->mps_ref_lock); in cxgb4_mps_ref_dec() 49 spin_unlock(&adap->mps_ref_lock); in cxgb4_mps_ref_dec() [all …]
|
D | cxgb4_tc_mqprio.c | 13 struct adapter *adap = netdev2adap(dev); in cxgb4_mqprio_validate() local 31 } else if (mqprio->qopt.num_tc > adap->params.nsched_cls) { in cxgb4_mqprio_validate() 34 adap->params.nsched_cls); in cxgb4_mqprio_validate() 81 if (qoffset >= adap->tids.neotids || qcount > adap->tids.neotids) in cxgb4_mqprio_validate() 98 struct adapter *adap = netdev2adap(dev); in cxgb4_init_eosw_txq() local 113 eosw_txq->hwtid = adap->tids.eotid_base + eosw_txq->eotid; in cxgb4_init_eosw_txq() 114 eosw_txq->cred = adap->params.ofldq_wr_cred; in cxgb4_init_eosw_txq() 124 struct adapter *adap = netdev2adap(dev); in cxgb4_clean_eosw_txq() local 126 cxgb4_eosw_txq_free_desc(adap, eosw_txq, eosw_txq->ndesc); in cxgb4_clean_eosw_txq() 133 eosw_txq->cred = adap->params.ofldq_wr_cred; in cxgb4_clean_eosw_txq() [all …]
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-cht-wc.c | 59 struct cht_wc_i2c_adap *adap = data; in cht_wc_i2c_adap_thread_handler() local 62 mutex_lock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler() 65 ret = regmap_read(adap->regmap, CHT_WC_EXTCHGRIRQ, ®); in cht_wc_i2c_adap_thread_handler() 67 dev_err(&adap->adapter.dev, "Error reading extchgrirq reg\n"); in cht_wc_i2c_adap_thread_handler() 68 mutex_unlock(&adap->adap_lock); in cht_wc_i2c_adap_thread_handler() 72 reg &= ~adap->irq_mask; in cht_wc_i2c_adap_thread_handler() 75 ret = regmap_read(adap->regmap, CHT_WC_I2C_RDDATA, &adap->read_data); in cht_wc_i2c_adap_thread_handler() 77 adap->io_error = true; in cht_wc_i2c_adap_thread_handler() 83 ret = regmap_write(adap->regmap, CHT_WC_EXTCHGRIRQ, reg); in cht_wc_i2c_adap_thread_handler() 85 dev_err(&adap->adapter.dev, "Error writing extchgrirq reg\n"); in cht_wc_i2c_adap_thread_handler() [all …]
|
D | i2c-au1550.c | 41 struct i2c_adapter adap; member 55 static int wait_xfer_done(struct i2c_au1550_data *adap) in wait_xfer_done() argument 60 for (i = 0; i < adap->xfer_timeout; i++) { in wait_xfer_done() 61 if (RD(adap, PSC_SMBSTAT) & PSC_SMBSTAT_TE) in wait_xfer_done() 70 static int wait_ack(struct i2c_au1550_data *adap) in wait_ack() argument 74 if (wait_xfer_done(adap)) in wait_ack() 77 stat = RD(adap, PSC_SMBEVNT); in wait_ack() 84 static int wait_controller_done(struct i2c_au1550_data *adap) in wait_controller_done() argument 88 for (i = 0; i < 2 * adap->xfer_timeout; i++) { in wait_controller_done() 89 if ((RD(adap, PSC_SMBEVNT) & PSC_SMBEVNT_MD) != 0) in wait_controller_done() [all …]
|
D | i2c-eg20t.c | 111 #define pch_dbg(adap, fmt, arg...) \ argument 112 dev_dbg(adap->pch_adapter.dev.parent, "%s :" fmt, __func__, ##arg) 114 #define pch_err(adap, fmt, arg...) \ argument 115 dev_err(adap->pch_adapter.dev.parent, "%s :" fmt, __func__, ##arg) 207 static void pch_i2c_init(struct i2c_algo_pch_data *adap) in pch_i2c_init() argument 209 void __iomem *p = adap->pch_base_address; in pch_i2c_init() 222 pch_setbit(adap->pch_base_address, PCH_I2CCTL, PCH_I2CCTL_I2CMEN); in pch_i2c_init() 230 pch_dbg(adap, "Fast mode enabled\n"); in pch_i2c_init() 246 pch_dbg(adap, in pch_i2c_init() 258 static s32 pch_i2c_wait_for_bus_idle(struct i2c_algo_pch_data *adap, in pch_i2c_wait_for_bus_idle() argument [all …]
|
/linux-6.12.1/drivers/media/pci/pt3/ |
D | pt3_dma.c | 24 int pt3_stop_dma(struct pt3_adapter *adap) in pt3_stop_dma() argument 26 struct pt3_board *pt3 = adap->dvb_adap.priv; in pt3_stop_dma() 31 base = get_dma_base(adap->adap_idx); in pt3_stop_dma() 46 int pt3_start_dma(struct pt3_adapter *adap) in pt3_start_dma() argument 48 struct pt3_board *pt3 = adap->dvb_adap.priv; in pt3_start_dma() 49 u32 base = get_dma_base(adap->adap_idx); in pt3_start_dma() 52 iowrite32(lower_32_bits(adap->desc_buf[0].b_addr), in pt3_start_dma() 54 iowrite32(upper_32_bits(adap->desc_buf[0].b_addr), in pt3_start_dma() 61 static u8 *next_unit(struct pt3_adapter *adap, int *idx, int *ofs) in next_unit() argument 67 if (*idx == adap->num_bufs) in next_unit() [all …]
|
D | pt3.c | 92 pt3_demod_write(struct pt3_adapter *adap, const struct reg_val *data, int num) in pt3_demod_write() argument 98 msg.addr = adap->i2c_demod->addr; in pt3_demod_write() 103 ret = i2c_transfer(adap->i2c_demod->adapter, &msg, 1); in pt3_demod_write() 150 struct pt3_adapter *adap; in pt3_set_lna() local 157 adap = pt3_find_adapter(fe); in pt3_set_lna() 159 if (val == LNA_AUTO || val == adap->cur_lna) in pt3_set_lna() 162 pt3 = adap->dvb_adap.priv; in pt3_set_lna() 179 adap->cur_lna = (val != 0); in pt3_set_lna() 185 struct pt3_adapter *adap; in pt3_set_voltage() local 191 adap = pt3_find_adapter(fe); in pt3_set_voltage() [all …]
|
/linux-6.12.1/drivers/net/ethernet/chelsio/cxgb3/ |
D | mc5.c | 128 struct adapter *adap = mc5->adapter; in init_mask_data_array() local 135 unsigned int server_base = t3_read_reg(adap, A_MC5_DB_SERVER_INDEX); in init_mask_data_array() 143 dbgi_wr_data3(adap, 0, 0, 0); in init_mask_data_array() 145 if (mc5_write(adap, data_array_base + (i << addr_shift), in init_mask_data_array() 150 dbgi_wr_data3(adap, 0xffffffff, 0xffffffff, 0xff); in init_mask_data_array() 153 t3_write_reg(adap, A_MC5_DB_DBGI_REQ_DATA0, in init_mask_data_array() 156 if (mc5_write(adap, mask_array_base + (i << addr_shift), in init_mask_data_array() 166 struct adapter *adap = mc5->adapter; in init_idt52100() local 168 t3_write_reg(adap, A_MC5_DB_RSP_LATENCY, in init_idt52100() 170 t3_write_reg(adap, A_MC5_DB_PART_ID_INDEX, 2); in init_idt52100() [all …]
|
D | xgmac.c | 54 struct adapter *adap = mac->adapter; in xaui_serdes_reset() local 57 t3_write_reg(adap, ctrl, adap->params.vpd.xauicfg[macidx(mac)] | in xaui_serdes_reset() 61 t3_read_reg(adap, ctrl); in xaui_serdes_reset() 65 t3_set_reg_field(adap, ctrl, clear[i], 0); in xaui_serdes_reset() 99 struct adapter *adap = mac->adapter; in t3_mac_reset() local 102 t3_write_reg(adap, A_XGM_RESET_CTRL + oft, F_MAC_RESET_); in t3_mac_reset() 103 t3_read_reg(adap, A_XGM_RESET_CTRL + oft); /* flush */ in t3_mac_reset() 105 t3_write_regs(adap, mac_reset_avp, ARRAY_SIZE(mac_reset_avp), oft); in t3_mac_reset() 106 t3_set_reg_field(adap, A_XGM_RXFIFO_CFG + oft, in t3_mac_reset() 108 uses_xaui(adap) ? 0 : F_RXSTRFRWRD); in t3_mac_reset() [all …]
|
/linux-6.12.1/drivers/media/usb/dvb-usb-v2/ |
D | dvb_usb_core.c | 203 struct dvb_usb_adapter *adap = stream->user_priv; in dvb_usb_data_complete() local 204 dvb_dmx_swfilter(&adap->demux, buf, len); in dvb_usb_data_complete() 210 struct dvb_usb_adapter *adap = stream->user_priv; in dvb_usb_data_complete_204() local 211 dvb_dmx_swfilter_204(&adap->demux, buf, len); in dvb_usb_data_complete_204() 217 struct dvb_usb_adapter *adap = stream->user_priv; in dvb_usb_data_complete_raw() local 218 dvb_dmx_swfilter_raw(&adap->demux, buf, len); in dvb_usb_data_complete_raw() 221 static int dvb_usbv2_adapter_stream_init(struct dvb_usb_adapter *adap) in dvb_usbv2_adapter_stream_init() argument 223 dev_dbg(&adap_to_d(adap)->udev->dev, "%s: adap=%d\n", __func__, in dvb_usbv2_adapter_stream_init() 224 adap->id); in dvb_usbv2_adapter_stream_init() 226 adap->stream.udev = adap_to_d(adap)->udev; in dvb_usbv2_adapter_stream_init() [all …]
|
/linux-6.12.1/drivers/usb/misc/ |
D | usb-ljca.c | 192 static void ljca_handle_event(struct ljca_adapter *adap, in ljca_handle_event() argument 197 list_for_each_entry(client, &adap->client_list, link) { in ljca_handle_event() 217 static void ljca_handle_cmd_ack(struct ljca_adapter *adap, struct ljca_msg *header) in ljca_handle_cmd_ack() argument 219 struct ljca_msg *tx_header = adap->tx_buf; in ljca_handle_cmd_ack() 224 spin_lock_irqsave(&adap->lock, flags); in ljca_handle_cmd_ack() 227 spin_unlock_irqrestore(&adap->lock, flags); in ljca_handle_cmd_ack() 228 dev_err(adap->dev, "cmd ack mismatch error\n"); in ljca_handle_cmd_ack() 232 ibuf_len = adap->ex_buf_len; in ljca_handle_cmd_ack() 233 ibuf = adap->ex_buf; in ljca_handle_cmd_ack() 242 adap->actual_length = actual_len; in ljca_handle_cmd_ack() [all …]
|
/linux-6.12.1/include/media/ |
D | cec.h | 67 struct cec_adapter *adap; member 95 struct cec_adapter *adap; member 119 int (*adap_enable)(struct cec_adapter *adap, bool enable); 120 int (*adap_monitor_all_enable)(struct cec_adapter *adap, bool enable); 121 int (*adap_monitor_pin_enable)(struct cec_adapter *adap, bool enable); 122 int (*adap_log_addr)(struct cec_adapter *adap, u8 logical_addr); 123 void (*adap_unconfigured)(struct cec_adapter *adap); 124 int (*adap_transmit)(struct cec_adapter *adap, u8 attempts, 126 void (*adap_nb_transmit_canceled)(struct cec_adapter *adap, 128 void (*adap_status)(struct cec_adapter *adap, struct seq_file *file); [all …]
|
/linux-6.12.1/drivers/i2c/ |
D | i2c-core-base.c | 179 static int get_scl_gpio_value(struct i2c_adapter *adap) in get_scl_gpio_value() argument 181 return gpiod_get_value_cansleep(adap->bus_recovery_info->scl_gpiod); in get_scl_gpio_value() 184 static void set_scl_gpio_value(struct i2c_adapter *adap, int val) in set_scl_gpio_value() argument 186 gpiod_set_value_cansleep(adap->bus_recovery_info->scl_gpiod, val); in set_scl_gpio_value() 189 static int get_sda_gpio_value(struct i2c_adapter *adap) in get_sda_gpio_value() argument 191 return gpiod_get_value_cansleep(adap->bus_recovery_info->sda_gpiod); in get_sda_gpio_value() 194 static void set_sda_gpio_value(struct i2c_adapter *adap, int val) in set_sda_gpio_value() argument 196 gpiod_set_value_cansleep(adap->bus_recovery_info->sda_gpiod, val); in set_sda_gpio_value() 199 static int i2c_generic_bus_free(struct i2c_adapter *adap) in i2c_generic_bus_free() argument 201 struct i2c_bus_recovery_info *bri = adap->bus_recovery_info; in i2c_generic_bus_free() [all …]
|
/linux-6.12.1/drivers/video/fbdev/mb862xx/ |
D | mb862xx-i2c.c | 17 static int mb862xx_i2c_wait_event(struct i2c_adapter *adap) in mb862xx_i2c_wait_event() argument 19 struct mb862xxfb_par *par = adap->algo_data; in mb862xx_i2c_wait_event() 32 static int mb862xx_i2c_do_address(struct i2c_adapter *adap, int addr) in mb862xx_i2c_do_address() argument 34 struct mb862xxfb_par *par = adap->algo_data; in mb862xx_i2c_do_address() 39 if (!mb862xx_i2c_wait_event(adap)) in mb862xx_i2c_do_address() 45 static int mb862xx_i2c_write_byte(struct i2c_adapter *adap, u8 byte) in mb862xx_i2c_write_byte() argument 47 struct mb862xxfb_par *par = adap->algo_data; in mb862xx_i2c_write_byte() 51 if (!mb862xx_i2c_wait_event(adap)) in mb862xx_i2c_write_byte() 56 static int mb862xx_i2c_read_byte(struct i2c_adapter *adap, u8 *byte, int last) in mb862xx_i2c_read_byte() argument 58 struct mb862xxfb_par *par = adap->algo_data; in mb862xx_i2c_read_byte() [all …]
|