Searched defs:dir (Results 126 - 150 of 240) sorted by relevance

12345678910

/drivers/media/radio/
H A Dradio-wl1273.c787 unsigned int dir = (seek_upward == 0) ? 0 : 1; local
793 if (dir && f + radio->spacing <= radio->rangehigh)
795 else if (dir && wrap_around)
821 r = core->write(core, WL1273_SEARCH_DIR_SET, dir);
/drivers/mfd/
H A Dasic3.c555 u8 alt, pin, dir, init, bank_num, bit_num; local
560 dir = ASIC3_CONFIG_GPIO_DIR(config);
568 dir_reg[bank_num] |= (dir << bit_num);
/drivers/mmc/host/
H A Dau1xmmc.c102 int dir; member in struct:au1xmmc_host::__anon1784
242 host->dma.dir = 0;
349 dma_unmap_sg(mmc_dev(host->mmc), data->sg, data->sg_len, host->dma.dir);
631 host->dma.dir = DMA_BIDIRECTIONAL;
634 data->sg_len, host->dma.dir);
686 host->dma.dir);
/drivers/mtd/nand/
H A Domap2.c352 enum dma_data_direction dir = is_write ? DMA_TO_DEVICE : local
376 dma_addr = dma_map_single(&info->pdev->dev, addr, len, dir);
421 dma_unmap_single(&info->pdev->dev, dma_addr, len, dir);
/drivers/net/ethernet/ibm/ehea/
H A Dehea_qmr.c568 int dir)
570 if (!ehea_top_bmap->dir[dir]) {
571 ehea_top_bmap->dir[dir] =
573 if (!ehea_top_bmap->dir[dir])
579 static inline int ehea_init_bmap(struct ehea_bmap *ehea_bmap, int top, int dir) argument
587 return ehea_init_top_bmap(ehea_bmap->top[top], dir);
599 int top, dir, id local
567 ehea_init_top_bmap(struct ehea_top_bmap *ehea_top_bmap, int dir) argument
654 int dir = ehea_calc_index(i, EHEA_DIR_INDEX_SHIFT); local
762 int top, dir; local
789 int top, dir, idx; local
812 ehea_calc_sectbase(int top, int dir, int idx) argument
820 ehea_reg_mr_section(int top, int dir, int idx, u64 *pt, struct ehea_adapter *adapter, struct ehea_mr *mr) argument
851 ehea_reg_mr_sections(int top, int dir, u64 *pt, struct ehea_adapter *adapter, struct ehea_mr *mr) argument
874 int dir; local
[all...]
/drivers/net/ethernet/sfc/
H A Dtxc43128_phy.c180 void falcon_txc_set_gpio_dir(struct efx_nic *efx, int pin, int dir) argument
182 efx_mdio_set_flag(efx, MDIO_MMD_PHYXS, TXC_GPIO_DIR, 1 << pin, dir);
/drivers/net/ethernet/ti/
H A Ddavinci_cpdma.c116 enum dma_data_direction dir; member in struct:cpdma_chan
508 chan->dir = DMA_FROM_DEVICE;
515 chan->dir = DMA_TO_DEVICE;
674 buffer = dma_map_single(ctlr->dev, data, len, chan->dir);
711 dma_unmap_single(ctlr->dev, buff_dma, origlen, chan->dir);
/drivers/net/wireless/ath/ath9k/
H A Drc.c1555 struct dentry *dir)
1558 debugfs_create_file("rc_stats", S_IRUGO, dir, rc, &fops_rcstat);
1554 ath_rate_add_sta_debugfs(void *priv, void *priv_sta, struct dentry *dir) argument
/drivers/net/wireless/bcmdhd/
H A Dlinux_osl.c991 int dir; local
994 dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: PCI_DMA_FROMDEVICE;
995 return (pci_map_single(osh->pdev, va, size, dir));
1001 int dir; local
1004 dir = (direction == DMA_TX)? PCI_DMA_TODEVICE: PCI_DMA_FROMDEVICE;
1005 pci_unmap_single(osh->pdev, (uint32)pa, size, dir);
/drivers/net/wireless/iwlwifi/
H A Diwl-trans.h379 int (*dbgfs_register)(struct iwl_trans *trans, struct dentry* dir);
583 struct dentry *dir)
585 return trans->ops->dbgfs_register(trans, dir);
582 iwl_trans_dbgfs_register(struct iwl_trans *trans, struct dentry *dir) argument
/drivers/pinctrl/
H A Dpinctrl-coh901.c111 u32 dir; member in struct:u300_gpio
349 return readl(U300_PIN_REG(offset, dir)) & U300_PIN_BIT(offset);
805 gpio->dir = U300_335_PXPDIR;
822 gpio->dir = U300_571_PXPDIR;
/drivers/scsi/ibmvscsi/
H A Dibmvstgt.c224 enum dma_data_direction dir, unsigned int rest)
244 if (dir == DMA_TO_DEVICE)
258 eprintk("rdma error %d %d %ld\n", dir, slen, err);
222 ibmvstgt_rdma(struct scsi_cmnd *sc, struct scatterlist *sg, int nsg, struct srp_direct_buf *md, int nmd, enum dma_data_direction dir, unsigned int rest) argument
/drivers/scsi/
H A Dscsi_transport_spi.c119 enum dma_data_direction dir,
127 result = scsi_execute(sdev, cmd, dir, buffer, bufflen,
118 spi_execute(struct scsi_device *sdev, const void *cmd, enum dma_data_direction dir, void *buffer, unsigned bufflen, struct scsi_sense_hdr *sshdr) argument
/drivers/spi/
H A Dspi-ep93xx.c541 * @dir: DMA transfer direction
548 ep93xx_spi_dma_prepare(struct ep93xx_spi *espi, enum dma_transfer_direction dir) argument
567 conf.direction = dir;
569 if (dir == DMA_DEV_TO_MEM) {
629 nents = dma_map_sg(chan->device->dev, sgt->sgl, sgt->nents, dir);
633 txd = dmaengine_prep_slave_sg(chan, sgt->sgl, nents, dir, DMA_CTRL_ACK);
635 dma_unmap_sg(chan->device->dev, sgt->sgl, sgt->nents, dir);
644 * @dir: DMA transfer direction
650 enum dma_transfer_direction dir)
655 if (dir
649 ep93xx_spi_dma_finish(struct ep93xx_spi *espi, enum dma_transfer_direction dir) argument
[all...]
/drivers/usb/class/
H A Dusblp.c251 static int usblp_ctrl_msg(struct usblp *usblp, int request, int type, int dir, int recip, int value, void *buf, int len) argument
263 dir ? usb_rcvctrlpipe(usblp->dev, 0) : usb_sndctrlpipe(usblp->dev, 0),
264 request, type | dir | recip, value, index, buf, len, USBLP_CTL_TIMEOUT);
265 dbg("usblp_control_msg: rq: 0x%02x dir: %d recip: %d value: %d idx: %d len: %#x result: %d",
266 request, !!dir, recip, value, index, len, retval);
503 dbg("usblp_ioctl: cmd=0x%x (%c nr=%d len=%d dir=%d)", cmd, _IOC_TYPE(cmd),
/drivers/usb/core/
H A Dhcd.c1229 enum dma_data_direction dir)
1254 if (dir == DMA_TO_DEVICE)
1263 enum dma_data_direction dir)
1269 if (dir == DMA_FROM_DEVICE)
1307 enum dma_data_direction dir; local
1311 dir = usb_urb_dir_in(urb) ? DMA_FROM_DEVICE : DMA_TO_DEVICE;
1316 dir);
1321 dir);
1326 dir);
1332 dir);
1226 hcd_alloc_coherent(struct usb_bus *bus, gfp_t mem_flags, dma_addr_t *dma_handle, void **vaddr_handle, size_t size, enum dma_data_direction dir) argument
1261 hcd_free_coherent(struct usb_bus *bus, dma_addr_t *dma_handle, void **vaddr_handle, size_t size, enum dma_data_direction dir) argument
1352 enum dma_data_direction dir; local
[all...]
/drivers/usb/gadget/
H A Dci13xxx_udc.h86 u8 dir; member in struct:ci13xxx_ep
H A Dnet2272.c644 unsigned len, unsigned dir)
646 dev_vdbg(dev->dev, "request_dma ep %d buf %08x len %d dir %d\n",
647 ep, buf, len, dir);
656 if ((dir == 1) && (len > 0x1000000))
681 writel((dir << DIRECTION_OF_TRANSFER) |
643 net2272_request_dma(struct net2272 *dev, unsigned ep, u32 buf, unsigned len, unsigned dir) argument
H A Ds3c-hsudc.c984 char *dir; local
987 dir = "out";
989 dir = "in";
995 snprintf(hsep->name, sizeof(hsep->name), "ep%d%s", epnum, dir);
/drivers/usb/host/
H A Dimx21-hcd.c223 int etd_num, struct urb *urb, u8 dir, u16 maxpacket)
228 ((u32) dir << DW0_DIRECT) |
262 static void activate_etd(struct imx21 *imx21, int etd_num, u8 dir) argument
271 if (dir != TD_DIR_IN) {
282 if (dir == TD_DIR_IN) {
321 if (dir != TD_DIR_IN) {
406 u8 dir = (etd_readl(imx21, etd_num, 2) >> DW2_DIRPID) & 0x03; local
415 activate_etd(imx21, etd_num, dir);
570 u8 dir; local
612 dir
222 setup_etd_dword0(struct imx21 *imx21, int etd_num, struct urb *urb, u8 dir, u16 maxpacket) argument
908 u8 dir; local
1036 int dir; local
[all...]
H A Disp116x-hcd.c239 u16 toggle = 0, dir = PTD_DIR_SETUP; local
252 dir = PTD_DIR_IN;
256 dir = PTD_DIR_OUT;
265 dir = (urb->transfer_buffer_length
279 ptd->len = PTD_LEN(len) | PTD_DIR(dir);
283 isp116x->atl_last_dir = dir;
/drivers/usb/misc/sisusbvga/
H A Dsisusb_con.c845 int t, int b, int dir, int lines)
860 switch (dir) {
889 sisusbcon_scroll(struct vc_data *c, int t, int b, int dir, int lines) argument
921 return sisusbcon_scroll_area(c, sisusb, t, b, dir, lines);
934 switch (dir) {
986 else if (dir == SM_UP)
844 sisusbcon_scroll_area(struct vc_data *c, struct sisusb_usb_data *sisusb, int t, int b, int dir, int lines) argument
/drivers/usb/serial/
H A Dsierra.c767 int dir, void *ctx, int len,
788 usb_sndbulkpipe(serial->dev, endpoint) | dir,
793 dir == USB_DIR_IN ? 'i' : 'o', urb, buf);
796 dir == USB_DIR_IN ? 'i' : 'o', urb, buf);
766 sierra_setup_urb(struct usb_serial *serial, int endpoint, int dir, void *ctx, int len, gfp_t mem_flags, usb_complete_t callback) argument
/drivers/usb/storage/
H A Drealtek_cr.c210 enum dma_data_direction dir, int *act_len)
222 bcb->Flags = (dir == DMA_FROM_DEVICE) ? US_BULK_FLAG_IN : 0;
241 unsigned int pipe = (dir == DMA_FROM_DEVICE) ?
297 enum dma_data_direction dir, int *act_len)
308 bcb->Flags = (dir == DMA_FROM_DEVICE) ? US_BULK_FLAG_IN : 0;
327 unsigned int pipe = (dir == DMA_FROM_DEVICE) ?
208 rts51x_bulk_transport(struct us_data *us, u8 lun, u8 *cmd, int cmd_len, u8 *buf, int buf_len, enum dma_data_direction dir, int *act_len) argument
295 rts51x_bulk_transport_special(struct us_data *us, u8 lun, u8 *cmd, int cmd_len, u8 *buf, int buf_len, enum dma_data_direction dir, int *act_len) argument
/drivers/video/console/
H A Dnewport_con.c581 static int newport_scroll(struct vc_data *vc, int t, int b, int dir, argument
591 if (dir == SM_UP) {
606 if (dir == SM_UP) {

Completed in 7607 milliseconds

12345678910