Searched defs:trans (Results 1 - 25 of 52) sorted by relevance

123

/drivers/net/wireless/iwlwifi/
H A Diwl-io.h34 #include "iwl-trans.h"
36 static inline void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val) argument
38 trace_iwlwifi_dev_iowrite8(trans->dev, ofs, val);
39 iwl_trans_write8(trans, ofs, val);
42 static inline void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val) argument
44 trace_iwlwifi_dev_iowrite32(trans->dev, ofs, val);
45 iwl_trans_write32(trans, ofs, val);
48 static inline u32 iwl_read32(struct iwl_trans *trans, u32 ofs) argument
50 u32 val = iwl_trans_read32(trans, ofs);
51 trace_iwlwifi_dev_ioread32(trans
[all...]
H A Diwl-io.c37 static inline void __iwl_set_bit(struct iwl_trans *trans, u32 reg, u32 mask) argument
39 iwl_write32(trans, reg, iwl_read32(trans, reg) | mask);
42 static inline void __iwl_clear_bit(struct iwl_trans *trans, u32 reg, u32 mask) argument
44 iwl_write32(trans, reg, iwl_read32(trans, reg) & ~mask);
47 void iwl_set_bit(struct iwl_trans *trans, u32 reg, u32 mask) argument
51 spin_lock_irqsave(&trans->reg_lock, flags);
52 __iwl_set_bit(trans, reg, mask);
53 spin_unlock_irqrestore(&trans
56 iwl_clear_bit(struct iwl_trans *trans, u32 reg, u32 mask) argument
65 iwl_poll_bit(struct iwl_trans *trans, u32 addr, u32 bits, u32 mask, int timeout) argument
80 iwl_grab_nic_access_silent(struct iwl_trans *trans) argument
121 iwl_grab_nic_access(struct iwl_trans *trans) argument
134 iwl_release_nic_access(struct iwl_trans *trans) argument
148 iwl_read_direct32(struct iwl_trans *trans, u32 reg) argument
162 iwl_write_direct32(struct iwl_trans *trans, u32 reg, u32 value) argument
174 iwl_poll_direct_bit(struct iwl_trans *trans, u32 addr, u32 mask, int timeout) argument
189 __iwl_read_prph(struct iwl_trans *trans, u32 reg) argument
195 __iwl_write_prph(struct iwl_trans *trans, u32 addr, u32 val) argument
202 iwl_read_prph(struct iwl_trans *trans, u32 reg) argument
215 iwl_write_prph(struct iwl_trans *trans, u32 addr, u32 val) argument
227 iwl_set_bits_prph(struct iwl_trans *trans, u32 reg, u32 mask) argument
240 iwl_set_bits_mask_prph(struct iwl_trans *trans, u32 reg, u32 bits, u32 mask) argument
254 iwl_clear_bits_prph(struct iwl_trans *trans, u32 reg, u32 mask) argument
268 _iwl_read_targ_mem_words(struct iwl_trans *trans, u32 addr, void *buf, int words) argument
285 iwl_read_targ_mem(struct iwl_trans *trans, u32 addr) argument
294 _iwl_write_targ_mem_words(struct iwl_trans *trans, u32 addr, void *buf, int words) argument
314 iwl_write_targ_mem(struct iwl_trans *trans, u32 addr, u32 val) argument
[all...]
H A Diwl-op-mode.h130 struct iwl_op_mode *(*start)(struct iwl_trans *trans,
153 const struct iwl_trans *trans; member in struct:iwl_op_mode
H A Diwl-testmode.c79 #include "iwl-trans.h"
221 dma_free_coherent(trans(priv)->dev,
374 val32 = iwl_read_direct32(trans(priv), ofs);
394 iwl_write_direct32(trans(priv), ofs, val32);
404 iwl_write8(trans(priv), ofs, val8);
464 struct iwl_trans *trans = trans(priv); local
499 iwl_trans_stop_device(trans);
518 iwl_trans_stop_device(trans);
577 devid = trans(pri
782 struct iwl_trans *trans = trans(priv); local
822 struct iwl_trans *trans = trans(priv); local
[all...]
H A Diwl-drv.c69 #include "iwl-trans.h"
113 dma_free_coherent(trans(drv)->dev, desc->len,
141 desc->v_addr = dma_alloc_coherent(trans(drv)->dev, sec->size,
189 trans(drv)->dev,
927 drv->op_mode = iwl_dvm_ops.start(drv->shrd->trans, &drv->fw);
947 device_release_driver(trans(drv)->dev);
951 struct iwl_trans *trans, const struct iwl_cfg *cfg)
960 dev_printk(KERN_ERR, trans->dev, "Couldn't allocate iwl_drv");
971 dev_printk(KERN_ERR, trans->dev, "Couldn't request the fw");
950 iwl_drv_start(struct iwl_shared *shrd, struct iwl_trans *trans, const struct iwl_cfg *cfg) argument
H A Diwl-agn.c51 #include "iwl-trans.h"
329 spin_lock_irqsave(&trans(priv)->reg_lock, reg_flags);
330 if (unlikely(!iwl_grab_nic_access(trans(priv)))) {
331 spin_unlock_irqrestore(&trans(priv)->reg_lock, reg_flags);
336 iwl_write32(trans(priv), HBUS_TARG_MEM_RADDR, ptr);
352 ev = iwl_read32(trans(priv), HBUS_TARG_MEM_RDAT);
353 time = iwl_read32(trans(priv), HBUS_TARG_MEM_RDAT);
356 trans(priv)->dev, 0, time, ev);
358 data = iwl_read32(trans(priv), HBUS_TARG_MEM_RDAT);
360 trans(pri
1175 iwl_op_mode_dvm_start(struct iwl_trans *trans, const struct iwl_fw *fw) argument
[all...]
H A Diwl-eeprom.c157 static int iwl_eeprom_acquire_semaphore(struct iwl_trans *trans) argument
164 iwl_set_bit(trans, CSR_HW_IF_CONFIG_REG,
168 ret = iwl_poll_bit(trans, CSR_HW_IF_CONFIG_REG,
173 IWL_DEBUG_EEPROM(trans,
183 static void iwl_eeprom_release_semaphore(struct iwl_trans *trans) argument
185 iwl_clear_bit(trans, CSR_HW_IF_CONFIG_REG,
190 static int iwl_eeprom_verify_signature(struct iwl_trans *trans) argument
192 u32 gp = iwl_read32(trans, CSR_EEPROM_GP) &
196 IWL_DEBUG_EEPROM(trans, "EEPROM signature=0x%08x\n", gp);
199 if (trans
312 iwl_set_otp_access(struct iwl_trans *trans, enum iwl_access_mode mode) argument
325 iwl_get_nvm_type(struct iwl_trans *trans, u32 hw_rev) argument
352 iwl_init_otp_access(struct iwl_trans *trans) argument
386 iwl_read_otp_word(struct iwl_trans *trans, u16 addr, __le16 *eeprom_data) argument
428 iwl_is_otp_empty(struct iwl_trans *trans) argument
458 iwl_find_otp_image(struct iwl_trans *trans, u16 *validblockaddr) argument
663 iwl_eeprom_init(struct iwl_trans *trans, u32 hw_rev) argument
[all...]
H A Diwl-trans-pcie-rx.c35 #include "iwl-trans-pcie-int.h"
132 void iwl_rx_queue_update_write_ptr(struct iwl_trans *trans, argument
143 if (cfg(trans)->base_params->shadow_reg_enable) {
147 iwl_write32(trans, FH_RSCSR_CHNL0_WPTR, q->write_actual);
150 if (test_bit(STATUS_POWER_PMI, &trans->shrd->status)) {
151 reg = iwl_read32(trans, CSR_UCODE_DRV_GP1);
154 IWL_DEBUG_INFO(trans,
157 iwl_set_bit(trans, CSR_GP_CNTRL,
163 iwl_write_direct32(trans, FH_RSCSR_CHNL0_WPTR,
170 iwl_write_direct32(trans, FH_RSCSR_CHNL0_WPT
199 iwlagn_rx_queue_restock(struct iwl_trans *trans) argument
251 iwlagn_rx_allocate(struct iwl_trans *trans, gfp_t priority) argument
332 iwlagn_rx_replenish(struct iwl_trans *trans) argument
344 iwlagn_rx_replenish_now(struct iwl_trans *trans) argument
359 iwl_rx_handle_rxbuf(struct iwl_trans *trans, struct iwl_rx_mem_buffer *rxb) argument
467 iwl_rx_handle(struct iwl_trans *trans) argument
593 iwl_dump_nic_error_log(struct iwl_trans *trans) argument
674 iwl_irq_handle_error(struct iwl_trans *trans) argument
710 iwl_print_event_log(struct iwl_trans *trans, u32 start_idx, u32 num_events, u32 mode, int pos, char **buf, size_t bufsz) argument
790 iwl_print_last_event_logs(struct iwl_trans *trans, u32 capacity, u32 num_wraps, u32 next_entry, u32 size, u32 mode, int pos, char **buf, size_t bufsz) argument
825 iwl_dump_nic_event_log(struct iwl_trans *trans, bool full_log, char **buf, bool display) argument
931 iwl_irq_tasklet(struct iwl_trans *trans) argument
1147 iwl_free_isr_ict(struct iwl_trans *trans) argument
1167 iwl_alloc_isr_ict(struct iwl_trans *trans) argument
1202 iwl_reset_ict(struct iwl_trans *trans) argument
1233 iwl_disable_ict(struct iwl_trans *trans) argument
1247 struct iwl_trans *trans = data; local
1329 struct iwl_trans *trans = data; local
[all...]
H A Diwl-trans-pcie-tx.c39 #include "iwl-trans-pcie-int.h"
84 void iwl_trans_txq_update_byte_cnt_tbl(struct iwl_trans *trans, argument
90 IWL_TRANS_GET_PCIE_TRANS(trans);
131 void iwl_txq_update_write_ptr(struct iwl_trans *trans, struct iwl_tx_queue *txq) argument
139 if (cfg(trans)->base_params->shadow_reg_enable) {
141 iwl_write32(trans, HBUS_TARG_WRPTR,
145 if (test_bit(STATUS_POWER_PMI, &trans->shrd->status)) {
149 reg = iwl_read32(trans, CSR_UCODE_DRV_GP1);
152 IWL_DEBUG_INFO(trans,
155 iwl_set_bit(trans, CSR_GP_CNTR
214 iwlagn_unmap_tfd(struct iwl_trans *trans, struct iwl_cmd_meta *meta, struct iwl_tfd *tfd, enum dma_data_direction dma_dir) argument
253 iwlagn_txq_free_tfd(struct iwl_trans *trans, struct iwl_tx_queue *txq, enum dma_data_direction dma_dir) argument
284 iwlagn_txq_attach_buf_to_tfd(struct iwl_trans *trans, struct iwl_tx_queue *txq, dma_addr_t addr, u16 len, u8 reset) argument
391 iwlagn_txq_inval_byte_cnt_tbl(struct iwl_trans *trans, struct iwl_tx_queue *txq) argument
417 iwlagn_tx_queue_set_q2ratid(struct iwl_trans *trans, u16 ra_tid, u16 txq_id) argument
444 iwlagn_tx_queue_stop_scheduler(struct iwl_trans *trans, u16 txq_id) argument
454 iwl_trans_set_wr_ptrs(struct iwl_trans *trans, int txq_id, u32 index) argument
463 iwl_trans_tx_queue_set_status(struct iwl_trans *trans, struct iwl_tx_queue *txq, int tx_fifo_id, int scd_retry) argument
508 is_agg_txqid_valid(struct iwl_trans *trans, int txq_id) argument
516 iwl_trans_pcie_tx_agg_setup(struct iwl_trans *trans, enum iwl_rxon_context_id ctx, int sta_id, int tid, int frame_limit, u16 ssn) argument
599 iwlagn_txq_ctx_activate_free(struct iwl_trans *trans) argument
612 iwl_trans_pcie_tx_agg_alloc(struct iwl_trans *trans, int sta_id, int tid) argument
630 iwl_trans_pcie_tx_agg_disable(struct iwl_trans *trans, int sta_id, int tid) argument
671 iwl_enqueue_hcmd(struct iwl_trans *trans, struct iwl_host_cmd *cmd) argument
841 iwl_hcmd_queue_reclaim(struct iwl_trans *trans, int txq_id, int idx) argument
880 iwl_tx_cmd_complete(struct iwl_trans *trans, struct iwl_rx_cmd_buffer *rxb, int handler_status) argument
947 iwl_send_cmd_async(struct iwl_trans *trans, struct iwl_host_cmd *cmd) argument
966 iwl_send_cmd_sync(struct iwl_trans *trans, struct iwl_host_cmd *cmd) argument
1056 iwl_trans_pcie_send_cmd(struct iwl_trans *trans, struct iwl_host_cmd *cmd) argument
1065 iwl_tx_queue_reclaim(struct iwl_trans *trans, int txq_id, int index, struct sk_buff_head *skbs) argument
[all...]
/drivers/input/serio/
H A Dhp_sdc_mlc.c55 hp_sdc_transaction trans; member in struct:hp_sdc_mlc_priv_s
196 if (priv->trans.act.semaphore != &mlc->csem)
206 priv->trans.act.semaphore = &mlc->csem;
207 priv->trans.actidx = 0;
208 priv->trans.idx = 1;
209 priv->trans.endidx = 5;
216 __hp_sdc_enqueue_transaction(&priv->trans);
220 priv->trans.act.semaphore = &mlc->osem;
246 priv->trans.actidx = 0;
247 priv->trans
[all...]
/drivers/mtd/
H A Dsm_ftl.h29 struct mtd_blktrans_dev *trans; member in struct:sm_ftl
H A Dsm_ftl.c243 struct mtd_info *mtd = ftl->trans->mtd;
326 struct mtd_info *mtd = ftl->trans->mtd;
463 struct mtd_info *mtd = ftl->trans->mtd;
1136 struct mtd_blktrans_dev *trans; local
1178 trans = kzalloc(sizeof(struct mtd_blktrans_dev), GFP_KERNEL);
1179 if (!trans)
1182 ftl->trans = trans;
1183 trans->priv = ftl;
1185 trans
[all...]
/drivers/usb/renesas_usbhs/
H A Dfifo.h60 int trans; member in struct:usbhs_pkt
/drivers/hid/
H A Dhid-apple.c158 const struct apple_key_translation *trans; local
161 for (trans = table; trans->from; trans++)
162 if (trans->from == from)
163 return trans;
172 const struct apple_key_translation *trans, *table; local
191 trans = apple_find_translation (table, usage->code);
193 if (trans) {
196 else if (trans
294 const struct apple_key_translation *trans; local
[all...]
/drivers/video/
H A Dpxa168fb.c493 unsigned int blue, unsigned int trans, struct fb_info *info)
492 pxa168fb_setcolreg(unsigned int regno, unsigned int red, unsigned int green, unsigned int blue, unsigned int trans, struct fb_info *info) argument
H A Dacornfb.c320 u_int trans, struct fb_info *info)
510 u_int trans, struct fb_info *info)
319 acornfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, u_int trans, struct fb_info *info) argument
509 acornfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, u_int trans, struct fb_info *info) argument
/drivers/firmware/
H A Dpcdp.h61 /* pcdp_if_pci.trans */
79 u8 trans; member in struct:pcdp_if_pci
/drivers/xen/xenbus/
H A Dxenbus_dev_frontend.c308 struct xenbus_transaction_holder *trans = NULL; local
312 trans = kmalloc(sizeof(*trans), GFP_KERNEL);
313 if (!trans) {
321 kfree(trans);
327 trans->handle.id = simple_strtoul(reply, NULL, 0);
329 list_add(&trans->list, &u->transactions);
331 list_for_each_entry(trans, &u->transactions, list)
332 if (trans->handle.id == u->u.msg.tx_id)
334 BUG_ON(&trans
554 struct xenbus_transaction_holder *trans, *tmp; local
[all...]
/drivers/pci/
H A Dxen-pcifront.c769 struct xenbus_transaction trans; local
790 err = xenbus_transaction_start(&trans);
798 err = xenbus_printf(trans, pdev->xdev->nodename,
801 err = xenbus_printf(trans, pdev->xdev->nodename,
804 err = xenbus_printf(trans, pdev->xdev->nodename,
808 xenbus_transaction_end(trans, 1);
813 err = xenbus_transaction_end(trans, 0);
/drivers/scsi/
H A Dch.c422 ch_position(scsi_changer *ch, u_int trans, u_int elem, int rotate) argument
427 if (0 == trans)
428 trans = ch->firsts[CHET_MT];
432 cmd[2] = (trans >> 8) & 0xff;
433 cmd[3] = trans & 0xff;
441 ch_move(scsi_changer *ch, u_int trans, u_int src, u_int dest, int rotate) argument
446 if (0 == trans)
447 trans = ch->firsts[CHET_MT];
451 cmd[2] = (trans >> 8) & 0xff;
452 cmd[3] = trans
462 ch_exchange(scsi_changer *ch, u_int trans, u_int src, u_int dest1, u_int dest2, int rotate1, int rotate2) argument
[all...]
/drivers/spi/
H A Dspi-bfin-sport.c274 struct spi_transfer *trans = drv_data->cur_transfer; local
277 if (trans->transfer_list.next != &msg->transfers) {
279 list_entry(trans->transfer_list.next,
H A Dspi-dw.c227 struct spi_transfer *trans = dws->cur_transfer; local
230 if (trans->transfer_list.next != &msg->transfers) {
232 list_entry(trans->transfer_list.next,
H A Dspi-fsl-espi.c287 struct spi_transfer *t, *first, trans; local
291 memset(&trans, 0, sizeof(trans));
304 trans.speed_hz = t->speed_hz;
305 trans.bits_per_word = t->bits_per_word;
306 trans.delay_usecs = max(first->delay_usecs, t->delay_usecs);
309 trans.len = espi_trans->len;
310 trans.tx_buf = espi_trans->tx_buf;
311 trans.rx_buf = espi_trans->rx_buf;
312 spi_message_add_tail(&trans,
339 fsl_espi_cmd_trans(struct spi_message *m, struct fsl_espi_transfer *trans, u8 *rx_buff) argument
368 fsl_espi_rw_trans(struct spi_message *m, struct fsl_espi_transfer *trans, u8 *rx_buff) argument
[all...]
/drivers/staging/sm7xx/
H A Dsmtcfb.c385 unsigned blue, unsigned trans, struct fb_info *info)
384 smtc_setcolreg(unsigned regno, unsigned red, unsigned green, unsigned blue, unsigned trans, struct fb_info *info) argument
/drivers/target/
H A Dtarget_core_device.c360 int trans = 0; local
404 trans = 1;
420 if (trans) {

Completed in 7925 milliseconds

123