/linux-4.1.27/drivers/char/xillybus/ |
D | xillybus_core.c | 134 struct xilly_channel *channel; in xillybus_isr() local 194 channel = ep->channels[msg_channel]; in xillybus_isr() 197 if (msg_bufno >= channel->num_wr_buffers) { in xillybus_isr() 201 spin_lock(&channel->wr_spinlock); in xillybus_isr() 202 channel->wr_buffers[msg_bufno]->end_offset = in xillybus_isr() 204 channel->wr_fpga_buf_idx = msg_bufno; in xillybus_isr() 205 channel->wr_empty = 0; in xillybus_isr() 206 channel->wr_sleepy = 0; in xillybus_isr() 207 spin_unlock(&channel->wr_spinlock); in xillybus_isr() 209 wake_up_interruptible(&channel->wr_wait); in xillybus_isr() [all …]
|
/linux-4.1.27/drivers/hsi/controllers/ |
D | omap_ssi_regs.h | 46 # define SSI_DATAACCEPT(channel) (1 << (channel)) argument 47 # define SSI_DATAAVAILABLE(channel) (1 << ((channel) + 8)) argument 48 # define SSI_DATAOVERRUN(channel) (1 << ((channel) + 16)) argument 53 # define SSI_GDD_LCH(channel) (1 << (channel)) argument 57 # define SSI_WAKE(channel) (1 << (channel)) argument 75 # define SSI_FULL(channel) (1 << (channel)) argument 84 #define SSI_SST_BUFFER_CH_REG(channel) (0x80 + ((channel) * 4)) argument 85 #define SSI_SST_SWAPBUF_CH_REG(channel) (0xc0 + ((channel) * 4)) argument 95 # define SSI_NOTEMPTY(channel) (1 << (channel)) argument 104 #define SSI_SSR_BUFFER_CH_REG(channel) (0x80 + ((channel) * 4)) argument [all …]
|
/linux-4.1.27/drivers/ipack/devices/ |
D | ipoctal.c | 52 struct ipoctal_channel channel[NR_CHANNELS]; member 61 return container_of(chan, struct ipoctal, channel[index]); in chan_to_ipoctal() 64 static void ipoctal_reset_channel(struct ipoctal_channel *channel) in ipoctal_reset_channel() argument 66 iowrite8(CR_DISABLE_RX | CR_DISABLE_TX, &channel->regs->w.cr); in ipoctal_reset_channel() 67 channel->rx_enable = 0; in ipoctal_reset_channel() 68 iowrite8(CR_CMD_RESET_RX, &channel->regs->w.cr); in ipoctal_reset_channel() 69 iowrite8(CR_CMD_RESET_TX, &channel->regs->w.cr); in ipoctal_reset_channel() 70 iowrite8(CR_CMD_RESET_ERR_STATUS, &channel->regs->w.cr); in ipoctal_reset_channel() 71 iowrite8(CR_CMD_RESET_MR, &channel->regs->w.cr); in ipoctal_reset_channel() 76 struct ipoctal_channel *channel; in ipoctal_port_activate() local [all …]
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | dma.h | 185 extern int channel2irq(unsigned int channel); 187 static inline void set_dma_start_addr(unsigned int channel, unsigned long addr) in set_dma_start_addr() argument 189 dma_ch[channel].regs->start_addr = addr; in set_dma_start_addr() 191 static inline void set_dma_next_desc_addr(unsigned int channel, void *addr) in set_dma_next_desc_addr() argument 193 dma_ch[channel].regs->next_desc_ptr = addr; in set_dma_next_desc_addr() 195 static inline void set_dma_curr_desc_addr(unsigned int channel, void *addr) in set_dma_curr_desc_addr() argument 197 dma_ch[channel].regs->curr_desc_ptr = addr; in set_dma_curr_desc_addr() 199 static inline void set_dma_x_count(unsigned int channel, unsigned DMA_MMR_SIZE_TYPE x_count) in set_dma_x_count() argument 201 dma_ch[channel].regs->x_count = x_count; in set_dma_x_count() 203 static inline void set_dma_y_count(unsigned int channel, unsigned DMA_MMR_SIZE_TYPE y_count) in set_dma_y_count() argument [all …]
|
/linux-4.1.27/drivers/gpu/host1x/ |
D | channel.c | 42 struct host1x *host = dev_get_drvdata(job->channel->dev->parent); in host1x_job_submit() 48 struct host1x_channel *host1x_channel_get(struct host1x_channel *channel) in host1x_channel_get() argument 52 mutex_lock(&channel->reflock); in host1x_channel_get() 54 if (channel->refcount == 0) in host1x_channel_get() 55 err = host1x_cdma_init(&channel->cdma); in host1x_channel_get() 58 channel->refcount++; in host1x_channel_get() 60 mutex_unlock(&channel->reflock); in host1x_channel_get() 62 return err ? NULL : channel; in host1x_channel_get() 66 void host1x_channel_put(struct host1x_channel *channel) in host1x_channel_put() argument 68 mutex_lock(&channel->reflock); in host1x_channel_put() [all …]
|
/linux-4.1.27/drivers/hsi/clients/ |
D | hsi_char.c | 129 static void hsc_add_tail(struct hsc_channel *channel, struct hsi_msg *msg, in hsc_add_tail() argument 134 spin_lock_irqsave(&channel->lock, flags); in hsc_add_tail() 136 spin_unlock_irqrestore(&channel->lock, flags); in hsc_add_tail() 139 static struct hsi_msg *hsc_get_first_msg(struct hsc_channel *channel, in hsc_get_first_msg() argument 145 spin_lock_irqsave(&channel->lock, flags); in hsc_get_first_msg() 153 spin_unlock_irqrestore(&channel->lock, flags); in hsc_get_first_msg() 174 static void hsc_reset_list(struct hsc_channel *channel, struct list_head *l) in hsc_reset_list() argument 179 spin_lock_irqsave(&channel->lock, flags); in hsc_reset_list() 181 spin_unlock_irqrestore(&channel->lock, flags); in hsc_reset_list() 208 static inline int hsc_msgs_alloc(struct hsc_channel *channel) in hsc_msgs_alloc() argument [all …]
|
/linux-4.1.27/drivers/net/wireless/b43/ |
D | radio_2055.c | 305 { .channel = 184, 313 { .channel = 186, 321 { .channel = 188, 329 { .channel = 190, 337 { .channel = 192, 345 { .channel = 194, 353 { .channel = 196, 361 { .channel = 198, 369 { .channel = 200, 377 { .channel = 202, [all …]
|
D | phy_lp.c | 35 static inline u16 channel2freq_lp(u8 channel) in channel2freq_lp() argument 37 if (channel < 14) in channel2freq_lp() 38 return (2407 + 5 * channel); in channel2freq_lp() 39 else if (channel == 14) in channel2freq_lp() 41 else if (channel < 184) in channel2freq_lp() 42 return (5000 + 5 * channel); in channel2freq_lp() 44 return (4000 + 5 * channel); in channel2freq_lp() 1456 static void lpphy_set_analog_filter(struct b43_wldev *dev, int channel) in lpphy_set_analog_filter() argument 1459 u16 tmp = (channel == 14); //SPEC FIXME check japanwidefilter! in lpphy_set_analog_filter() 1617 b43_write16(dev, B43_MMIO_CHANNEL, lpphy->channel); in lpphy_pr41573_workaround() [all …]
|
/linux-4.1.27/drivers/tty/serial/jsm/ |
D | jsm_tty.c | 75 struct jsm_channel *channel = in jsm_tty_get_mctrl() local 78 jsm_dbg(IOCTL, &channel->ch_bd->pci_dev, "start\n"); in jsm_tty_get_mctrl() 80 result = jsm_get_mstat(channel); in jsm_tty_get_mctrl() 85 jsm_dbg(IOCTL, &channel->ch_bd->pci_dev, "finish\n"); in jsm_tty_get_mctrl() 97 struct jsm_channel *channel = in jsm_tty_set_mctrl() local 100 jsm_dbg(IOCTL, &channel->ch_bd->pci_dev, "start\n"); in jsm_tty_set_mctrl() 103 channel->ch_mostat |= UART_MCR_RTS; in jsm_tty_set_mctrl() 105 channel->ch_mostat &= ~UART_MCR_RTS; in jsm_tty_set_mctrl() 108 channel->ch_mostat |= UART_MCR_DTR; in jsm_tty_set_mctrl() 110 channel->ch_mostat &= ~UART_MCR_DTR; in jsm_tty_set_mctrl() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/fsl/ |
D | dma.txt | 4 This is a little-endian 4-channel DMA controller, used in Freescale mpc83xx 18 - DMA channel nodes: 19 - compatible : must include "fsl,elo-dma-channel" 21 - reg : DMA channel specific registers 22 - cell-index : DMA channel index starts at 0. 25 - interrupts : interrupt specifier for DMA channel IRQ 40 dma-channel@0 { 41 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 47 dma-channel@80 { 48 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; [all …]
|
/linux-4.1.27/drivers/isdn/sc/ |
D | packet.c | 23 int sndpkt(int devId, int channel, int ack, struct sk_buff *data) in sndpkt() argument 39 sc_adapter[card]->channel[channel].first_sendbuf, in sndpkt() 40 sc_adapter[card]->channel[channel].next_sendbuf, in sndpkt() 41 sc_adapter[card]->channel[channel].free_sendbufs, in sndpkt() 42 sc_adapter[card]->channel[channel].num_sendbufs); in sndpkt() 44 if (!sc_adapter[card]->channel[channel].free_sendbufs) { in sndpkt() 56 ReqLnkWrite.buff_offset = sc_adapter[card]->channel[channel].next_sendbuf * in sndpkt() 57 BUFFER_SIZE + sc_adapter[card]->channel[channel].first_sendbuf; in sndpkt() 70 sc_adapter[card]->channel[channel].next_sendbuf); in sndpkt() 73 channel + 1, sizeof(LLData), (unsigned int *)&ReqLnkWrite); in sndpkt() [all …]
|
D | command.c | 25 static int dial(int card, unsigned long channel, setup_parm setup); 26 static int hangup(int card, unsigned long channel); 27 static int answer(int card, unsigned long channel); 28 static int clreaz(int card, unsigned long channel); 29 static int seteaz(int card, unsigned long channel, char *); 32 static int acceptb(int card, unsigned long channel); 161 static int dial(int card, unsigned long channel, setup_parm setup) in dial() argument 178 (unsigned char)channel + 1, in dial() 183 sc_adapter[card]->devicename, Phone, channel + 1); in dial() 191 static int answer(int card, unsigned long channel) in answer() argument [all …]
|
/linux-4.1.27/drivers/usb/musb/ |
D | musbhsdma.c | 40 static void dma_channel_release(struct dma_channel *channel); 45 struct dma_channel *channel; in dma_controller_stop() local 54 channel = &controller->channel[bit].channel; in dma_controller_stop() 55 dma_channel_release(channel); in dma_controller_stop() 70 struct dma_channel *channel = NULL; in dma_channel_allocate() local 76 musb_channel = &(controller->channel[bit]); in dma_channel_allocate() 81 channel = &(musb_channel->channel); in dma_channel_allocate() 82 channel->private_data = musb_channel; in dma_channel_allocate() 83 channel->status = MUSB_DMA_STATUS_FREE; in dma_channel_allocate() 84 channel->max_len = 0x100000; in dma_channel_allocate() [all …]
|
D | ux500_dma.c | 43 struct dma_channel channel; member 65 struct dma_channel *channel = private_data; in ux500_dma_callback() local 66 struct ux500_dma_channel *ux500_channel = channel->private_data; in ux500_dma_callback() 75 ux500_channel->channel.actual_len = ux500_channel->cur_len; in ux500_dma_callback() 76 ux500_channel->channel.status = MUSB_DMA_STATUS_FREE; in ux500_dma_callback() 82 static bool ux500_configure_channel(struct dma_channel *channel, in ux500_configure_channel() argument 86 struct ux500_dma_channel *ux500_channel = channel->private_data; in ux500_configure_channel() 132 dma_desc->callback_param = channel; in ux500_configure_channel() 172 return &(ux500_channel->channel); in ux500_dma_channel_allocate() 175 static void ux500_dma_channel_release(struct dma_channel *channel) in ux500_dma_channel_release() argument [all …]
|
D | musb_cppi41.c | 26 struct dma_channel channel; member 130 (cppi41_channel->channel.status == MUSB_DMA_STATUS_FREE)) { in cppi41_trans_done() 133 cppi41_channel->channel.actual_len = in cppi41_trans_done() 135 cppi41_channel->channel.status = MUSB_DMA_STATUS_FREE; in cppi41_trans_done() 136 cppi41_channel->channel.rx_packet_done = true; in cppi41_trans_done() 174 dma_desc->callback_param = &cppi41_channel->channel; in cppi41_trans_done() 225 struct dma_channel *channel = private_data; in cppi41_dma_callback() local 226 struct cppi41_dma_channel *cppi41_channel = channel->private_data; in cppi41_dma_callback() 366 static bool cppi41_configure_channel(struct dma_channel *channel, in cppi41_configure_channel() argument 370 struct cppi41_dma_channel *cppi41_channel = channel->private_data; in cppi41_configure_channel() [all …]
|
D | tusb6010_omap.c | 109 struct dma_channel *channel = (struct dma_channel *)data; in tusb_omap_dma_cb() local 110 struct tusb_omap_dma_ch *chdat = to_chdat(channel); in tusb_omap_dma_cb() 149 channel->actual_len = chdat->transfer_len - remaining; in tusb_omap_dma_cb() 150 pio = chdat->len - channel->actual_len; in tusb_omap_dma_cb() 171 channel->actual_len += pio; in tusb_omap_dma_cb() 177 channel->status = MUSB_DMA_STATUS_FREE; in tusb_omap_dma_cb() 208 static int tusb_omap_dma_program(struct dma_channel *channel, u16 packet_sz, in tusb_omap_dma_program() argument 211 struct tusb_omap_dma_ch *chdat = to_chdat(channel); in tusb_omap_dma_program() 284 omap_set_dma_callback(ch, tusb_omap_dma_cb, channel); in tusb_omap_dma_program() 289 channel->actual_len = 0; in tusb_omap_dma_program() [all …]
|
/linux-4.1.27/drivers/staging/unisys/visorchannel/ |
D | visorchannel_funcs.c | 151 visorchannel_destroy(struct visorchannel *channel) in visorchannel_destroy() argument 153 if (!channel) in visorchannel_destroy() 155 if (channel->memregion) { in visorchannel_destroy() 156 visor_memregion_destroy(channel->memregion); in visorchannel_destroy() 157 channel->memregion = NULL; in visorchannel_destroy() 159 kfree(channel); in visorchannel_destroy() 164 visorchannel_get_physaddr(struct visorchannel *channel) in visorchannel_get_physaddr() argument 166 return visor_memregion_get_physaddr(channel->memregion); in visorchannel_get_physaddr() 171 visorchannel_get_nbytes(struct visorchannel *channel) in visorchannel_get_nbytes() argument 173 return channel->size; in visorchannel_get_nbytes() [all …]
|
D | visorchannel.h | 48 void visorchannel_destroy(struct visorchannel *channel); 49 int visorchannel_read(struct visorchannel *channel, ulong offset, 51 int visorchannel_write(struct visorchannel *channel, ulong offset, 53 int visorchannel_clear(struct visorchannel *channel, ulong offset, 55 BOOL visorchannel_signalremove(struct visorchannel *channel, u32 queue, 57 BOOL visorchannel_signalinsert(struct visorchannel *channel, u32 queue, 59 int visorchannel_signalqueue_slots_avail(struct visorchannel *channel, 61 int visorchannel_signalqueue_max_slots(struct visorchannel *channel, u32 queue); 62 HOSTADDRESS visorchannel_get_physaddr(struct visorchannel *channel); 63 ulong visorchannel_get_nbytes(struct visorchannel *channel); [all …]
|
/linux-4.1.27/arch/sh/drivers/dma/ |
D | dma-api.c | 79 struct dma_channel *channel; in get_dma_channel() local 86 channel = &info->channels[i]; in get_dma_channel() 87 if (channel->vchan == chan) in get_dma_channel() 88 return channel; in get_dma_channel() 98 struct dma_channel *channel = get_dma_channel(chan); in get_dma_residue() local 101 return info->ops->get_residue(channel); in get_dma_residue() 150 struct dma_channel *channel = &info->channels[i]; in request_dma_bycap() local 152 if (unlikely(!channel->caps)) in request_dma_bycap() 156 if (!search_cap(channel->caps, *p)) in request_dma_bycap() 158 if (request_dma(channel->chan, dev_id) == 0) in request_dma_bycap() [all …]
|
D | dma-g2.c | 40 struct g2_channel channel[G2_NR_DMA_CHANNELS]; member 51 ((g2_dma->channel[i].size - \ 80 g2_dma->channel[chan_nr].chan_enable = 1; in g2_enable_dma() 81 g2_dma->channel[chan_nr].xfer_enable = 1; in g2_enable_dma() 90 g2_dma->channel[chan_nr].chan_enable = 0; in g2_disable_dma() 91 g2_dma->channel[chan_nr].xfer_enable = 0; in g2_disable_dma() 124 g2_dma->channel[chan_nr].g2_addr = chan->dar & 0x1fffffe0; in g2_xfer_dma() 125 g2_dma->channel[chan_nr].root_addr = chan->sar & 0x1fffffe0; in g2_xfer_dma() 126 g2_dma->channel[chan_nr].size = (chan->count & ~31) | 0x80000000; in g2_xfer_dma() 127 g2_dma->channel[chan_nr].direction = chan->mode; in g2_xfer_dma() [all …]
|
D | dma-sysfs.c | 34 struct dma_channel *channel = get_dma_channel(i); in dma_show_devices() local 36 if (unlikely(!info) || !channel) in dma_show_devices() 40 channel->chan, info->name, in dma_show_devices() 41 channel->dev_id); in dma_show_devices() 64 struct dma_channel *channel = to_dma_channel(dev); in dma_show_dev_id() local 65 return sprintf(buf, "%s\n", channel->dev_id); in dma_show_dev_id() 72 struct dma_channel *channel = to_dma_channel(dev); in dma_store_dev_id() local 73 strcpy(channel->dev_id, buf); in dma_store_dev_id() 83 struct dma_channel *channel = to_dma_channel(dev); in dma_store_config() local 87 dma_configure_channel(channel->vchan, config); in dma_store_config() [all …]
|
/linux-4.1.27/drivers/tty/serial/ |
D | ip22zilog.c | 54 #define ZS_WSYNC(channel) do { } while (0) argument 112 static unsigned char read_zsreg(struct zilog_channel *channel, in read_zsreg() argument 117 writeb(reg, &channel->control); in read_zsreg() 119 retval = readb(&channel->control); in read_zsreg() 125 static void write_zsreg(struct zilog_channel *channel, in write_zsreg() argument 128 writeb(reg, &channel->control); in write_zsreg() 130 writeb(value, &channel->control); in write_zsreg() 134 static void ip22zilog_clear_fifo(struct zilog_channel *channel) in ip22zilog_clear_fifo() argument 141 regval = readb(&channel->control); in ip22zilog_clear_fifo() 146 regval = read_zsreg(channel, R1); in ip22zilog_clear_fifo() [all …]
|
D | sunzilog.c | 59 #define ZS_WSYNC(channel) do { } while (0) argument 129 static unsigned char read_zsreg(struct zilog_channel __iomem *channel, in read_zsreg() argument 134 writeb(reg, &channel->control); in read_zsreg() 136 retval = readb(&channel->control); in read_zsreg() 142 static void write_zsreg(struct zilog_channel __iomem *channel, in write_zsreg() argument 145 writeb(reg, &channel->control); in write_zsreg() 147 writeb(value, &channel->control); in write_zsreg() 151 static void sunzilog_clear_fifo(struct zilog_channel __iomem *channel) in sunzilog_clear_fifo() argument 158 regval = readb(&channel->control); in sunzilog_clear_fifo() 163 regval = read_zsreg(channel, R1); in sunzilog_clear_fifo() [all …]
|
D | ip22zilog.h | 268 #define ZS_CLEARERR(channel) do { writeb(ERR_RES, &channel->control); \ argument 271 #define ZS_CLEARSTAT(channel) do { writeb(RES_EXT_INT, &channel->control); \ argument 274 #define ZS_CLEARFIFO(channel) do { readb(&channel->data); \ argument 276 readb(&channel->data); \ 278 readb(&channel->data); \
|
D | sunzilog.h | 276 #define ZS_CLEARERR(channel) do { sbus_writeb(ERR_RES, &channel->control); \ argument 279 #define ZS_CLEARSTAT(channel) do { sbus_writeb(RES_EXT_INT, &channel->control); \ argument 282 #define ZS_CLEARFIFO(channel) do { sbus_readb(&channel->data); \ argument 284 sbus_readb(&channel->data); \ 286 sbus_readb(&channel->data); \
|
/linux-4.1.27/drivers/uwb/ |
D | radio.c | 42 static void uwb_radio_channel_changed(struct uwb_rc *rc, int channel) in uwb_radio_channel_changed() argument 47 if (pal->channel && channel != pal->channel) { in uwb_radio_channel_changed() 48 pal->channel = channel; in uwb_radio_channel_changed() 50 pal->channel_changed(pal, pal->channel); in uwb_radio_channel_changed() 62 static int uwb_radio_change_channel(struct uwb_rc *rc, int channel) in uwb_radio_change_channel() argument 68 channel, rc->beaconing); in uwb_radio_change_channel() 70 if (channel == -1) in uwb_radio_change_channel() 71 uwb_radio_channel_changed(rc, channel); in uwb_radio_change_channel() 73 if (channel != rc->beaconing) { in uwb_radio_change_channel() 74 if (rc->beaconing != -1 && channel != -1) { in uwb_radio_change_channel() [all …]
|
D | scan.c | 58 unsigned channel, enum uwb_scan_type type, in uwb_rc_scan() argument 72 cmd->bChannelNumber = channel; in uwb_rc_scan() 88 rc->scanning = channel; in uwb_rc_scan() 122 unsigned channel; in uwb_rc_scan_store() local 127 result = sscanf(buf, "%u %u %u\n", &channel, &type, &bpst_offset); in uwb_rc_scan_store() 129 result = uwb_rc_scan(rc, channel, type, bpst_offset); in uwb_rc_scan_store()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | efx.c | 202 static void efx_remove_channel(struct efx_channel *channel); 206 static void efx_init_napi_channel(struct efx_channel *channel); 208 static void efx_fini_napi_channel(struct efx_channel *channel); 244 static int efx_process_channel(struct efx_channel *channel, int budget) in efx_process_channel() argument 248 if (unlikely(!channel->enabled)) in efx_process_channel() 251 spent = efx_nic_process_eventq(channel, budget); in efx_process_channel() 252 if (spent && efx_channel_has_rx_queue(channel)) { in efx_process_channel() 254 efx_channel_get_rx_queue(channel); in efx_process_channel() 256 efx_rx_flush_packet(channel); in efx_process_channel() 270 struct efx_channel *channel = in efx_poll() local [all …]
|
D | net_driver.h | 230 struct efx_channel *channel; member 424 int channel; member 482 static inline void efx_channel_init_lock(struct efx_channel *channel) in efx_channel_init_lock() argument 484 spin_lock_init(&channel->state_lock); in efx_channel_init_lock() 488 static inline bool efx_channel_lock_napi(struct efx_channel *channel) in efx_channel_lock_napi() argument 492 spin_lock_bh(&channel->state_lock); in efx_channel_lock_napi() 493 if (channel->state & EFX_CHANNEL_LOCKED) { in efx_channel_lock_napi() 494 WARN_ON(channel->state & EFX_CHANNEL_STATE_NAPI); in efx_channel_lock_napi() 495 channel->state |= EFX_CHANNEL_STATE_NAPI_YIELD; in efx_channel_lock_napi() 499 channel->state = EFX_CHANNEL_STATE_NAPI; in efx_channel_lock_napi() [all …]
|
D | selftest.c | 167 struct efx_channel *channel; in efx_test_eventq_irq() local 174 efx_for_each_channel(channel, efx) { in efx_test_eventq_irq() 175 read_ptr[channel->channel] = channel->eventq_read_ptr; in efx_test_eventq_irq() 176 set_bit(channel->channel, &dma_pend); in efx_test_eventq_irq() 177 set_bit(channel->channel, &int_pend); in efx_test_eventq_irq() 178 efx_nic_event_test_start(channel); in efx_test_eventq_irq() 190 efx_for_each_channel(channel, efx) { in efx_test_eventq_irq() 191 efx_stop_eventq(channel); in efx_test_eventq_irq() 192 if (channel->eventq_read_ptr != in efx_test_eventq_irq() 193 read_ptr[channel->channel]) { in efx_test_eventq_irq() [all …]
|
D | efx.h | 42 void __efx_rx_packet(struct efx_channel *channel); 45 static inline void efx_rx_flush_packet(struct efx_channel *channel) in efx_rx_flush_packet() argument 47 if (channel->rx_pkt_n_frags) in efx_rx_flush_packet() 48 __efx_rx_packet(channel); in efx_rx_flush_packet() 159 static inline void efx_filter_rfs_expire(struct efx_channel *channel) in efx_filter_rfs_expire() argument 161 if (channel->rfs_filters_added >= 60 && in efx_filter_rfs_expire() 162 __efx_filter_rfs_expire(channel->efx, 100)) in efx_filter_rfs_expire() 163 channel->rfs_filters_added -= 60; in efx_filter_rfs_expire() 167 static inline void efx_filter_rfs_expire(struct efx_channel *channel) {} in efx_filter_rfs_expire() argument 173 int efx_channel_dummy_op_int(struct efx_channel *channel); [all …]
|
D | farch.c | 68 _EFX_CHANNEL_MAGIC(_EFX_CHANNEL_MAGIC_TEST, (_channel)->channel) 79 static void efx_farch_magic_event(struct efx_channel *channel, u32 magic); 382 tx_queue->channel->channel, in efx_farch_tx_init() 544 efx_rx_queue_channel(rx_queue)->channel, in efx_farch_rx_init() 612 struct efx_channel *channel; in efx_check_tx_flush_complete() local 615 efx_for_each_channel(channel, efx) { in efx_check_tx_flush_complete() 616 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_check_tx_flush_complete() 639 efx_farch_magic_event(channel, in efx_check_tx_flush_complete() 655 struct efx_channel *channel; in efx_farch_do_flush() local 660 efx_for_each_channel(channel, efx) { in efx_farch_do_flush() [all …]
|
D | nic.h | 42 static inline efx_qword_t *efx_event(struct efx_channel *channel, in efx_event() argument 45 return ((efx_qword_t *) (channel->eventq.buf.addr)) + in efx_event() 46 (index & channel->eventq_mask); in efx_event() 565 void efx_siena_sriov_event(struct efx_channel *channel, efx_qword_t *event); 593 static inline void efx_siena_sriov_event(struct efx_channel *channel, in efx_siena_sriov_event() argument 627 int efx_ptp_probe(struct efx_nic *efx, struct efx_channel *channel); 641 void efx_time_sync_event(struct efx_channel *channel, efx_qword_t *ev); 642 void __efx_rx_skb_attach_timestamp(struct efx_channel *channel, 644 static inline void efx_rx_skb_attach_timestamp(struct efx_channel *channel, in efx_rx_skb_attach_timestamp() argument 647 if (channel->sync_events_state == SYNC_EVENTS_VALID) in efx_rx_skb_attach_timestamp() [all …]
|
D | rx.c | 244 static void efx_recycle_rx_page(struct efx_channel *channel, in efx_recycle_rx_page() argument 248 struct efx_rx_queue *rx_queue = efx_channel_get_rx_queue(channel); in efx_recycle_rx_page() 292 static void efx_recycle_rx_pages(struct efx_channel *channel, in efx_recycle_rx_pages() argument 296 struct efx_rx_queue *rx_queue = efx_channel_get_rx_queue(channel); in efx_recycle_rx_pages() 299 efx_recycle_rx_page(channel, rx_buf); in efx_recycle_rx_pages() 304 static void efx_discard_rx_packet(struct efx_channel *channel, in efx_discard_rx_packet() argument 308 struct efx_rx_queue *rx_queue = efx_channel_get_rx_queue(channel); in efx_discard_rx_packet() 310 efx_recycle_rx_pages(channel, rx_buf, n_frags); in efx_discard_rx_packet() 426 efx_rx_packet_gro(struct efx_channel *channel, struct efx_rx_buffer *rx_buf, in efx_rx_packet_gro() argument 429 struct napi_struct *napi = &channel->napi_str; in efx_rx_packet_gro() [all …]
|
D | nic.c | 57 bool efx_nic_event_present(struct efx_channel *channel) in efx_nic_event_present() argument 59 return efx_event_present(efx_event(channel, channel->eventq_read_ptr)); in efx_nic_event_present() 62 void efx_nic_event_test_start(struct efx_channel *channel) in efx_nic_event_test_start() argument 64 channel->event_test_cpu = -1; in efx_nic_event_test_start() 66 channel->efx->type->ev_test_generate(channel); in efx_nic_event_test_start() 81 struct efx_channel *channel; in efx_nic_init_interrupt() local 111 efx_for_each_channel(channel, efx) { in efx_nic_init_interrupt() 112 rc = request_irq(channel->irq, efx->type->irq_handle_msi, in efx_nic_init_interrupt() 114 efx->msi_context[channel->channel].name, in efx_nic_init_interrupt() 115 &efx->msi_context[channel->channel]); in efx_nic_init_interrupt() [all …]
|
D | ef10.c | 358 struct efx_channel *channel; in efx_ef10_link_piobufs() local 388 efx_for_each_channel(channel, efx) { in efx_ef10_link_piobufs() 389 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_ef10_link_piobufs() 395 tx_queue->channel->channel - 1) * in efx_ef10_link_piobufs() 1018 static void efx_ef10_push_irq_moderation(struct efx_channel *channel) in efx_ef10_push_irq_moderation() argument 1020 struct efx_nic *efx = channel->efx; in efx_ef10_push_irq_moderation() 1024 if (channel->irq_moderation) { in efx_ef10_push_irq_moderation() 1026 value = channel->irq_moderation - 1; in efx_ef10_push_irq_moderation() 1038 channel->channel); in efx_ef10_push_irq_moderation() 1043 channel->channel); in efx_ef10_push_irq_moderation() [all …]
|
D | ethtool.c | 60 EFX_ETHTOOL_STAT(field, channel, n_##field, \ 239 #define EFX_CHANNEL_NAME(_channel) "chan%d", _channel->channel 263 struct efx_channel *channel = in efx_fill_loopback_test() local 267 efx_for_each_channel_tx_queue(tx_queue, channel) { in efx_fill_loopback_test() 306 struct efx_channel *channel; in efx_ethtool_fill_self_tests() local 318 efx_for_each_channel(channel, efx) { in efx_ethtool_fill_self_tests() 320 &tests->eventq_dma[channel->channel], in efx_ethtool_fill_self_tests() 321 EFX_CHANNEL_NAME(channel), in efx_ethtool_fill_self_tests() 324 &tests->eventq_int[channel->channel], in efx_ethtool_fill_self_tests() 325 EFX_CHANNEL_NAME(channel), in efx_ethtool_fill_self_tests() [all …]
|
/linux-4.1.27/sound/core/oss/ |
D | mulaw.c | 174 int channel; in mulaw_decode() local 176 for (channel = 0; channel < nchannels; ++channel) { in mulaw_decode() 181 if (!src_channels[channel].enabled) { in mulaw_decode() 182 if (dst_channels[channel].wanted) in mulaw_decode() 183 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in mulaw_decode() 184 dst_channels[channel].enabled = 0; in mulaw_decode() 187 dst_channels[channel].enabled = 1; in mulaw_decode() 188 src = src_channels[channel].area.addr + src_channels[channel].area.first / 8; in mulaw_decode() 189 dst = dst_channels[channel].area.addr + dst_channels[channel].area.first / 8; in mulaw_decode() 190 src_step = src_channels[channel].area.step / 8; in mulaw_decode() [all …]
|
D | rate.c | 55 unsigned int channel; in rate_init() local 58 for (channel = 0; channel < plugin->src_format.channels; channel++) { in rate_init() 59 data->channels[channel].last_S1 = 0; in rate_init() 60 data->channels[channel].last_S2 = 0; in rate_init() 73 unsigned int channel; in resample_expand() local 79 for (channel = 0; channel < plugin->src_format.channels; channel++) { in resample_expand() 83 if (!src_channels[channel].enabled) { in resample_expand() 84 if (dst_channels[channel].wanted) in resample_expand() 85 snd_pcm_area_silence(&dst_channels[channel].area, 0, dst_frames, plugin->dst_format.format); in resample_expand() 86 dst_channels[channel].enabled = 0; in resample_expand() [all …]
|
D | io.c | 49 int channel, channels = plugin->dst_format.channels; in io_playback_transfer() local 53 for (channel = 0; channel < channels; channel++) { in io_playback_transfer() 54 if (src_channels[channel].enabled) in io_playback_transfer() 55 bufs[channel] = src_channels[channel].area.addr; in io_playback_transfer() 57 bufs[channel] = NULL; in io_playback_transfer() 75 int channel, channels = plugin->dst_format.channels; in io_capture_transfer() local 79 for (channel = 0; channel < channels; channel++) { in io_capture_transfer() 80 if (dst_channels[channel].enabled) in io_capture_transfer() 81 bufs[channel] = dst_channels[channel].area.addr; in io_capture_transfer() 83 bufs[channel] = NULL; in io_capture_transfer() [all …]
|
D | linear.c | 61 int channel; in convert() local 63 for (channel = 0; channel < nchannels; ++channel) { in convert() 68 if (!src_channels[channel].enabled) { in convert() 69 if (dst_channels[channel].wanted) in convert() 70 snd_pcm_area_silence(&dst_channels[channel].area, 0, frames, plugin->dst_format.format); in convert() 71 dst_channels[channel].enabled = 0; in convert() 74 dst_channels[channel].enabled = 1; in convert() 75 src = src_channels[channel].area.addr + src_channels[channel].area.first / 8; in convert() 76 dst = dst_channels[channel].area.addr + dst_channels[channel].area.first / 8; in convert() 77 src_step = src_channels[channel].area.step / 8; in convert() [all …]
|
/linux-4.1.27/arch/mips/jazz/ |
D | jazzdma.c | 357 void vdma_enable(int channel) in vdma_enable() argument 362 printk("vdma_enable: channel %d\n", channel); in vdma_enable() 367 status = r4030_read_reg32(JAZZ_R4030_CHNL_ENABLE + (channel << 5)); in vdma_enable() 369 printk("VDMA: Channel %d: Address error!\n", channel); in vdma_enable() 371 printk("VDMA: Channel %d: Memory error!\n", channel); in vdma_enable() 376 r4030_write_reg32(JAZZ_R4030_CHNL_ENABLE + (channel << 5), in vdma_enable() 378 (channel << 5)) | R4030_TC_INTR in vdma_enable() 384 r4030_write_reg32(JAZZ_R4030_CHNL_ENABLE + (channel << 5), in vdma_enable() 386 (channel << 5)) | in vdma_enable() 395 void vdma_disable(int channel) in vdma_disable() argument [all …]
|
/linux-4.1.27/arch/frv/kernel/ |
D | dma.c | 114 #define frv_clear_dma_inprogress(channel) \ argument 115 atomic_clear_mask(1 << (channel), &frv_dma_inprogress); 117 #define frv_set_dma_inprogress(channel) \ argument 118 atomic_set_mask(1 << (channel), &frv_dma_inprogress); 126 struct frv_dma_channel *channel = _channel; in dma_irq_handler() local 128 frv_clear_dma_inprogress(channel - frv_dma_channels); in dma_irq_handler() 129 return channel->handler(channel - frv_dma_channels, in dma_irq_handler() 130 __get_DMAC(channel->ioaddr, CSTR), in dma_irq_handler() 131 channel->data); in dma_irq_handler() 176 struct frv_dma_channel *channel; in frv_dma_open() local [all …]
|
/linux-4.1.27/drivers/staging/comedi/drivers/ |
D | jr3_pci.c | 103 struct jr3_channel __iomem *channel; member 134 static int is_complete(struct jr3_channel __iomem *channel) in is_complete() argument 136 return get_s16(&channel->command_word0) == 0; in is_complete() 139 static void set_transforms(struct jr3_channel __iomem *channel, in set_transforms() argument 146 set_u16(&channel->transforms[num].link[i].link_type, in set_transforms() 149 set_s16(&channel->transforms[num].link[i].link_amount, in set_transforms() 157 static void use_transform(struct jr3_channel __iomem *channel, in use_transform() argument 160 set_s16(&channel->command_word0, 0x0500 + (transf_num & 0x000f)); in use_transform() 163 static void use_offset(struct jr3_channel __iomem *channel, short offset_num) in use_offset() argument 165 set_s16(&channel->command_word0, 0x0600 + (offset_num & 0x000f)); in use_offset() [all …]
|
D | unioxx5.c | 109 static void __unioxx5_analog_config(struct unioxx5_subd_priv *usp, int channel) in __unioxx5_analog_config() argument 113 channel_offset = __unioxx5_define_chan_offset(channel); in __unioxx5_analog_config() 118 if (channel % 2 == 0) { in __unioxx5_analog_config() 119 chan_a <<= channel & 0x07; in __unioxx5_analog_config() 120 chan_b <<= (channel + 1) & 0x07; in __unioxx5_analog_config() 122 chan_a <<= (channel - 1) & 0x07; in __unioxx5_analog_config() 123 chan_b <<= channel & 0x07; in __unioxx5_analog_config() 137 unsigned int *data, int channel, int minor) in __unioxx5_digital_read() argument 141 int channel_offset, mask = 1 << (channel & 0x07); in __unioxx5_digital_read() 143 channel_offset = __unioxx5_define_chan_offset(channel); in __unioxx5_digital_read() [all …]
|
D | mite.c | 68 mite->channels[i].channel = i; in mite_alloc() 86 static unsigned mite_fifo_size(struct mite_struct *mite, unsigned channel) in mite_fifo_size() argument 88 unsigned fcr_bits = readl(mite->mite_io_addr + MITE_FCR(channel)); in mite_fifo_size() 225 struct mite_channel *channel = NULL; in mite_request_channel_in_range() local 234 channel = &mite->channels[i]; in mite_request_channel_in_range() 235 channel->ring = ring; in mite_request_channel_in_range() 240 return channel; in mite_request_channel_in_range() 251 if (mite->channel_allocated[mite_chan->channel]) { in mite_release_channel() 262 mite->mite_io_addr + MITE_CHCR(mite_chan->channel)); in mite_release_channel() 263 mite->channel_allocated[mite_chan->channel] = 0; in mite_release_channel() [all …]
|
D | ni_stc.h | 325 static inline unsigned RTSI_Output_Bit(unsigned channel, int is_mseries) in RTSI_Output_Bit() argument 336 if (channel > max_channel) { in RTSI_Output_Bit() 337 pr_err("%s: bug, invalid RTSI_channel=%i\n", __func__, channel); in RTSI_Output_Bit() 340 return 1 << (base_bit_shift + channel); in RTSI_Output_Bit() 717 static inline unsigned ni_stc_dma_channel_select_bitfield(unsigned channel) in ni_stc_dma_channel_select_bitfield() argument 719 if (channel < 4) in ni_stc_dma_channel_select_bitfield() 720 return 1 << channel; in ni_stc_dma_channel_select_bitfield() 721 if (channel == 4) in ni_stc_dma_channel_select_bitfield() 723 if (channel == 5) in ni_stc_dma_channel_select_bitfield() 757 static inline unsigned int AI_CONFIG_CHANNEL(unsigned int channel) in AI_CONFIG_CHANNEL() argument [all …]
|
D | cb_pcidda.c | 67 #define CAL_CHANNEL_BITS(channel) (((channel) << 1) & CAL_CHANNEL_MASK) argument 233 unsigned int caldac, unsigned int channel, in cb_pcidda_write_caldac() argument 246 cb_pcidda_serial_out(dev, channel, num_channel_bits); in cb_pcidda_write_caldac() 266 static void cb_pcidda_calibrate(struct comedi_device *dev, unsigned int channel, in cb_pcidda_calibrate() argument 270 unsigned int caldac = channel / 2; /* two caldacs per channel */ in cb_pcidda_calibrate() 271 unsigned int chan = 4 * (channel % 2); /* caldac channel base */ in cb_pcidda_calibrate() 272 unsigned int index = 2 * range + 12 * channel; in cb_pcidda_calibrate() 277 devpriv->ao_range[channel] = range; in cb_pcidda_calibrate() 300 unsigned int channel = CR_CHAN(insn->chanspec); in cb_pcidda_ao_insn_write() local 304 if (range != devpriv->ao_range[channel]) in cb_pcidda_ao_insn_write() [all …]
|
/linux-4.1.27/drivers/iio/adc/ |
D | twl6030-gpadc.c | 98 int channel; member 121 int (*start_conversion)(int channel); 122 u8 (*channel_to_reg)(int channel); 154 .channel = 0, 161 .channel = 1, 168 .channel = 2, 175 .channel = 3, 182 .channel = 4, 189 .channel = 5, 196 .channel = 6, [all …]
|
D | ad7476.c | 29 struct iio_chan_spec channel[2]; member 118 *val = (ret >> st->chip_info->channel[0].scan_type.shift) & in ad7476_read_raw() 119 GENMASK(st->chip_info->channel[0].scan_type.realbits - 1, 0); in ad7476_read_raw() 159 .channel[0] = AD7091R_CHAN(12), 160 .channel[1] = IIO_CHAN_SOFT_TIMESTAMP(1), 164 .channel[0] = AD7940_CHAN(12), 165 .channel[1] = IIO_CHAN_SOFT_TIMESTAMP(1), 168 .channel[0] = AD7940_CHAN(10), 169 .channel[1] = IIO_CHAN_SOFT_TIMESTAMP(1), 172 .channel[0] = AD7940_CHAN(8), [all …]
|
D | da9150-gpadc.c | 160 static int da9150_gpadc_read_processed(struct da9150_gpadc *gpadc, int channel, in da9150_gpadc_read_processed() argument 169 switch (channel) { in da9150_gpadc_read_processed() 194 static int da9150_gpadc_read_scale(int channel, int *val, int *val2) in da9150_gpadc_read_scale() argument 196 switch (channel) { in da9150_gpadc_read_scale() 211 static int da9150_gpadc_read_offset(int channel, int *val) in da9150_gpadc_read_offset() argument 213 switch (channel) { in da9150_gpadc_read_offset() 232 if ((chan->channel < DA9150_GPADC_CHAN_GPIOA) || in da9150_gpadc_read_raw() 233 (chan->channel > DA9150_GPADC_CHAN_TJUNC_OVP)) in da9150_gpadc_read_raw() 239 return da9150_gpadc_read_processed(gpadc, chan->channel, in da9150_gpadc_read_raw() 242 return da9150_gpadc_read_scale(chan->channel, val, val2); in da9150_gpadc_read_raw() [all …]
|
D | cc10001_adc.c | 95 unsigned int channel) in cc10001_adc_start() argument 100 val = (channel & CC10001_ADC_CH_MASK) | CC10001_ADC_MODE_SINGLE_CONV; in cc10001_adc_start() 110 unsigned int channel, in cc10001_adc_poll_done() argument 126 CC10001_ADC_CH_MASK) != channel) { in cc10001_adc_poll_done() 144 unsigned int channel; in cc10001_adc_trigger_h() local 166 channel = indio_dev->channels[scan_idx].channel; in cc10001_adc_trigger_h() 167 cc10001_adc_start(adc_dev, channel); in cc10001_adc_trigger_h() 169 data[i] = cc10001_adc_poll_done(indio_dev, channel, delay_ns); in cc10001_adc_trigger_h() 172 "invalid sample on channel %d\n", channel); in cc10001_adc_trigger_h() 204 cc10001_adc_start(adc_dev, chan->channel); in cc10001_adc_read_raw_voltage() [all …]
|
D | ad799x.c | 110 const struct iio_chan_spec channel[9]; member 429 return AD7998_DATALOW_REG(chan->channel); in ad799x_threshold_reg() 431 return AD7998_DATAHIGH_REG(chan->channel); in ad799x_threshold_reg() 433 return AD7998_HYST_REG(chan->channel); in ad799x_threshold_reg() 577 .channel = (_index), \ 603 .channel = { 616 .channel = { 629 .channel = { 642 .channel = { 650 .channel = { [all …]
|
/linux-4.1.27/drivers/hv/ |
D | channel_mgmt.c | 137 struct vmbus_channel *channel; in alloc_channel() local 139 channel = kzalloc(sizeof(*channel), GFP_ATOMIC); in alloc_channel() 140 if (!channel) in alloc_channel() 143 channel->id = atomic_inc_return(&chan_num); in alloc_channel() 144 spin_lock_init(&channel->inbound_lock); in alloc_channel() 145 spin_lock_init(&channel->lock); in alloc_channel() 147 INIT_LIST_HEAD(&channel->sc_list); in alloc_channel() 148 INIT_LIST_HEAD(&channel->percpu_list); in alloc_channel() 150 return channel; in alloc_channel() 156 static void free_channel(struct vmbus_channel *channel) in free_channel() argument [all …]
|
D | channel.c | 41 static void vmbus_setevent(struct vmbus_channel *channel) in vmbus_setevent() argument 45 if (channel->offermsg.monitor_allocated) { in vmbus_setevent() 47 sync_set_bit(channel->offermsg.child_relid & 31, in vmbus_setevent() 49 (channel->offermsg.child_relid >> 5)); in vmbus_setevent() 54 sync_set_bit(channel->monitor_bit, in vmbus_setevent() 56 [channel->monitor_grp].pending); in vmbus_setevent() 59 vmbus_set_event(channel); in vmbus_setevent() 362 int vmbus_establish_gpadl(struct vmbus_channel *channel, void *kbuffer, in vmbus_establish_gpadl() argument 386 gpadlmsg->child_relid = channel->offermsg.child_relid; in vmbus_establish_gpadl() 438 int vmbus_teardown_gpadl(struct vmbus_channel *channel, u32 gpadl_handle) in vmbus_teardown_gpadl() argument [all …]
|
D | vmbus_drv.c | 97 static u8 channel_monitor_group(struct vmbus_channel *channel) in channel_monitor_group() argument 99 return (u8)channel->offermsg.monitorid / 32; in channel_monitor_group() 102 static u8 channel_monitor_offset(struct vmbus_channel *channel) in channel_monitor_offset() argument 104 return (u8)channel->offermsg.monitorid % 32; in channel_monitor_offset() 107 static u32 channel_pending(struct vmbus_channel *channel, in channel_pending() argument 110 u8 monitor_group = channel_monitor_group(channel); in channel_pending() 114 static u32 channel_latency(struct vmbus_channel *channel, in channel_latency() argument 117 u8 monitor_group = channel_monitor_group(channel); in channel_latency() 118 u8 monitor_offset = channel_monitor_offset(channel); in channel_latency() 122 static u32 channel_conn_id(struct vmbus_channel *channel, in channel_conn_id() argument [all …]
|
D | connection.c | 254 struct vmbus_channel *channel; in pcpu_relid2channel() local 259 list_for_each_entry(channel, pcpu_head, percpu_list) { in pcpu_relid2channel() 260 if (channel->offermsg.child_relid == relid) { in pcpu_relid2channel() 261 found_channel = channel; in pcpu_relid2channel() 275 struct vmbus_channel *channel; in relid2channel() local 282 list_for_each_entry(channel, &vmbus_connection.chn_list, listentry) { in relid2channel() 283 if (channel->offermsg.child_relid == relid) { in relid2channel() 284 found_channel = channel; in relid2channel() 286 } else if (!list_empty(&channel->sc_list)) { in relid2channel() 290 list_for_each_safe(cur, tmp, &channel->sc_list) { in relid2channel() [all …]
|
D | hv_util.c | 104 struct vmbus_channel *channel = context; in shutdown_onchannelcallback() local 115 vmbus_recvpacket(channel, shut_txf_buf, in shutdown_onchannelcallback() 154 vmbus_sendpacket(channel, shut_txf_buf, in shutdown_onchannelcallback() 235 struct vmbus_channel *channel = context; in timesync_onchannelcallback() local 243 vmbus_recvpacket(channel, time_txf_buf, in timesync_onchannelcallback() 265 vmbus_sendpacket(channel, time_txf_buf, in timesync_onchannelcallback() 278 struct vmbus_channel *channel = context; in heartbeat_onchannelcallback() local 286 vmbus_recvpacket(channel, hbeat_txf_buf, in heartbeat_onchannelcallback() 309 vmbus_sendpacket(channel, hbeat_txf_buf, in heartbeat_onchannelcallback() 341 set_channel_read_state(dev->channel, false); in util_probe() [all …]
|
D | hv_snapshot.c | 135 struct vmbus_channel *channel; in vss_respond_to_host() local 155 channel = vss_transaction.recv_channel; in vss_respond_to_host() 162 if (channel->onchannel_callback == NULL) in vss_respond_to_host() 173 vmbus_sendpacket(channel, recv_buffer, buf_len, req_id, in vss_respond_to_host() 185 struct vmbus_channel *channel = context; in hv_vss_onchannelcallback() local 199 vss_transaction.recv_channel = channel; in hv_vss_onchannelcallback() 203 vmbus_recvpacket(channel, recv_buffer, PAGE_SIZE * 2, &recvlen, in hv_vss_onchannelcallback() 225 vss_transaction.recv_channel = channel; in hv_vss_onchannelcallback() 271 vmbus_sendpacket(channel, recv_buffer, in hv_vss_onchannelcallback()
|
/linux-4.1.27/drivers/net/wireless/ipw2x00/ |
D | libipw_geo.c | 45 int libipw_is_valid_channel(struct libipw_device *ieee, u8 channel) in libipw_is_valid_channel() argument 59 if ((ieee->geo.bg[i].channel == channel) && in libipw_is_valid_channel() 67 if ((ieee->geo.a[i].channel == channel) && in libipw_is_valid_channel() 74 int libipw_channel_to_index(struct libipw_device *ieee, u8 channel) in libipw_channel_to_index() argument 85 if (ieee->geo.bg[i].channel == channel) in libipw_channel_to_index() 90 if (ieee->geo.a[i].channel == channel) in libipw_channel_to_index() 96 u32 libipw_channel_to_freq(struct libipw_device * ieee, u8 channel) in libipw_channel_to_freq() argument 105 ch = libipw_get_channel(ieee, channel); in libipw_channel_to_freq() 106 if (!ch->channel) in libipw_channel_to_freq() 125 return ieee->geo.bg[i].channel; in libipw_freq_to_channel() [all …]
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-drv.c | 135 struct xgbe_channel *channel_mem, *channel; in xgbe_alloc_channels() local 156 for (i = 0, channel = channel_mem; i < count; i++, channel++) { in xgbe_alloc_channels() 157 snprintf(channel->name, sizeof(channel->name), "channel-%d", i); in xgbe_alloc_channels() 158 channel->pdata = pdata; in xgbe_alloc_channels() 159 channel->queue_index = i; in xgbe_alloc_channels() 160 channel->dma_regs = pdata->xgmac_regs + DMA_CH_BASE + in xgbe_alloc_channels() 173 channel->dma_irq = ret; in xgbe_alloc_channels() 178 channel->tx_ring = tx_ring++; in xgbe_alloc_channels() 183 channel->rx_ring = rx_ring++; in xgbe_alloc_channels() 187 channel->name, channel->queue_index, channel->dma_regs, in xgbe_alloc_channels() [all …]
|
D | xgbe-dev.c | 174 struct xgbe_channel *channel; in xgbe_config_pblx8() local 177 channel = pdata->channel; in xgbe_config_pblx8() 178 for (i = 0; i < pdata->channel_count; i++, channel++) in xgbe_config_pblx8() 179 XGMAC_DMA_IOWRITE_BITS(channel, DMA_CH_CR, PBLX8, in xgbe_config_pblx8() 187 return XGMAC_DMA_IOREAD_BITS(pdata->channel, DMA_CH_TCR, PBL); in xgbe_get_tx_pbl_val() 192 struct xgbe_channel *channel; in xgbe_config_tx_pbl_val() local 195 channel = pdata->channel; in xgbe_config_tx_pbl_val() 196 for (i = 0; i < pdata->channel_count; i++, channel++) { in xgbe_config_tx_pbl_val() 197 if (!channel->tx_ring) in xgbe_config_tx_pbl_val() 200 XGMAC_DMA_IOWRITE_BITS(channel, DMA_CH_TCR, PBL, in xgbe_config_tx_pbl_val() [all …]
|
D | xgbe-desc.c | 174 struct xgbe_channel *channel; in xgbe_free_ring_resources() local 179 channel = pdata->channel; in xgbe_free_ring_resources() 180 for (i = 0; i < pdata->channel_count; i++, channel++) { in xgbe_free_ring_resources() 181 xgbe_free_ring(pdata, channel->tx_ring); in xgbe_free_ring_resources() 182 xgbe_free_ring(pdata, channel->rx_ring); in xgbe_free_ring_resources() 221 struct xgbe_channel *channel; in xgbe_alloc_ring_resources() local 227 channel = pdata->channel; in xgbe_alloc_ring_resources() 228 for (i = 0; i < pdata->channel_count; i++, channel++) { in xgbe_alloc_ring_resources() 229 DBGPR(" %s - tx_ring:\n", channel->name); in xgbe_alloc_ring_resources() 230 ret = xgbe_init_ring(pdata, channel->tx_ring, in xgbe_alloc_ring_resources() [all …]
|
/linux-4.1.27/sound/firewire/ |
D | iso-resources.c | 109 int bandwidth, channel, err; in fw_iso_resources_allocate() local 130 &channel, &bandwidth, true); in fw_iso_resources_allocate() 131 if (channel == -EAGAIN) { in fw_iso_resources_allocate() 135 if (channel >= 0) { in fw_iso_resources_allocate() 136 r->channel = channel; in fw_iso_resources_allocate() 139 if (channel == -EBUSY) in fw_iso_resources_allocate() 149 return channel; in fw_iso_resources_allocate() 167 int bandwidth, channel; in fw_iso_resources_update() local 183 fw_iso_resource_manage(card, r->generation, 1uLL << r->channel, in fw_iso_resources_update() 184 &channel, &bandwidth, true); in fw_iso_resources_update() [all …]
|
/linux-4.1.27/drivers/net/ethernet/neterion/vxge/ |
D | vxge-traffic.c | 293 void vxge_hw_channel_msix_mask(struct __vxge_hw_channel *channel, int msix_id) in vxge_hw_channel_msix_mask() argument 298 &channel->common_reg->set_msix_mask_vect[msix_id%4]); in vxge_hw_channel_msix_mask() 311 vxge_hw_channel_msix_unmask(struct __vxge_hw_channel *channel, int msix_id) in vxge_hw_channel_msix_unmask() argument 316 &channel->common_reg->clear_msix_mask_vect[msix_id%4]); in vxge_hw_channel_msix_unmask() 329 void vxge_hw_channel_msix_clear(struct __vxge_hw_channel *channel, int msix_id) in vxge_hw_channel_msix_clear() argument 333 &channel->common_reg->clr_msix_one_shot_vec[msix_id % 4]); in vxge_hw_channel_msix_clear() 1005 vxge_hw_channel_dtr_alloc(struct __vxge_hw_channel *channel, void **dtrh) in vxge_hw_channel_dtr_alloc() argument 1009 if (channel->reserve_ptr - channel->reserve_top > 0) { in vxge_hw_channel_dtr_alloc() 1011 *dtrh = channel->reserve_arr[--channel->reserve_ptr]; in vxge_hw_channel_dtr_alloc() 1022 if (channel->length - channel->free_ptr > 0) { in vxge_hw_channel_dtr_alloc() [all …]
|
/linux-4.1.27/sound/oss/ |
D | midi_synth.c | 283 midi_synth_kill_note(int dev, int channel, int note, int velocity) in midi_synth_kill_note() argument 290 if (channel < 0 || channel > 15) in midi_synth_kill_note() 302 if (chn == channel && ((msg == 0x90 && velocity == 64) || msg == 0x80)) in midi_synth_kill_note() 324 if (!prefix_cmd(orig_dev, 0x90 | (channel & 0x0f))) in midi_synth_kill_note() 326 midi_outc(orig_dev, 0x90 | (channel & 0x0f)); /* in midi_synth_kill_note() 335 if (!prefix_cmd(orig_dev, 0x80 | (channel & 0x0f))) in midi_synth_kill_note() 337 midi_outc(orig_dev, 0x80 | (channel & 0x0f)); /* in midi_synth_kill_note() 350 midi_synth_set_instr(int dev, int channel, int instr_no) in midi_synth_set_instr() argument 356 if (channel < 0 || channel > 15) in midi_synth_set_instr() 361 if (!prefix_cmd(orig_dev, 0xc0 | (channel & 0x0f))) in midi_synth_set_instr() [all …]
|
D | midi_synth.h | 3 int midi_synth_kill_note (int dev, int channel, int note, int velocity); 4 int midi_synth_set_instr (int dev, int channel, int instr_no); 5 int midi_synth_start_note (int dev, int channel, int note, int volume); 12 void midi_synth_panning (int dev, int channel, int pressure); 13 void midi_synth_aftertouch (int dev, int channel, int pressure); 14 void midi_synth_controller (int dev, int channel, int ctrl_num, int value);
|
/linux-4.1.27/drivers/hwmon/ |
D | max197.c | 59 static inline void max197_set_unipolarity(struct max197_data *data, int channel) in max197_set_unipolarity() argument 61 data->ctrl_bytes[channel] &= ~MAX197_BIP; in max197_set_unipolarity() 64 static inline void max197_set_bipolarity(struct max197_data *data, int channel) in max197_set_bipolarity() argument 66 data->ctrl_bytes[channel] |= MAX197_BIP; in max197_set_bipolarity() 69 static inline void max197_set_half_range(struct max197_data *data, int channel) in max197_set_half_range() argument 71 data->ctrl_bytes[channel] &= ~MAX197_RNG; in max197_set_half_range() 74 static inline void max197_set_full_range(struct max197_data *data, int channel) in max197_set_full_range() argument 76 data->ctrl_bytes[channel] |= MAX197_RNG; in max197_set_full_range() 79 static inline bool max197_is_bipolar(struct max197_data *data, int channel) in max197_is_bipolar() argument 81 return data->ctrl_bytes[channel] & MAX197_BIP; in max197_is_bipolar() [all …]
|
D | da9055-hwmon.c | 61 unsigned char channel) in da9055_adc_manual_read() argument 69 if (channel > DA9055_ADC_TJUNC) in da9055_adc_manual_read() 75 mux_sel = chan_mux[channel] | DA9055_ADC_MAN_CONV; in da9055_adc_manual_read() 121 static inline int volt_reg_to_mv(int value, int channel) in volt_reg_to_mv() argument 123 if (channel == DA9055_ADC_VSYS) in volt_reg_to_mv() 129 static int da9055_enable_auto_mode(struct da9055 *da9055, int channel) in da9055_enable_auto_mode() argument 132 return da9055_reg_update(da9055, DA9055_REG_ADC_CONT, 1 << channel, in da9055_enable_auto_mode() 133 1 << channel); in da9055_enable_auto_mode() 137 static int da9055_disable_auto_mode(struct da9055 *da9055, int channel) in da9055_disable_auto_mode() argument 140 return da9055_reg_update(da9055, DA9055_REG_ADC_CONT, 1 << channel, 0); in da9055_disable_auto_mode() [all …]
|
D | ads1015.c | 73 static int ads1015_read_adc(struct i2c_client *client, unsigned int channel) in ads1015_read_adc() argument 77 unsigned int pga = data->channel_data[channel].pga; in ads1015_read_adc() 78 unsigned int data_rate = data->channel_data[channel].data_rate; in ads1015_read_adc() 96 config |= (channel & 0x0007) << 12; in ads1015_read_adc() 123 static int ads1015_reg_to_mv(struct i2c_client *client, unsigned int channel, in ads1015_reg_to_mv() argument 127 unsigned int pga = data->channel_data[channel].pga; in ads1015_reg_to_mv() 188 unsigned int channel; in ads1015_get_channels_config_of() local 198 channel = pval; in ads1015_get_channels_config_of() 199 if (channel >= ADS1015_CHANNELS) { in ads1015_get_channels_config_of() 202 channel, node->full_name); in ads1015_get_channels_config_of() [all …]
|
D | pcf8591.c | 88 static int pcf8591_read_channel(struct device *dev, int channel); 91 #define show_in_channel(channel) \ argument 92 static ssize_t show_in##channel##_input(struct device *dev, \ 96 return sprintf(buf, "%d\n", pcf8591_read_channel(dev, channel));\ 98 static DEVICE_ATTR(in##channel##_input, S_IRUGO, \ 99 show_in##channel##_input, NULL); 273 static int pcf8591_read_channel(struct device *dev, int channel) in pcf8591_read_channel() argument 281 if ((data->control & PCF8591_CONTROL_AICH_MASK) != channel) { in pcf8591_read_channel() 283 | channel; in pcf8591_read_channel() 296 if ((channel == 2 && input_mode == 2) || in pcf8591_read_channel() [all …]
|
/linux-4.1.27/Documentation/sound/alsa/ |
D | Channel-Mapping-API.txt | 1 ALSA PCM channel-mapping API 8 The channel mapping API allows user to query the possible channel maps 9 and the current channel map, also optionally to modify the channel map 12 A channel map is an array of position for each PCM channel. 13 Typically, a stereo PCM stream has a channel map of 15 while a 4.0 surround PCM stream has a channel map of 18 The problem, so far, was that we had no standard channel map 19 explicitly, and applications had no way to know which channel 27 was no way to specify this because of lack of channel map 28 specification. These are the main motivations for the new channel [all …]
|
/linux-4.1.27/arch/arm/common/ |
D | edma.c | 265 void (*callback)(unsigned channel, unsigned short ch_status, 329 void (*callback)(unsigned channel, u16 ch_status, void *data), in setup_dma_interrupt() argument 395 u32 channel; in dma_irq_handler() local 403 channel = (bank << 5) | slot; in dma_irq_handler() 407 if (edma_cc[ctlr]->intr_data[channel].callback) in dma_irq_handler() 408 edma_cc[ctlr]->intr_data[channel].callback( in dma_irq_handler() 409 EDMA_CTLR_CHAN(ctlr, channel), in dma_irq_handler() 411 edma_cc[ctlr]->intr_data[channel].data); in dma_irq_handler() 646 int edma_alloc_channel(int channel, in edma_alloc_channel() argument 647 void (*callback)(unsigned channel, u16 ch_status, void *data), in edma_alloc_channel() argument [all …]
|
/linux-4.1.27/sound/pci/emu10k1/ |
D | p16v.c | 177 struct snd_emu10k1_voice *channel = &(emu->p16v_voices[channel_id]); in snd_p16v_pcm_open_playback_channel() local 198 channel->emu = emu; in snd_p16v_pcm_open_playback_channel() 199 channel->number = channel_id; in snd_p16v_pcm_open_playback_channel() 201 channel->use=1; in snd_p16v_pcm_open_playback_channel() 205 channel_id, channel, channel->use); in snd_p16v_pcm_open_playback_channel() 207 channel_id, chip, channel); in snd_p16v_pcm_open_playback_channel() 210 channel->epcm = epcm; in snd_p16v_pcm_open_playback_channel() 225 struct snd_emu10k1_voice *channel = &(emu->p16v_capture_voice); in snd_p16v_pcm_open_capture_channel() local 246 channel->emu = emu; in snd_p16v_pcm_open_capture_channel() 247 channel->number = channel_id; in snd_p16v_pcm_open_capture_channel() [all …]
|
/linux-4.1.27/drivers/gpu/drm/imx/ |
D | imx-ldb.c | 78 struct imx_ldb_channel channel[2]; member 227 if (imx_ldb_ch == &ldb->channel[0] || dual) { in imx_ldb_encoder_commit() 234 if (imx_ldb_ch == &ldb->channel[1] || dual) { in imx_ldb_encoder_commit() 245 if (imx_ldb_ch == &ldb->channel[0]) in imx_ldb_encoder_commit() 247 else if (imx_ldb_ch == &ldb->channel[1]) in imx_ldb_encoder_commit() 290 if (imx_ldb_ch == &ldb->channel[0]) { in imx_ldb_encoder_mode_set() 296 if (imx_ldb_ch == &ldb->channel[1]) { in imx_ldb_encoder_mode_set() 315 if (imx_ldb_ch == &ldb->channel[0] && in imx_ldb_encoder_disable() 318 else if (imx_ldb_ch == &ldb->channel[1] && in imx_ldb_encoder_disable() 324 if (imx_ldb_ch == &ldb->channel[0]) in imx_ldb_encoder_disable() [all …]
|
/linux-4.1.27/drivers/media/i2c/ |
D | tw2804.c | 42 u8 channel:2; member 118 static int write_reg(struct i2c_client *client, u8 reg, u8 value, u8 channel) in write_reg() argument 120 return i2c_smbus_write_byte_data(client, reg | (channel << 6), value); in write_reg() 123 static int write_regs(struct i2c_client *client, const u8 *regs, u8 channel) in write_regs() argument 130 regs[i] | (channel << 6), regs[i + 1]); in write_regs() 137 static int read_reg(struct i2c_client *client, u8 reg, u8 channel) in read_reg() argument 139 return i2c_smbus_read_byte_data(client, (reg) | (channel << 6)); in read_reg() 158 v4l2_info(sd, "Channel: %d\n", state->channel); in tw2804_log_status() 211 reg = read_reg(client, addr, state->channel); in tw2804_s_ctrl() 218 return write_reg(client, addr, reg, state->channel); in tw2804_s_ctrl() [all …]
|
/linux-4.1.27/drivers/gpu/ipu-v3/ |
D | ipu-common.c | 246 struct ipuv3_channel *channel; in ipu_idmac_get() local 255 channel = &ipu->channel[num]; in ipu_idmac_get() 257 if (channel->busy) { in ipu_idmac_get() 258 channel = ERR_PTR(-EBUSY); in ipu_idmac_get() 262 channel->busy = true; in ipu_idmac_get() 263 channel->num = num; in ipu_idmac_get() 268 return channel; in ipu_idmac_get() 272 void ipu_idmac_put(struct ipuv3_channel *channel) in ipu_idmac_put() argument 274 struct ipu_soc *ipu = channel->ipu; in ipu_idmac_put() 276 dev_dbg(ipu->dev, "%s %d\n", __func__, channel->num); in ipu_idmac_put() [all …]
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | m68360_regs.h | 364 #define CHANNEL_PRAM_BASE(quicc,channel) ((struct quicc32_pram *) \ argument 365 (&(quicc->ch_or_u.ch_pram_tbl[channel]))) 366 #define TBD_32_ADDR(quicc,page,channel) ((struct quicc_bd *) \ argument 367 (MCBASE(quicc,page) + (CHANNEL_PRAM_BASE(quicc,channel)->tbase))) 368 #define RBD_32_ADDR(quicc,page,channel) ((struct quicc_bd *) \ argument 369 (MCBASE(quicc,page) + (CHANNEL_PRAM_BASE(quicc,channel)->rbase))) 370 #define TBD_32_CUR_ADDR(quicc,page,channel) ((struct quicc_bd *) \ argument 371 (MCBASE(quicc,page) + (CHANNEL_PRAM_BASE(quicc,channel)->tbptr))) 372 #define RBD_32_CUR_ADDR(quicc,page,channel) ((struct quicc_bd *) \ argument 373 (MCBASE(quicc,page) + (CHANNEL_PRAM_BASE(quicc,channel)->rbptr))) [all …]
|
/linux-4.1.27/drivers/isdn/icn/ |
D | icn.c | 57 icn_free_queue(icn_card *card, int channel) in icn_free_queue() argument 59 struct sk_buff_head *queue = &card->spqueue[channel]; in icn_free_queue() 63 card->xlen[channel] = 0; in icn_free_queue() 64 card->sndcount[channel] = 0; in icn_free_queue() 65 if ((skb = card->xskb[channel])) { in icn_free_queue() 66 card->xskb[channel] = NULL; in icn_free_queue() 116 icn_map_channel(icn_card *card, int channel) in icn_map_channel() argument 119 printk(KERN_DEBUG "icn_map_channel %d %d\n", dev.channel, channel); in icn_map_channel() 121 if ((channel == dev.channel) && (card == dev.mcard)) in icn_map_channel() 125 icn_shiftout(ICN_BANK, chan2bank[channel], 3, 4); /* Select Bank */ in icn_map_channel() [all …]
|
/linux-4.1.27/arch/blackfin/kernel/ |
D | bfin_dma.c | 99 static void set_dma_peripheral_map(unsigned int channel, const char *device_id) in set_dma_peripheral_map() argument 104 switch (channel) { in set_dma_peripheral_map() 113 dma_ch[channel].regs->peripheral_map = per_map; in set_dma_peripheral_map() 122 int request_dma(unsigned int channel, const char *device_id) in request_dma() argument 127 printk(KERN_WARNING "request_dma(%u): no device_id given\n", channel); in request_dma() 130 if (channel >= CH_IMEM_STREAM0_DEST && channel <= CH_IMEM_STREAM1_DEST) { in request_dma() 139 if (atomic_cmpxchg(&dma_ch[channel].chan_status, 0, 1)) { in request_dma() 144 set_dma_peripheral_map(channel, device_id); in request_dma() 145 dma_ch[channel].device_id = device_id; in request_dma() 146 dma_ch[channel].irq = 0; in request_dma() [all …]
|
/linux-4.1.27/drivers/iio/ |
D | inkern.c | 128 static int __of_iio_channel_get(struct iio_channel *channel, in __of_iio_channel_get() argument 149 channel->indio_dev = indio_dev; in __of_iio_channel_get() 156 channel->channel = &indio_dev->channels[index]; in __of_iio_channel_get() 167 struct iio_channel *channel; in of_iio_channel_get() local 173 channel = kzalloc(sizeof(*channel), GFP_KERNEL); in of_iio_channel_get() 174 if (channel == NULL) in of_iio_channel_get() 177 err = __of_iio_channel_get(channel, np, index); in of_iio_channel_get() 181 return channel; in of_iio_channel_get() 184 kfree(channel); in of_iio_channel_get() 286 struct iio_channel *channel; in iio_channel_get_sys() local [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/dma/xilinx/ |
D | xilinx_vdma.txt | 2 It can be configured to have one channel or two channels. If configured 11 - dma-channel child node: Should have at least one channel and can have up to 13 DMA channel (see child node properties below). 18 - xlnx,flush-fsync: Tells which channel to Flush on Frame sync. 21 {2}, flush mm2s channel 22 {3}, flush s2mm channel 25 - compatible: It should be either "xlnx,axi-vdma-mm2s-channel" or 26 "xlnx,axi-vdma-s2mm-channel". 27 - interrupts: Should contain per channel VDMA interrupts. 46 dma-channel@40030000 { [all …]
|
D | xilinx_dma.txt | 2 target devices. It can be configured to have one channel or two channels. 10 - dma-channel child node: Should have atleast one channel and can have upto 12 DMA channel (see child node properties below). 19 - compatible: It should be either "xlnx,axi-dma-mm2s-channel" or 20 "xlnx,axi-dma-s2mm-channel". 21 - interrupts: Should contain per channel DMA interrupts. 36 dma-channel@40400000 { 37 compatible = "xlnx,axi-dma-mm2s-channel"; 41 dma-channel@40400030 { 42 compatible = "xlnx,axi-dma-s2mm-channel"; [all …]
|
/linux-4.1.27/drivers/s390/net/ |
D | ctcm_sysfs.c | 41 ndev = priv->channel[CTCM_READ]->netdev; in ctcm_buffer_write() 42 if (!(priv && priv->channel[CTCM_READ] && ndev)) { in ctcm_buffer_write() 60 priv->channel[CTCM_READ]->max_bufsize = bs1; in ctcm_buffer_write() 61 priv->channel[CTCM_WRITE]->max_bufsize = bs1; in ctcm_buffer_write() 64 priv->channel[CTCM_READ]->flags |= CHANNEL_FLAGS_BUFSIZE_CHANGED; in ctcm_buffer_write() 65 priv->channel[CTCM_WRITE]->flags |= CHANNEL_FLAGS_BUFSIZE_CHANGED; in ctcm_buffer_write() 90 fsm_getstate_str(priv->channel[CTCM_READ]->fsm)); in ctcm_print_statistics() 92 fsm_getstate_str(priv->channel[CTCM_WRITE]->fsm)); in ctcm_print_statistics() 94 priv->channel[WRITE]->prof.maxmulti); in ctcm_print_statistics() 96 priv->channel[WRITE]->prof.maxcqueue); in ctcm_print_statistics() [all …]
|
D | lcs.c | 116 lcs_alloc_channel(struct lcs_channel *channel) in lcs_alloc_channel() argument 123 channel->iob[cnt].data = in lcs_alloc_channel() 125 if (channel->iob[cnt].data == NULL) in lcs_alloc_channel() 127 channel->iob[cnt].state = LCS_BUF_STATE_EMPTY; in lcs_alloc_channel() 133 kfree(channel->iob[cnt].data); in lcs_alloc_channel() 143 lcs_free_channel(struct lcs_channel *channel) in lcs_free_channel() argument 149 kfree(channel->iob[cnt].data); in lcs_free_channel() 150 channel->iob[cnt].data = NULL; in lcs_free_channel() 158 lcs_cleanup_channel(struct lcs_channel *channel) in lcs_cleanup_channel() argument 162 tasklet_kill(&channel->irq_tasklet); in lcs_cleanup_channel() [all …]
|
D | ctcm_main.c | 65 struct channel *channels; 74 void ctcm_unpack_skb(struct channel *ch, struct sk_buff *pskb) in ctcm_unpack_skb() 187 static void channel_free(struct channel *ch) in channel_free() 199 static void channel_remove(struct channel *ch) in channel_remove() 201 struct channel **c = &channels; in channel_remove() 251 static struct channel *channel_get(enum ctcm_channel_types type, in channel_get() 254 struct channel *ch = channels; in channel_get() 308 static inline void ccw_unit_check(struct channel *ch, __u8 sense) in ccw_unit_check() 381 int ctcm_ch_alloc_buffer(struct channel *ch) in ctcm_ch_alloc_buffer() 464 static int ctcm_transmit_skb(struct channel *ch, struct sk_buff *skb) in ctcm_transmit_skb() [all …]
|
D | ctcm_main.h | 130 struct channel { struct 131 struct channel *next; argument 220 struct channel *channel[2]; argument 256 extern struct channel *channels; 258 void ctcm_unpack_skb(struct channel *ch, struct sk_buff *pskb); 277 int ctcm_ch_alloc_buffer(struct channel *ch); 279 static inline int ctcm_checkalloc_buffer(struct channel *ch) in ctcm_checkalloc_buffer()
|
/linux-4.1.27/arch/powerpc/boot/dts/fsl/ |
D | elo3-dma-0.dtsi | 42 dma-channel@0 { 43 compatible = "fsl,eloplus-dma-channel"; 47 dma-channel@80 { 48 compatible = "fsl,eloplus-dma-channel"; 52 dma-channel@100 { 53 compatible = "fsl,eloplus-dma-channel"; 57 dma-channel@180 { 58 compatible = "fsl,eloplus-dma-channel"; 62 dma-channel@300 { 63 compatible = "fsl,eloplus-dma-channel"; [all …]
|
D | elo3-dma-1.dtsi | 42 dma-channel@0 { 43 compatible = "fsl,eloplus-dma-channel"; 47 dma-channel@80 { 48 compatible = "fsl,eloplus-dma-channel"; 52 dma-channel@100 { 53 compatible = "fsl,eloplus-dma-channel"; 57 dma-channel@180 { 58 compatible = "fsl,eloplus-dma-channel"; 62 dma-channel@300 { 63 compatible = "fsl,eloplus-dma-channel"; [all …]
|
D | elo3-dma-2.dtsi | 42 dma-channel@0 { 43 compatible = "fsl,eloplus-dma-channel"; 47 dma-channel@80 { 48 compatible = "fsl,eloplus-dma-channel"; 52 dma-channel@100 { 53 compatible = "fsl,eloplus-dma-channel"; 57 dma-channel@180 { 58 compatible = "fsl,eloplus-dma-channel"; 62 dma-channel@300 { 63 compatible = "fsl,eloplus-dma-channel"; [all …]
|
D | qoriq-qman1-portals.dtsi | 44 fsl,qman-channel-id = <0x0>; 50 fsl,qman-channel-id = <1>; 56 fsl,qman-channel-id = <2>; 62 fsl,qman-channel-id = <3>; 68 fsl,qman-channel-id = <4>; 74 fsl,qman-channel-id = <5>; 80 fsl,qman-channel-id = <6>; 87 fsl,qman-channel-id = <7>; 93 fsl,qman-channel-id = <8>; 99 fsl,qman-channel-id = <9>;
|
D | pq3-dma-1.dtsi | 42 dma-channel@0 { 43 compatible = "fsl,eloplus-dma-channel"; 48 dma-channel@80 { 49 compatible = "fsl,eloplus-dma-channel"; 54 dma-channel@100 { 55 compatible = "fsl,eloplus-dma-channel"; 60 dma-channel@180 { 61 compatible = "fsl,eloplus-dma-channel";
|
D | qoriq-dma-1.dtsi | 42 dma-channel@0 { 43 compatible = "fsl,eloplus-dma-channel"; 48 dma-channel@80 { 49 compatible = "fsl,eloplus-dma-channel"; 54 dma-channel@100 { 55 compatible = "fsl,eloplus-dma-channel"; 60 dma-channel@180 { 61 compatible = "fsl,eloplus-dma-channel";
|
D | qoriq-dma-0.dtsi | 42 dma-channel@0 { 43 compatible = "fsl,eloplus-dma-channel"; 48 dma-channel@80 { 49 compatible = "fsl,eloplus-dma-channel"; 54 dma-channel@100 { 55 compatible = "fsl,eloplus-dma-channel"; 60 dma-channel@180 { 61 compatible = "fsl,eloplus-dma-channel";
|
D | pq3-dma-0.dtsi | 42 dma-channel@0 { 43 compatible = "fsl,eloplus-dma-channel"; 48 dma-channel@80 { 49 compatible = "fsl,eloplus-dma-channel"; 54 dma-channel@100 { 55 compatible = "fsl,eloplus-dma-channel"; 60 dma-channel@180 { 61 compatible = "fsl,eloplus-dma-channel";
|
/linux-4.1.27/drivers/clocksource/ |
D | samsung_pwm_timer.c | 85 static void samsung_timer_set_prescale(unsigned int channel, u16 prescale) in samsung_timer_set_prescale() argument 91 if (channel >= 2) in samsung_timer_set_prescale() 104 static void samsung_timer_set_divisor(unsigned int channel, u8 divisor) in samsung_timer_set_divisor() argument 106 u8 shift = TCFG1_SHIFT(channel); in samsung_timer_set_divisor() 123 static void samsung_time_stop(unsigned int channel) in samsung_time_stop() argument 128 if (channel > 0) in samsung_time_stop() 129 ++channel; in samsung_time_stop() 134 tcon &= ~TCON_START(channel); in samsung_time_stop() 140 static void samsung_time_setup(unsigned int channel, unsigned long tcnt) in samsung_time_setup() argument 144 unsigned int tcon_chan = channel; in samsung_time_setup() [all …]
|
/linux-4.1.27/drivers/iio/dac/ |
D | ad5446.c | 55 struct iio_chan_spec channel; member 146 .channel = 0, \ 256 indio_dev->channels = &st->chip_info->channel; in ad5446_probe() 347 .channel = AD5446_CHANNEL_POWERDOWN(8, 16, 4), 351 .channel = AD5446_CHANNEL_POWERDOWN(10, 16, 2), 355 .channel = AD5446_CHANNEL_POWERDOWN(12, 16, 0), 359 .channel = AD5446_CHANNEL(12, 16, 2), 363 .channel = AD5446_CHANNEL(14, 16, 0), 367 .channel = AD5446_CHANNEL(8, 16, 6), 371 .channel = AD5446_CHANNEL(10, 16, 4), [all …]
|
D | ad5686.c | 54 struct iio_chan_spec channel[AD5686_DAC_CHANNELS]; member 144 return ((st->pwr_down_mode >> (chan->channel * 2)) & 0x3) - 1; in ad5686_get_powerdown_mode() 152 st->pwr_down_mode &= ~(0x3 << (chan->channel * 2)); in ad5686_set_powerdown_mode() 153 st->pwr_down_mode |= ((mode + 1) << (chan->channel * 2)); in ad5686_set_powerdown_mode() 171 (0x3 << (chan->channel * 2)))); in ad5686_read_dac_powerdown() 187 st->pwr_down_mask |= (0x3 << (chan->channel * 2)); in ad5686_write_dac_powerdown() 189 st->pwr_down_mask &= ~(0x3 << (chan->channel * 2)); in ad5686_write_dac_powerdown() 274 .channel = chan, \ 289 .channel[0] = AD5868_CHANNEL(0, 12, 4), 290 .channel[1] = AD5868_CHANNEL(1, 12, 4), [all …]
|
D | max5821.c | 62 return st->powerdown_mode[chan->channel]; in max5821_get_powerdown_mode() 71 st->powerdown_mode[chan->channel] = mode; in max5821_set_powerdown_mode() 90 return sprintf(buf, "%d\n", st->powerdown[chan->channel]); in max5821_read_dac_powerdown() 100 if (chan->channel == 0) in max5821_sync_powerdown_mode() 105 if (data->powerdown[chan->channel]) in max5821_sync_powerdown_mode() 106 outbuf[1] |= data->powerdown_mode[chan->channel] + 1; in max5821_sync_powerdown_mode() 126 data->powerdown[chan->channel] = powerdown; in max5821_write_dac_powerdown() 151 .channel = (chan), \ 173 int *val, int channel) in max5821_get_value() argument 181 if ((channel != 0) && (channel != 1)) in max5821_get_value() [all …]
|
D | ad5755.c | 123 unsigned int channel, unsigned int reg, unsigned int val) in ad5755_write_ctrl_unlocked() argument 126 AD5755_WRITE_REG_CTRL(channel), (reg << 13) | val); in ad5755_write_ctrl_unlocked() 141 static int ad5755_write_ctrl(struct iio_dev *indio_dev, unsigned int channel, in ad5755_write_ctrl() argument 147 ret = ad5755_write_ctrl_unlocked(indio_dev, channel, reg, val); in ad5755_write_ctrl() 184 unsigned int channel, unsigned int set, unsigned int clr) in ad5755_update_dac_ctrl() argument 189 st->ctrl[channel] |= set; in ad5755_update_dac_ctrl() 190 st->ctrl[channel] &= ~clr; in ad5755_update_dac_ctrl() 192 ret = ad5755_write_ctrl_unlocked(indio_dev, channel, in ad5755_update_dac_ctrl() 193 AD5755_CTRL_REG_DAC, st->ctrl[channel]); in ad5755_update_dac_ctrl() 199 unsigned int channel, bool pwr_down) in ad5755_set_channel_pwr_down() argument [all …]
|
/linux-4.1.27/drivers/firewire/ |
D | core-iso.c | 164 int type, int channel, int speed, size_t header_size, in fw_iso_context_create() argument 170 type, channel, header_size); in fw_iso_context_create() 176 ctx->channel = channel; in fw_iso_context_create() 278 int channel, ret = -EIO, retry = 5; in manage_channel() local 282 for (channel = 0; channel < 32; channel++) { in manage_channel() 283 if (!(channels_mask & 1 << channel)) in manage_channel() 288 bit = cpu_to_be32(1 << (31 - channel)); in manage_channel() 299 return allocate ? -EAGAIN : channel; in manage_channel() 303 return channel; in manage_channel() 315 channel--; in manage_channel() [all …]
|
/linux-4.1.27/drivers/phy/ |
D | phy-rcar-gen2.c | 50 struct rcar_gen2_channel *channel; member 74 struct rcar_gen2_channel *channel = phy->channel; in rcar_gen2_phy_init() local 75 struct rcar_gen2_phy_driver *drv = channel->drv; in rcar_gen2_phy_init() 85 if (cmpxchg(&channel->selected_phy, -1, phy->number) != -1) in rcar_gen2_phy_init() 92 ugctrl2 &= ~channel->select_mask; in rcar_gen2_phy_init() 102 struct rcar_gen2_channel *channel = phy->channel; in rcar_gen2_phy_exit() local 104 clk_disable_unprepare(channel->drv->clk); in rcar_gen2_phy_exit() 106 channel->selected_phy = -1; in rcar_gen2_phy_exit() 114 struct rcar_gen2_phy_driver *drv = phy->channel->drv; in rcar_gen2_phy_power_on() 158 struct rcar_gen2_phy_driver *drv = phy->channel->drv; in rcar_gen2_phy_power_off() [all …]
|
/linux-4.1.27/arch/mips/pci/ |
D | ops-tx4927.c | 25 struct pci_controller *channel; member 29 static void __init set_tx4927_pcicptr(struct pci_controller *channel, in set_tx4927_pcicptr() argument 35 if (pcicptrs[i].channel == channel) { in set_tx4927_pcicptr() 41 if (!pcicptrs[i].channel) { in set_tx4927_pcicptr() 42 pcicptrs[i].channel = channel; in set_tx4927_pcicptr() 51 struct pci_controller *channel) in get_tx4927_pcicptr() argument 56 if (pcicptrs[i].channel == channel) in get_tx4927_pcicptr() 139 struct pci_controller *channel = bus->sysdata; in pci_bus_to_pcicptr() local 140 return get_tx4927_pcicptr(channel); in pci_bus_to_pcicptr() 224 struct pci_controller *channel, int extarb) in tx4927_pcic_setup() argument [all …]
|
D | ops-tx3927.c | 129 void __init tx3927_pcic_setup(struct pci_controller *channel, in tx3927_pcic_setup() argument 134 channel->io_resource->start + mips_io_port_base - IO_BASE; in tx3927_pcic_setup() 136 channel->io_resource->end - channel->io_resource->start; in tx3927_pcic_setup() 138 channel->io_resource->start - channel->io_offset; in tx3927_pcic_setup() 140 channel->mem_resource->start; in tx3927_pcic_setup() 142 channel->mem_resource->end - channel->mem_resource->start; in tx3927_pcic_setup() 144 channel->mem_resource->start - channel->mem_offset; in tx3927_pcic_setup() 150 channel->pci_ops = &tx3927_pci_ops; in tx3927_pcic_setup()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | dispc.h | 118 static inline u16 DISPC_DEFAULT_COLOR(enum omap_channel channel) in DISPC_DEFAULT_COLOR() argument 120 switch (channel) { in DISPC_DEFAULT_COLOR() 135 static inline u16 DISPC_TRANS_COLOR(enum omap_channel channel) in DISPC_TRANS_COLOR() argument 137 switch (channel) { in DISPC_TRANS_COLOR() 152 static inline u16 DISPC_TIMING_H(enum omap_channel channel) in DISPC_TIMING_H() argument 154 switch (channel) { in DISPC_TIMING_H() 170 static inline u16 DISPC_TIMING_V(enum omap_channel channel) in DISPC_TIMING_V() argument 172 switch (channel) { in DISPC_TIMING_V() 188 static inline u16 DISPC_POL_FREQ(enum omap_channel channel) in DISPC_POL_FREQ() argument 190 switch (channel) { in DISPC_POL_FREQ() [all …]
|
D | dsi.c | 220 static int dsi_vc_send_null(struct omap_dss_device *dssdev, int channel); 643 static void print_irq_status_vc(int channel, u32 status) in print_irq_status_vc() argument 654 channel, in print_irq_status_vc() 1048 static int dsi_register_isr_vc(struct platform_device *dsidev, int channel, in dsi_register_isr_vc() argument 1058 dsi->isr_tables.isr_table_vc[channel], in dsi_register_isr_vc() 1059 ARRAY_SIZE(dsi->isr_tables.isr_table_vc[channel])); in dsi_register_isr_vc() 1062 _omap_dsi_set_irqs_vc(dsidev, channel); in dsi_register_isr_vc() 1069 static int dsi_unregister_isr_vc(struct platform_device *dsidev, int channel, in dsi_unregister_isr_vc() argument 1079 dsi->isr_tables.isr_table_vc[channel], in dsi_unregister_isr_vc() 1080 ARRAY_SIZE(dsi->isr_tables.isr_table_vc[channel])); in dsi_unregister_isr_vc() [all …]
|
D | dispc.c | 258 static u32 mgr_fld_read(enum omap_channel channel, enum mgr_reg_fields regfld) in mgr_fld_read() argument 260 const struct dispc_reg_field rfld = mgr_desc[channel].reg_desc[regfld]; in mgr_fld_read() 264 static void mgr_fld_write(enum omap_channel channel, in mgr_fld_write() argument 266 const struct dispc_reg_field rfld = mgr_desc[channel].reg_desc[regfld]; in mgr_fld_write() 536 u32 dispc_mgr_get_vsync_irq(enum omap_channel channel) in dispc_mgr_get_vsync_irq() argument 538 return mgr_desc[channel].vsync_irq; in dispc_mgr_get_vsync_irq() 542 u32 dispc_mgr_get_framedone_irq(enum omap_channel channel) in dispc_mgr_get_framedone_irq() argument 544 if (channel == OMAP_DSS_CHANNEL_DIGIT && dispc.feat->no_framedone_tv) in dispc_mgr_get_framedone_irq() 547 return mgr_desc[channel].framedone_irq; in dispc_mgr_get_framedone_irq() 551 u32 dispc_mgr_get_sync_lost_irq(enum omap_channel channel) in dispc_mgr_get_sync_lost_irq() argument [all …]
|
D | dss.c | 76 int (*dpi_select_source)(int port, enum omap_channel channel); 197 enum omap_channel channel) in dss_ctrl_pll_set_control_mux() argument 204 switch (channel) { in dss_ctrl_pll_set_control_mux() 451 void dss_select_lcd_clk_source(enum omap_channel channel, in dss_select_lcd_clk_source() argument 466 BUG_ON(channel != OMAP_DSS_CHANNEL_LCD); in dss_select_lcd_clk_source() 470 BUG_ON(channel != OMAP_DSS_CHANNEL_LCD2 && in dss_select_lcd_clk_source() 471 channel != OMAP_DSS_CHANNEL_LCD3); in dss_select_lcd_clk_source() 479 pos = channel == OMAP_DSS_CHANNEL_LCD ? 0 : in dss_select_lcd_clk_source() 480 (channel == OMAP_DSS_CHANNEL_LCD2 ? 12 : 19); in dss_select_lcd_clk_source() 483 ix = channel == OMAP_DSS_CHANNEL_LCD ? 0 : in dss_select_lcd_clk_source() [all …]
|
/linux-4.1.27/drivers/gpu/host1x/hw/ |
D | hw_host1x01_sync.h | 80 static inline u32 host1x_sync_cf_setup_r(unsigned int channel) in host1x_sync_cf_setup_r() argument 82 return 0x80 + channel * REGISTER_STRIDE; in host1x_sync_cf_setup_r() 84 #define HOST1X_SYNC_CF_SETUP(channel) \ argument 85 host1x_sync_cf_setup_r(channel) 170 static inline u32 host1x_sync_cbread_r(unsigned int channel) in host1x_sync_cbread_r() argument 172 return 0x720 + channel * REGISTER_STRIDE; in host1x_sync_cbread_r() 174 #define HOST1X_SYNC_CBREAD(channel) \ argument 175 host1x_sync_cbread_r(channel) 224 static inline u32 host1x_sync_cbstat_r(unsigned int channel) in host1x_sync_cbstat_r() argument 226 return 0x758 + channel * REGISTER_STRIDE; in host1x_sync_cbstat_r() [all …]
|
D | hw_host1x04_sync.h | 80 static inline u32 host1x_sync_cf_setup_r(unsigned int channel) in host1x_sync_cf_setup_r() argument 82 return 0xc00 + channel * REGISTER_STRIDE; in host1x_sync_cf_setup_r() 84 #define HOST1X_SYNC_CF_SETUP(channel) \ argument 85 host1x_sync_cf_setup_r(channel) 170 static inline u32 host1x_sync_cbread_r(unsigned int channel) in host1x_sync_cbread_r() argument 172 return 0xc80 + channel * REGISTER_STRIDE; in host1x_sync_cbread_r() 174 #define HOST1X_SYNC_CBREAD(channel) \ argument 175 host1x_sync_cbread_r(channel) 224 static inline u32 host1x_sync_cbstat_r(unsigned int channel) in host1x_sync_cbstat_r() argument 226 return 0xcc0 + channel * REGISTER_STRIDE; in host1x_sync_cbstat_r() [all …]
|
D | hw_host1x02_sync.h | 80 static inline u32 host1x_sync_cf_setup_r(unsigned int channel) in host1x_sync_cf_setup_r() argument 82 return 0x80 + channel * REGISTER_STRIDE; in host1x_sync_cf_setup_r() 84 #define HOST1X_SYNC_CF_SETUP(channel) \ argument 85 host1x_sync_cf_setup_r(channel) 170 static inline u32 host1x_sync_cbread_r(unsigned int channel) in host1x_sync_cbread_r() argument 172 return 0x720 + channel * REGISTER_STRIDE; in host1x_sync_cbread_r() 174 #define HOST1X_SYNC_CBREAD(channel) \ argument 175 host1x_sync_cbread_r(channel) 224 static inline u32 host1x_sync_cbstat_r(unsigned int channel) in host1x_sync_cbstat_r() argument 226 return 0x758 + channel * REGISTER_STRIDE; in host1x_sync_cbstat_r() [all …]
|
/linux-4.1.27/drivers/isdn/hardware/eicon/ |
D | debug.c | 66 diva_trace_line_state_t *channel, 1428 diva_trace_line_state_t *channel, in diva_maint_state_change_notify() argument 1431 diva_trace_fax_state_t *fax = &channel->fax; in diva_maint_state_change_notify() 1432 diva_trace_modem_state_t *modem = &channel->modem; in diva_maint_state_change_notify() 1445 if (channel->Line[0] == 'I' && channel->Line[1] == 'd' && in diva_maint_state_change_notify() 1446 channel->Line[2] == 'l' && channel->Line[3] == 'e') { in diva_maint_state_change_notify() 1447 if ((TraceFilterIdent == pC->hDbg->id) && (TraceFilterChannel == (int)channel->ChannelNumber)) { in diva_maint_state_change_notify() 1448 (*(hLib->DivaSTraceSetBChannel))(hLib, (int)channel->ChannelNumber, 0); in diva_maint_state_change_notify() 1449 (*(hLib->DivaSTraceSetAudioTap))(hLib, (int)channel->ChannelNumber, 0); in diva_maint_state_change_notify() 1451 (int)channel->ChannelNumber); in diva_maint_state_change_notify() [all …]
|
/linux-4.1.27/sound/soc/tegra/ |
D | tegra30_ahub.c | 101 int channel; in tegra30_ahub_allocate_rx_fifo() local 105 channel = find_first_zero_bit(ahub->rx_usage, in tegra30_ahub_allocate_rx_fifo() 107 if (channel >= TEGRA30_AHUB_CHANNEL_CTRL_COUNT) in tegra30_ahub_allocate_rx_fifo() 110 __set_bit(channel, ahub->rx_usage); in tegra30_ahub_allocate_rx_fifo() 112 *rxcif = TEGRA30_AHUB_RXCIF_APBIF_RX0 + channel; in tegra30_ahub_allocate_rx_fifo() 113 snprintf(dmachan, dmachan_len, "rx%d", channel); in tegra30_ahub_allocate_rx_fifo() 115 (channel * TEGRA30_AHUB_CHANNEL_RXFIFO_STRIDE); in tegra30_ahub_allocate_rx_fifo() 120 (channel * TEGRA30_AHUB_CHANNEL_CTRL_STRIDE); in tegra30_ahub_allocate_rx_fifo() 142 (channel * TEGRA30_AHUB_CIF_RX_CTRL_STRIDE); in tegra30_ahub_allocate_rx_fifo() 153 int channel = rxcif - TEGRA30_AHUB_RXCIF_APBIF_RX0; in tegra30_ahub_enable_rx_fifo() local [all …]
|
/linux-4.1.27/drivers/net/wireless/b43legacy/ |
D | main.h | 48 u8 channel; in b43legacy_freq_to_channel_bg() local 51 channel = 14; in b43legacy_freq_to_channel_bg() 53 channel = (freq - 2407) / 5; in b43legacy_freq_to_channel_bg() 55 return channel; in b43legacy_freq_to_channel_bg() 66 int b43legacy_channel_to_freq_bg(u8 channel) in b43legacy_channel_to_freq_bg() argument 70 if (channel == 14) in b43legacy_channel_to_freq_bg() 73 freq = 2407 + (5 * channel); in b43legacy_channel_to_freq_bg() 80 u8 channel) in b43legacy_channel_to_freq() argument 82 return b43legacy_channel_to_freq_bg(channel); in b43legacy_channel_to_freq()
|
/linux-4.1.27/drivers/net/wireless/zd1211rw/ |
D | zd_rf.c | 119 int zd_rf_set_channel(struct zd_rf *rf, u8 channel) in zd_rf_set_channel() argument 124 if (channel < MIN_CHANNEL24) in zd_rf_set_channel() 126 if (channel > MAX_CHANNEL24) in zd_rf_set_channel() 128 dev_dbg_f(zd_chip_dev(zd_rf_to_chip(rf)), "channel: %d\n", channel); in zd_rf_set_channel() 130 r = rf->set_channel(rf, channel); in zd_rf_set_channel() 132 rf->channel = channel; in zd_rf_set_channel() 169 int zd_rf_patch_6m_band_edge(struct zd_rf *rf, u8 channel) in zd_rf_patch_6m_band_edge() argument 174 return rf->patch_6m_band_edge(rf, channel); in zd_rf_patch_6m_band_edge() 177 int zd_rf_generic_patch_6m(struct zd_rf *rf, u8 channel) in zd_rf_generic_patch_6m() argument 179 return zd_chip_generic_patch_6m_band(zd_rf_to_chip(rf), channel); in zd_rf_generic_patch_6m()
|
D | zd_rf.h | 51 u8 channel; member 68 int (*set_channel)(struct zd_rf *rf, u8 channel); 71 int (*patch_6m_band_edge)(struct zd_rf *rf, u8 channel); 82 int zd_rf_set_channel(struct zd_rf *rf, u8 channel); 87 int zd_rf_patch_6m_band_edge(struct zd_rf *rf, u8 channel); 88 int zd_rf_generic_patch_6m(struct zd_rf *rf, u8 channel); 100 int zd_rf_patch_6m_band_edge(struct zd_rf *rf, u8 channel); 101 int zd_rf_generic_patch_6m(struct zd_rf *rf, u8 channel);
|
/linux-4.1.27/include/linux/platform_data/ |
D | edma.h | 115 int edma_alloc_channel(int channel, 116 void (*callback)(unsigned channel, u16 ch_status, void *data), 118 void edma_free_channel(unsigned channel); 146 int edma_start(unsigned channel); 147 void edma_stop(unsigned channel); 148 void edma_clean_channel(unsigned channel); 149 void edma_clear_event(unsigned channel); 150 void edma_pause(unsigned channel); 151 void edma_resume(unsigned channel); 153 void edma_assign_channel_eventq(unsigned channel, enum dma_event_q eventq_no);
|
/linux-4.1.27/Documentation/devicetree/bindings/iio/ |
D | iio-bindings.txt | 10 value of a #io-channel-cells property in the IIO provider node. 17 #io-channel-cells: Number of cells in an IIO specifier; Typically 0 for nodes 26 #io-channel-cells = <1>; 36 #io-channel-cells = <1>; 40 #io-channel-cells = <1>; 50 IIO provider specifies '0' for #io-channel-cells, 54 io-channel-names: 57 will use io-channel-names to match IIO input names 59 io-channel-ranges: 62 and IIO channel to their children. [all …]
|
/linux-4.1.27/drivers/net/wireless/brcm80211/include/ |
D | brcmu_wifi.h | 148 static inline int lower_20_sb(int channel) in lower_20_sb() argument 150 return channel > CH_10MHZ_APART ? (channel - CH_10MHZ_APART) : 0; in lower_20_sb() 153 static inline int upper_20_sb(int channel) in upper_20_sb() argument 155 return (channel < (MAXCHANNEL - CH_10MHZ_APART)) ? in upper_20_sb() 156 channel + CH_10MHZ_APART : 0; in upper_20_sb() 164 static inline u16 ch20mhz_chspec(int channel) in ch20mhz_chspec() argument 166 u16 rc = channel <= CH_MAX_2G_CHANNEL ? in ch20mhz_chspec() 169 return (u16)((u16)channel | WL_CHANSPEC_BW_20 | in ch20mhz_chspec() 173 static inline int next_20mhz_chan(int channel) in next_20mhz_chan() argument 175 return channel < (MAXCHANNEL - CH_20MHZ_APART) ? in next_20mhz_chan() [all …]
|
/linux-4.1.27/arch/mips/include/asm/ |
D | jazzdma.h | 18 extern void vdma_enable(int channel); 19 extern void vdma_disable(int channel); 20 extern void vdma_set_mode(int channel, int mode); 21 extern void vdma_set_addr(int channel, long addr); 22 extern void vdma_set_count(int channel, int count); 23 extern int vdma_get_residue(int channel); 24 extern int vdma_get_enable(int channel);
|
/linux-4.1.27/Documentation/hwmon/ |
D | max6639 | 17 This driver implements support for the Maxim MAX6639. This chip is a 2-channel 26 temp1_input R Temperature channel 1 input (0..150 C) 27 temp2_input R Temperature channel 2 input (0..150 C) 28 temp1_fault R Temperature channel 1 diode fault 29 temp2_fault R Temperature channel 2 diode fault 44 temp1_max_alarm R Alarm on THERM temperature on channel 1 45 temp2_max_alarm R Alarm on THERM temperature on channel 2 46 temp1_crit_alarm R Alarm on ALERT temperature on channel 1 47 temp2_crit_alarm R Alarm on ALERT temperature on channel 2 48 temp1_emergency_alarm R Alarm on OT temperature on channel 1 [all …]
|
/linux-4.1.27/arch/x86/kvm/ |
D | i8254.c | 73 static void pit_set_gate(struct kvm *kvm, int channel, u32 val) in pit_set_gate() argument 76 &kvm->arch.vpit->pit_state.channels[channel]; in pit_set_gate() 99 static int pit_get_gate(struct kvm *kvm, int channel) in pit_get_gate() argument 103 return kvm->arch.vpit->pit_state.channels[channel].gate; in pit_get_gate() 131 int channel) in kpit_elapsed() argument 133 if (channel == 0) in kpit_elapsed() 139 static int pit_get_count(struct kvm *kvm, int channel) in pit_get_count() argument 142 &kvm->arch.vpit->pit_state.channels[channel]; in pit_get_count() 148 t = kpit_elapsed(kvm, c, channel); in pit_get_count() 169 static int pit_get_out(struct kvm *kvm, int channel) in pit_get_out() argument [all …]
|
/linux-4.1.27/drivers/isdn/hisax/ |
D | hfc_2bs0.c | 92 cip = HFC_CIP | HFC_F1 | HFC_REC | HFC_CHANNEL(bcs->channel); in hfc_clear_fifo() 99 cip = HFC_CIP | HFC_F2 | HFC_REC | HFC_CHANNEL(bcs->channel); in hfc_clear_fifo() 102 z1 = ReadZReg(bcs, HFC_Z1 | HFC_REC | HFC_CHANNEL(bcs->channel)); in hfc_clear_fifo() 103 z2 = ReadZReg(bcs, HFC_Z2 | HFC_REC | HFC_CHANNEL(bcs->channel)); in hfc_clear_fifo() 108 bcs->channel, f1, f2); in hfc_clear_fifo() 116 bcs->channel, z1, z2, rcnt); in hfc_clear_fifo() 117 cip = HFC_CIP | HFC_FIFO_OUT | HFC_REC | HFC_CHANNEL(bcs->channel); in hfc_clear_fifo() 126 HFC_CHANNEL(bcs->channel)); in hfc_clear_fifo() 129 cip = HFC_CIP | HFC_F1 | HFC_REC | HFC_CHANNEL(bcs->channel); in hfc_clear_fifo() 132 cip = HFC_CIP | HFC_F2 | HFC_REC | HFC_CHANNEL(bcs->channel); in hfc_clear_fifo() [all …]
|
D | st5481_b.c | 41 DBG(4, "ep %d urb %d busy", (bcs->channel + 1) * 2, buf_nr); in usb_b_out() 50 DBG(4, "B%d,adjust flow,add %d bytes", bcs->channel + 1, B_FLOW_ADJUST); in usb_b_out() 54 DBG(4, "B%d,adjust flow,remove %d bytes", bcs->channel + 1, B_FLOW_ADJUST); in usb_b_out() 65 DBG(4, "B%d,len=%d", bcs->channel + 1, skb->len); in usb_b_out() 134 DBG(4, "B%d", bcs->channel + 1); in st5481B_start_xfer() 185 st5481_usb_pipe_reset(adapter, (bcs->channel + 1) * 2 | USB_DIR_OUT, NULL, NULL); in usb_b_out_complete() 205 DBG(4, "B%d,mode=%d", bcs->channel + 1, mode); in st5481B_mode() 226 st5481_usb_pipe_reset(adapter, (bcs->channel + 1) * 2, NULL, NULL); in st5481B_mode() 229 st5481_usb_device_ctrl_msg(adapter, FFMSK_B1 + (bcs->channel * 2), in st5481B_mode() 233 …st5481_usb_device_ctrl_msg(adapter, OUT_B1_COUNTER+(bcs->channel * 2), 32, st5481B_start_xfer, bcs… in st5481B_mode() [all …]
|
/linux-4.1.27/arch/unicore32/kernel/ |
D | dma.c | 102 struct dma_channel *channel = &dma_channels[i]; in dma_irq_handler() local 108 if (channel->name && channel->irq_handler) { in dma_irq_handler() 109 channel->irq_handler(i, channel->data); in dma_irq_handler() 130 struct dma_channel *channel = &dma_channels[i]; in dma_err_handler() local 136 if (channel->name && channel->err_handler) { in dma_err_handler() 137 channel->err_handler(i, channel->data); in dma_err_handler()
|
/linux-4.1.27/drivers/media/usb/pvrusb2/ |
D | pvrusb2-dvb.c | 44 stream = adap->channel.stream->stream; in pvr2_dvb_feed_func() 119 if (adap->channel.stream) { in pvr2_dvb_stream_end() 120 stream = adap->channel.stream->stream; in pvr2_dvb_stream_end() 125 pvr2_hdw_set_streaming(adap->channel.hdw, 0); in pvr2_dvb_stream_end() 129 pvr2_channel_claim_stream(&adap->channel, NULL); in pvr2_dvb_stream_end() 144 struct pvr2_context *pvr = adap->channel.mc_head; in pvr2_dvb_stream_do_start() 152 ret = pvr2_channel_claim_stream(&adap->channel, &pvr->video_stream); in pvr2_dvb_stream_do_start() 156 stream = adap->channel.stream->stream; in pvr2_dvb_stream_do_start() 177 ret = pvr2_hdw_set_streaming(adap->channel.hdw, 1); in pvr2_dvb_stream_do_start() 252 &adap->channel, in pvr2_dvb_bus_ctrl() [all …]
|
D | pvrusb2-v4l2.c | 54 struct pvr2_channel channel; member 66 struct pvr2_channel channel; member 144 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_querycap() 168 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_g_std() 181 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_s_std() 190 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_querystd() 203 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_enum_input() 251 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_g_input() 273 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_s_input() 325 struct pvr2_hdw *hdw = fh->channel.mc_head->hdw; in pvr2_g_tuner() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/dma/ |
D | ste-dma40.txt | 33 - dmas: Comma separated list of dma channel requests 40 3. The DMA request line number (only when 'use fixed channel' is set) 44 Logical channel when unset 45 Physical channel when set 52 0x00000008: Use fixed channel: 53 Use automatic channel selection when unset 55 0x00000010: Set channel as high priority: 82 20: SLIMbus or HSI channel 0 83 21: SLIMbus or HSI channel 1 84 22: SLIMbus or HSI channel 2 [all …]
|
D | k3dma.txt | 8 - interrupts: Should contain one interrupt shared by all channel 11 - dma-requests: virtual channels supported, each virtual channel 31 For example, i2c0 read channel request line is 18, while write channel use 19 35 dmas = <&dma0 18 /* read channel */ 36 &dma0 19>; /* write channel */ 42 dmas = <&dma0 20 /* read channel */ 43 &dma0 21>; /* write channel */
|
D | dma.txt | 4 DMA request or channel information that goes from a hardware device to a DMA 47 channel number, but can contain any data that is 48 required for configuring a channel. 58 1. A device with one DMA read channel, one DMA write channel: 62 dmas = <&dma 2 /* read channel */ 63 &dma 3>; /* write channel */ 68 2. A single read-write channel with three alternative DMA controllers: 77 dmas = <&dma1 2 /* read channel */ 78 &dma1 3 /* write channel */
|
D | mmp-dma.txt | 9 - interrupts: Either contain all of the per-channel DMA interrupts 22 * Each channel has specific irq 23 * ICU parse out irq channel from ICU register, 24 * while DMA controller may not able to distinguish the irq channel 26 * For example, pxa688 icu register 0x128, bit 0~15 is PDMA channel irq, 39 * Dmaengine driver (DMA controller) distinguish irq channel via 56 - interrupts: Either contain all of the per-channel DMA interrupts 64 /* each channel has specific irq */
|
/linux-4.1.27/arch/sh/include/cpu-sh3/cpu/ |
D | dac.h | 17 static __inline__ void sh_dac_enable(int channel) in sh_dac_enable() argument 21 if(channel) v |= DACR_DAOE1; in sh_dac_enable() 26 static __inline__ void sh_dac_disable(int channel) in sh_dac_disable() argument 30 if(channel) v &= ~DACR_DAOE1; in sh_dac_disable() 35 static __inline__ void sh_dac_output(u8 value, int channel) in sh_dac_output() argument 37 if(channel) __raw_writeb(value,DADR1); in sh_dac_output()
|
/linux-4.1.27/Documentation/devicetree/bindings/power/ |
D | rx51-battery.txt | 8 - io-channels: Should contain IIO channel specifiers 9 for each element in io-channel-names. 10 - io-channel-names: Should contain the following values: 11 * "temp" - The ADC channel for temperature reading 12 * "bsi" - The ADC channel for battery size identification 13 * "vbat" - The ADC channel to measure the battery voltage 22 io-channel-names = "temp",
|
/linux-4.1.27/Documentation/ABI/testing/ |
D | sysfs-bus-rpmsg | 6 Every rpmsg device is a communication channel with a remote 11 This sysfs entry contains the name of this channel. 18 Every rpmsg device is a communication channel with a remote 21 starts listening on one end of a channel, it assigns it with 27 of this channel. If it contains 0xffffffff, then an address 29 channel). 36 Every rpmsg device is a communication channel with a remote 39 starts listening on one end of a channel, it assigns it with 45 of this channel. If it contains 0xffffffff, then an address 47 is attached to this channel is exposing a service to the [all …]
|
/linux-4.1.27/drivers/net/wireless/ath/ath5k/ |
D | phy.c | 136 ath5k_channel_ok(struct ath5k_hw *ah, struct ieee80211_channel *channel) in ath5k_channel_ok() argument 138 u16 freq = channel->center_freq; in ath5k_channel_ok() 141 if (channel->band == IEEE80211_BAND_2GHZ) { in ath5k_channel_ok() 145 } else if (channel->band == IEEE80211_BAND_5GHZ) in ath5k_channel_ok() 160 struct ieee80211_channel *channel) in ath5k_hw_chan_has_spur_noise() argument 172 if ((channel->center_freq % refclk_freq != 0) && in ath5k_hw_chan_has_spur_noise() 173 ((channel->center_freq % refclk_freq < 10) || in ath5k_hw_chan_has_spur_noise() 174 (channel->center_freq % refclk_freq > 22))) in ath5k_hw_chan_has_spur_noise() 286 struct ieee80211_channel *channel) in ath5k_hw_write_ofdm_timings() argument 293 (channel->hw_value == AR5K_MODE_11B)); in ath5k_hw_write_ofdm_timings() [all …]
|
D | reset.c | 134 struct ieee80211_channel *channel = ah->ah_current_channel; in ath5k_hw_init_core_clock() local 141 switch (channel->hw_value) { in ath5k_hw_init_core_clock() 669 ath5k_hw_nic_wakeup(struct ath5k_hw *ah, struct ieee80211_channel *channel) in ath5k_hw_nic_wakeup() argument 679 if ((ath5k_get_bus_type(ah) != ATH_AHB) || channel) { in ath5k_hw_nic_wakeup() 739 if (!channel) in ath5k_hw_nic_wakeup() 755 if (channel->band == IEEE80211_BAND_2GHZ) { in ath5k_hw_nic_wakeup() 759 if (channel->hw_value == AR5K_MODE_11B) { in ath5k_hw_nic_wakeup() 774 } else if (channel->band == IEEE80211_BAND_5GHZ) { in ath5k_hw_nic_wakeup() 849 struct ieee80211_channel *channel) in ath5k_hw_tweak_initval_settings() argument 892 if (channel->center_freq == 2462 || in ath5k_hw_tweak_initval_settings() [all …]
|
/linux-4.1.27/drivers/dma/ |
D | imx-dma.c | 151 unsigned int channel; member 187 struct imxdma_channel channel[IMX_DMA_CHANNELS]; member 295 DMA_DAR(imxdmac->channel)); in imxdma_sg_next() 298 DMA_SAR(imxdmac->channel)); in imxdma_sg_next() 300 imx_dmav1_writel(imxdma, now, DMA_CNTR(imxdmac->channel)); in imxdma_sg_next() 303 "size 0x%08x\n", __func__, imxdmac->channel, in imxdma_sg_next() 304 imx_dmav1_readl(imxdma, DMA_DAR(imxdmac->channel)), in imxdma_sg_next() 305 imx_dmav1_readl(imxdma, DMA_SAR(imxdmac->channel)), in imxdma_sg_next() 306 imx_dmav1_readl(imxdma, DMA_CNTR(imxdmac->channel))); in imxdma_sg_next() 315 int channel = imxdmac->channel; in imxdma_enable_hw() local [all …]
|
D | imx-sdma.c | 250 unsigned int channel; member 319 struct sdma_channel channel[MAX_DMA_CHANNELS]; member 474 int channel = sdmac->channel; in sdma_config_ownership() local 485 __clear_bit(channel, &dsp); in sdma_config_ownership() 487 __set_bit(channel, &dsp); in sdma_config_ownership() 490 __clear_bit(channel, &evt); in sdma_config_ownership() 492 __set_bit(channel, &evt); in sdma_config_ownership() 495 __clear_bit(channel, &mcu); in sdma_config_ownership() 497 __set_bit(channel, &mcu); in sdma_config_ownership() 506 static void sdma_enable_channel(struct sdma_engine *sdma, int channel) in sdma_enable_channel() argument [all …]
|
/linux-4.1.27/Documentation/networking/ |
D | ppp_generic.txt | 22 the services of PPP `channels'. A PPP channel encapsulates a 24 PPP channel implementation can be arbitrarily complex internally but 27 handle ioctl requests. Currently there are PPP channel 32 natural and straightforward way, by allowing more than one channel to 38 PPP channel API 45 Each channel has to provide two functions to the generic PPP layer, 49 send. The channel has the option of rejecting the frame for 51 and the channel should call the ppp_output_wakeup() function at a 57 program to control aspects of the channel's behaviour. This 60 channel. (Usually it would only be pppd which would do this.) [all …]
|
/linux-4.1.27/drivers/staging/iio/cdc/ |
D | ad7152.c | 271 ad7152_addresses[chan->channel][AD7152_GAIN], in ad7152_write_raw() 285 ad7152_addresses[chan->channel][AD7152_OFFS], in ad7152_write_raw() 301 chip->setup[chan->channel] &= ~AD7152_SETUP_RANGE_4pF; in ad7152_write_raw() 302 chip->setup[chan->channel] |= AD7152_SETUP_RANGE(i); in ad7152_write_raw() 305 ad7152_addresses[chan->channel][AD7152_SETUP], in ad7152_write_raw() 306 chip->setup[chan->channel]); in ad7152_write_raw() 335 regval = chip->setup[chan->channel]; in ad7152_read_raw() 338 chip->setup[chan->channel] |= AD7152_SETUP_CAPDIFF; in ad7152_read_raw() 340 chip->setup[chan->channel] &= ~AD7152_SETUP_CAPDIFF; in ad7152_read_raw() 342 if (regval != chip->setup[chan->channel]) { in ad7152_read_raw() [all …]
|
/linux-4.1.27/drivers/tty/ |
D | metag_da.c | 132 register int channel asm("D0Ar2") = in_channel; in chancall() 147 "d" (channel), in chancall() 160 static int fetch_data(unsigned int channel) in fetch_data() argument 162 struct dashtty_port *dport = &dashtty_ports[channel]; in fetch_data() 169 if (chancall(RDBUF, channel, RX_BUF_SIZE, in fetch_data() 314 int channel; in dashtty_timer() local 320 channel = find_channel_to_poll(); in dashtty_timer() 323 if (channel >= 0) in dashtty_timer() 324 fetch_data(channel); in dashtty_timer() 436 int channel; in dashtty_hangup() local [all …]
|
D | isicom.c | 205 u16 channel; member 271 u16 channel = port->channel; in raise_dtr() local 276 outw(0x8000 | (channel << card->shift_count) | 0x02, base); in raise_dtr() 287 u16 channel = port->channel; in drop_dtr() local 292 outw(0x8000 | (channel << card->shift_count) | 0x02, base); in drop_dtr() 303 u16 channel = port->channel; in raise_rts() local 308 outw(0x8000 | (channel << card->shift_count) | 0x02, base); in raise_rts() 319 u16 channel = port->channel; in drop_rts() local 324 outw(0x8000 | (channel << card->shift_count) | 0x02, base); in drop_rts() 337 u16 channel = ip->channel; in isicom_dtr_rts() local [all …]
|
/linux-4.1.27/drivers/net/can/usb/ |
D | kvaser_usb.c | 189 u8 channel; member 248 u8 channel; member 257 u8 channel; member 273 u8 channel; member 278 u8 channel; member 286 u8 channel; member 295 u8 channel; member 307 u8 channel; member 318 u8 channel; member 323 u8 channel; member [all …]
|
/linux-4.1.27/drivers/soc/ti/ |
D | knav_qmss_acc.c | 61 queue = acc->channel - range->acc_info.start_channel; in __knav_acc_notify() 86 mask = BIT(kq->acc->channel % 32); in knav_acc_set_notify() 87 offset = ACC_INTD_OFFSET_STATUS(kq->acc->channel); in knav_acc_set_notify() 104 int range_base, channel, queue = 0; in knav_acc_int_handler() local 122 channel = acc->channel; in knav_acc_int_handler() 126 channel, acc->list_index, list_cpu, list_dma); in knav_acc_int_handler() 130 writel_relaxed(1, pdsp->intd + ACC_INTD_OFFSET_COUNT(channel)); in knav_acc_int_handler() 132 writel_relaxed(ACC_CHANNEL_INT_BASE + channel, in knav_acc_int_handler() 138 notifies = readl_relaxed(pdsp->intd + ACC_INTD_OFFSET_COUNT(channel)); in knav_acc_int_handler() 203 writel_relaxed(1, pdsp->intd + ACC_INTD_OFFSET_COUNT(channel)); in knav_acc_int_handler() [all …]
|
/linux-4.1.27/drivers/gpu/drm/omapdrm/ |
D | omap_crtc.c | 34 enum omap_channel channel; member 87 return dispc_mgr_get_vsync_irq(omap_crtc->channel); in pipe2vbl() 99 return omap_crtc->channel; in omap_crtc_channel() 150 enum omap_channel channel = omap_crtc->channel; in omap_crtc_set_enabled() local 155 if (dispc_mgr_is_enabled(channel) == enable) in omap_crtc_set_enabled() 158 if (omap_crtc->channel == OMAP_DSS_CHANNEL_DIGIT) { in omap_crtc_set_enabled() 166 framedone_irq = dispc_mgr_get_framedone_irq(channel); in omap_crtc_set_enabled() 167 vsync_irq = dispc_mgr_get_vsync_irq(channel); in omap_crtc_set_enabled() 187 dispc_mgr_enable(channel, enable); in omap_crtc_set_enabled() 195 if (omap_crtc->channel == OMAP_DSS_CHANNEL_DIGIT) { in omap_crtc_set_enabled() [all …]
|
/linux-4.1.27/drivers/edac/ |
D | i5000_edac.c | 467 int channel; in i5000_process_fatal_error_info() local 478 channel = EXTRACT_FBDCHAN_INDX(info->ferr_fat_fbd); in i5000_process_fatal_error_info() 488 rank, channel, bank, in i5000_process_fatal_error_info() 529 channel >> 1, channel & 1, rank, in i5000_process_fatal_error_info() 552 int channel; in i5000_process_nonfatal_error_info() local 574 channel = branch & 2; in i5000_process_nonfatal_error_info() 583 rank, channel, channel + 1, branch >> 1, bank, in i5000_process_nonfatal_error_info() 628 channel >> 1, -1, rank, in i5000_process_nonfatal_error_info() 640 channel = 0; in i5000_process_nonfatal_error_info() 642 channel = 1; in i5000_process_nonfatal_error_info() [all …]
|
D | i5400_edac.c | 517 int channel; in i5400_proccess_non_recoverable_info() local 541 channel = branch; in i5400_proccess_non_recoverable_info() 552 rank, channel, channel + 1, branch >> 1, bank, in i5400_proccess_non_recoverable_info() 582 int channel; in i5400_process_nonfatal_error_info() local 607 channel = 0; in i5400_process_nonfatal_error_info() 609 channel = 1; in i5400_process_nonfatal_error_info() 613 channel += branch; in i5400_process_nonfatal_error_info() 625 rank, channel, branch >> 1, bank, in i5400_process_nonfatal_error_info() 636 branch >> 1, channel % 2, rank, in i5400_process_nonfatal_error_info() 837 static int determine_amb_present_reg(struct i5400_pvt *pvt, int channel) in determine_amb_present_reg() argument [all …]
|
D | i3200_edac.c | 137 static int eccerrlog_row(int channel, u64 log) in eccerrlog_row() argument 141 return rank | (channel * I3200_RANKS_PER_CHANNEL); in eccerrlog_row() 224 int channel; in i3200_process_error_info() local 236 for (channel = 0; channel < nr_channels; channel++) { in i3200_process_error_info() 237 log = info->eccerrlog[channel]; in i3200_process_error_info() 241 eccerrlog_row(channel, log), in i3200_process_error_info() 247 eccerrlog_row(channel, log), in i3200_process_error_info() 320 int channel, int rank) in drb_to_nr_pages() argument 324 n = drbs[channel][rank]; in drb_to_nr_pages() 329 n -= drbs[channel][rank - 1]; in drb_to_nr_pages() [all …]
|
D | x38_edac.c | 123 static int eccerrlog_row(int channel, u64 log) in eccerrlog_row() argument 126 (channel * X38_RANKS_PER_CHANNEL); in eccerrlog_row() 208 int channel; in x38_process_error_info() local 221 for (channel = 0; channel < x38_channel_num; channel++) { in x38_process_error_info() 222 log = info->eccerrlog[channel]; in x38_process_error_info() 226 eccerrlog_row(channel, log), in x38_process_error_info() 232 eccerrlog_row(channel, log), in x38_process_error_info() 304 bool stacked, int channel, int rank) in drb_to_nr_pages() argument 308 n = drbs[channel][rank]; in drb_to_nr_pages() 310 n -= drbs[channel][rank - 1]; in drb_to_nr_pages() [all …]
|
D | i7300_edac.c | 414 unsigned branch, channel, bank, rank, cas, ras; in i7300_process_fbd_error() local 485 channel = (branch << 1); in i7300_process_fbd_error() 487 channel++; in i7300_process_fbd_error() 500 branch >> 1, channel % 2, rank, in i7300_process_fbd_error() 592 int mtr, ans, addrBits, channel; in decode_mtr() local 594 channel = to_channel(ch, branch); in decode_mtr() 600 slot, channel, ans ? "" : "NOT "); in decode_mtr() 690 int channel, slot; in print_dimm_size() local 698 for (channel = 0; channel < MAX_CHANNELS; channel++) { in print_dimm_size() 699 n = snprintf(p, space, "channel %d | ", channel); in print_dimm_size() [all …]
|
/linux-4.1.27/drivers/net/hyperv/ |
D | netvsc.c | 124 ret = vmbus_sendpacket(net_device->dev->channel, in netvsc_destroy_buf() 142 ret = vmbus_teardown_gpadl(net_device->dev->channel, in netvsc_destroy_buf() 184 ret = vmbus_sendpacket(net_device->dev->channel, in netvsc_destroy_buf() 200 ret = vmbus_teardown_gpadl(net_device->dev->channel, in netvsc_destroy_buf() 249 ret = vmbus_establish_gpadl(device->channel, net_device->recv_buf, in netvsc_init_buf() 271 ret = vmbus_sendpacket(device->channel, init_packet, in netvsc_init_buf() 336 ret = vmbus_establish_gpadl(device->channel, net_device->send_buf, in netvsc_init_buf() 354 ret = vmbus_sendpacket(device->channel, init_packet, in netvsc_init_buf() 427 ret = vmbus_sendpacket(device->channel, init_packet, in negotiate_nvsp_ver() 455 ret = vmbus_sendpacket(device->channel, init_packet, in negotiate_nvsp_ver() [all …]
|
/linux-4.1.27/sound/sh/ |
D | aica.c | 270 dreamcastcard->channel, sizeof(struct aica_channel)); in startup_aica() 286 dreamcastcard->channel->flags |= 0x01; in run_spu_dma() 355 struct aica_channel *channel; in snd_aicapcm_pcm_open() local 360 channel = kmalloc(sizeof(struct aica_channel), GFP_KERNEL); in snd_aicapcm_pcm_open() 361 if (!channel) in snd_aicapcm_pcm_open() 364 channel->sfmt = SM_8BIT; in snd_aicapcm_pcm_open() 365 channel->cmd = AICA_CMD_START; in snd_aicapcm_pcm_open() 366 channel->vol = dreamcastcard->master_volume; in snd_aicapcm_pcm_open() 367 channel->pan = 0x80; in snd_aicapcm_pcm_open() 368 channel->pos = 0; in snd_aicapcm_pcm_open() [all …]
|
/linux-4.1.27/drivers/staging/rtl8188eu/hal/ |
D | rf.c | 134 u8 channel, u32 *ofdmbase, u32 *mcs_base) in getpowerbase88e() argument 159 static void get_rx_power_val_by_reg(struct adapter *adapt, u8 channel, in get_rx_power_val_by_reg() argument 186 if (channel < 3) in get_rx_power_val_by_reg() 188 else if (channel < 6) in get_rx_power_val_by_reg() 190 else if (channel < 9) in get_rx_power_val_by_reg() 192 else if (channel < 12) in get_rx_power_val_by_reg() 194 else if (channel < 14) in get_rx_power_val_by_reg() 196 else if (channel == 14) in get_rx_power_val_by_reg() 211 pwr_diff = hal_data->TxPwrLegacyHtDiff[rf][channel-1]; in get_rx_power_val_by_reg() 213 pwr_diff = hal_data->TxPwrHt20Diff[rf][channel-1]; in get_rx_power_val_by_reg() [all …]
|
/linux-4.1.27/drivers/w1/masters/ |
D | ds2482.c | 115 u8 channel; member 128 u8 channel; member 230 __func__, pdev->channel); in ds2482_wait_1wire_idle() 243 static int ds2482_set_channel(struct ds2482_data *pdev, u8 channel) in ds2482_set_channel() argument 246 ds2482_chan_wr[channel]) < 0) in ds2482_set_channel() 250 pdev->channel = -1; in ds2482_set_channel() 251 if (i2c_smbus_read_byte(pdev->client) == ds2482_chan_rd[channel]) { in ds2482_set_channel() 252 pdev->channel = channel; in ds2482_set_channel() 277 ds2482_set_channel(pdev, pchan->channel); in ds2482_w1_touch_bit() 309 ds2482_set_channel(pdev, pchan->channel); in ds2482_w1_triplet() [all …]
|
/linux-4.1.27/Documentation/sound/oss/ |
D | WaveArtist | 7 0a - 13 for channel volumes 36 0a | 0 | left PCM channel volume | 38 0b | 0 | right PCM channel volume | 40 0c | 0 | left FM channel volume | 42 0d | 0 | right FM channel volume | 44 0e | 0 | left wavetable channel volume | 46 0f | 0 | right wavetable channel volume | 48 10 | 0 | left PCM expansion channel volume | 50 11 | 0 | right PCM expansion channel volume | 52 12 | 0 | left FM expansion channel volume | [all …]
|
/linux-4.1.27/include/video/ |
D | omapdss.h | 649 void (*enable_hs)(struct omap_dss_device *dssdev, int channel, 653 int (*update)(struct omap_dss_device *dssdev, int channel, 659 int (*enable_video_output)(struct omap_dss_device *dssdev, int channel); 661 int channel); 663 int (*request_vc)(struct omap_dss_device *dssdev, int *channel); 664 int (*set_vc_id)(struct omap_dss_device *dssdev, int channel, 666 void (*release_vc)(struct omap_dss_device *dssdev, int channel); 669 int (*dcs_write)(struct omap_dss_device *dssdev, int channel, 671 int (*dcs_write_nosync)(struct omap_dss_device *dssdev, int channel, 673 int (*dcs_read)(struct omap_dss_device *dssdev, int channel, u8 dcs_cmd, [all …]
|
D | imx-ipu-v3.h | 122 int ipu_idmac_channel_irq(struct ipu_soc *ipu, struct ipuv3_channel *channel, 147 struct ipuv3_channel *ipu_idmac_get(struct ipu_soc *ipu, unsigned channel); 150 int ipu_idmac_enable_channel(struct ipuv3_channel *channel); 151 int ipu_idmac_disable_channel(struct ipuv3_channel *channel); 152 void ipu_idmac_enable_watermark(struct ipuv3_channel *channel, bool enable); 153 int ipu_idmac_lock_enable(struct ipuv3_channel *channel, int num_bursts); 154 int ipu_idmac_wait_busy(struct ipuv3_channel *channel, int ms); 156 void ipu_idmac_set_double_buffer(struct ipuv3_channel *channel, 158 int ipu_idmac_get_current_buffer(struct ipuv3_channel *channel); 159 bool ipu_idmac_buffer_is_ready(struct ipuv3_channel *channel, u32 buf_num); [all …]
|
/linux-4.1.27/drivers/net/ethernet/ibm/emac/ |
D | mal.c | 85 int mal_set_rcbs(struct mal_instance *mal, int channel, unsigned long size) in mal_set_rcbs() argument 87 BUG_ON(channel < 0 || channel >= mal->num_rx_chans || in mal_set_rcbs() 90 MAL_DBG(mal, "set_rbcs(%d, %lu)" NL, channel, size); in mal_set_rcbs() 95 mal->index, size, channel); in mal_set_rcbs() 99 set_mal_dcrn(mal, MAL_RCBS(channel), size >> 4); in mal_set_rcbs() 103 int mal_tx_bd_offset(struct mal_instance *mal, int channel) in mal_tx_bd_offset() argument 105 BUG_ON(channel < 0 || channel >= mal->num_tx_chans); in mal_tx_bd_offset() 107 return channel * NUM_TX_BUFF; in mal_tx_bd_offset() 110 int mal_rx_bd_offset(struct mal_instance *mal, int channel) in mal_rx_bd_offset() argument 112 BUG_ON(channel < 0 || channel >= mal->num_rx_chans); in mal_rx_bd_offset() [all …]
|
/linux-4.1.27/drivers/net/wireless/ath/carl9170/ |
D | phy.c | 1035 carl9170_get_hw_dyn_params(struct ieee80211_channel *channel, in carl9170_get_hw_dyn_params() argument 1041 if (channel) { in carl9170_get_hw_dyn_params() 1042 chanidx = channel->hw_value; in carl9170_get_hw_dyn_params() 1043 freq = channel->center_freq; in carl9170_get_hw_dyn_params() 1118 struct ieee80211_channel *channel) in carl9170_set_freq_cal_data() argument 1127 switch (channel->band) { in carl9170_set_freq_cal_data() 1129 f = channel->center_freq - 2300; in carl9170_set_freq_cal_data() 1135 f = (channel->center_freq - 4800) / 5; in carl9170_set_freq_cal_data() 1160 switch (channel->band) { in carl9170_set_freq_cal_data() 1229 if (edges[i].channel == 0xff) in carl9170_get_max_edge_power() [all …]
|
/linux-4.1.27/include/linux/mfd/abx500/ |
D | ab8500-gpadc.h | 56 int ab8500_gpadc_sw_hw_convert(struct ab8500_gpadc *gpadc, u8 channel, 58 static inline int ab8500_gpadc_convert(struct ab8500_gpadc *gpadc, u8 channel) in ab8500_gpadc_convert() argument 60 return ab8500_gpadc_sw_hw_convert(gpadc, channel, in ab8500_gpadc_convert() 64 int ab8500_gpadc_read_raw(struct ab8500_gpadc *gpadc, u8 channel, 66 int ab8500_gpadc_double_read_raw(struct ab8500_gpadc *gpadc, u8 channel, 70 u8 channel, int ad_value);
|
/linux-4.1.27/drivers/dma/ipu/ |
D | ipu_idmac.c | 116 static void ipu_ic_enable_task(struct ipu *ipu, enum ipu_channel channel) in ipu_ic_enable_task() argument 120 switch (channel) { in ipu_ic_enable_task() 135 static void ipu_ic_disable_task(struct ipu *ipu, enum ipu_channel channel) in ipu_ic_disable_task() argument 139 switch (channel) { in ipu_ic_disable_task() 153 static uint32_t ipu_channel_status(struct ipu *ipu, enum ipu_channel channel) in ipu_channel_status() argument 158 switch (channel) { in ipu_channel_status() 563 static void ipu_channel_set_priority(struct ipu *ipu, enum ipu_channel channel, in ipu_channel_set_priority() argument 569 reg |= 1UL << channel; in ipu_channel_set_priority() 571 reg &= ~(1UL << channel); in ipu_channel_set_priority() 578 static uint32_t ipu_channel_conf_mask(enum ipu_channel channel) in ipu_channel_conf_mask() argument [all …]
|
/linux-4.1.27/drivers/staging/rtl8188eu/core/ |
D | rtw_rf.c | 29 u32 channel; member 57 u32 rtw_ch2freq(u32 channel) in rtw_ch2freq() argument 63 if (channel == ch_freq_map[i].channel) { in rtw_ch2freq() 81 ch = ch_freq_map[i].channel; in rtw_freq2ch()
|
/linux-4.1.27/Documentation/filesystems/ |
D | relay.txt | 8 A 'relay channel' is a kernel->user data relay mechanism implemented 9 as a set of per-cpu kernel buffers ('channel buffers'), each 11 clients write into the channel buffers using efficient write 12 functions; these automatically log into the current cpu's channel 16 are associated with the channel buffers using the API described below. 18 The format of the data logged into the channel buffers is completely 32 Each relay channel has one buffer per CPU, each buffer has one or more 47 A relay channel can operate in a mode where it will overwrite data not 50 The relay channel itself does not provide for communication of such 58 the channel buffers, special-purpose communication between kernel and [all …]
|
/linux-4.1.27/arch/powerpc/boot/dts/ |
D | mpc8610_hpcd.dts | 307 dma00: dma-channel@0 { 308 compatible = "fsl,mpc8610-dma-channel", 309 "fsl,ssi-dma-channel"; 315 dma01: dma-channel@1 { 316 compatible = "fsl,mpc8610-dma-channel", 317 "fsl,ssi-dma-channel"; 323 dma-channel@2 { 324 compatible = "fsl,mpc8610-dma-channel", 325 "fsl,eloplus-dma-channel"; 331 dma-channel@3 { [all …]
|
D | mpc8349emitxgp.dts | 111 dma-channel@0 { 112 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 118 dma-channel@80 { 119 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 125 dma-channel@100 { 126 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 132 dma-channel@180 { 133 compatible = "fsl,mpc8349-dma-channel", "fsl,elo-dma-channel"; 214 fsl,channel-fifo-len = <24>;
|
D | xpedite5370.dts | 293 dma-channel@0 { 294 compatible = "fsl,mpc8572-dma-channel", 295 "fsl,eloplus-dma-channel"; 301 dma-channel@80 { 302 compatible = "fsl,mpc8572-dma-channel", 303 "fsl,eloplus-dma-channel"; 309 dma-channel@100 { 310 compatible = "fsl,mpc8572-dma-channel", 311 "fsl,eloplus-dma-channel"; 317 dma-channel@180 { [all …]
|
D | xpedite5301.dts | 295 dma-channel@0 { 296 compatible = "fsl,mpc8572-dma-channel", 297 "fsl,eloplus-dma-channel"; 303 dma-channel@80 { 304 compatible = "fsl,mpc8572-dma-channel", 305 "fsl,eloplus-dma-channel"; 311 dma-channel@100 { 312 compatible = "fsl,mpc8572-dma-channel", 313 "fsl,eloplus-dma-channel"; 319 dma-channel@180 { [all …]
|
D | tqm8555.dts | 116 dma-channel@0 { 117 compatible = "fsl,mpc8555-dma-channel", 118 "fsl,eloplus-dma-channel"; 124 dma-channel@80 { 125 compatible = "fsl,mpc8555-dma-channel", 126 "fsl,eloplus-dma-channel"; 132 dma-channel@100 { 133 compatible = "fsl,mpc8555-dma-channel", 134 "fsl,eloplus-dma-channel"; 140 dma-channel@180 { [all …]
|
D | asp834x-redboot.dts | 130 dma-channel@0 { 131 compatible = "fsl,mpc8347-dma-channel", "fsl,elo-dma-channel"; 137 dma-channel@80 { 138 compatible = "fsl,mpc8347-dma-channel", "fsl,elo-dma-channel"; 144 dma-channel@100 { 145 compatible = "fsl,mpc8347-dma-channel", "fsl,elo-dma-channel"; 151 dma-channel@180 { 152 compatible = "fsl,mpc8347-dma-channel", "fsl,elo-dma-channel"; 283 channel-fifo-len = <24>;
|
D | tqm8541.dts | 116 dma-channel@0 { 117 compatible = "fsl,mpc8541-dma-channel", 118 "fsl,eloplus-dma-channel"; 124 dma-channel@80 { 125 compatible = "fsl,mpc8541-dma-channel", 126 "fsl,eloplus-dma-channel"; 132 dma-channel@100 { 133 compatible = "fsl,mpc8541-dma-channel", 134 "fsl,eloplus-dma-channel"; 140 dma-channel@180 { [all …]
|
/linux-4.1.27/drivers/ide/ |
D | it821x.c | 117 int channel = hwif->channel; in it821x_program() local 126 pci_write_config_byte(dev, 0x54 + 4 * channel, conf); in it821x_program() 143 int channel = hwif->channel; in it821x_program_udma() local 153 pci_write_config_byte(dev, 0x56 + 4 * channel + unit, conf); in it821x_program_udma() 155 pci_write_config_byte(dev, 0x56 + 4 * channel, conf); in it821x_program_udma() 156 pci_write_config_byte(dev, 0x56 + 4 * channel + 1, conf); in it821x_program_udma() 208 v &= ~(1 << (1 + hwif->channel)); in it821x_clock_strategy() 209 v |= sel << (1 + hwif->channel); in it821x_clock_strategy() 286 u8 unit = drive->dn & 1, channel = hwif->channel, conf; in it821x_tune_mwdma() local 299 conf |= channel ? 0x60: 0x18; in it821x_tune_mwdma() [all …]
|
/linux-4.1.27/sound/pci/oxygen/ |
D | oxygen_pcm.c | 133 unsigned int channel) in oxygen_open() argument 139 runtime->private_data = (void *)(uintptr_t)channel; in oxygen_open() 140 if (channel == PCM_B && chip->has_ac97_1 && in oxygen_open() 144 runtime->hw = *oxygen_hardware[channel]; in oxygen_open() 145 switch (channel) { in oxygen_open() 162 chip->model.pcm_hardware_filter(channel, &runtime->hw); in oxygen_open() 184 chip->streams[channel] = substream; in oxygen_open() 187 chip->pcm_active |= 1 << channel; in oxygen_open() 188 if (channel == PCM_SPDIF) { in oxygen_open() 234 unsigned int channel = oxygen_substream_channel(substream); in oxygen_close() local [all …]
|
/linux-4.1.27/sound/mips/ |
D | sgio2audio.c | 102 struct snd_sgio2audio_chan channel[3]; member 369 struct snd_pcm_runtime *runtime = chip->channel[ch].substream->runtime; in snd_sgio2audio_dma_pull_frag() 371 spin_lock_irqsave(&chip->channel[ch].lock, flags); in snd_sgio2audio_dma_pull_frag() 376 dst_pos = chip->channel[ch].pos; in snd_sgio2audio_dma_pull_frag() 380 chip->channel[ch].size += (count >> 3); /* in frames */ in snd_sgio2audio_dma_pull_frag() 381 ret = chip->channel[ch].size >= runtime->period_size; in snd_sgio2audio_dma_pull_frag() 382 chip->channel[ch].size %= runtime->period_size; in snd_sgio2audio_dma_pull_frag() 398 chip->channel[ch].pos = dst_pos; in snd_sgio2audio_dma_pull_frag() 400 spin_unlock_irqrestore(&chip->channel[ch].lock, flags); in snd_sgio2audio_dma_pull_frag() 417 struct snd_pcm_runtime *runtime = chip->channel[ch].substream->runtime; in snd_sgio2audio_dma_push_frag() [all …]
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8821ae/ |
D | rf.c | 146 u8 *ppowerlevel_bw40, u8 channel, in rtl8821ae_phy_get_power_base() argument 184 u8 channel, u8 index, in get_txpower_writeval_by_regulatory() argument 213 if (channel < 3) in get_txpower_writeval_by_regulatory() 215 else if (channel < 6) in get_txpower_writeval_by_regulatory() 217 else if (channel < 9) in get_txpower_writeval_by_regulatory() 219 else if (channel < 12) in get_txpower_writeval_by_regulatory() 221 else if (channel < 14) in get_txpower_writeval_by_regulatory() 223 else if (channel == 14) in get_txpower_writeval_by_regulatory() 253 rtlefuse->pwrgroup_ht40[rf][channel - in get_txpower_writeval_by_regulatory() 259 rtlefuse->pwrgroup_ht20[rf][channel - in get_txpower_writeval_by_regulatory() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/hsi/ |
D | client-devices.txt | 7 - hsi-channel-ids: A list of channel ids 20 - hsi-channel-names: A list with one name per channel specified in the 21 hsi-channel-ids property 31 hsi-channel-ids = <0>, <1>, <2>, <3>; 32 hsi-channel-names = "mcsaab-control",
|
/linux-4.1.27/sound/pci/ca0106/ |
D | ca0106_main.c | 564 struct snd_ca0106_channel *channel = &(chip->playback_channels[channel_id]); in snd_ca0106_pcm_open_playback_channel() local 582 channel->emu = chip; in snd_ca0106_pcm_open_playback_channel() 583 channel->number = channel_id; in snd_ca0106_pcm_open_playback_channel() 585 channel->use = 1; in snd_ca0106_pcm_open_playback_channel() 591 channel->epcm = epcm; in snd_ca0106_pcm_open_playback_channel() 657 struct snd_ca0106_channel *channel = &(chip->capture_channels[channel_id]); in snd_ca0106_pcm_open_capture_channel() local 677 channel->emu = chip; in snd_ca0106_pcm_open_capture_channel() 678 channel->number = channel_id; in snd_ca0106_pcm_open_capture_channel() 680 channel->use = 1; in snd_ca0106_pcm_open_capture_channel() 686 channel->epcm = epcm; in snd_ca0106_pcm_open_capture_channel() [all …]
|
/linux-4.1.27/drivers/staging/octeon-usb/ |
D | octeon-hcd.c | 344 uint8_t channel; member 350 int channel; member 433 #define USB_FIFO_ADDRESS(channel, usb_index) \ argument 434 (CVMX_USBCX_GOTGCTL(usb_index) + ((channel)+1)*0x1000) 708 int channel; in cvmx_usb_initialize() local 917 for (channel = 0; channel < 8; channel++) in cvmx_usb_initialize() 919 CVMX_USBCX_HCINTMSKX(channel, usb->index), in cvmx_usb_initialize() 1174 int channel; in cvmx_usb_poll_rx_fifo() local 1188 channel = rx_status.s.chnum; in cvmx_usb_poll_rx_fifo() 1195 channel * 8); in cvmx_usb_poll_rx_fifo() [all …]
|
/linux-4.1.27/drivers/usb/atm/ |
D | usbatm.c | 211 static struct urb *usbatm_pop_urb(struct usbatm_channel *channel) in usbatm_pop_urb() argument 215 spin_lock_irq(&channel->lock); in usbatm_pop_urb() 216 if (list_empty(&channel->list)) { in usbatm_pop_urb() 217 spin_unlock_irq(&channel->lock); in usbatm_pop_urb() 221 urb = list_entry(channel->list.next, struct urb, urb_list); in usbatm_pop_urb() 223 spin_unlock_irq(&channel->lock); in usbatm_pop_urb() 230 struct usbatm_channel *channel = urb->context; in usbatm_submit_urb() local 239 atm_warn(channel->usbatm, "%s: urb 0x%p submission failed (%d)!\n", in usbatm_submit_urb() 244 spin_lock_irq(&channel->lock); in usbatm_submit_urb() 247 list_add(&urb->urb_list, &channel->list); in usbatm_submit_urb() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/drm/imx/ |
D | ldb.txt | 6 The LVDS Display Bridge device tree node contains up to two lvds-channel 15 interfaces as input for each LVDS channel. 23 "di0_pll" - LDB LVDS channel 0 mux 24 "di1_pll" - LDB LVDS channel 1 mux 25 "di0" - LDB LVDS channel 0 gate 26 "di1" - LDB LVDS channel 1 gate 40 - fsl,dual-channel : boolean. if it exists, only LVDS channel 0 should 42 channel mode 56 limitations, only one input port (port@[0,1]) can be used for each channel 57 (lvds-channel@[0,1], respectively). [all …]
|
/linux-4.1.27/drivers/gpu/drm/tegra/ |
D | gr2d.c | 17 struct host1x_channel *channel; member 35 gr2d->channel = host1x_channel_request(client->dev); in gr2d_init() 36 if (!gr2d->channel) in gr2d_init() 41 host1x_channel_free(gr2d->channel); in gr2d_init() 60 host1x_channel_free(gr2d->channel); in gr2d_exit() 75 context->channel = host1x_channel_get(gr2d->channel); in gr2d_open_channel() 76 if (!context->channel) in gr2d_open_channel() 84 host1x_channel_put(context->channel); in gr2d_close_channel()
|
/linux-4.1.27/arch/cris/ |
D | Kconfig | 335 prompt "Ser0 DMA out channel" 349 Enables the DMA6 output channel for ser0 (ttyS0). 352 Normally you want to use DMA, unless you use the DMA channel for 359 Enables the DMA0 output channel for ser0 (ttyS0). 362 Normally you want to use DMA, unless you use the DMA channel for 368 prompt "Ser0 DMA in channel " 373 What DMA channel to use for ser0. 384 Enables the DMA7 input channel for ser0 (ttyS0). 387 Normally you want to use DMA, unless you use the DMA channel for 394 Enables the DMA1 input channel for ser0 (ttyS0). [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/gpio/ |
D | gpio-xilinx.txt | 3 Dual channel GPIO controller with configurable number of pins 4 (from 1 to 32 per channel). Every pin can be configured as 6 local interrupts can be enabled on channel basis. 23 - xlnx,is-dual : if 1, controller also uses the second channel 24 - xlnx,all-inputs-2 : as above but for the second channel 25 - xlnx,dout-default-2 : as above but the second channel 26 - xlnx,gpio2-width : as above but for the second channel 27 - xlnx,tri-default-2 : as above but for the second channel
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192ce/ |
D | rf.c | 152 u8 *ppowerlevel, u8 channel, in rtl92c_phy_get_power_base() argument 164 legacy_pwrdiff = rtlefuse->txpwr_legacyhtdiff[i][channel - 1]; in rtl92c_phy_get_power_base() 177 ht20_pwrdiff = rtlefuse->txpwr_ht20diff[i][channel - 1]; in rtl92c_phy_get_power_base() 193 u8 channel, u8 index, in _rtl92c_get_txpower_writeval_by_regulatory() argument 229 if (channel <= 3) in _rtl92c_get_txpower_writeval_by_regulatory() 231 else if (channel >= 4 && channel <= 9) in _rtl92c_get_txpower_writeval_by_regulatory() 233 else if (channel > 9) in _rtl92c_get_txpower_writeval_by_regulatory() 264 rtlefuse->pwrgroup_ht40[rf][channel - in _rtl92c_get_txpower_writeval_by_regulatory() 270 rtlefuse->pwrgroup_ht20[rf][channel - in _rtl92c_get_txpower_writeval_by_regulatory() 283 pwrgroup_ht40[rf][channel - 1]) in _rtl92c_get_txpower_writeval_by_regulatory() [all …]
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723be/ |
D | rf.c | 162 u8 channel, u32 *ofdmbase, in rtl8723be_phy_get_power_base() argument 201 u8 channel, u8 index, in _rtl8723be_get_txpower_writeval_by_regulatory() argument 230 if (channel < 3) in _rtl8723be_get_txpower_writeval_by_regulatory() 232 else if (channel < 6) in _rtl8723be_get_txpower_writeval_by_regulatory() 234 else if (channel < 9) in _rtl8723be_get_txpower_writeval_by_regulatory() 236 else if (channel < 12) in _rtl8723be_get_txpower_writeval_by_regulatory() 238 else if (channel < 14) in _rtl8723be_get_txpower_writeval_by_regulatory() 240 else if (channel == 14) in _rtl8723be_get_txpower_writeval_by_regulatory() 271 [rf][channel - 1]); in _rtl8723be_get_txpower_writeval_by_regulatory() 277 [rf][channel - 1]); in _rtl8723be_get_txpower_writeval_by_regulatory() [all …]
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8723ae/ |
D | rf.c | 152 u8 *ppowerlevel, u8 channel, in rtl8723e_phy_get_power_base() argument 164 legacy_pwrdiff = rtlefuse->txpwr_legacyhtdiff[i][channel - 1]; in rtl8723e_phy_get_power_base() 178 rtlefuse->txpwr_ht20diff[i][channel - 1]; in rtl8723e_phy_get_power_base() 194 u8 channel, u8 index, in get_txpower_writeval_by_reg() argument 231 if (channel <= 3) in get_txpower_writeval_by_reg() 233 else if (channel >= 4 && channel <= 9) in get_txpower_writeval_by_reg() 235 else if (channel > 9) in get_txpower_writeval_by_reg() 270 rtlefuse->pwrgroup_ht40[rf][channel - in get_txpower_writeval_by_reg() 276 rtlefuse->pwrgroup_ht20[rf][channel - in get_txpower_writeval_by_reg() 290 pwrgroup_ht40[rf][channel - 1]) in get_txpower_writeval_by_reg() [all …]
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8188ee/ |
D | rf.c | 162 u8 *ppowerlevel_bw40, u8 channel, in rtl88e_phy_get_power_base() argument 200 u8 channel, u8 index, in _rtl88e_get_txpower_writeval_by_regulatory() argument 229 if (channel < 3) in _rtl88e_get_txpower_writeval_by_regulatory() 231 else if (channel < 6) in _rtl88e_get_txpower_writeval_by_regulatory() 233 else if (channel < 9) in _rtl88e_get_txpower_writeval_by_regulatory() 235 else if (channel < 12) in _rtl88e_get_txpower_writeval_by_regulatory() 237 else if (channel < 14) in _rtl88e_get_txpower_writeval_by_regulatory() 239 else if (channel == 14) in _rtl88e_get_txpower_writeval_by_regulatory() 269 rtlefuse->pwrgroup_ht40[rf][channel - in _rtl88e_get_txpower_writeval_by_regulatory() 275 rtlefuse->pwrgroup_ht20[rf][channel - in _rtl88e_get_txpower_writeval_by_regulatory() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/input/ |
D | sun4i-lradc-keys.txt | 15 - channel: Channel this key is attached to, mut be 0 or 1. 31 channel = <0>; 38 channel = <0>; 45 channel = <0>; 52 channel = <0>; 59 channel = <0>;
|
/linux-4.1.27/arch/sh/kernel/cpu/ |
D | adc.c | 12 int adc_single(unsigned int channel) in adc_single() argument 17 if (channel >= 8) return -1; in adc_single() 19 off = (channel & 0x03) << 2; in adc_single() 22 csr = channel | ADCSR_ADST | ADCSR_CKS; in adc_single()
|
/linux-4.1.27/drivers/media/usb/gspca/ |
D | spca506.c | 37 char channel; member 125 __u16 channel) in spca506_SetNormeInput() argument 140 if (channel == 4 || channel == 5 || channel > 9) in spca506_SetNormeInput() 141 channel = 0; in spca506_SetNormeInput() 142 if (channel < 4) in spca506_SetNormeInput() 146 spca506_WriteI2c(gspca_dev, (0xc0 | (channel & 0x0F)), 0x02); in spca506_SetNormeInput() 159 sd->channel = channel; in spca506_SetNormeInput() 161 PDEBUG(D_STREAM, "Set Norme: %08x Channel %d", norme, channel); in spca506_SetNormeInput() 165 __u16 *norme, __u16 *channel) in spca506_GetNormeInput() argument 172 *channel = sd->channel; in spca506_GetNormeInput() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/iio/adc/ |
D | qcom,spmi-vadc.txt | 22 channel number. 29 - #io-channel-cells: 45 Definition: ADC channel number. 59 Definition: Used for scaling the channel input signal before the signal is 70 VADC will use the VDD reference (1.8V) and GND for channel 71 calibration. If property is not found, channel will be 83 If property is not found, channel will use 0us. 98 result calibration and their channel configuration nodes should be defined: 111 #io-channel-cells = <1>; 112 io-channel-ranges; [all …]
|
/linux-4.1.27/drivers/net/wireless/ti/wl1251/ |
D | cmd.c | 206 int wl1251_cmd_data_path_rx(struct wl1251 *wl, u8 channel, bool enable) in wl1251_cmd_data_path_rx() argument 220 cmd->channel = channel; in wl1251_cmd_data_path_rx() 230 enable ? "start" : "stop", channel); in wl1251_cmd_data_path_rx() 235 enable ? "start" : "stop", channel); in wl1251_cmd_data_path_rx() 242 int wl1251_cmd_data_path_tx(struct wl1251 *wl, u8 channel, bool enable) in wl1251_cmd_data_path_tx() argument 254 cmd->channel = channel; in wl1251_cmd_data_path_tx() 264 enable ? "start" : "stop", channel); in wl1251_cmd_data_path_tx() 267 enable ? "start" : "stop", channel); in wl1251_cmd_data_path_tx() 273 int wl1251_cmd_join(struct wl1251 *wl, u8 bss_type, u8 channel, in wl1251_cmd_join() argument 288 channel, beacon_interval, dtim_interval); in wl1251_cmd_join() [all …]
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/rtl8192cu/ |
D | rf.c | 160 u8 *ppowerlevel, u8 channel, in rtl92c_phy_get_power_base() argument 172 legacy_pwrdiff = rtlefuse->txpwr_legacyhtdiff[i][channel - 1]; in rtl92c_phy_get_power_base() 183 ht20_pwrdiff = rtlefuse->txpwr_ht20diff[i][channel - 1]; in rtl92c_phy_get_power_base() 197 u8 channel, u8 index, in _rtl92c_get_txpower_writeval_by_regulatory() argument 223 if (channel <= 3) in _rtl92c_get_txpower_writeval_by_regulatory() 225 else if (channel >= 4 && channel <= 9) in _rtl92c_get_txpower_writeval_by_regulatory() 227 else if (channel > 9) in _rtl92c_get_txpower_writeval_by_regulatory() 258 [channel - 1]); in _rtl92c_get_txpower_writeval_by_regulatory() 264 [channel - 1]); in _rtl92c_get_txpower_writeval_by_regulatory() 274 [channel - 1]) in _rtl92c_get_txpower_writeval_by_regulatory() [all …]
|
/linux-4.1.27/Documentation/devicetree/bindings/hwmon/ |
D | ads1015.txt | 17 Each channel can be configured individually: 43 The node contains child nodes for each channel that the platform uses. 56 2) channel nodes 60 - reg : the channel number 67 Example ADS1015 channel node: 69 channel@4 {
|
/linux-4.1.27/Documentation/devicetree/bindings/net/ |
D | amd-xgbe.txt | 12 amd,per-channel-interrupt property is specified, then one additional 13 interrupt for each DMA channel supported by the device should be specified 16 correct Rx interrupt watchdog timer value on a DMA channel 29 - amd,per-channel-interrupt: Indicates that Rx and Tx complete will generate 30 a unique interrupt for each DMA channel - this requires an additional 31 interrupt be configured for each DMA channel 41 amd,per-channel-interrupt;
|
/linux-4.1.27/drivers/net/wireless/ti/wl18xx/ |
D | cmd.c | 46 cmd->channel = ch_switch->chandef.chan->hw_value; in wl18xx_cmd_channel_switch() 182 wlvif->channel, start ? "start" : "stop"); in wl18xx_cmd_set_cac() 189 cmd->channel = wlvif->channel; in wl18xx_cmd_set_cac() 207 int wl18xx_cmd_radar_detection_debug(struct wl1271 *wl, u8 channel) in wl18xx_cmd_radar_detection_debug() argument 213 channel); in wl18xx_cmd_radar_detection_debug() 219 cmd->channel = channel; in wl18xx_cmd_radar_detection_debug()
|
/linux-4.1.27/drivers/staging/iio/Documentation/ |
D | inkernel.txt | 7 Describing the channel mapping (iio/machine.h) 17 adc_channel_label identifies the channel on the IIO device by being 21 This are then used to find the channel mapping from the consumer device (see 24 Finally consumer_channel is a string identifying the channel to the consumer. 37 to associate a given channel with the consumer requesting it. 42 by calling iio_channel_get(). The correct channel is identified by: 48 about this channel such as it's current reading. 52 iio_get_channel_type() - get the type of channel
|
/linux-4.1.27/drivers/net/wireless/orinoco/ |
D | scan.c | 78 struct ieee80211_channel *channel; in orinoco_add_hostscan_result() local 114 le16_to_cpu(bss->a.channel), IEEE80211_BAND_2GHZ); in orinoco_add_hostscan_result() 115 channel = ieee80211_get_channel(wiphy, freq); in orinoco_add_hostscan_result() 116 if (!channel) { in orinoco_add_hostscan_result() 118 bss->a.channel, freq); in orinoco_add_hostscan_result() 126 cbss = cfg80211_inform_bss(wiphy, channel, CFG80211_BSS_FTYPE_UNKNOWN, in orinoco_add_hostscan_result() 138 struct ieee80211_channel *channel; in orinoco_add_extscan_result() local 152 channel = ieee80211_get_channel(wiphy, freq); in orinoco_add_extscan_result() 160 cbss = cfg80211_inform_bss(wiphy, channel, CFG80211_BSS_FTYPE_UNKNOWN, in orinoco_add_extscan_result()
|
/linux-4.1.27/drivers/net/wireless/iwlegacy/ |
D | 4965.c | 618 il4965_get_tx_atten_grp(u16 channel) in il4965_get_tx_atten_grp() argument 620 if (channel >= CALIB_IL_TX_ATTEN_GR5_FCH && in il4965_get_tx_atten_grp() 621 channel <= CALIB_IL_TX_ATTEN_GR5_LCH) in il4965_get_tx_atten_grp() 624 if (channel >= CALIB_IL_TX_ATTEN_GR1_FCH && in il4965_get_tx_atten_grp() 625 channel <= CALIB_IL_TX_ATTEN_GR1_LCH) in il4965_get_tx_atten_grp() 628 if (channel >= CALIB_IL_TX_ATTEN_GR2_FCH && in il4965_get_tx_atten_grp() 629 channel <= CALIB_IL_TX_ATTEN_GR2_LCH) in il4965_get_tx_atten_grp() 632 if (channel >= CALIB_IL_TX_ATTEN_GR3_FCH && in il4965_get_tx_atten_grp() 633 channel <= CALIB_IL_TX_ATTEN_GR3_LCH) in il4965_get_tx_atten_grp() 636 if (channel >= CALIB_IL_TX_ATTEN_GR4_FCH && in il4965_get_tx_atten_grp() [all …]
|
/linux-4.1.27/drivers/misc/ |
D | pti.c | 123 + (mc->channel << 8); in pti_write_to_aperture() 174 .channel = 0}; in pti_control_frame_built_and_sent() 192 mccontrol.channel = pti_control_channel; in pti_control_frame_built_and_sent() 196 mc->channel, thread_name_p); in pti_control_frame_built_and_sent() 272 mc->channel = ((i & 0xf)<<3) + j; in get_id() 346 u8 master, channel, i; in pti_release_masterchannel() local 352 channel = mc->channel; in pti_release_masterchannel() 355 i = channel >> 3; in pti_release_masterchannel() 356 drv_data->ia_app[i] &= ~(0x80>>(channel & 0x7)); in pti_release_masterchannel() 358 i = channel >> 3; in pti_release_masterchannel() [all …]
|
/linux-4.1.27/net/irda/ |
D | irda_device.c | 300 void irda_setup_dma(int channel, dma_addr_t buffer, int count, int mode) in irda_setup_dma() argument 306 disable_dma(channel); in irda_setup_dma() 307 clear_dma_ff(channel); in irda_setup_dma() 308 set_dma_mode(channel, mode); in irda_setup_dma() 309 set_dma_addr(channel, buffer); in irda_setup_dma() 310 set_dma_count(channel, count); in irda_setup_dma() 311 enable_dma(channel); in irda_setup_dma()
|