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

123

/drivers/net/wireless/iwlwifi/
H A Diwl-io.h33 #include "iwl-trans.h"
35 static inline void iwl_write8(struct iwl_trans *trans, u32 ofs, u8 val) argument
37 trace_iwlwifi_dev_iowrite8(trans->dev, ofs, val);
38 iwl_trans_write8(trans, ofs, val);
41 static inline void iwl_write32(struct iwl_trans *trans, u32 ofs, u32 val) argument
43 trace_iwlwifi_dev_iowrite32(trans->dev, ofs, val);
44 iwl_trans_write32(trans, ofs, val);
47 static inline u32 iwl_read32(struct iwl_trans *trans, u32 ofs) argument
49 u32 val = iwl_trans_read32(trans, ofs);
50 trace_iwlwifi_dev_ioread32(trans
54 iwl_set_bit(struct iwl_trans *trans, u32 reg, u32 mask) argument
59 iwl_clear_bit(struct iwl_trans *trans, u32 reg, u32 mask) argument
[all...]
H A Diwl-scd.h67 #include "iwl-trans.h"
72 static inline void iwl_scd_txq_set_inactive(struct iwl_trans *trans, argument
75 iwl_write_prph(trans, SCD_QUEUE_STATUS_BITS(txq_id),
80 static inline void iwl_scd_txq_set_chain(struct iwl_trans *trans, argument
83 iwl_set_bits_prph(trans, SCD_QUEUECHAIN_SEL, BIT(txq_id));
86 static inline void iwl_scd_txq_enable_agg(struct iwl_trans *trans, argument
89 iwl_set_bits_prph(trans, SCD_AGGR_SEL, BIT(txq_id));
92 static inline void iwl_scd_txq_disable_agg(struct iwl_trans *trans, argument
95 iwl_clear_bits_prph(trans, SCD_AGGR_SEL, BIT(txq_id));
98 static inline void iwl_scd_disable_agg(struct iwl_trans *trans) argument
103 iwl_scd_activate_fifos(struct iwl_trans *trans) argument
108 iwl_scd_deactivate_fifos(struct iwl_trans *trans) argument
113 iwl_scd_enable_set_active(struct iwl_trans *trans, u32 value) argument
[all...]
H A Diwl-devtrace.h31 #include "iwl-trans.h"
43 static inline size_t iwl_rx_trace_len(const struct iwl_trans *trans, argument
49 if (cmd->cmd != trans->rx_mpdu_cmd)
53 trans->rx_mpdu_cmd_hdr_size);
57 return sizeof(__le32) + sizeof(*cmd) + trans->rx_mpdu_cmd_hdr_size +
66 #include "iwl-trans.h"
328 const struct iwl_trans *trans,
330 TP_ARGS(dev, trans, rxbuf, len),
335 len - iwl_rx_trace_len(trans, rxbuf, len))
338 size_t offs = iwl_rx_trace_len(trans, rxbu
[all...]
H A Diwl-eeprom-read.c97 static int iwl_eeprom_acquire_semaphore(struct iwl_trans *trans) argument
104 iwl_set_bit(trans, CSR_HW_IF_CONFIG_REG,
108 ret = iwl_poll_bit(trans, CSR_HW_IF_CONFIG_REG,
113 IWL_DEBUG_EEPROM(trans->dev,
123 static void iwl_eeprom_release_semaphore(struct iwl_trans *trans) argument
125 iwl_clear_bit(trans, CSR_HW_IF_CONFIG_REG,
129 static int iwl_eeprom_verify_signature(struct iwl_trans *trans, bool nvm_is_otp) argument
131 u32 gp = iwl_read32(trans, CSR_EEPROM_GP) & CSR_EEPROM_GP_VALID_MSK;
133 IWL_DEBUG_EEPROM(trans->dev, "EEPROM signature=0x%08x\n", gp);
138 IWL_ERR(trans, "EEPRO
165 iwl_set_otp_access_absolute(struct iwl_trans *trans) argument
173 iwl_nvm_is_otp(struct iwl_trans *trans) argument
195 iwl_init_otp_access(struct iwl_trans *trans) argument
229 iwl_read_otp_word(struct iwl_trans *trans, u16 addr, __le16 *eeprom_data) argument
271 iwl_is_otp_empty(struct iwl_trans *trans) argument
301 iwl_find_otp_image(struct iwl_trans *trans, u16 *validblockaddr) argument
358 iwl_read_eeprom(struct iwl_trans *trans, u8 **eeprom, size_t *eeprom_size) argument
[all...]
H A Diwl-io.c41 int iwl_poll_bit(struct iwl_trans *trans, u32 addr, argument
47 if ((iwl_read32(trans, addr) & mask) == (bits & mask))
57 u32 iwl_read_direct32(struct iwl_trans *trans, u32 reg) argument
61 if (iwl_trans_grab_nic_access(trans, false, &flags)) {
62 value = iwl_read32(trans, reg);
63 iwl_trans_release_nic_access(trans, &flags);
70 void iwl_write_direct32(struct iwl_trans *trans, u32 reg, u32 value) argument
74 if (iwl_trans_grab_nic_access(trans, false, &flags)) {
75 iwl_write32(trans, reg, value);
76 iwl_trans_release_nic_access(trans,
81 iwl_poll_direct_bit(struct iwl_trans *trans, u32 addr, u32 mask, int timeout) argument
97 __iwl_read_prph(struct iwl_trans *trans, u32 ofs) argument
104 __iwl_write_prph(struct iwl_trans *trans, u32 ofs, u32 val) argument
110 iwl_read_prph(struct iwl_trans *trans, u32 ofs) argument
123 iwl_write_prph(struct iwl_trans *trans, u32 ofs, u32 val) argument
134 iwl_poll_prph_bit(struct iwl_trans *trans, u32 addr, u32 bits, u32 mask, int timeout) argument
149 iwl_set_bits_prph(struct iwl_trans *trans, u32 ofs, u32 mask) argument
161 iwl_set_bits_mask_prph(struct iwl_trans *trans, u32 ofs, u32 bits, u32 mask) argument
174 iwl_clear_bits_prph(struct iwl_trans *trans, u32 ofs, u32 mask) argument
187 iwl_force_nmi(struct iwl_trans *trans) argument
223 iwl_dump_fh(struct iwl_trans *trans, char **buf) argument
[all...]
H A Diwl-phy-db.c72 #include "iwl-trans.h"
98 struct iwl_trans *trans; member in struct:iwl_phy_db
136 struct iwl_phy_db *iwl_phy_db_init(struct iwl_trans *trans) argument
144 phy_db->trans = trans;
244 IWL_DEBUG_INFO(phy_db->trans,
335 IWL_DEBUG_INFO(phy_db->trans,
350 IWL_DEBUG_INFO(phy_db->trans,
365 return iwl_trans_send_cmd(phy_db->trans, &cmd);
394 IWL_ERR(phy_db->trans,
[all...]
/drivers/hid/
H A Dhid-icade.c101 * const struct icade_key_translation *trans;
104 * for (trans = icade_keys; trans->from; trans++) {
105 * int usage = usage_for_key (trans->from);
116 * for (trans = icade_keys; trans->from; trans++) {
118 * usage_for_key (trans->from), trans
170 const struct icade_key *trans; local
195 const struct icade_key *trans; local
[all...]
H A Dhid-apple.c170 const struct apple_key_translation *trans; local
173 for (trans = table; trans->from; trans++)
174 if (trans->from == from)
175 return trans;
184 const struct apple_key_translation *trans, *table; local
203 trans = apple_find_translation (table, usage->code);
205 if (trans) {
208 else if (trans
314 const struct apple_key_translation *trans; local
[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.c240 struct mtd_info *mtd = ftl->trans->mtd;
323 struct mtd_info *mtd = ftl->trans->mtd;
459 struct mtd_info *mtd = ftl->trans->mtd;
1131 struct mtd_blktrans_dev *trans; local
1173 trans = kzalloc(sizeof(struct mtd_blktrans_dev), GFP_KERNEL);
1174 if (!trans)
1177 ftl->trans = trans;
1178 trans->priv = ftl;
1180 trans
[all...]
/drivers/net/wireless/iwlwifi/pcie/
H A Ddrv.c73 #include "iwl-trans.h"
427 static u64 splx_get_pwr_limit(struct iwl_trans *trans, union acpi_object *splx) argument
435 IWL_ERR(trans, "Unsupported splx structure\n");
444 IWL_ERR(trans, "Invalid limits element\n");
451 IWL_DEBUG_INFO(trans, "WiFi power is not limited\n");
458 static void set_dflt_pwr_limit(struct iwl_trans *trans, struct pci_dev *pdev) argument
467 IWL_DEBUG_INFO(trans,
475 IWL_DEBUG_INFO(trans, "SPL method not found\n");
482 IWL_ERR(trans, "SPLC invocation failed (0x%x)\n", status);
486 trans
493 set_dflt_pwr_limit(struct iwl_trans *trans, struct pci_dev *pdev) argument
538 struct iwl_trans *trans = pci_get_drvdata(pdev); local
560 struct iwl_trans *trans = pci_get_drvdata(pdev); local
[all...]
H A Drx.c139 int iwl_pcie_rx_stop(struct iwl_trans *trans) argument
141 iwl_write_direct32(trans, FH_MEM_RCSR_CHNL0_CONFIG_REG, 0);
142 return iwl_poll_direct_bit(trans, FH_MEM_RSSR_RX_STATUS_REG,
149 static void iwl_pcie_rxq_inc_wr_ptr(struct iwl_trans *trans) argument
151 struct iwl_trans_pcie *trans_pcie = IWL_TRANS_GET_PCIE_TRANS(trans);
162 if (!trans->cfg->base_params->shadow_reg_enable &&
163 test_bit(STATUS_TPOWER_PMI, &trans->status)) {
164 reg = iwl_read32(trans, CSR_UCODE_DRV_GP1);
167 IWL_DEBUG_INFO(trans, "Rx queue requesting wakeup, GP1 = 0x%x\n",
169 iwl_set_bit(trans, CSR_GP_CNTR
180 iwl_pcie_rxq_check_wrptr(struct iwl_trans *trans) argument
208 iwl_pcie_rxq_restock(struct iwl_trans *trans) argument
266 iwl_pcie_rxq_alloc_rbs(struct iwl_trans *trans, gfp_t priority) argument
350 iwl_pcie_rxq_free_rbs(struct iwl_trans *trans) argument
377 iwl_pcie_rx_replenish(struct iwl_trans *trans, gfp_t gfp) argument
392 iwl_pcie_rx_alloc(struct iwl_trans *trans) argument
428 iwl_pcie_rx_hw_init(struct iwl_trans *trans, struct iwl_rxq *rxq) argument
495 iwl_pcie_rx_init(struct iwl_trans *trans) argument
536 iwl_pcie_rx_free(struct iwl_trans *trans) argument
569 iwl_pcie_rx_handle_rb(struct iwl_trans *trans, struct iwl_rx_mem_buffer *rxb) argument
701 iwl_pcie_rx_handle(struct iwl_trans *trans) argument
770 iwl_pcie_irq_handle_error(struct iwl_trans *trans) argument
799 iwl_pcie_int_cause_non_ict(struct iwl_trans *trans) argument
827 iwl_pcie_int_cause_ict(struct iwl_trans *trans) argument
881 struct iwl_trans *trans = dev_id; local
1135 iwl_pcie_free_ict(struct iwl_trans *trans) argument
1153 iwl_pcie_alloc_ict(struct iwl_trans *trans) argument
1180 iwl_pcie_reset_ict(struct iwl_trans *trans) argument
1209 iwl_pcie_disable_ict(struct iwl_trans *trans) argument
1220 struct iwl_trans *trans = data; local
[all...]
/drivers/usb/renesas_usbhs/
H A Dfifo.h58 int trans; member in struct:usbhs_pkt
/drivers/mfd/
H A Dcros_ec_spi.c119 struct spi_transfer trans; local
131 memset(&trans, 0, sizeof(trans));
132 trans.cs_change = 1;
133 trans.rx_buf = ptr = ec_dev->din;
134 trans.len = EC_MSG_PREAMBLE_COUNT;
137 spi_message_add_tail(&trans, &msg);
190 memset(&trans, 0, sizeof(trans));
191 trans
226 struct spi_transfer trans; local
[all...]
/drivers/video/fbdev/mmp/fb/
H A Dmmpfb.c328 unsigned int trans, struct fb_info *info)
326 mmpfb_setcolreg(unsigned int regno, unsigned int red, unsigned int green, unsigned int blue, unsigned int trans, struct fb_info *info) argument
/drivers/video/fbdev/
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.c270 u_int trans, struct fb_info *info)
269 acornfb_setcolreg(u_int regno, u_int red, u_int green, u_int blue, u_int trans, struct fb_info *info) argument
H A Dsa1100fb.c269 u_int trans, struct fb_info *info)
291 u_int trans, struct fb_info *info)
338 ret = sa1100fb_setpalettereg(regno, red, green, blue, trans, info);
268 sa1100fb_setpalettereg(u_int regno, u_int red, u_int green, u_int blue, u_int trans, struct fb_info *info) argument
290 sa1100fb_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/spi/
H A Dspi-dw.c215 struct spi_transfer *trans = dws->cur_transfer; local
218 if (trans->transfer_list.next != &msg->transfers) {
220 list_entry(trans->transfer_list.next,
H A Dspi-bfin-sport.c273 struct spi_transfer *trans = drv_data->cur_transfer; local
276 if (trans->transfer_list.next != &msg->transfers) {
278 list_entry(trans->transfer_list.next,
/drivers/xen/xenbus/
H A Dxenbus_dev_frontend.c310 struct xenbus_transaction_holder *trans = NULL; local
314 trans = kmalloc(sizeof(*trans), GFP_KERNEL);
315 if (!trans) {
323 kfree(trans);
329 trans->handle.id = simple_strtoul(reply, NULL, 0);
331 list_add(&trans->list, &u->transactions);
333 list_for_each_entry(trans, &u->transactions, list)
334 if (trans->handle.id == u->u.msg.tx_id)
336 BUG_ON(&trans
556 struct xenbus_transaction_holder *trans, *tmp; local
[all...]
/drivers/pci/
H A Dxen-pcifront.c780 struct xenbus_transaction trans; local
801 err = xenbus_transaction_start(&trans);
809 err = xenbus_printf(trans, pdev->xdev->nodename,
812 err = xenbus_printf(trans, pdev->xdev->nodename,
815 err = xenbus_printf(trans, pdev->xdev->nodename,
819 xenbus_transaction_end(trans, 1);
824 err = xenbus_transaction_end(trans, 0);
/drivers/scsi/
H A Dch.c426 ch_position(scsi_changer *ch, u_int trans, u_int elem, int rotate) argument
431 if (0 == trans)
432 trans = ch->firsts[CHET_MT];
436 cmd[2] = (trans >> 8) & 0xff;
437 cmd[3] = trans & 0xff;
445 ch_move(scsi_changer *ch, u_int trans, u_int src, u_int dest, int rotate) argument
450 if (0 == trans)
451 trans = ch->firsts[CHET_MT];
455 cmd[2] = (trans >> 8) & 0xff;
456 cmd[3] = trans
466 ch_exchange(scsi_changer *ch, u_int trans, u_int src, u_int dest1, u_int dest2, int rotate1, int rotate2) argument
[all...]

Completed in 395 milliseconds

123