| /drivers/iommu/ |
| D | msm_iommu_hw-8xxx.h | 25 #define GET_CONTEXT_FIELD(b, c, r, F) \ argument 30 #define SET_CONTEXT_FIELD(b, c, r, F, v) \ argument 121 #define SET_SCTLR(b, c, v) SET_CTX_REG(SCTLR, (b), (c), (v)) argument 122 #define SET_ACTLR(b, c, v) SET_CTX_REG(ACTLR, (b), (c), (v)) argument 123 #define SET_CONTEXTIDR(b, c, v) SET_CTX_REG(CONTEXTIDR, (b), (c), (v)) argument 124 #define SET_TTBR0(b, c, v) SET_CTX_REG(TTBR0, (b), (c), (v)) argument 125 #define SET_TTBR1(b, c, v) SET_CTX_REG(TTBR1, (b), (c), (v)) argument 126 #define SET_TTBCR(b, c, v) SET_CTX_REG(TTBCR, (b), (c), (v)) argument 127 #define SET_PAR(b, c, v) SET_CTX_REG(PAR, (b), (c), (v)) argument 128 #define SET_FSR(b, c, v) SET_CTX_REG(FSR, (b), (c), (v)) argument [all …]
|
| /drivers/net/wan/ |
| D | z85230.c | 123 static inline u8 read_zsreg(struct z8530_channel *c, u8 reg) in read_zsreg() 138 static inline u8 read_zsdata(struct z8530_channel *c) in read_zsdata() 157 static inline void write_zsreg(struct z8530_channel *c, u8 reg, u8 val) in write_zsreg() 173 static inline void write_zsctrl(struct z8530_channel *c, u8 val) in write_zsctrl() 187 static inline void write_zsdata(struct z8530_channel *c, u8 val) in write_zsdata() 273 static void z8530_flush_fifo(struct z8530_channel *c) in z8530_flush_fifo() 299 static void z8530_rtsdtr(struct z8530_channel *c, int set) in z8530_rtsdtr() 332 static void z8530_rx(struct z8530_channel *c) in z8530_rx() 406 static void z8530_tx(struct z8530_channel *c) in z8530_tx() 625 static void z8530_rx_clear(struct z8530_channel *c) in z8530_rx_clear() [all …]
|
| /drivers/staging/most/ |
| D | core.c | 111 struct most_channel *c = mbo->context; in most_free_mbo_coherent() local 127 static void flush_channel_fifos(struct most_channel *c) in flush_channel_fifos() 161 static int flush_trash_fifo(struct most_channel *c) in flush_trash_fifo() 181 struct most_channel *c = to_channel(dev); in available_directions_show() local 197 struct most_channel *c = to_channel(dev); in available_datatypes_show() local 217 struct most_channel *c = to_channel(dev); in number_of_packet_buffers_show() local 228 struct most_channel *c = to_channel(dev); in number_of_stream_buffers_show() local 239 struct most_channel *c = to_channel(dev); in size_of_packet_buffer_show() local 250 struct most_channel *c = to_channel(dev); in size_of_stream_buffer_show() local 261 struct most_channel *c = to_channel(dev); in channel_starving_show() local [all …]
|
| /drivers/mmc/core/ |
| D | card.h | 15 #define mmc_card_name(c) ((c)->cid.prod_name) argument 16 #define mmc_card_id(c) (dev_name(&(c)->dev)) argument 27 #define mmc_card_present(c) ((c)->state & MMC_STATE_PRESENT) argument 28 #define mmc_card_readonly(c) ((c)->state & MMC_STATE_READONLY) argument 29 #define mmc_card_blockaddr(c) ((c)->state & MMC_STATE_BLOCKADDR) argument 30 #define mmc_card_ext_capacity(c) ((c)->state & MMC_CARD_SDXC) argument 31 #define mmc_card_removed(c) ((c) && ((c)->state & MMC_CARD_REMOVED)) argument 32 #define mmc_card_suspended(c) ((c)->state & MMC_STATE_SUSPENDED) argument 34 #define mmc_card_set_present(c) ((c)->state |= MMC_STATE_PRESENT) argument 35 #define mmc_card_set_readonly(c) ((c)->state |= MMC_STATE_READONLY) argument [all …]
|
| /drivers/md/ |
| D | dm-bufio.c | 151 struct dm_bufio_client *c; member 165 static void dm_bufio_lock(struct dm_bufio_client *c) in dm_bufio_lock() 170 static int dm_bufio_trylock(struct dm_bufio_client *c) in dm_bufio_trylock() 175 static void dm_bufio_unlock(struct dm_bufio_client *c) in dm_bufio_unlock() 248 static struct dm_buffer *__find(struct dm_bufio_client *c, sector_t block) in __find() 265 static void __insert(struct dm_bufio_client *c, struct dm_buffer *b) in __insert() 287 static void __remove(struct dm_bufio_client *c, struct dm_buffer *b) in __remove() 375 static void *alloc_buffer_data(struct dm_bufio_client *c, gfp_t gfp_mask, in alloc_buffer_data() 415 static void free_buffer_data(struct dm_bufio_client *c, in free_buffer_data() 442 static struct dm_buffer *alloc_buffer(struct dm_bufio_client *c, gfp_t gfp_mask) in alloc_buffer() [all …]
|
| /drivers/gpu/drm/arm/display/komeda/d71/ |
| D | d71_component.c | 168 static void d71_layer_update_fb(struct komeda_component *c, in d71_layer_update_fb() 192 static void d71_layer_disable(struct komeda_component *c) in d71_layer_disable() 197 static void d71_layer_update(struct komeda_component *c, in d71_layer_update() 269 static void d71_layer_dump(struct komeda_component *c, struct seq_file *sf) in d71_layer_dump() 344 struct komeda_component *c; in d71_layer_init() local 378 static void d71_wb_layer_update(struct komeda_component *c, in d71_wb_layer_update() 397 static void d71_wb_layer_dump(struct komeda_component *c, struct seq_file *sf) in d71_wb_layer_dump() 426 static void d71_wb_layer_disable(struct komeda_component *c) in d71_wb_layer_disable() 441 struct komeda_component *c; in d71_wb_layer_init() local 466 static void d71_component_disable(struct komeda_component *c) in d71_component_disable() [all …]
|
| /drivers/staging/most/cdev/ |
| D | cdev.c | 51 static inline bool ch_has_mbo(struct comp_channel *c) in ch_has_mbo() 56 static inline struct mbo *ch_get_mbo(struct comp_channel *c, struct mbo **mbo) in ch_get_mbo() 68 struct comp_channel *c, *tmp; in get_channel() local 85 static void stop_channel(struct comp_channel *c) in stop_channel() 94 static void destroy_cdev(struct comp_channel *c) in destroy_cdev() 105 static void destroy_channel(struct comp_channel *c) in destroy_channel() 122 struct comp_channel *c; in comp_open() local 166 struct comp_channel *c = to_channel(inode->i_cdev); in comp_close() local 195 struct comp_channel *c = filp->private_data; in comp_write() local 248 struct comp_channel *c = filp->private_data; in comp_read() local [all …]
|
| /drivers/usb/misc/sisusbvga/ |
| D | sisusb_con.c | 80 sisusbcon_memsetw(u16 *s, u16 c, unsigned int count) in sisusbcon_memsetw() 99 sisusbcon_set_start_address(struct sisusb_usb_data *sisusb, struct vc_data *c) in sisusbcon_set_start_address() 180 sisusb_is_inactive(struct vc_data *c, struct sisusb_usb_data *sisusb) in sisusb_is_inactive() 199 sisusbcon_init(struct vc_data *c, int init) in sisusbcon_init() 265 sisusbcon_deinit(struct vc_data *c) in sisusbcon_deinit() 305 sisusbcon_build_attr(struct vc_data *c, u8 color, u8 intensity, in sisusbcon_build_attr() 349 const struct vc_data *c, unsigned int x, unsigned int y) in sisusb_vaddr() 355 const struct vc_data *c, unsigned int x, unsigned int y) in sisusb_haddr() 367 sisusbcon_putc(struct vc_data *c, int ch, int y, int x) in sisusbcon_putc() 389 sisusbcon_putcs(struct vc_data *c, const unsigned short *s, in sisusbcon_putcs() [all …]
|
| /drivers/md/bcache/ |
| D | super.c | 283 struct cache_set *c = container_of(cl, struct cache_set, sb_write); in bcache_write_super_unlock() local 288 void bcache_write_super(struct cache_set *c) in bcache_write_super() 325 struct cache_set *c = container_of(cl, struct cache_set, uuid_write); in uuid_endio() local 334 struct cache_set *c = container_of(cl, struct cache_set, uuid_write); in uuid_io_unlock() local 339 static void uuid_io(struct cache_set *c, int op, unsigned long op_flags, in uuid_io() 380 static char *uuid_read(struct cache_set *c, struct jset *j, struct closure *cl) in uuid_read() 421 static int __uuid_write(struct cache_set *c) in __uuid_write() 446 int bch_uuid_write(struct cache_set *c) in bch_uuid_write() 456 static struct uuid_entry *uuid_find(struct cache_set *c, const char *uuid) in uuid_find() 468 static struct uuid_entry *uuid_find_empty(struct cache_set *c) in uuid_find_empty() [all …]
|
| D | btree.c | 99 #define PTR_HASH(c, k) \ argument 142 #define btree_root(fn, c, op, ...) \ argument 184 void bkey_put(struct cache_set *c, struct bkey *k) in bkey_put() 570 #define mca_reserve(c) (((c->root && c->root->level) \ argument 572 #define mca_can_free(c) \ argument 613 static struct btree *mca_bucket_alloc(struct cache_set *c, in mca_bucket_alloc() 700 struct cache_set *c = container_of(shrink, struct cache_set, shrink); in bch_mca_scan() local 769 struct cache_set *c = container_of(shrink, struct cache_set, shrink); in bch_mca_count() local 780 void bch_btree_cache_free(struct cache_set *c) in bch_btree_cache_free() 828 int bch_btree_cache_alloc(struct cache_set *c) in bch_btree_cache_alloc() [all …]
|
| D | journal.c | 171 int bch_journal_read(struct cache_set *c, struct list_head *list) in bch_journal_read() 300 void bch_journal_mark(struct cache_set *c, struct list_head *list) in bch_journal_mark() 420 static void btree_flush_write(struct cache_set *c) in btree_flush_write() 568 static void journal_reclaim(struct cache_set *c) in journal_reclaim() 678 struct cache_set *c = container_of(cl, struct cache_set, journal.io); in journal_write_unlock() local 687 struct cache_set *c = container_of(cl, struct cache_set, journal.io); in journal_write_unlocked() local 768 struct cache_set *c = container_of(cl, struct cache_set, journal.io); in journal_write() local 774 static void journal_try_write(struct cache_set *c) in journal_try_write() 790 static struct journal_write *journal_wait_for_write(struct cache_set *c, in journal_wait_for_write() 847 struct cache_set *c = container_of(to_delayed_work(work), in journal_write_work() local [all …]
|
| D | debug.h | 14 #define expensive_debug_checks(c) ((c)->expensive_debug_checks) argument 15 #define key_merging_disabled(c) ((c)->key_merging_disabled) argument 23 #define expensive_debug_checks(c) 0 argument 24 #define key_merging_disabled(c) 0 argument 32 static inline void bch_debug_init_cache_set(struct cache_set *c) {} in bch_debug_init_cache_set()
|
| /drivers/dma/mediatek/ |
| D | mtk-uart-apdma.c | 110 static inline struct mtk_chan *to_mtk_uart_apdma_chan(struct dma_chan *c) in to_mtk_uart_apdma_chan() 121 static void mtk_uart_apdma_write(struct mtk_chan *c, in mtk_uart_apdma_write() 127 static unsigned int mtk_uart_apdma_read(struct mtk_chan *c, unsigned int reg) in mtk_uart_apdma_read() 135 struct mtk_chan *c = to_mtk_uart_apdma_chan(chan); in mtk_uart_apdma_desc_free() local 140 static void mtk_uart_apdma_start_tx(struct mtk_chan *c) in mtk_uart_apdma_start_tx() 183 static void mtk_uart_apdma_start_rx(struct mtk_chan *c) in mtk_uart_apdma_start_rx() 208 static void mtk_uart_apdma_tx_handler(struct mtk_chan *c) in mtk_uart_apdma_tx_handler() 220 static void mtk_uart_apdma_rx_handler(struct mtk_chan *c) in mtk_uart_apdma_rx_handler() 256 struct mtk_chan *c = to_mtk_uart_apdma_chan(chan); in mtk_uart_apdma_irq_handler() local 272 struct mtk_chan *c = to_mtk_uart_apdma_chan(chan); in mtk_uart_apdma_alloc_chan_resources() local [all …]
|
| /drivers/gpu/drm/arm/display/komeda/ |
| D | komeda_pipeline.c | 47 struct komeda_component *c; in komeda_pipeline_destroy() local 126 struct komeda_component *c = NULL; in komeda_pipeline_get_component() local 139 struct komeda_component *c = NULL; in komeda_pipeline_get_first_component() local 150 komeda_component_pickup_input(struct komeda_component *c, u32 avail_comps) in komeda_component_pickup_input() 167 struct komeda_component *c; in komeda_component_add() local 227 struct komeda_component *c) in komeda_component_destroy() 232 static void komeda_component_dump(struct komeda_component *c) in komeda_component_dump() 247 struct komeda_component *c; in komeda_pipeline_dump() local 267 static void komeda_component_verify_inputs(struct komeda_component *c) in komeda_component_verify_inputs() 301 struct komeda_component *c; in komeda_pipeline_assemble() local [all …]
|
| /drivers/gpu/drm/nouveau/dispnv50/ |
| D | disp.h | 11 #define NV50_DISP_SYNC(c, o) ((c) * 0x040 + (o)) argument 13 #define NV50_DISP_WNDW_SEM0(c) NV50_DISP_SYNC(1 + (c), 0x00) argument 14 #define NV50_DISP_WNDW_SEM1(c) NV50_DISP_SYNC(1 + (c), 0x10) argument 15 #define NV50_DISP_WNDW_NTFY(c) NV50_DISP_SYNC(1 + (c), 0x20) argument 16 #define NV50_DISP_BASE_SEM0(c) NV50_DISP_WNDW_SEM0(0 + (c)) argument 17 #define NV50_DISP_BASE_SEM1(c) NV50_DISP_WNDW_SEM1(0 + (c)) argument 18 #define NV50_DISP_BASE_NTFY(c) NV50_DISP_WNDW_NTFY(0 + (c)) argument 19 #define NV50_DISP_OVLY_SEM0(c) NV50_DISP_WNDW_SEM0(4 + (c)) argument 20 #define NV50_DISP_OVLY_SEM1(c) NV50_DISP_WNDW_SEM1(4 + (c)) argument 21 #define NV50_DISP_OVLY_NTFY(c) NV50_DISP_WNDW_NTFY(4 + (c)) argument
|
| /drivers/video/console/ |
| D | vgacon.c | 163 static inline void vga_set_mem_top(struct vc_data *c) in vga_set_mem_top() 243 static void vgacon_scrollback_update(struct vc_data *c, int t, int count) in vgacon_scrollback_update() 272 static void vgacon_restore_screen(struct vc_data *c) in vgacon_restore_screen() 286 static void vgacon_scrolldelta(struct vc_data *c, int lines) in vgacon_scrolldelta() 360 static void vgacon_flush_scrollback(struct vc_data *c) in vgacon_flush_scrollback() 372 static void vgacon_restore_screen(struct vc_data *c) in vgacon_restore_screen() 378 static void vgacon_scrolldelta(struct vc_data *c, int lines) in vgacon_scrolldelta() 385 static void vgacon_flush_scrollback(struct vc_data *c) in vgacon_flush_scrollback() 580 static void vgacon_init(struct vc_data *c, int init) in vgacon_init() 618 static void vgacon_deinit(struct vc_data *c) in vgacon_deinit() [all …]
|
| D | mdacon.c | 355 static void mdacon_init(struct vc_data *c, int init) in mdacon_init() 372 static void mdacon_deinit(struct vc_data *c) in mdacon_deinit() 397 static u8 mdacon_build_attr(struct vc_data *c, u8 color, u8 intensity, in mdacon_build_attr() 415 static void mdacon_invert_region(struct vc_data *c, u16 *p, int count) in mdacon_invert_region() 428 static void mdacon_putc(struct vc_data *c, int ch, int y, int x) in mdacon_putc() 433 static void mdacon_putcs(struct vc_data *c, const unsigned short *s, in mdacon_putcs() 443 static void mdacon_clear(struct vc_data *c, int y, int x, in mdacon_clear() 460 static int mdacon_switch(struct vc_data *c) in mdacon_switch() 465 static int mdacon_blank(struct vc_data *c, int blank, int mode_switch) in mdacon_blank() 484 static void mdacon_cursor(struct vc_data *c, int mode) in mdacon_cursor() [all …]
|
| /drivers/media/i2c/cx25840/ |
| D | cx25840-ir.c | 99 struct i2c_client *c; member 330 static inline void control_tx_irq_watermark(struct i2c_client *c, in control_tx_irq_watermark() 336 static inline void control_rx_irq_watermark(struct i2c_client *c, in control_rx_irq_watermark() 342 static inline void control_tx_enable(struct i2c_client *c, bool enable) in control_tx_enable() 348 static inline void control_rx_enable(struct i2c_client *c, bool enable) in control_rx_enable() 354 static inline void control_tx_modulation_enable(struct i2c_client *c, in control_tx_modulation_enable() 361 static inline void control_rx_demodulation_enable(struct i2c_client *c, in control_rx_demodulation_enable() 368 static inline void control_rx_s_edge_detection(struct i2c_client *c, in control_rx_s_edge_detection() 375 static void control_rx_s_carrier_window(struct i2c_client *c, in control_rx_s_carrier_window() 401 static inline void control_tx_polarity_invert(struct i2c_client *c, in control_tx_polarity_invert() [all …]
|
| /drivers/dma/ioat/ |
| D | sysfs.c | 17 static ssize_t cap_show(struct dma_chan *c, char *page) in cap_show() 31 static ssize_t version_show(struct dma_chan *c, char *page) in version_show() 78 struct dma_chan *c; in ioat_kobject_add() local 99 struct dma_chan *c; in ioat_kobject_del() local 111 static ssize_t ring_size_show(struct dma_chan *c, char *page) in ring_size_show() 119 static ssize_t ring_active_show(struct dma_chan *c, char *page) in ring_active_show() 128 static ssize_t intr_coalesce_show(struct dma_chan *c, char *page) in intr_coalesce_show() 135 static ssize_t intr_coalesce_store(struct dma_chan *c, const char *page, in intr_coalesce_store()
|
| /drivers/dma/ti/ |
| D | omap-dma.c | 216 static inline struct omap_chan *to_omap_dma_chan(struct dma_chan *c) in to_omap_dma_chan() 347 static void omap_dma_chan_write(struct omap_chan *c, unsigned reg, unsigned val) in omap_dma_chan_write() 354 static unsigned omap_dma_chan_read(struct omap_chan *c, unsigned reg) in omap_dma_chan_read() 361 static void omap_dma_clear_csr(struct omap_chan *c) in omap_dma_clear_csr() 369 static unsigned omap_dma_get_csr(struct omap_chan *c) in omap_dma_get_csr() 379 static void omap_dma_assign(struct omap_dmadev *od, struct omap_chan *c, in omap_dma_assign() 387 static void omap_dma_start(struct omap_chan *c, struct omap_desc *d) in omap_dma_start() 427 static void omap_dma_drain_chan(struct omap_chan *c) in omap_dma_drain_chan() 450 static int omap_dma_stop(struct omap_chan *c) in omap_dma_stop() 504 static void omap_dma_start_sg(struct omap_chan *c, struct omap_desc *d) in omap_dma_start_sg() [all …]
|
| /drivers/net/ethernet/chelsio/cxgb4/ |
| D | cxgb4_ptp.c | 130 struct fw_ptp_cmd c; in cxgb4_ptprx_timestamping() local 151 struct fw_ptp_cmd c; in cxgb4_ptp_txtype() local 175 struct fw_ptp_cmd c; in cxgb4_ptp_redirect_rx_packet() local 207 struct fw_ptp_cmd c; in cxgb4_ptp_adjfreq() local 239 struct fw_ptp_cmd c; in cxgb4_ptp_fineadjtime() local 270 struct fw_ptp_cmd c; in cxgb4_ptp_adjtime() local 313 struct fw_ptp_cmd c; in cxgb4_ptp_gettime() local 352 struct fw_ptp_cmd c; in cxgb4_ptp_settime() local 377 struct fw_ptp_cmd c; in cxgb4_init_ptp_timer() local
|
| /drivers/mtd/nand/onenand/ |
| D | omap2.c | 52 struct omap2_onenand *c = dev_id; in omap2_onenand_interrupt() local 59 static inline unsigned short read_reg(struct omap2_onenand *c, int reg) in read_reg() 64 static inline void write_reg(struct omap2_onenand *c, unsigned short value, in write_reg() 70 static int omap2_onenand_set_cfg(struct omap2_onenand *c, in omap2_onenand_set_cfg() 144 struct omap2_onenand *c = container_of(mtd, struct omap2_onenand, mtd); in omap2_onenand_wait() local 324 static inline int omap2_onenand_dma_transfer(struct omap2_onenand *c, in omap2_onenand_dma_transfer() 364 struct omap2_onenand *c = container_of(mtd, struct omap2_onenand, mtd); in omap2_onenand_read_bufferram() local 412 struct omap2_onenand *c = container_of(mtd, struct omap2_onenand, mtd); in omap2_onenand_write_bufferram() local 450 struct omap2_onenand *c = dev_get_drvdata(&pdev->dev); in omap2_onenand_shutdown() local 465 struct omap2_onenand *c; in omap2_onenand_probe() local [all …]
|
| /drivers/clocksource/ |
| D | mmio.c | 15 static inline struct clocksource_mmio *to_mmio_clksrc(struct clocksource *c) in to_mmio_clksrc() 20 u64 clocksource_mmio_readl_up(struct clocksource *c) in clocksource_mmio_readl_up() 25 u64 clocksource_mmio_readl_down(struct clocksource *c) in clocksource_mmio_readl_down() 30 u64 clocksource_mmio_readw_up(struct clocksource *c) in clocksource_mmio_readw_up() 35 u64 clocksource_mmio_readw_down(struct clocksource *c) in clocksource_mmio_readw_down()
|
| /drivers/gpu/drm/msm/disp/dpu1/ |
| D | dpu_hw_vbif.c | 38 struct dpu_hw_blk_reg_map *c; in dpu_hw_clear_errors() local 58 struct dpu_hw_blk_reg_map *c; in dpu_hw_set_mem_type() local 88 struct dpu_hw_blk_reg_map *c = &vbif->hw; in dpu_hw_set_limit_conf() local 109 struct dpu_hw_blk_reg_map *c = &vbif->hw; in dpu_hw_get_limit_conf() local 131 struct dpu_hw_blk_reg_map *c = &vbif->hw; in dpu_hw_set_halt_ctrl() local 147 struct dpu_hw_blk_reg_map *c = &vbif->hw; in dpu_hw_get_halt_ctrl() local 158 struct dpu_hw_blk_reg_map *c; in dpu_hw_set_qos_remap() local 186 struct dpu_hw_blk_reg_map *c; in dpu_hw_set_write_gather_en() local 238 struct dpu_hw_vbif *c; in dpu_hw_vbif_init() local
|
| /drivers/dma/ |
| D | bcm2835-dma.c | 88 struct bcm2835_chan *c; member 177 static inline size_t bcm2835_dma_max_frame_length(struct bcm2835_chan *c) in bcm2835_dma_max_frame_length() 195 static inline struct bcm2835_chan *to_bcm2835_dma_chan(struct dma_chan *c) in to_bcm2835_dma_chan() 266 struct bcm2835_chan *c, in bcm2835_dma_count_frames_for_sg() 308 struct bcm2835_chan *c = to_bcm2835_dma_chan(chan); in bcm2835_dma_create_cb_chain() local 392 struct bcm2835_chan *c = to_bcm2835_dma_chan(chan); in bcm2835_dma_fill_cb_chain_with_sg() local 412 static void bcm2835_dma_abort(struct bcm2835_chan *c) in bcm2835_dma_abort() 440 static void bcm2835_dma_start_desc(struct bcm2835_chan *c) in bcm2835_dma_start_desc() 460 struct bcm2835_chan *c = data; in bcm2835_dma_callback() local 504 struct bcm2835_chan *c = to_bcm2835_dma_chan(chan); in bcm2835_dma_alloc_chan_resources() local [all …]
|