Home
last modified time | relevance | path

Searched refs:gc (Results 1 – 18 of 18) sorted by relevance

/include/linux/gpio/
A Ddriver.h264 int (*init_hw)(struct gpio_chip *gc);
431 int (*request)(struct gpio_chip *gc,
433 void (*free)(struct gpio_chip *gc,
441 int (*get)(struct gpio_chip *gc,
446 int (*set)(struct gpio_chip *gc,
454 int (*to_irq)(struct gpio_chip *gc,
458 struct gpio_chip *gc);
551 int (*of_xlate)(struct gpio_chip *gc,
644 #define gpiochip_add_data(gc, data) ({ \ argument
657 #define gpiochip_add_data(gc, data) gpiochip_add_data_with_key(gc, data, NULL, NULL) argument
[all …]
A Dgeneric.h55 struct gpio_chip gc; member
69 return bgpio_init(&chip->gc, cfg->dev, cfg->sz, cfg->dat, cfg->set, in gpio_generic_chip_init()
91 if (WARN_ON(!chip->gc.set)) in gpio_generic_chip_set()
94 return chip->gc.set(&chip->gc, offset, value); in gpio_generic_chip_set()
98 raw_spin_lock(&(gen_gc)->gc.bgpio_lock)
101 raw_spin_unlock(&(gen_gc)->gc.bgpio_lock)
104 raw_spin_lock_irqsave(&(gen_gc)->gc.bgpio_lock, flags)
107 raw_spin_unlock_irqrestore(&(gen_gc)->gc.bgpio_lock, flags)
A Dlegacy-of-mm-gpiochip.h21 struct gpio_chip gc; member
26 static inline struct of_mm_gpio_chip *to_of_mm_gpio_chip(struct gpio_chip *gc) in to_of_mm_gpio_chip() argument
28 return container_of(gc, struct of_mm_gpio_chip, gc); in to_of_mm_gpio_chip()
A Dgpio-reg.h16 int gpio_reg_resume(struct gpio_chip *gc);
/include/linux/bcma/
A Dbcma_driver_gmac_cmn.h90 #define gmac_cmn_read16(gc, offset) bcma_read16((gc)->core, offset) argument
91 #define gmac_cmn_read32(gc, offset) bcma_read32((gc)->core, offset) argument
92 #define gmac_cmn_write16(gc, offset, val) bcma_write16((gc)->core, offset, val) argument
93 #define gmac_cmn_write32(gc, offset, val) bcma_write32((gc)->core, offset, val) argument
/include/linux/pinctrl/
A Dconsumer.h29 bool pinctrl_gpio_can_use_line(struct gpio_chip *gc, unsigned int offset);
30 int pinctrl_gpio_request(struct gpio_chip *gc, unsigned int offset);
31 void pinctrl_gpio_free(struct gpio_chip *gc, unsigned int offset);
32 int pinctrl_gpio_direction_input(struct gpio_chip *gc,
34 int pinctrl_gpio_direction_output(struct gpio_chip *gc,
36 int pinctrl_gpio_set_config(struct gpio_chip *gc, unsigned int offset,
71 pinctrl_gpio_can_use_line(struct gpio_chip *gc, unsigned int offset) in pinctrl_gpio_can_use_line() argument
77 pinctrl_gpio_request(struct gpio_chip *gc, unsigned int offset) in pinctrl_gpio_request() argument
83 pinctrl_gpio_free(struct gpio_chip *gc, unsigned int offset) in pinctrl_gpio_free() argument
88 pinctrl_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in pinctrl_gpio_direction_input() argument
[all …]
A Dpinctrl.h86 struct gpio_chip *gc; member
/include/linux/
A Dcookie.h30 static __always_inline u64 gen_cookie_next(struct gen_cookie *gc) in gen_cookie_next() argument
32 struct pcpu_gen_cookie *local = this_cpu_ptr(gc->local); in gen_cookie_next()
40 &gc->forward_last); in gen_cookie_next()
45 val = atomic64_dec_return(&gc->reverse_last); in gen_cookie_next()
A Dirq.h1110 struct irq_chip_generic *gc[]; member
1136 int (*init)(struct irq_chip_generic *gc);
1206 kfree(gc); in irq_free_generic_chip()
1213 irq_remove_generic_chip(gc, msk, clr, set); in irq_destroy_generic_chip()
1214 irq_free_generic_chip(gc); in irq_destroy_generic_chip()
1227 if (gc->reg_writel) in irq_reg_writel()
1228 gc->reg_writel(val, gc->reg_base + reg_offset); in irq_reg_writel()
1230 writel(val, gc->reg_base + reg_offset); in irq_reg_writel()
1236 if (gc->reg_readl) in irq_reg_readl()
1237 return gc->reg_readl(gc->reg_base + reg_offset); in irq_reg_readl()
[all …]
A Dhte.h168 int (*xlate_of)(struct hte_chip *gc,
171 int (*xlate_plat)(struct hte_chip *gc, struct hte_ts_desc *desc,
A Dirqdomain.h160 struct irq_domain_chip_generic *gc; member
/include/linux/mfd/
A Dtps65010.h197 int (*setup)(struct i2c_client *client, struct gpio_chip *gc);
198 void (*teardown)(struct i2c_client *client, struct gpio_chip *gc);
/include/trace/events/
A Drpcgss.h143 const struct gss_cred *gc
146 TP_ARGS(gc),
151 __string(principal, gc->gc_principal)
155 __entry->cred = gc;
156 __entry->service = gc->gc_service;
168 const struct gss_cred *gc \
170 TP_ARGS(gc))
316 const struct rpc_gss_wire_cred *gc
319 TP_ARGS(rqstp, gc),
329 __entry->seqno = gc->gc_seq;
/include/net/mana/
A Dgdma.h448 int mana_gd_test_eq(struct gdma_context *gc, struct gdma_queue *eq);
462 void mana_gd_destroy_queue(struct gdma_context *gc, struct gdma_queue *queue);
912 void mana_gd_wq_ring_doorbell(struct gdma_context *gc,
915 int mana_gd_alloc_memory(struct gdma_context *gc, unsigned int length,
920 int mana_gd_send_request(struct gdma_context *gc, u32 req_len, const void *req,
923 int mana_gd_destroy_dma_region(struct gdma_context *gc, u64 dma_region_handle);
927 int mana_rdma_service_event(struct gdma_context *gc, enum gdma_service_type event);
932 bool mana_need_log(struct gdma_context *gc, int err);
A Dhw_channel.h203 int mana_hwc_create_channel(struct gdma_context *gc);
204 void mana_hwc_destroy_channel(struct gdma_context *gc);
/include/net/
A Ddst_ops.h19 void (*gc)(struct dst_ops *ops); member
/include/net/netfilter/
A Dnf_tables.h973 bool (*gc)(struct net *net, member
1870 struct nft_trans_gc *nft_trans_gc_queue_async(struct nft_trans_gc *gc,
1872 void nft_trans_gc_queue_async_done(struct nft_trans_gc *gc);
1874 struct nft_trans_gc *nft_trans_gc_queue_sync(struct nft_trans_gc *gc, gfp_t gfp);
1877 void nft_trans_gc_elem_add(struct nft_trans_gc *gc, void *priv);
1879 struct nft_trans_gc *nft_trans_gc_catchall_async(struct nft_trans_gc *gc,
1881 struct nft_trans_gc *nft_trans_gc_catchall_sync(struct nft_trans_gc *gc);
A Dnf_flow_table.h56 bool (*gc)(const struct flow_offload *flow); member

Completed in 39 milliseconds