Searched refs:svc (Results 1 - 25 of 147) sorted by relevance

123456

/linux-master/drivers/greybus/
H A Dsvc_watchdog.c17 struct gb_svc *svc; member in struct:gb_svc_watchdog
32 gb_svc_watchdog_disable(watchdog->svc);
35 gb_svc_watchdog_enable(watchdog->svc);
66 struct gb_svc *svc; local
70 svc = watchdog->svc;
72 dev_dbg(&svc->dev, "%s: ping.\n", __func__);
73 retval = gb_svc_ping(svc);
79 * tearing down the svc device itself. So queue up
82 dev_err(&svc
107 gb_svc_watchdog_create(struct gb_svc *svc) argument
147 gb_svc_watchdog_destroy(struct gb_svc *svc) argument
160 gb_svc_watchdog_enabled(struct gb_svc *svc) argument
167 gb_svc_watchdog_enable(struct gb_svc *svc) argument
183 gb_svc_watchdog_disable(struct gb_svc *svc) argument
[all...]
H A Dsvc.c28 struct gb_svc *svc = to_gb_svc(dev); local
30 return sprintf(buf, "0x%04x\n", svc->endo_id);
37 struct gb_svc *svc = to_gb_svc(dev); local
39 return sprintf(buf, "%u\n", svc->ap_intf_id);
52 struct gb_svc *svc = to_gb_svc(dev); local
62 ret = gb_svc_intf_eject(svc, intf_id);
73 struct gb_svc *svc = to_gb_svc(dev); local
76 gb_svc_watchdog_enabled(svc) ? "enabled" : "disabled");
83 struct gb_svc *svc = to_gb_svc(dev); local
92 retval = gb_svc_watchdog_enable(svc);
104 struct gb_svc *svc = to_gb_svc(dev); local
118 struct gb_svc *svc = to_gb_svc(dev); local
131 gb_svc_pwrmon_rail_count_get(struct gb_svc *svc, u8 *value) argument
149 gb_svc_pwrmon_rail_names_get(struct gb_svc *svc, struct gb_svc_pwrmon_rail_names_get_response *response, size_t bufsize) argument
173 gb_svc_pwrmon_sample_get(struct gb_svc *svc, u8 rail_id, u8 measurement_type, u32 *value) argument
210 gb_svc_pwrmon_intf_sample_get(struct gb_svc *svc, u8 intf_id, u8 measurement_type, u32 *value) argument
256 ATTRIBUTE_GROUPS(svc); variable
258 gb_svc_intf_device_id(struct gb_svc *svc, u8 intf_id, u8 device_id) argument
269 gb_svc_intf_eject(struct gb_svc *svc, u8 intf_id) argument
292 gb_svc_intf_vsys_set(struct gb_svc *svc, u8 intf_id, bool enable) argument
315 gb_svc_intf_refclk_set(struct gb_svc *svc, u8 intf_id, bool enable) argument
338 gb_svc_intf_unipro_set(struct gb_svc *svc, u8 intf_id, bool enable) argument
361 gb_svc_intf_activate(struct gb_svc *svc, u8 intf_id, u8 *intf_type) argument
387 gb_svc_intf_resume(struct gb_svc *svc, u8 intf_id) argument
415 gb_svc_dme_peer_get(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector, u32 *value) argument
449 gb_svc_dme_peer_set(struct gb_svc *svc, u8 intf_id, u16 attr, u16 selector, u32 value) argument
481 gb_svc_connection_create(struct gb_svc *svc, u8 intf1_id, u16 cport1_id, u8 intf2_id, u16 cport2_id, u8 cport_flags) argument
499 gb_svc_connection_destroy(struct gb_svc *svc, u8 intf1_id, u16 cport1_id, u8 intf2_id, u16 cport2_id) argument
520 gb_svc_route_create(struct gb_svc *svc, u8 intf1_id, u8 dev1_id, u8 intf2_id, u8 dev2_id) argument
535 gb_svc_route_destroy(struct gb_svc *svc, u8 intf1_id, u8 intf2_id) argument
551 gb_svc_intf_set_power_mode(struct gb_svc *svc, u8 intf_id, u8 hs_series, u8 tx_mode, u8 tx_gear, u8 tx_nlanes, u8 tx_amplitude, u8 tx_hs_equalizer, u8 rx_mode, u8 rx_gear, u8 rx_nlanes, u8 flags, u32 quirks, struct gb_svc_l2_timer_cfg *local, struct gb_svc_l2_timer_cfg *remote) argument
599 gb_svc_intf_set_power_mode_hibernate(struct gb_svc *svc, u8 intf_id) argument
634 gb_svc_ping(struct gb_svc *svc) argument
644 struct gb_svc *svc = gb_connection_get_data(connection); local
681 struct gb_svc *svc = pwrmon_rails->svc; local
705 struct gb_svc *svc = pwrmon_rails->svc; local
729 struct gb_svc *svc = pwrmon_rails->svc; local
759 gb_svc_pwrmon_debugfs_init(struct gb_svc *svc) argument
824 gb_svc_debugfs_init(struct gb_svc *svc) argument
831 gb_svc_debugfs_exit(struct gb_svc *svc) argument
841 struct gb_svc *svc = gb_connection_get_data(connection); local
888 gb_svc_interface_lookup(struct gb_svc *svc, u8 intf_id) argument
909 gb_svc_module_lookup(struct gb_svc *svc, u8 module_id) argument
925 struct gb_svc *svc = gb_connection_get_data(connection); local
958 struct gb_svc *svc = gb_connection_get_data(connection); local
1006 struct gb_svc *svc = gb_connection_get_data(connection); local
1034 struct gb_svc *svc = gb_connection_get_data(connection); local
1065 struct gb_svc *svc = gb_connection_get_data(connection); local
1093 struct gb_svc *svc; local
1127 struct gb_svc *svc = gb_connection_get_data(operation->connection); local
1146 struct gb_svc *svc = gb_connection_get_data(op->connection); local
1164 struct gb_svc *svc = gb_connection_get_data(op->connection); local
1183 struct gb_svc *svc = gb_connection_get_data(op->connection); local
1202 struct gb_svc *svc = gb_connection_get_data(op->connection); local
1216 struct gb_svc *svc = gb_connection_get_data(op->connection); local
1235 struct gb_svc *svc = gb_connection_get_data(connection); local
1299 struct gb_svc *svc = to_gb_svc(dev); local
1315 struct gb_svc *svc; local
1357 gb_svc_add(struct gb_svc *svc) argument
1373 gb_svc_remove_modules(struct gb_svc *svc) argument
1385 gb_svc_del(struct gb_svc *svc) argument
1405 gb_svc_put(struct gb_svc *svc) argument
[all...]
/linux-master/net/netfilter/ipvs/
H A Dip_vs_rr.c26 static int ip_vs_rr_init_svc(struct ip_vs_service *svc) argument
28 svc->sched_data = &svc->destinations;
33 static int ip_vs_rr_del_dest(struct ip_vs_service *svc, struct ip_vs_dest *dest) argument
37 spin_lock_bh(&svc->sched_lock);
38 p = (struct list_head *) svc->sched_data;
43 svc->sched_data = p->next->prev;
44 spin_unlock_bh(&svc->sched_lock);
53 ip_vs_rr_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, argument
62 spin_lock_bh(&svc
[all...]
H A Dip_vs_sched.c40 int ip_vs_bind_scheduler(struct ip_vs_service *svc, argument
46 ret = scheduler->init_service(svc);
52 rcu_assign_pointer(svc->scheduler, scheduler);
60 void ip_vs_unbind_scheduler(struct ip_vs_service *svc, argument
65 cur_sched = rcu_dereference_protected(svc->scheduler, 1);
71 sched->done_service(svc);
72 /* svc->scheduler can be set to NULL only by caller */
143 void ip_vs_scheduler_err(struct ip_vs_service *svc, const char *msg) argument
145 struct ip_vs_scheduler *sched = rcu_dereference(svc->scheduler);
148 if (svc
[all...]
H A Dip_vs_mh.c123 struct ip_vs_service *svc)
138 p = &svc->destinations;
140 while ((p = p->next) != &svc->destinations) {
143 ds->offset = ip_vs_mh_hashkey(svc->af, &dest->addr,
146 ds->skip = ip_vs_mh_hashkey(svc->af, &dest->addr,
160 struct ip_vs_service *svc)
181 p = &svc->destinations;
185 if (p == &svc->destinations)
189 while (p != &svc->destinations) {
235 ip_vs_mh_get(struct ip_vs_service *svc, struc argument
122 ip_vs_mh_permutate(struct ip_vs_mh_state *s, struct ip_vs_service *svc) argument
159 ip_vs_mh_populate(struct ip_vs_mh_state *s, struct ip_vs_service *svc) argument
247 ip_vs_mh_get_fallback(struct ip_vs_service *svc, struct ip_vs_mh_state *s, const union nf_inet_addr *addr, __be16 port) argument
288 ip_vs_mh_reassign(struct ip_vs_mh_state *s, struct ip_vs_service *svc) argument
322 ip_vs_mh_gcd_weight(struct ip_vs_service *svc) argument
343 ip_vs_mh_shift_weight(struct ip_vs_service *svc, int gcd) argument
381 ip_vs_mh_init_svc(struct ip_vs_service *svc) argument
419 ip_vs_mh_done_svc(struct ip_vs_service *svc) argument
431 ip_vs_mh_dest_changed(struct ip_vs_service *svc, struct ip_vs_dest *dest) argument
474 ip_vs_mh_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, struct ip_vs_iphdr *iph) argument
[all...]
H A Dip_vs_wrr.c69 static int ip_vs_wrr_gcd_weight(struct ip_vs_service *svc) argument
75 list_for_each_entry(dest, &svc->destinations, n_list) {
91 static int ip_vs_wrr_max_weight(struct ip_vs_service *svc) argument
96 list_for_each_entry(dest, &svc->destinations, n_list) {
106 static int ip_vs_wrr_init_svc(struct ip_vs_service *svc) argument
117 mark->cl = list_entry(&svc->destinations, struct ip_vs_dest, n_list);
118 mark->di = ip_vs_wrr_gcd_weight(svc);
119 mark->mw = ip_vs_wrr_max_weight(svc) - (mark->di - 1);
121 svc->sched_data = mark;
127 static void ip_vs_wrr_done_svc(struct ip_vs_service *svc) argument
138 ip_vs_wrr_dest_changed(struct ip_vs_service *svc, struct ip_vs_dest *dest) argument
160 ip_vs_wrr_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, struct ip_vs_iphdr *iph) argument
[all...]
H A Dip_vs_dh.c98 ip_vs_dh_reassign(struct ip_vs_dh_state *s, struct ip_vs_service *svc) argument
107 p = &svc->destinations;
116 if (p == &svc->destinations)
152 static int ip_vs_dh_init_svc(struct ip_vs_service *svc) argument
161 svc->sched_data = s;
167 ip_vs_dh_reassign(s, svc);
173 static void ip_vs_dh_done_svc(struct ip_vs_service *svc) argument
175 struct ip_vs_dh_state *s = svc->sched_data;
187 static int ip_vs_dh_dest_changed(struct ip_vs_service *svc, argument
190 struct ip_vs_dh_state *s = svc
213 ip_vs_dh_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, struct ip_vs_iphdr *iph) argument
[all...]
H A Dip_vs_sh.c104 ip_vs_sh_get(struct ip_vs_service *svc, struct ip_vs_sh_state *s, argument
107 unsigned int hash = ip_vs_sh_hashkey(svc->af, addr, port, 0);
121 ip_vs_sh_get_fallback(struct ip_vs_service *svc, struct ip_vs_sh_state *s, argument
129 ihash = ip_vs_sh_hashkey(svc->af, addr, port, 0);
144 hash = ip_vs_sh_hashkey(svc->af, addr, port, roffset);
163 ip_vs_sh_reassign(struct ip_vs_sh_state *s, struct ip_vs_service *svc) argument
173 p = &svc->destinations;
183 if (p == &svc->destinations)
228 static int ip_vs_sh_init_svc(struct ip_vs_service *svc) argument
237 svc
249 ip_vs_sh_done_svc(struct ip_vs_service *svc) argument
263 ip_vs_sh_dest_changed(struct ip_vs_service *svc, struct ip_vs_dest *dest) argument
309 ip_vs_sh_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, struct ip_vs_iphdr *iph) argument
[all...]
H A Dip_vs_lblc.c105 struct ip_vs_service *svc; /* pointer back to service */ member in struct:ip_vs_lblc_table
229 static void ip_vs_lblc_flush(struct ip_vs_service *svc) argument
231 struct ip_vs_lblc_table *tbl = svc->sched_data;
236 spin_lock_bh(&svc->sched_lock);
244 spin_unlock_bh(&svc->sched_lock);
247 static int sysctl_lblc_expiration(struct ip_vs_service *svc) argument
250 return svc->ipvs->sysctl_lblc_expiration;
256 static inline void ip_vs_lblc_full_check(struct ip_vs_service *svc) argument
258 struct ip_vs_lblc_table *tbl = svc->sched_data;
267 spin_lock(&svc
297 struct ip_vs_service *svc = tbl->svc; local
343 ip_vs_lblc_init_svc(struct ip_vs_service *svc) argument
382 ip_vs_lblc_done_svc(struct ip_vs_service *svc) argument
400 __ip_vs_lblc_schedule(struct ip_vs_service *svc) argument
461 is_overloaded(struct ip_vs_dest *dest, struct ip_vs_service *svc) argument
481 ip_vs_lblc_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, struct ip_vs_iphdr *iph) argument
[all...]
H A Dip_vs_ctl.c67 static void __ip_vs_del_service(struct ip_vs_service *svc, bool cleanup);
346 static int ip_vs_svc_hash(struct ip_vs_service *svc) argument
350 if (svc->flags & IP_VS_SVC_F_HASHED) {
356 if (svc->fwmark == 0) {
360 hash = ip_vs_svc_hashkey(svc->ipvs, svc->af, svc->protocol,
361 &svc->addr, svc->port);
362 hlist_add_head_rcu(&svc
382 ip_vs_svc_unhash(struct ip_vs_service *svc) argument
412 struct ip_vs_service *svc; local
439 struct ip_vs_service *svc; local
460 struct ip_vs_service *svc; local
506 __ip_vs_bind_svc(struct ip_vs_dest *dest, struct ip_vs_service *svc) argument
512 ip_vs_service_free(struct ip_vs_service *svc) argument
520 struct ip_vs_service *svc; local
526 __ip_vs_svc_put(struct ip_vs_service *svc) argument
698 ip_vs_lookup_dest(struct ip_vs_service *svc, int dest_af, const union nf_inet_addr *daddr, __be16 dport) argument
734 struct ip_vs_service *svc; local
781 ip_vs_trash_get_dest(struct ip_vs_service *svc, int dest_af, const union nf_inet_addr *daddr, __be16 dport) argument
831 struct ip_vs_service *svc = rcu_dereference_protected(dest->svc, 1); local
967 __ip_vs_update_dest(struct ip_vs_service *svc, struct ip_vs_dest *dest, struct ip_vs_dest_user_kern *udest, int add) argument
1058 ip_vs_new_dest(struct ip_vs_service *svc, struct ip_vs_dest_user_kern *udest) argument
1127 ip_vs_add_dest(struct ip_vs_service *svc, struct ip_vs_dest_user_kern *udest) argument
1198 ip_vs_edit_dest(struct ip_vs_service *svc, struct ip_vs_dest_user_kern *udest) argument
1275 __ip_vs_unlink_dest(struct ip_vs_service *svc, struct ip_vs_dest *dest, int svcupd) argument
1304 ip_vs_del_dest(struct ip_vs_service *svc, struct ip_vs_dest_user_kern *udest) argument
1373 struct ip_vs_service *svc = NULL; local
1517 ip_vs_edit_service(struct ip_vs_service *svc, struct ip_vs_service_user_kern *u) argument
1607 __ip_vs_del_service(struct ip_vs_service *svc, bool cleanup) argument
1665 ip_vs_unlink_service(struct ip_vs_service *svc, bool cleanup) argument
1681 ip_vs_del_service(struct ip_vs_service *svc) argument
1697 struct ip_vs_service *svc; local
1771 struct ip_vs_service *svc; local
1812 ip_vs_zero_service(struct ip_vs_service *svc) argument
1826 struct ip_vs_service *svc; local
2305 struct ip_vs_service *svc; local
2345 struct ip_vs_service *svc; local
2409 const struct ip_vs_service *svc = v; local
2698 struct ip_vs_service *svc; local
2869 struct ip_vs_service *svc; local
2918 struct ip_vs_service *svc; local
3110 struct ip_vs_service *svc; local
3315 ip_vs_genl_fill_service(struct sk_buff *skb, struct ip_vs_service *svc) argument
3366 ip_vs_genl_dump_service(struct sk_buff *skb, struct ip_vs_service *svc, struct netlink_callback *cb) argument
3394 struct ip_vs_service *svc; local
3446 struct ip_vs_service *svc; local
3524 struct ip_vs_service *svc; local
3605 struct ip_vs_service *svc; local
3913 struct ip_vs_service *svc = NULL; local
4073 struct ip_vs_service *svc; local
[all...]
H A Dip_vs_lblcr.c277 struct ip_vs_service *svc; /* pointer back to service */ member in struct:ip_vs_lblcr_table
395 static void ip_vs_lblcr_flush(struct ip_vs_service *svc) argument
397 struct ip_vs_lblcr_table *tbl = svc->sched_data;
402 spin_lock_bh(&svc->sched_lock);
409 spin_unlock_bh(&svc->sched_lock);
412 static int sysctl_lblcr_expiration(struct ip_vs_service *svc) argument
415 return svc->ipvs->sysctl_lblcr_expiration;
421 static inline void ip_vs_lblcr_full_check(struct ip_vs_service *svc) argument
423 struct ip_vs_lblcr_table *tbl = svc->sched_data;
432 spin_lock(&svc
461 struct ip_vs_service *svc = tbl->svc; local
506 ip_vs_lblcr_init_svc(struct ip_vs_service *svc) argument
545 ip_vs_lblcr_done_svc(struct ip_vs_service *svc) argument
563 __ip_vs_lblcr_schedule(struct ip_vs_service *svc) argument
625 is_overloaded(struct ip_vs_dest *dest, struct ip_vs_service *svc) argument
645 ip_vs_lblcr_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, struct ip_vs_iphdr *iph) argument
[all...]
H A Dip_vs_wlc.c29 ip_vs_wlc_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, argument
50 list_for_each_entry_rcu(dest, &svc->destinations, n_list) {
58 ip_vs_scheduler_err(svc, "no destination available");
65 list_for_each_entry_continue_rcu(dest, &svc->destinations, n_list) {
H A Dip_vs_sed.c57 ip_vs_sed_schedule(struct ip_vs_service *svc, const struct sk_buff *skb, argument
78 list_for_each_entry_rcu(dest, &svc->destinations, n_list) {
86 ip_vs_scheduler_err(svc, "no destination available");
93 list_for_each_entry_continue_rcu(dest, &svc->destinations, n_list) {
H A Dip_vs_twos.c44 static struct ip_vs_dest *ip_vs_twos_schedule(struct ip_vs_service *svc, argument
55 list_for_each_entry_rcu(dest, &svc->destinations, n_list) {
66 ip_vs_scheduler_err(svc, "no destination available");
78 list_for_each_entry_rcu(dest, &svc->destinations, n_list) {
/linux-master/include/linux/greybus/
H A Dsvc.h36 struct gb_svc *svc; member in struct:svc_debugfs_pwrmon_rail
63 int gb_svc_add(struct gb_svc *svc);
64 void gb_svc_del(struct gb_svc *svc);
65 void gb_svc_put(struct gb_svc *svc);
67 int gb_svc_pwrmon_intf_sample_get(struct gb_svc *svc, u8 intf_id,
69 int gb_svc_intf_device_id(struct gb_svc *svc, u8 intf_id, u8 device_id);
70 int gb_svc_route_create(struct gb_svc *svc, u8 intf1_id, u8 dev1_id,
72 void gb_svc_route_destroy(struct gb_svc *svc, u8 intf1_id, u8 intf2_id);
73 int gb_svc_connection_create(struct gb_svc *svc, u8 intf1_id, u16 cport1_id,
75 void gb_svc_connection_destroy(struct gb_svc *svc, u
[all...]
/linux-master/arch/arm64/kernel/vdso/
H A Dsigreturn.S75 svc #0
/linux-master/net/atm/
H A Dsignaling.h25 const struct sockaddr_atmsvc *svc,const struct atm_qos *qos,int reply);
28 const struct sockaddr_atmsvc *svc);
/linux-master/drivers/soc/qcom/
H A Dqmi_interface.c37 struct qmi_service *svc; local
47 svc = kzalloc(sizeof(*svc), GFP_KERNEL);
48 if (!svc)
51 svc->service = service;
52 svc->version = instance & 0xff;
53 svc->instance = instance >> 8;
54 svc->node = node;
55 svc->port = port;
57 ret = ops->new_server(qmi, svc);
77 struct qmi_service *svc; local
165 qmi_send_new_lookup(struct qmi_handle *qmi, struct qmi_service *svc) argument
210 struct qmi_service *svc; local
228 qmi_send_new_server(struct qmi_handle *qmi, struct qmi_service *svc) argument
274 struct qmi_service *svc; local
443 struct qmi_service *svc; local
690 struct qmi_service *svc, *tmp; local
[all...]
H A Dapr.c62 spin_lock_irqsave(&adev->svc.lock, flags);
66 hdr->src_svc = adev->svc.id;
68 hdr->dest_svc = adev->svc.id;
71 spin_unlock_irqrestore(&adev->svc.lock, flags);
95 struct pkt_router_svc *svc; local
102 svc = port;
103 svc->callback = cb;
104 svc->pr = pr;
105 svc->priv = priv;
106 svc
126 pkt_router_send_svc_pkt(struct pkt_router_svc *svc, struct gpr_pkt *pkt) argument
193 struct pkt_router_svc *svc; local
265 struct pkt_router_svc *svc = NULL; local
416 struct pkt_router_svc *svc; local
[all...]
/linux-master/include/linux/firmware/imx/
H A Dsci.h15 #include <linux/firmware/imx/svc/misc.h>
16 #include <linux/firmware/imx/svc/pm.h>
17 #include <linux/firmware/imx/svc/rm.h>
/linux-master/drivers/thunderbolt/
H A Ddma_test.c71 * @svc: XDomain service the driver is bound to
93 const struct tb_service *svc; member in struct:dma_test
225 dev_warn(&dt->svc->dev, "failed to disable DMA paths\n");
247 dev_dbg(&dt->svc->dev, "packet %u/%u received\n", dt->packets_received,
349 dev_dbg(&dt->svc->dev, "packet %u/%u sent\n", dt->packets_sent,
361 struct tb_service *svc = data; \
362 struct dma_test *dt = tb_service_get_drvdata(svc); \
374 struct tb_service *svc = data; \
375 struct dma_test *dt = tb_service_get_drvdata(svc); \
509 struct tb_service *svc local
595 struct tb_service *svc = s->private; local
620 dma_test_debugfs_init(struct tb_service *svc) argument
636 dma_test_probe(struct tb_service *svc, const struct tb_service_id *id) argument
656 dma_test_remove(struct tb_service *svc) argument
[all...]
/linux-master/net/sunrpc/auth_gss/
H A Dtrace.c8 #include <linux/sunrpc/svc.h>
/linux-master/tools/testing/selftests/arm64/bti/
H A Dsyscall.S19 svc #0
/linux-master/drivers/i3c/master/
H A DMakefile5 obj-$(CONFIG_SVC_I3C_MASTER) += svc-i3c-master.o
/linux-master/arch/s390/kernel/vdso32/
H A Dvdso_user_wrapper.S13 svc \syscall

Completed in 337 milliseconds

123456