Home
last modified time | relevance | path

Searched refs:ys (Results 1 – 25 of 75) sorted by relevance

123

/linux-6.6.21/tools/net/ynl/lib/
Dynl.c76 ynl_err_walk(struct ynl_sock *ys, void *start, void *end, unsigned int off, in ynl_err_walk() argument
130 return n + ynl_err_walk(ys, start, end, off, policy->table[type].nest, in ynl_err_walk()
139 ynl_ext_ack_check(struct ynl_sock *ys, const struct nlmsghdr *nlh, in ynl_ext_ack_check() argument
143 char miss_attr[sizeof(ys->err.msg)]; in ynl_ext_ack_check()
144 char bad_attr[sizeof(ys->err.msg)]; in ynl_ext_ack_check()
186 ys->err.attr_offs = mnl_attr_get_u32(tb[NLMSGERR_ATTR_OFFS]); in ynl_ext_ack_check()
191 start = mnl_nlmsg_get_payload_offset(ys->nlh, in ynl_ext_ack_check()
193 end = mnl_nlmsg_get_payload_tail(ys->nlh); in ynl_ext_ack_check()
195 off = ys->err.attr_offs; in ynl_ext_ack_check()
199 n += ynl_err_walk(ys, start, end, off, ys->req_policy, in ynl_ext_ack_check()
[all …]
Dynl.h93 void ynl_sock_destroy(struct ynl_sock *ys);
100 int ynl_subscribe(struct ynl_sock *ys, const char *grp_name);
101 int ynl_socket_get_fd(struct ynl_sock *ys);
102 int ynl_ntf_check(struct ynl_sock *ys);
112 static inline bool ynl_has_ntf(struct ynl_sock *ys) in ynl_has_ntf() argument
114 return ys->ntf_last_next != &ys->ntf_first; in ynl_has_ntf()
116 struct ynl_ntf_base_type *ynl_ntf_dequeue(struct ynl_sock *ys);
152 struct ynl_sock *ys; member
195 ynl_gemsg_start_req(struct ynl_sock *ys, __u32 id, __u8 cmd, __u8 version);
197 ynl_gemsg_start_dump(struct ynl_sock *ys, __u32 id, __u8 cmd, __u8 version);
[all …]
/linux-6.6.21/tools/net/ynl/generated/
Dethtool-user.c1102 parg.ys = yarg->ys; in ethtool_cable_nest_parse()
1162 parg.ys = yarg->ys; in ethtool_bitset_bits_parse()
1224 parg.ys = yarg->ys; in ethtool_strings_parse()
1284 parg.ys = yarg->ys; in ethtool_bitset_parse()
1348 parg.ys = yarg->ys; in ethtool_stringset_parse()
1408 parg.ys = yarg->ys; in ethtool_tunnel_udp_table_parse()
1484 parg.ys = yarg->ys; in ethtool_stringsets_parse()
1527 parg.ys = yarg->ys; in ethtool_tunnel_udp_parse()
1571 parg.ys = yarg->ys; in ethtool_strset_get_rsp_parse()
1601 ethtool_strset_get(struct ynl_sock *ys, struct ethtool_strset_get_req *req) in ethtool_strset_get() argument
[all …]
Ddevlink-user.c245 parg.ys = yarg->ys; in devlink_dl_reload_act_stats_parse()
294 parg.ys = yarg->ys; in devlink_dl_reload_act_info_parse()
348 parg.ys = yarg->ys; in devlink_dl_reload_stats_parse()
392 parg.ys = yarg->ys; in devlink_dl_dev_stats_parse()
446 parg.ys = yarg->ys; in devlink_get_rsp_parse()
499 devlink_get(struct ynl_sock *ys, struct devlink_get_req *req) in devlink_get() argument
501 struct ynl_req_state yrs = { .yarg = { .ys = ys, }, }; in devlink_get()
506 nlh = ynl_gemsg_start_req(ys, ys->family_id, DEVLINK_CMD_GET, 1); in devlink_get()
507 ys->req_policy = &devlink_nest; in devlink_get()
520 err = ynl_exec(ys, nlh, &yrs); in devlink_get()
[all …]
Dfou-user.c73 int fou_add(struct ynl_sock *ys, struct fou_add_req *req) in fou_add() argument
78 nlh = ynl_gemsg_start_req(ys, ys->family_id, FOU_CMD_ADD, 1); in fou_add()
79 ys->req_policy = &fou_nest; in fou_add()
102 err = ynl_exec(ys, nlh, NULL); in fou_add()
118 int fou_del(struct ynl_sock *ys, struct fou_del_req *req) in fou_del() argument
123 nlh = ynl_gemsg_start_req(ys, ys->family_id, FOU_CMD_DEL, 1); in fou_del()
124 ys->req_policy = &fou_nest; in fou_del()
143 err = ynl_exec(ys, nlh, NULL); in fou_del()
242 struct fou_get_rsp *fou_get(struct ynl_sock *ys, struct fou_get_req *req) in fou_get() argument
244 struct ynl_req_state yrs = { .yarg = { .ys = ys, }, }; in fou_get()
[all …]
Dnetdev-user.c107 netdev_dev_get(struct ynl_sock *ys, struct netdev_dev_get_req *req) in netdev_dev_get() argument
109 struct ynl_req_state yrs = { .yarg = { .ys = ys, }, }; in netdev_dev_get()
114 nlh = ynl_gemsg_start_req(ys, ys->family_id, NETDEV_CMD_DEV_GET, 1); in netdev_dev_get()
115 ys->req_policy = &netdev_dev_nest; in netdev_dev_get()
126 err = ynl_exec(ys, nlh, &yrs); in netdev_dev_get()
150 struct netdev_dev_get_list *netdev_dev_get_dump(struct ynl_sock *ys) in netdev_dev_get_dump() argument
156 yds.ys = ys; in netdev_dev_get_dump()
162 nlh = ynl_gemsg_start_dump(ys, ys->family_id, NETDEV_CMD_DEV_GET, 1); in netdev_dev_get_dump()
164 err = ynl_exec_dump(ys, nlh, &yds); in netdev_dev_get_dump()
Dhandshake-user.c167 parg.ys = yarg->ys; in handshake_accept_rsp_parse()
245 handshake_accept(struct ynl_sock *ys, struct handshake_accept_req *req) in handshake_accept() argument
247 struct ynl_req_state yrs = { .yarg = { .ys = ys, }, }; in handshake_accept()
252 nlh = ynl_gemsg_start_req(ys, ys->family_id, HANDSHAKE_CMD_ACCEPT, 1); in handshake_accept()
253 ys->req_policy = &handshake_accept_nest; in handshake_accept()
264 err = ynl_exec(ys, nlh, &yrs); in handshake_accept()
296 int handshake_done(struct ynl_sock *ys, struct handshake_done_req *req) in handshake_done() argument
301 nlh = ynl_gemsg_start_req(ys, ys->family_id, HANDSHAKE_CMD_DONE, 1); in handshake_done()
302 ys->req_policy = &handshake_done_nest; in handshake_done()
311 err = ynl_exec(ys, nlh, NULL); in handshake_done()
/linux-6.6.21/tools/net/ynl/samples/
Dnetdev.c54 struct ynl_sock *ys; in main() local
60 ys = ynl_sock_create(&ynl_netdev_family, &yerr); in main()
61 if (!ys) { in main()
66 if (ynl_subscribe(ys, "mgmt")) in main()
79 d = netdev_dev_get(ys, req); in main()
87 devs = netdev_dev_get_dump(ys); in main()
95 ynl_ntf_check(ys); in main()
97 while ((ntf = ynl_ntf_dequeue(ys))) { in main()
103 ynl_sock_destroy(ys); in main()
107 fprintf(stderr, "YNL: %s\n", ys->err.msg); in main()
[all …]
Dethtool.c17 struct ynl_sock *ys; in main() local
19 ys = ynl_sock_create(&ynl_ethtool_family, NULL); in main()
20 if (!ys) in main()
24 channels = ethtool_channels_get_dump(ys, &creq); in main()
42 rings = ethtool_rings_get_dump(ys, &rreq); in main()
57 ynl_sock_destroy(ys); in main()
62 fprintf(stderr, "YNL (%d): %s\n", ys->err.code, ys->err.msg); in main()
63 ynl_sock_destroy(ys); in main()
Ddevlink.c12 struct ynl_sock *ys; in main() local
14 ys = ynl_sock_create(&ynl_devlink_family, NULL); in main()
15 if (!ys) in main()
18 devs = devlink_get_dump(ys); in main()
32 info_rsp = devlink_info_get(ys, info_req); in main()
50 ynl_sock_destroy(ys); in main()
57 fprintf(stderr, "YNL: %s\n", ys->err.msg); in main()
58 ynl_sock_destroy(ys); in main()
/linux-6.6.21/drivers/staging/fbtft/
Dfb_ili9163.c111 static void set_addr_win(struct fbtft_par *par, int xs, int ys, in set_addr_win() argument
119 (ys + __OFFSET) >> 8, (ys + __OFFSET) & 0xff, in set_addr_win()
127 ys >> 8, ys & 0xff, ye >> 8, ye & 0xff); in set_addr_win()
134 ys >> 8, ys & 0xff, ye >> 8, ye & 0xff); in set_addr_win()
Dfb_upd161704.c113 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument
120 write_reg(par, 0x0007, ys); in set_addr_win()
124 write_reg(par, 0x0007, HEIGHT - 1 - ys); in set_addr_win()
127 write_reg(par, 0x0006, WIDTH - 1 - ys); in set_addr_win()
131 write_reg(par, 0x0006, ys); in set_addr_win()
Dfb_bd663474.c104 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument
111 write_reg(par, 0x0201, ys); in set_addr_win()
115 write_reg(par, 0x0201, HEIGHT - 1 - ys); in set_addr_win()
118 write_reg(par, 0x0200, WIDTH - 1 - ys); in set_addr_win()
122 write_reg(par, 0x0200, ys); in set_addr_win()
Dfb_s6d1121.c68 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument
75 write_reg(par, 0x0021, ys); in set_addr_win()
79 write_reg(par, 0x0021, HEIGHT - 1 - ys); in set_addr_win()
82 write_reg(par, 0x0020, WIDTH - 1 - ys); in set_addr_win()
86 write_reg(par, 0x0020, ys); in set_addr_win()
Dfb_ssd1289.c65 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument
72 write_reg(par, 0x4f, ys); in set_addr_win()
76 write_reg(par, 0x4f, par->info->var.yres - 1 - ys); in set_addr_win()
79 write_reg(par, 0x4e, par->info->var.yres - 1 - ys); in set_addr_win()
83 write_reg(par, 0x4e, ys); in set_addr_win()
Dfb_ili9320.c163 static void set_addr_win(struct fbtft_par *par, int xs, int ys, int xe, int ye) in set_addr_win() argument
170 write_reg(par, 0x0021, ys); in set_addr_win()
174 write_reg(par, 0x0021, HEIGHT - 1 - ys); in set_addr_win()
177 write_reg(par, 0x0020, WIDTH - 1 - ys); in set_addr_win()
181 write_reg(par, 0x0020, ys); in set_addr_win()
/linux-6.6.21/arch/mips/math-emu/
Dsp_sub.c61 if (xs != ys) in ieee754sp_sub()
69 return ieee754sp_inf(ys ^ 1); in ieee754sp_sub()
80 if (xs != ys) in ieee754sp_sub()
110 ys ^= 1; in ieee754sp_sub()
138 if (xs == ys) { in ieee754sp_sub()
151 xs = ys; in ieee754sp_sub()
Ddp_sub.c61 if (xs != ys) in ieee754dp_sub()
69 return ieee754dp_inf(ys ^ 1); in ieee754dp_sub()
80 if (xs != ys) in ieee754dp_sub()
112 ys ^= 1; in ieee754dp_sub()
140 if (xs == ys) { in ieee754dp_sub()
154 xs = ys; in ieee754dp_sub()
Ddp_div.c69 return ieee754dp_zero(xs ^ ys); in ieee754dp_div()
74 return ieee754dp_inf(xs ^ ys); in ieee754dp_div()
86 return ieee754dp_inf(xs ^ ys); in ieee754dp_div()
90 return ieee754dp_zero(xs == ys ? 0 : 1); in ieee754dp_div()
142 return ieee754dp_format(xs == ys ? 0 : 1, re, rm); in ieee754dp_div()
Dsp_div.c69 return ieee754sp_zero(xs ^ ys); in ieee754sp_div()
74 return ieee754sp_inf(xs ^ ys); in ieee754sp_div()
86 return ieee754sp_inf(xs ^ ys); in ieee754sp_div()
90 return ieee754sp_zero(xs == ys ? 0 : 1); in ieee754sp_div()
141 return ieee754sp_format(xs == ys ? 0 : 1, re, rm); in ieee754sp_div()
Dieee754int.h49 unsigned int ym; int ye; int ys; int yc
79 #define EXPLODEYSP EXPLODESP(y, yc, ys, ye, ym)
87 u64 ym; int ye; int ys; int yc
117 #define EXPLODEYDP EXPLODEDP(y, yc, ys, ye, ym)
143 #define FLUSHYDP FLUSHDP(y, yc, ys, ye, ym)
146 #define FLUSHYSP FLUSHSP(y, yc, ys, ye, ym)
Dsp_fmax.c89 return ys ? x : y; in ieee754sp_fmax()
92 return ieee754sp_zero(xs & ys); in ieee754sp_fmax()
111 if (xs > ys) in ieee754sp_fmax()
113 else if (xs < ys) in ieee754sp_fmax()
203 return ieee754sp_inf(xs & ys); in ieee754sp_fmaxa()
220 return ieee754sp_zero(xs & ys); in ieee754sp_fmaxa()
Dsp_fmin.c89 return ys ? y : x; in ieee754sp_fmin()
92 return ieee754sp_zero(xs | ys); in ieee754sp_fmin()
111 if (xs > ys) in ieee754sp_fmin()
113 else if (xs < ys) in ieee754sp_fmin()
203 return ieee754sp_inf(xs | ys); in ieee754sp_fmina()
220 return ieee754sp_zero(xs | ys); in ieee754sp_fmina()
Ddp_fmax.c89 return ys ? x : y; in ieee754dp_fmax()
92 return ieee754dp_zero(xs & ys); in ieee754dp_fmax()
111 if (xs > ys) in ieee754dp_fmax()
113 else if (xs < ys) in ieee754dp_fmax()
203 return ieee754dp_inf(xs & ys); in ieee754dp_fmaxa()
220 return ieee754dp_zero(xs & ys); in ieee754dp_fmaxa()
Ddp_fmin.c89 return ys ? y : x; in ieee754dp_fmin()
92 return ieee754dp_zero(xs | ys); in ieee754dp_fmin()
111 if (xs > ys) in ieee754dp_fmin()
113 else if (xs < ys) in ieee754dp_fmin()
203 return ieee754dp_inf(xs | ys); in ieee754dp_fmina()
220 return ieee754dp_zero(xs | ys); in ieee754dp_fmina()

123