Home
last modified time | relevance | path

Searched defs:c (Results 1 – 25 of 1228) sorted by relevance

12345678910>>...50

/drivers/iommu/
Dmsm_iommu_hw-8xxx.h38 #define GET_CONTEXT_FIELD(b, c, r, F) \ argument
43 #define SET_CONTEXT_FIELD(b, c, r, F, v) \ argument
134 #define SET_SCTLR(b, c, v) SET_CTX_REG(SCTLR, (b), (c), (v)) argument
135 #define SET_ACTLR(b, c, v) SET_CTX_REG(ACTLR, (b), (c), (v)) argument
136 #define SET_CONTEXTIDR(b, c, v) SET_CTX_REG(CONTEXTIDR, (b), (c), (v)) argument
137 #define SET_TTBR0(b, c, v) SET_CTX_REG(TTBR0, (b), (c), (v)) argument
138 #define SET_TTBR1(b, c, v) SET_CTX_REG(TTBR1, (b), (c), (v)) argument
139 #define SET_TTBCR(b, c, v) SET_CTX_REG(TTBCR, (b), (c), (v)) argument
140 #define SET_PAR(b, c, v) SET_CTX_REG(PAR, (b), (c), (v)) argument
141 #define SET_FSR(b, c, v) SET_CTX_REG(FSR, (b), (c), (v)) argument
[all …]
/drivers/net/wan/
Dz85230.c126 static inline u8 read_zsreg(struct z8530_channel *c, u8 reg) in read_zsreg()
141 static inline u8 read_zsdata(struct z8530_channel *c) in read_zsdata()
160 static inline void write_zsreg(struct z8530_channel *c, u8 reg, u8 val) in write_zsreg()
176 static inline void write_zsctrl(struct z8530_channel *c, u8 val) in write_zsctrl()
190 static inline void write_zsdata(struct z8530_channel *c, u8 val) in write_zsdata()
276 static void z8530_flush_fifo(struct z8530_channel *c) in z8530_flush_fifo()
302 static void z8530_rtsdtr(struct z8530_channel *c, int set) in z8530_rtsdtr()
335 static void z8530_rx(struct z8530_channel *c) in z8530_rx()
409 static void z8530_tx(struct z8530_channel *c) in z8530_tx()
629 static void z8530_rx_clear(struct z8530_channel *c) in z8530_rx_clear()
[all …]
/drivers/md/
Ddm-bufio.c149 struct dm_bufio_client *c; member
165 static inline int dm_bufio_cache_index(struct dm_bufio_client *c) in dm_bufio_cache_index()
174 #define DM_BUFIO_CACHE(c) (dm_bufio_caches[dm_bufio_cache_index(c)]) argument
175 #define DM_BUFIO_CACHE_NAME(c) (dm_bufio_cache_names[dm_bufio_cache_index(c)]) argument
179 static void dm_bufio_lock(struct dm_bufio_client *c) in dm_bufio_lock()
184 static int dm_bufio_trylock(struct dm_bufio_client *c) in dm_bufio_trylock()
189 static void dm_bufio_unlock(struct dm_bufio_client *c) in dm_bufio_unlock()
263 static struct dm_buffer *__find(struct dm_bufio_client *c, sector_t block) in __find()
280 static void __insert(struct dm_bufio_client *c, struct dm_buffer *b) in __insert()
302 static void __remove(struct dm_bufio_client *c, struct dm_buffer *b) in __remove()
[all …]
/drivers/md/bcache/
Dsuper.c279 struct cache_set *c = container_of(cl, struct cache_set, sb_write); in bcache_write_super_unlock() local
284 void bcache_write_super(struct cache_set *c) in bcache_write_super()
321 struct cache_set *c = container_of(cl, struct cache_set, uuid_write); in uuid_endio() local
330 struct cache_set *c = container_of(cl, struct cache_set, uuid_write); in uuid_io_unlock() local
335 static void uuid_io(struct cache_set *c, int op, unsigned long op_flags, in uuid_io()
376 static char *uuid_read(struct cache_set *c, struct jset *j, struct closure *cl) in uuid_read()
417 static int __uuid_write(struct cache_set *c) in __uuid_write()
437 int bch_uuid_write(struct cache_set *c) in bch_uuid_write()
447 static struct uuid_entry *uuid_find(struct cache_set *c, const char *uuid) in uuid_find()
459 static struct uuid_entry *uuid_find_empty(struct cache_set *c) in uuid_find_empty()
[all …]
Djournal.c144 int bch_journal_read(struct cache_set *c, struct list_head *list) in bch_journal_read()
266 void bch_journal_mark(struct cache_set *c, struct list_head *list) in bch_journal_mark()
366 static void btree_flush_write(struct cache_set *c) in btree_flush_write()
467 static void journal_reclaim(struct cache_set *c) in journal_reclaim()
573 struct cache_set *c = container_of(cl, struct cache_set, journal.io); in journal_write_unlock() local
582 struct cache_set *c = container_of(cl, struct cache_set, journal.io); in journal_write_unlocked() local
659 struct cache_set *c = container_of(cl, struct cache_set, journal.io); in journal_write() local
665 static void journal_try_write(struct cache_set *c) in journal_try_write()
681 static struct journal_write *journal_wait_for_write(struct cache_set *c, in journal_wait_for_write()
737 struct cache_set *c = container_of(to_delayed_work(work), in journal_write_work() local
[all …]
Dbtree.c92 #define PTR_HASH(c, k) \ argument
135 #define btree_root(fn, c, op, ...) \ argument
177 void bkey_put(struct cache_set *c, struct bkey *k) in bkey_put()
552 #define mca_reserve(c) (((c->root && c->root->level) \ argument
554 #define mca_can_free(c) \ argument
595 static struct btree *mca_bucket_alloc(struct cache_set *c, in mca_bucket_alloc()
659 struct cache_set *c = container_of(shrink, struct cache_set, shrink); in bch_mca_scan() local
723 struct cache_set *c = container_of(shrink, struct cache_set, shrink); in bch_mca_count() local
734 void bch_btree_cache_free(struct cache_set *c) in bch_btree_cache_free()
776 int bch_btree_cache_alloc(struct cache_set *c) in bch_btree_cache_alloc()
[all …]
Dsysfs.c195 struct cache_set *c; in STORE() local
418 static int bch_bset_print_stats(struct cache_set *c, char *buf) in bch_bset_print_stats()
444 static unsigned bch_root_usage(struct cache_set *c) in bch_root_usage()
468 static size_t bch_cache_size(struct cache_set *c) in bch_cache_size()
481 static unsigned bch_cache_max_chain(struct cache_set *c) in bch_cache_max_chain()
504 static unsigned bch_btree_used(struct cache_set *c) in bch_btree_used()
510 static unsigned bch_average_key_size(struct cache_set *c) in bch_average_key_size()
519 struct cache_set *c = container_of(kobj, struct cache_set, kobj); in SHOW() local
582 struct cache_set *c = container_of(kobj, struct cache_set, kobj); in STORE() local
662 struct cache_set *c = container_of(kobj, struct cache_set, internal); in SHOW() local
[all …]
Ddebug.h13 #define expensive_debug_checks(c) ((c)->expensive_debug_checks) argument
14 #define key_merging_disabled(c) ((c)->key_merging_disabled) argument
22 #define expensive_debug_checks(c) 0 argument
23 #define key_merging_disabled(c) 0 argument
31 static inline void bch_debug_init_cache_set(struct cache_set *c) {} in bch_debug_init_cache_set()
Dio.c16 void bch_bbio_free(struct bio *bio, struct cache_set *c) in bch_bbio_free()
22 struct bio *bch_bbio_alloc(struct cache_set *c) in bch_bbio_alloc()
34 void __bch_submit_bbio(struct bio *bio, struct cache_set *c) in __bch_submit_bbio()
45 void bch_submit_bbio(struct bio *bio, struct cache_set *c, in bch_submit_bbio()
107 void bch_bbio_count_io_errors(struct cache_set *c, struct bio *bio, in bch_bbio_count_io_errors()
136 void bch_bbio_endio(struct cache_set *c, struct bio *bio, in bch_bbio_endio()
/drivers/staging/most/aim-cdev/
Dcdev.c53 static inline bool ch_has_mbo(struct aim_channel *c) in ch_has_mbo()
58 static inline bool ch_get_mbo(struct aim_channel *c, struct mbo **mbo) in ch_get_mbo()
70 struct aim_channel *c, *tmp; in get_channel() local
87 static void stop_channel(struct aim_channel *c) in stop_channel()
96 static void destroy_cdev(struct aim_channel *c) in destroy_cdev()
119 struct aim_channel *c; in aim_open() local
163 struct aim_channel *c = to_channel(inode->i_cdev); in aim_close() local
193 struct aim_channel *c = filp->private_data; in aim_write() local
246 struct aim_channel *c = filp->private_data; in aim_read() local
288 struct aim_channel *c = filp->private_data; in aim_poll() local
[all …]
/drivers/usb/misc/sisusbvga/
Dsisusb_con.c76 #define sisusbcon_memmovew(d, s, c) memmove(d, s, c) argument
77 #define sisusbcon_memcpyw(d, s, c) memcpy(d, s, c) argument
86 sisusbcon_memsetw(u16 *s, u16 c, unsigned int count) in sisusbcon_memsetw()
107 sisusbcon_set_start_address(struct sisusb_usb_data *sisusb, struct vc_data *c) in sisusbcon_set_start_address()
188 sisusb_is_inactive(struct vc_data *c, struct sisusb_usb_data *sisusb) in sisusb_is_inactive()
207 sisusbcon_init(struct vc_data *c, int init) in sisusbcon_init()
273 sisusbcon_deinit(struct vc_data *c) in sisusbcon_deinit()
313 sisusbcon_build_attr(struct vc_data *c, u8 color, u8 intensity, in sisusbcon_build_attr()
370 sisusbcon_putc(struct vc_data *c, int ch, int y, int x) in sisusbcon_putc()
393 sisusbcon_putcs(struct vc_data *c, const unsigned short *s, in sisusbcon_putcs()
[all …]
/drivers/staging/most/mostcore/
Dcore.c184 struct most_c_obj *c = mbo->context; in most_free_mbo_coherent() local
198 static void flush_channel_fifos(struct most_c_obj *c) in flush_channel_fifos()
232 static int flush_trash_fifo(struct most_c_obj *c) in flush_trash_fifo()
254 struct most_c_obj *c = to_c_obj(kobj); in most_channel_release() local
259 static ssize_t show_available_directions(struct most_c_obj *c, in show_available_directions()
274 static ssize_t show_available_datatypes(struct most_c_obj *c, in show_available_datatypes()
294 ssize_t show_number_of_packet_buffers(struct most_c_obj *c, in show_number_of_packet_buffers()
305 ssize_t show_number_of_stream_buffers(struct most_c_obj *c, in show_number_of_stream_buffers()
316 ssize_t show_size_of_packet_buffer(struct most_c_obj *c, in show_size_of_packet_buffer()
327 ssize_t show_size_of_stream_buffer(struct most_c_obj *c, in show_size_of_stream_buffer()
[all …]
/drivers/video/console/
Dvgacon.c177 static inline void vga_set_mem_top(struct vc_data *c) in vga_set_mem_top()
212 static void vgacon_scrollback_update(struct vc_data *c, int t, int count) in vgacon_scrollback_update()
238 static void vgacon_restore_screen(struct vc_data *c) in vgacon_restore_screen()
251 static void vgacon_scrolldelta(struct vc_data *c, int lines) in vgacon_scrolldelta()
329 static void vgacon_restore_screen(struct vc_data *c) in vgacon_restore_screen()
335 static void vgacon_scrolldelta(struct vc_data *c, int lines) in vgacon_scrolldelta()
569 static void vgacon_init(struct vc_data *c, int init) in vgacon_init()
607 static void vgacon_deinit(struct vc_data *c) in vgacon_deinit()
621 static u8 vgacon_build_attr(struct vc_data *c, u8 color, u8 intensity, in vgacon_build_attr()
653 static void vgacon_invert_region(struct vc_data *c, u16 * p, int count) in vgacon_invert_region()
[all …]
Dmdacon.c345 static void mdacon_init(struct vc_data *c, int init) in mdacon_init()
362 static void mdacon_deinit(struct vc_data *c) in mdacon_deinit()
387 static u8 mdacon_build_attr(struct vc_data *c, u8 color, u8 intensity, in mdacon_build_attr()
405 static void mdacon_invert_region(struct vc_data *c, u16 *p, int count) in mdacon_invert_region()
415 static void mdacon_putc(struct vc_data *c, int ch, int y, int x) in mdacon_putc()
420 static void mdacon_putcs(struct vc_data *c, const unsigned short *s, in mdacon_putcs()
430 static void mdacon_clear(struct vc_data *c, int y, int x, in mdacon_clear()
447 static int mdacon_switch(struct vc_data *c) in mdacon_switch()
452 static int mdacon_blank(struct vc_data *c, int blank, int mode_switch) in mdacon_blank()
471 static void mdacon_cursor(struct vc_data *c, int mode) in mdacon_cursor()
[all …]
/drivers/clk/ti/
Dautoidle.c48 struct clk_hw_omap *c; in omap2_clk_deny_idle() local
64 struct clk_hw_omap *c; in omap2_clk_allow_idle() local
108 struct clk_ti_autoidle *c; in _clk_generic_allow_autoidle_all() local
122 struct clk_ti_autoidle *c; in _clk_generic_deny_autoidle_all() local
181 struct clk_hw_omap *c; in omap2_init_clk_hw_omap_clocks() local
201 struct clk_hw_omap *c; in omap2_clk_enable_autoidle_all() local
223 struct clk_hw_omap *c; in omap2_clk_disable_autoidle_all() local
/drivers/media/i2c/cx25840/
Dcx25840-ir.c113 struct i2c_client *c; member
344 static inline void control_tx_irq_watermark(struct i2c_client *c, in control_tx_irq_watermark()
350 static inline void control_rx_irq_watermark(struct i2c_client *c, in control_rx_irq_watermark()
356 static inline void control_tx_enable(struct i2c_client *c, bool enable) in control_tx_enable()
362 static inline void control_rx_enable(struct i2c_client *c, bool enable) in control_rx_enable()
368 static inline void control_tx_modulation_enable(struct i2c_client *c, in control_tx_modulation_enable()
375 static inline void control_rx_demodulation_enable(struct i2c_client *c, in control_rx_demodulation_enable()
382 static inline void control_rx_s_edge_detection(struct i2c_client *c, in control_rx_s_edge_detection()
389 static void control_rx_s_carrier_window(struct i2c_client *c, in control_rx_s_carrier_window()
415 static inline void control_tx_polarity_invert(struct i2c_client *c, in control_tx_polarity_invert()
[all …]
/drivers/dma/
Domap-dma.c214 static inline struct omap_chan *to_omap_dma_chan(struct dma_chan *c) in to_omap_dma_chan()
345 static void omap_dma_chan_write(struct omap_chan *c, unsigned reg, unsigned val) in omap_dma_chan_write()
352 static unsigned omap_dma_chan_read(struct omap_chan *c, unsigned reg) in omap_dma_chan_read()
359 static void omap_dma_clear_csr(struct omap_chan *c) in omap_dma_clear_csr()
367 static unsigned omap_dma_get_csr(struct omap_chan *c) in omap_dma_get_csr()
377 static void omap_dma_assign(struct omap_dmadev *od, struct omap_chan *c, in omap_dma_assign()
385 static void omap_dma_start(struct omap_chan *c, struct omap_desc *d) in omap_dma_start()
425 static void omap_dma_stop(struct omap_chan *c) in omap_dma_stop()
488 static void omap_dma_start_sg(struct omap_chan *c, struct omap_desc *d) in omap_dma_start_sg()
513 static void omap_dma_start_desc(struct omap_chan *c) in omap_dma_start_desc()
[all …]
/drivers/mtd/onenand/
Domap2.c68 struct omap2_onenand *c = data; in omap2_onenand_dma_cb() local
75 struct omap2_onenand *c = dev_id; in omap2_onenand_interrupt() local
82 static inline unsigned short read_reg(struct omap2_onenand *c, int reg) in read_reg()
87 static inline void write_reg(struct omap2_onenand *c, unsigned short value, in write_reg()
108 struct omap2_onenand *c = container_of(mtd, struct omap2_onenand, mtd); in omap2_onenand_wait() local
300 struct omap2_onenand *c = container_of(mtd, struct omap2_onenand, mtd); in omap3_onenand_read_bufferram() local
378 struct omap2_onenand *c = container_of(mtd, struct omap2_onenand, mtd); in omap3_onenand_write_bufferram() local
469 struct omap2_onenand *c = container_of(mtd, struct omap2_onenand, mtd); in omap2_onenand_read_bufferram() local
514 struct omap2_onenand *c = container_of(mtd, struct omap2_onenand, mtd); in omap2_onenand_write_bufferram() local
577 struct omap2_onenand *c = dev_get_drvdata(&pdev->dev); in omap2_onenand_shutdown() local
[all …]
/drivers/clocksource/
Dmmio.c18 static inline struct clocksource_mmio *to_mmio_clksrc(struct clocksource *c) in to_mmio_clksrc()
23 cycle_t clocksource_mmio_readl_up(struct clocksource *c) in clocksource_mmio_readl_up()
28 cycle_t clocksource_mmio_readl_down(struct clocksource *c) in clocksource_mmio_readl_down()
33 cycle_t clocksource_mmio_readw_up(struct clocksource *c) in clocksource_mmio_readw_up()
38 cycle_t clocksource_mmio_readw_down(struct clocksource *c) in clocksource_mmio_readw_down()
/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c74 static void atmel_hlcdc_crtc_mode_set_nofb(struct drm_crtc *c) in atmel_hlcdc_crtc_mode_set_nofb()
145 static bool atmel_hlcdc_crtc_mode_fixup(struct drm_crtc *c, in atmel_hlcdc_crtc_mode_fixup()
154 static void atmel_hlcdc_crtc_disable(struct drm_crtc *c) in atmel_hlcdc_crtc_disable()
193 static void atmel_hlcdc_crtc_enable(struct drm_crtc *c) in atmel_hlcdc_crtc_enable()
233 void atmel_hlcdc_crtc_suspend(struct drm_crtc *c) in atmel_hlcdc_crtc_suspend()
244 void atmel_hlcdc_crtc_resume(struct drm_crtc *c) in atmel_hlcdc_crtc_resume()
313 static int atmel_hlcdc_crtc_atomic_check(struct drm_crtc *c, in atmel_hlcdc_crtc_atomic_check()
329 static void atmel_hlcdc_crtc_atomic_begin(struct drm_crtc *c, in atmel_hlcdc_crtc_atomic_begin()
362 static void atmel_hlcdc_crtc_destroy(struct drm_crtc *c) in atmel_hlcdc_crtc_destroy()
384 void atmel_hlcdc_crtc_irq(struct drm_crtc *c) in atmel_hlcdc_crtc_irq()
/drivers/dma/ioat/
Dsysfs.c29 static ssize_t cap_show(struct dma_chan *c, char *page) in cap_show()
43 static ssize_t version_show(struct dma_chan *c, char *page) in version_show()
74 struct dma_chan *c; in ioat_kobject_add() local
95 struct dma_chan *c; in ioat_kobject_del() local
107 static ssize_t ring_size_show(struct dma_chan *c, char *page) in ring_size_show()
115 static ssize_t ring_active_show(struct dma_chan *c, char *page) in ring_active_show()
/drivers/spi/
Dspi-txx9.c86 static u32 txx9spi_rd(struct txx9spi *c, int reg) in txx9spi_rd()
90 static void txx9spi_wr(struct txx9spi *c, u32 val, int reg) in txx9spi_wr()
95 static void txx9spi_cs_func(struct spi_device *spi, struct txx9spi *c, in txx9spi_cs_func()
117 struct txx9spi *c = spi_master_get_devdata(spi->master); in txx9spi_setup() local
138 struct txx9spi *c = dev_id; in txx9spi_interrupt() local
147 static void txx9spi_work_one(struct txx9spi *c, struct spi_message *m) in txx9spi_work_one()
282 struct txx9spi *c = container_of(work, struct txx9spi, work); in txx9spi_work() local
303 struct txx9spi *c = spi_master_get_devdata(master); in txx9spi_transfer() local
326 struct txx9spi *c; in txx9spi_probe() local
406 struct txx9spi *c = spi_master_get_devdata(master); in txx9spi_remove() local
/drivers/media/firewire/
Dfiredtv-avc.c94 static inline void clear_operands(struct avc_command_frame *c, int from, int to) in clear_operands()
99 static void pad_operands(struct avc_command_frame *c, int from) in pad_operands()
340 struct avc_command_frame *c = (void *)fdtv->avc_data; in avc_tuner_tuneqpsk() local
421 struct avc_command_frame *c = (void *)fdtv->avc_data; in avc_tuner_dsd_dvb_c() local
489 struct avc_command_frame *c = (void *)fdtv->avc_data; in avc_tuner_dsd_dvb_t() local
590 struct avc_command_frame *c = (void *)fdtv->avc_data; in avc_tuner_dsd() local
629 struct avc_command_frame *c = (void *)fdtv->avc_data; in avc_tuner_set_pids() local
675 struct avc_command_frame *c = (void *)fdtv->avc_data; in avc_tuner_get_ts() local
715 struct avc_command_frame *c = (void *)fdtv->avc_data; in avc_identify_subunit() local
755 struct avc_command_frame *c = (void *)fdtv->avc_data; in avc_tuner_status() local
[all …]
/drivers/media/dvb-frontends/
Dcxd2820r_core.c63 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_gpio() local
121 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_set_frontend() local
164 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_read_status() local
191 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_get_frontend() local
220 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_read_ber() local
234 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_read_signal_strength() local
250 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_read_snr() local
266 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_read_ucblocks() local
284 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_sleep() local
311 struct dtv_frontend_properties *c = &fe->dtv_property_cache; in cxd2820r_get_tune_settings() local
[all …]
/drivers/gpu/drm/nouveau/include/nvif/
Dobject.h38 #define nvif_rd(a,f,b,c) ({ \ argument
47 #define nvif_wr(a,f,b,c,d) ({ \ argument
57 #define nvif_wr08(a,b,c) nvif_wr((a), iowrite8, 1, (b), (u8)(c)) argument
58 #define nvif_wr16(a,b,c) nvif_wr((a), iowrite16_native, 2, (b), (u16)(c)) argument
59 #define nvif_wr32(a,b,c) nvif_wr((a), iowrite32_native, 4, (b), (u32)(c)) argument
60 #define nvif_mask(a,b,c,d) ({ \ argument
67 #define nvif_mthd(a,b,c,d) nvif_object_mthd((a), (b), (c), (d)) argument

12345678910>>...50