Home
last modified time | relevance | path

Searched refs:in (Results 1 – 200 of 5081) sorted by relevance

12345678910>>...26

/linux-4.1.27/lib/
Dmd5.c10 #define MD5STEP(f, w, x, y, z, in, s) \ argument
11 (w += f(x, y, z) + in, w = (w<<s | w>>(32-s)) + x)
13 void md5_transform(__u32 *hash, __u32 const *in) in md5_transform() argument
22 MD5STEP(F1, a, b, c, d, in[0] + 0xd76aa478, 7); in md5_transform()
23 MD5STEP(F1, d, a, b, c, in[1] + 0xe8c7b756, 12); in md5_transform()
24 MD5STEP(F1, c, d, a, b, in[2] + 0x242070db, 17); in md5_transform()
25 MD5STEP(F1, b, c, d, a, in[3] + 0xc1bdceee, 22); in md5_transform()
26 MD5STEP(F1, a, b, c, d, in[4] + 0xf57c0faf, 7); in md5_transform()
27 MD5STEP(F1, d, a, b, c, in[5] + 0x4787c62a, 12); in md5_transform()
28 MD5STEP(F1, c, d, a, b, in[6] + 0xa8304613, 17); in md5_transform()
[all …]
Dtest-string_helpers.c15 char *in, size_t p, in test_string_check_buf() argument
25 in, p, true); in test_string_check_buf()
35 const char *in; member
42 .in = "\\f\\ \\n\\r\\t\\v",
47 .in = "\\40\\1\\387\\0064\\05\\040\\8a\\110\\777",
52 .in = "\\xv\\xa\\x2c\\xD\\x6f2",
57 .in = "\\h\\\\\\\"\\a\\e\\",
67 char *in = kmalloc(q_real, GFP_KERNEL); in test_string_unescape() local
72 if (!in || !out_test || !out_real) in test_string_unescape()
76 const char *s = strings[i].in; in test_string_unescape()
[all …]
Dhalfmd4.c25 __u32 half_md4_transform(__u32 buf[4], __u32 const in[8]) in half_md4_transform()
30 ROUND(F, a, b, c, d, in[0] + K1, 3); in half_md4_transform()
31 ROUND(F, d, a, b, c, in[1] + K1, 7); in half_md4_transform()
32 ROUND(F, c, d, a, b, in[2] + K1, 11); in half_md4_transform()
33 ROUND(F, b, c, d, a, in[3] + K1, 19); in half_md4_transform()
34 ROUND(F, a, b, c, d, in[4] + K1, 3); in half_md4_transform()
35 ROUND(F, d, a, b, c, in[5] + K1, 7); in half_md4_transform()
36 ROUND(F, c, d, a, b, in[6] + K1, 11); in half_md4_transform()
37 ROUND(F, b, c, d, a, in[7] + K1, 19); in half_md4_transform()
40 ROUND(G, a, b, c, d, in[1] + K2, 3); in half_md4_transform()
[all …]
Dkfifo.c35 return (fifo->mask + 1) - (fifo->in - fifo->out); in kfifo_unused()
47 fifo->in = 0; in __kfifo_alloc()
72 fifo->in = 0; in __kfifo_free()
87 fifo->in = 0; in __kfifo_init()
135 kfifo_copy_in(fifo, buf, len, fifo->in); in __kfifo_in()
136 fifo->in += len; in __kfifo_in()
170 l = fifo->in - fifo->out; in __kfifo_out_peek()
238 ret = kfifo_copy_from_user(fifo, from, len, fifo->in, copied); in __kfifo_from_user()
244 fifo->in += len; in __kfifo_from_user()
294 l = fifo->in - fifo->out; in __kfifo_to_user()
[all …]
/linux-4.1.27/crypto/
Drmd128.c50 static void rmd128_transform(u32 *state, const __le32 *in) in rmd128_transform() argument
67 ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in rmd128_transform()
68 ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in rmd128_transform()
69 ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in rmd128_transform()
70 ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in rmd128_transform()
71 ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in rmd128_transform()
72 ROUND(dd, aa, bb, cc, F1, K1, in[5], 8); in rmd128_transform()
73 ROUND(cc, dd, aa, bb, F1, K1, in[6], 7); in rmd128_transform()
74 ROUND(bb, cc, dd, aa, F1, K1, in[7], 9); in rmd128_transform()
75 ROUND(aa, bb, cc, dd, F1, K1, in[8], 11); in rmd128_transform()
[all …]
Drmd256.c50 static void rmd256_transform(u32 *state, const __le32 *in) in rmd256_transform() argument
67 ROUND(aa, bb, cc, dd, F1, K1, in[0], 11); in rmd256_transform()
68 ROUND(dd, aa, bb, cc, F1, K1, in[1], 14); in rmd256_transform()
69 ROUND(cc, dd, aa, bb, F1, K1, in[2], 15); in rmd256_transform()
70 ROUND(bb, cc, dd, aa, F1, K1, in[3], 12); in rmd256_transform()
71 ROUND(aa, bb, cc, dd, F1, K1, in[4], 5); in rmd256_transform()
72 ROUND(dd, aa, bb, cc, F1, K1, in[5], 8); in rmd256_transform()
73 ROUND(cc, dd, aa, bb, F1, K1, in[6], 7); in rmd256_transform()
74 ROUND(bb, cc, dd, aa, F1, K1, in[7], 9); in rmd256_transform()
75 ROUND(aa, bb, cc, dd, F1, K1, in[8], 11); in rmd256_transform()
[all …]
Drmd160.c54 static void rmd160_transform(u32 *state, const __le32 *in) in rmd160_transform() argument
73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd160_transform()
74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd160_transform()
75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd160_transform()
76 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd160_transform()
77 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd160_transform()
78 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd160_transform()
79 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd160_transform()
80 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd160_transform()
81 ROUND(cc, dd, ee, aa, bb, F1, K1, in[8], 11); in rmd160_transform()
[all …]
Drmd320.c54 static void rmd320_transform(u32 *state, const __le32 *in) in rmd320_transform() argument
73 ROUND(aa, bb, cc, dd, ee, F1, K1, in[0], 11); in rmd320_transform()
74 ROUND(ee, aa, bb, cc, dd, F1, K1, in[1], 14); in rmd320_transform()
75 ROUND(dd, ee, aa, bb, cc, F1, K1, in[2], 15); in rmd320_transform()
76 ROUND(cc, dd, ee, aa, bb, F1, K1, in[3], 12); in rmd320_transform()
77 ROUND(bb, cc, dd, ee, aa, F1, K1, in[4], 5); in rmd320_transform()
78 ROUND(aa, bb, cc, dd, ee, F1, K1, in[5], 8); in rmd320_transform()
79 ROUND(ee, aa, bb, cc, dd, F1, K1, in[6], 7); in rmd320_transform()
80 ROUND(dd, ee, aa, bb, cc, F1, K1, in[7], 9); in rmd320_transform()
81 ROUND(cc, dd, ee, aa, bb, F1, K1, in[8], 11); in rmd320_transform()
[all …]
Dmd4.c84 static void md4_transform(u32 *hash, u32 const *in) in md4_transform() argument
93 ROUND1(a, b, c, d, in[0], 3); in md4_transform()
94 ROUND1(d, a, b, c, in[1], 7); in md4_transform()
95 ROUND1(c, d, a, b, in[2], 11); in md4_transform()
96 ROUND1(b, c, d, a, in[3], 19); in md4_transform()
97 ROUND1(a, b, c, d, in[4], 3); in md4_transform()
98 ROUND1(d, a, b, c, in[5], 7); in md4_transform()
99 ROUND1(c, d, a, b, in[6], 11); in md4_transform()
100 ROUND1(b, c, d, a, in[7], 19); in md4_transform()
101 ROUND1(a, b, c, d, in[8], 3); in md4_transform()
[all …]
Dtea.c67 const __le32 *in = (const __le32 *)src; in tea_encrypt() local
70 y = le32_to_cpu(in[0]); in tea_encrypt()
71 z = le32_to_cpu(in[1]); in tea_encrypt()
95 const __le32 *in = (const __le32 *)src; in tea_decrypt() local
98 y = le32_to_cpu(in[0]); in tea_decrypt()
99 z = le32_to_cpu(in[1]); in tea_decrypt()
140 const __le32 *in = (const __le32 *)src; in xtea_encrypt() local
143 y = le32_to_cpu(in[0]); in xtea_encrypt()
144 z = le32_to_cpu(in[1]); in xtea_encrypt()
160 const __le32 *in = (const __le32 *)src; in xtea_decrypt() local
[all …]
/linux-4.1.27/drivers/video/fbdev/omap2/displays-new/
Dconnector-hdmi.c42 struct omap_dss_device *in; member
56 struct omap_dss_device *in = ddata->in; in hdmic_connect() local
64 r = in->ops.hdmi->connect(in, dssdev); in hdmic_connect()
74 struct omap_dss_device *in = ddata->in; in hdmic_disconnect() local
81 in->ops.hdmi->disconnect(in, dssdev); in hdmic_disconnect()
87 struct omap_dss_device *in = ddata->in; in hdmic_enable() local
98 in->ops.hdmi->set_timings(in, &ddata->timings); in hdmic_enable()
100 r = in->ops.hdmi->enable(in); in hdmic_enable()
112 struct omap_dss_device *in = ddata->in; in hdmic_disable() local
119 in->ops.hdmi->disable(in); in hdmic_disable()
[all …]
Dpanel-dsi-cm.c44 struct omap_dss_device *in; member
114 struct omap_dss_device *in = ddata->in; in dsicm_dcs_read_1() local
118 r = in->ops.dsi->dcs_read(in, ddata->channel, dcs_cmd, buf, 1); in dsicm_dcs_read_1()
130 struct omap_dss_device *in = ddata->in; in dsicm_dcs_write_0() local
131 return in->ops.dsi->dcs_write(in, ddata->channel, &dcs_cmd, 1); in dsicm_dcs_write_0()
136 struct omap_dss_device *in = ddata->in; in dsicm_dcs_write_1() local
139 return in->ops.dsi->dcs_write(in, ddata->channel, buf, 2); in dsicm_dcs_write_1()
145 struct omap_dss_device *in = ddata->in; in dsicm_sleep_in() local
152 r = in->ops.dsi->dcs_write_nosync(in, ddata->channel, &cmd, 1); in dsicm_sleep_in()
200 struct omap_dss_device *in = ddata->in; in dsicm_set_update_window() local
[all …]
Dconnector-analog-tv.c22 struct omap_dss_device *in; member
57 struct omap_dss_device *in = ddata->in; in tvc_connect() local
65 r = in->ops.atv->connect(in, dssdev); in tvc_connect()
75 struct omap_dss_device *in = ddata->in; in tvc_disconnect() local
82 in->ops.atv->disconnect(in, dssdev); in tvc_disconnect()
88 struct omap_dss_device *in = ddata->in; in tvc_enable() local
99 in->ops.atv->set_timings(in, &ddata->timings); in tvc_enable()
102 in->ops.atv->set_type(in, ddata->connector_type); in tvc_enable()
104 in->ops.atv->invert_vid_out_polarity(in, in tvc_enable()
108 r = in->ops.atv->enable(in); in tvc_enable()
[all …]
Dencoder-tpd12s015.c25 struct omap_dss_device *in; member
40 struct omap_dss_device *in = ddata->in; in tpd_connect() local
43 r = in->ops.hdmi->connect(in, dssdev); in tpd_connect()
61 struct omap_dss_device *in = ddata->in; in tpd_disconnect() local
73 in->ops.hdmi->disconnect(in, &ddata->dssdev); in tpd_disconnect()
79 struct omap_dss_device *in = ddata->in; in tpd_enable() local
85 in->ops.hdmi->set_timings(in, &ddata->timings); in tpd_enable()
87 r = in->ops.hdmi->enable(in); in tpd_enable()
99 struct omap_dss_device *in = ddata->in; in tpd_disable() local
104 in->ops.hdmi->disable(in); in tpd_disable()
[all …]
Dencoder-tfp410.c23 struct omap_dss_device *in; member
37 struct omap_dss_device *in = ddata->in; in tfp410_connect() local
43 r = in->ops.dpi->connect(in, dssdev); in tfp410_connect()
57 struct omap_dss_device *in = ddata->in; in tfp410_disconnect() local
70 in->ops.dpi->disconnect(in, &ddata->dssdev); in tfp410_disconnect()
76 struct omap_dss_device *in = ddata->in; in tfp410_enable() local
85 in->ops.dpi->set_timings(in, &ddata->timings); in tfp410_enable()
87 in->ops.dpi->set_data_lines(in, ddata->data_lines); in tfp410_enable()
89 r = in->ops.dpi->enable(in); in tfp410_enable()
104 struct omap_dss_device *in = ddata->in; in tfp410_disable() local
[all …]
Dpanel-dpi.c25 struct omap_dss_device *in; member
42 struct omap_dss_device *in = ddata->in; in panel_dpi_connect() local
48 r = in->ops.dpi->connect(in, dssdev); in panel_dpi_connect()
58 struct omap_dss_device *in = ddata->in; in panel_dpi_disconnect() local
63 in->ops.dpi->disconnect(in, dssdev); in panel_dpi_disconnect()
69 struct omap_dss_device *in = ddata->in; in panel_dpi_enable() local
79 in->ops.dpi->set_data_lines(in, ddata->data_lines); in panel_dpi_enable()
80 in->ops.dpi->set_timings(in, &ddata->videomode); in panel_dpi_enable()
82 r = in->ops.dpi->enable(in); in panel_dpi_enable()
100 struct omap_dss_device *in = ddata->in; in panel_dpi_disable() local
[all …]
Dencoder-opa362.c27 struct omap_dss_device *in; member
40 struct omap_dss_device *in = ddata->in; in opa362_connect() local
48 r = in->ops.atv->connect(in, dssdev); in opa362_connect()
62 struct omap_dss_device *in = ddata->in; in opa362_disconnect() local
77 in->ops.atv->disconnect(in, &ddata->dssdev); in opa362_disconnect()
83 struct omap_dss_device *in = ddata->in; in opa362_enable() local
94 in->ops.atv->set_timings(in, &ddata->timings); in opa362_enable()
96 r = in->ops.atv->enable(in); in opa362_enable()
111 struct omap_dss_device *in = ddata->in; in opa362_disable() local
121 in->ops.atv->disable(in); in opa362_disable()
[all …]
Dpanel-nec-nl8048hl11.c26 struct omap_dss_device *in; member
124 struct omap_dss_device *in = ddata->in; in nec_8048_connect() local
130 r = in->ops.dpi->connect(in, dssdev); in nec_8048_connect()
140 struct omap_dss_device *in = ddata->in; in nec_8048_disconnect() local
145 in->ops.dpi->disconnect(in, dssdev); in nec_8048_disconnect()
151 struct omap_dss_device *in = ddata->in; in nec_8048_enable() local
161 in->ops.dpi->set_data_lines(in, ddata->data_lines); in nec_8048_enable()
162 in->ops.dpi->set_timings(in, &ddata->videomode); in nec_8048_enable()
164 r = in->ops.dpi->enable(in); in nec_8048_enable()
179 struct omap_dss_device *in = ddata->in; in nec_8048_disable() local
[all …]
Dconnector-dvi.c45 struct omap_dss_device *in; member
57 struct omap_dss_device *in = ddata->in; in dvic_connect() local
63 r = in->ops.dvi->connect(in, dssdev); in dvic_connect()
73 struct omap_dss_device *in = ddata->in; in dvic_disconnect() local
78 in->ops.dvi->disconnect(in, dssdev); in dvic_disconnect()
84 struct omap_dss_device *in = ddata->in; in dvic_enable() local
93 in->ops.dvi->set_timings(in, &ddata->timings); in dvic_enable()
95 r = in->ops.dvi->enable(in); in dvic_enable()
107 struct omap_dss_device *in = ddata->in; in dvic_disable() local
112 in->ops.dvi->disable(in); in dvic_disable()
[all …]
Dpanel-lgphilips-lb035q02.c45 struct omap_dss_device *in; member
124 struct omap_dss_device *in = ddata->in; in lb035q02_connect() local
130 r = in->ops.dpi->connect(in, dssdev); in lb035q02_connect()
142 struct omap_dss_device *in = ddata->in; in lb035q02_disconnect() local
147 in->ops.dpi->disconnect(in, dssdev); in lb035q02_disconnect()
153 struct omap_dss_device *in = ddata->in; in lb035q02_enable() local
163 in->ops.dpi->set_data_lines(in, ddata->data_lines); in lb035q02_enable()
164 in->ops.dpi->set_timings(in, &ddata->videomode); in lb035q02_enable()
166 r = in->ops.dpi->enable(in); in lb035q02_enable()
184 struct omap_dss_device *in = ddata->in; in lb035q02_disable() local
[all …]
Dpanel-sharp-ls037v7dw01.c25 struct omap_dss_device *in; member
65 struct omap_dss_device *in = ddata->in; in sharp_ls_connect() local
71 r = in->ops.dpi->connect(in, dssdev); in sharp_ls_connect()
81 struct omap_dss_device *in = ddata->in; in sharp_ls_disconnect() local
86 in->ops.dpi->disconnect(in, dssdev); in sharp_ls_disconnect()
92 struct omap_dss_device *in = ddata->in; in sharp_ls_enable() local
102 in->ops.dpi->set_data_lines(in, ddata->data_lines); in sharp_ls_enable()
103 in->ops.dpi->set_timings(in, &ddata->videomode); in sharp_ls_enable()
111 r = in->ops.dpi->enable(in); in sharp_ls_enable()
134 struct omap_dss_device *in = ddata->in; in sharp_ls_disable() local
[all …]
Dpanel-tpo-td028ttec1.c36 struct omap_dss_device *in; member
173 struct omap_dss_device *in = ddata->in; in td028ttec1_panel_connect() local
179 r = in->ops.dpi->connect(in, dssdev); in td028ttec1_panel_connect()
189 struct omap_dss_device *in = ddata->in; in td028ttec1_panel_disconnect() local
194 in->ops.dpi->disconnect(in, dssdev); in td028ttec1_panel_disconnect()
200 struct omap_dss_device *in = ddata->in; in td028ttec1_panel_enable() local
210 in->ops.dpi->set_data_lines(in, ddata->data_lines); in td028ttec1_panel_enable()
211 in->ops.dpi->set_timings(in, &ddata->videomode); in td028ttec1_panel_enable()
213 r = in->ops.dpi->enable(in); in td028ttec1_panel_enable()
310 struct omap_dss_device *in = ddata->in; in td028ttec1_panel_disable() local
[all …]
Dpanel-tpo-td043mtea1.c58 struct omap_dss_device *in; member
344 struct omap_dss_device *in = ddata->in; in tpo_td043_connect() local
350 r = in->ops.dpi->connect(in, dssdev); in tpo_td043_connect()
360 struct omap_dss_device *in = ddata->in; in tpo_td043_disconnect() local
365 in->ops.dpi->disconnect(in, dssdev); in tpo_td043_disconnect()
371 struct omap_dss_device *in = ddata->in; in tpo_td043_enable() local
381 in->ops.dpi->set_data_lines(in, ddata->data_lines); in tpo_td043_enable()
382 in->ops.dpi->set_timings(in, &ddata->videomode); in tpo_td043_enable()
384 r = in->ops.dpi->enable(in); in tpo_td043_enable()
395 in->ops.dpi->disable(in); in tpo_td043_enable()
[all …]
Dpanel-sony-acx565akm.c69 struct omap_dss_device *in; member
519 struct omap_dss_device *in = ddata->in; in acx565akm_connect() local
525 r = in->ops.sdi->connect(in, dssdev); in acx565akm_connect()
535 struct omap_dss_device *in = ddata->in; in acx565akm_disconnect() local
540 in->ops.sdi->disconnect(in, dssdev); in acx565akm_disconnect()
546 struct omap_dss_device *in = ddata->in; in acx565akm_panel_power_on() local
551 in->ops.sdi->set_timings(in, &ddata->videomode); in acx565akm_panel_power_on()
554 in->ops.sdi->set_datapairs(in, ddata->datapairs); in acx565akm_panel_power_on()
556 r = in->ops.sdi->enable(in); in acx565akm_panel_power_on()
597 struct omap_dss_device *in = ddata->in; in acx565akm_panel_power_off() local
[all …]
/linux-4.1.27/fs/udf/
Dudfend.h7 static inline struct kernel_lb_addr lelb_to_cpu(struct lb_addr in) in lelb_to_cpu() argument
11 out.logicalBlockNum = le32_to_cpu(in.logicalBlockNum); in lelb_to_cpu()
12 out.partitionReferenceNum = le16_to_cpu(in.partitionReferenceNum); in lelb_to_cpu()
17 static inline struct lb_addr cpu_to_lelb(struct kernel_lb_addr in) in cpu_to_lelb() argument
21 out.logicalBlockNum = cpu_to_le32(in.logicalBlockNum); in cpu_to_lelb()
22 out.partitionReferenceNum = cpu_to_le16(in.partitionReferenceNum); in cpu_to_lelb()
27 static inline struct short_ad lesa_to_cpu(struct short_ad in) in lesa_to_cpu() argument
31 out.extLength = le32_to_cpu(in.extLength); in lesa_to_cpu()
32 out.extPosition = le32_to_cpu(in.extPosition); in lesa_to_cpu()
37 static inline struct short_ad cpu_to_lesa(struct short_ad in) in cpu_to_lesa() argument
[all …]
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx5/core/
Dmr.c52 struct mlx5_create_mkey_mbox_in *in, int inlen, in mlx5_core_create_mkey() argument
65 in->seg.qpn_mkey7_0 |= cpu_to_be32(key); in mlx5_core_create_mkey()
66 in->hdr.opcode = cpu_to_be16(MLX5_CMD_OP_CREATE_MKEY); in mlx5_core_create_mkey()
68 err = mlx5_cmd_exec_cb(dev, in, inlen, out, sizeof(*out), in mlx5_core_create_mkey()
72 err = mlx5_cmd_exec(dev, in, inlen, &lout, sizeof(lout)); in mlx5_core_create_mkey()
85 mr->iova = be64_to_cpu(in->seg.start_addr); in mlx5_core_create_mkey()
86 mr->size = be64_to_cpu(in->seg.len); in mlx5_core_create_mkey()
88 mr->pd = be32_to_cpu(in->seg.flags_pd) & 0xffffff; in mlx5_core_create_mkey()
110 struct mlx5_destroy_mkey_mbox_in in; in mlx5_core_destroy_mkey() local
116 memset(&in, 0, sizeof(in)); in mlx5_core_destroy_mkey()
[all …]
Dfw.c41 struct mlx5_cmd_query_adapter_mbox_in in; in mlx5_cmd_query_adapter() local
48 memset(&in, 0, sizeof(in)); in mlx5_cmd_query_adapter()
49 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_QUERY_ADAPTER); in mlx5_cmd_query_adapter()
50 err = mlx5_cmd_exec(dev, &in, sizeof(in), out, sizeof(*out)); in mlx5_cmd_query_adapter()
74 u8 in[MLX5_ST_SZ_BYTES(query_hca_cap_in)]; in mlx5_query_odp_caps() local
82 memset(in, 0, sizeof(in)); in mlx5_query_odp_caps()
86 MLX5_SET(query_hca_cap_in, in, opcode, MLX5_CMD_OP_QUERY_HCA_CAP); in mlx5_query_odp_caps()
87 MLX5_SET(query_hca_cap_in, in, op_mod, HCA_CAP_OPMOD_GET_ODP_CUR); in mlx5_query_odp_caps()
88 err = mlx5_cmd_exec(dev, in, sizeof(in), out, out_sz); in mlx5_query_odp_caps()
114 struct mlx5_cmd_init_hca_mbox_in in; in mlx5_cmd_init_hca() local
[all …]
Dport.c42 struct mlx5_access_reg_mbox_in *in = NULL; in mlx5_core_access_reg() local
46 in = mlx5_vzalloc(sizeof(*in) + size_in); in mlx5_core_access_reg()
47 if (!in) in mlx5_core_access_reg()
54 memcpy(in->data, data_in, size_in); in mlx5_core_access_reg()
55 in->hdr.opcode = cpu_to_be16(MLX5_CMD_OP_ACCESS_REG); in mlx5_core_access_reg()
56 in->hdr.opmod = cpu_to_be16(!write); in mlx5_core_access_reg()
57 in->arg = cpu_to_be32(arg); in mlx5_core_access_reg()
58 in->register_id = cpu_to_be16(reg_num); in mlx5_core_access_reg()
59 err = mlx5_cmd_exec(dev, in, sizeof(*in) + size_in, out, in mlx5_core_access_reg()
73 kvfree(in); in mlx5_core_access_reg()
[all …]
Dmcg.c66 struct mlx5_attach_mcg_mbox_in in; in mlx5_core_attach_mcg() local
70 memset(&in, 0, sizeof(in)); in mlx5_core_attach_mcg()
72 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_ATTACH_TO_MCG); in mlx5_core_attach_mcg()
73 memcpy(in.gid, mgid, sizeof(*mgid)); in mlx5_core_attach_mcg()
74 in.qpn = cpu_to_be32(qpn); in mlx5_core_attach_mcg()
75 err = mlx5_cmd_exec(dev, &in, sizeof(in), &out, sizeof(out)); in mlx5_core_attach_mcg()
88 struct mlx5_detach_mcg_mbox_in in; in mlx5_core_detach_mcg() local
92 memset(&in, 0, sizeof(in)); in mlx5_core_detach_mcg()
94 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DETACH_FROM_MCG); in mlx5_core_detach_mcg()
95 memcpy(in.gid, mgid, sizeof(*mgid)); in mlx5_core_detach_mcg()
[all …]
Dsrq.c83 struct mlx5_create_srq_mbox_in *in, int inlen) in mlx5_core_create_srq() argument
92 in->hdr.opcode = cpu_to_be16(MLX5_CMD_OP_CREATE_SRQ); in mlx5_core_create_srq()
93 err = mlx5_cmd_exec(dev, in, inlen, &out, sizeof(out)); in mlx5_core_create_srq()
127 struct mlx5_destroy_srq_mbox_in in; in mlx5_core_destroy_srq() local
145 memset(&in, 0, sizeof(in)); in mlx5_core_destroy_srq()
147 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DESTROY_SRQ); in mlx5_core_destroy_srq()
148 in.srqn = cpu_to_be32(srq->srqn); in mlx5_core_destroy_srq()
149 err = mlx5_cmd_exec(dev, &in, sizeof(in), &out, sizeof(out)); in mlx5_core_destroy_srq()
167 struct mlx5_query_srq_mbox_in in; in mlx5_core_query_srq() local
170 memset(&in, 0, sizeof(in)); in mlx5_core_query_srq()
[all …]
Dqp.c182 struct mlx5_create_qp_mbox_in *in, in mlx5_core_create_qp() argument
192 in->hdr.opcode = cpu_to_be16(MLX5_CMD_OP_CREATE_QP); in mlx5_core_create_qp()
194 err = mlx5_cmd_exec(dev, in, inlen, &out, sizeof(out)); in mlx5_core_create_qp()
244 struct mlx5_destroy_qp_mbox_in in; in mlx5_core_destroy_qp() local
259 memset(&in, 0, sizeof(in)); in mlx5_core_destroy_qp()
261 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DESTROY_QP); in mlx5_core_destroy_qp()
262 in.qpn = cpu_to_be32(qp->qpn); in mlx5_core_destroy_qp()
263 err = mlx5_cmd_exec(dev, &in, sizeof(in), &out, sizeof(out)); in mlx5_core_destroy_qp()
277 struct mlx5_modify_qp_mbox_in *in, int sqd_event, in mlx5_core_qp_modify() argument
327 in->hdr.opcode = cpu_to_be16(op); in mlx5_core_qp_modify()
[all …]
Dmad.c42 struct mlx5_mad_ifc_mbox_in *in = NULL; in mlx5_core_mad_ifc() local
46 in = kzalloc(sizeof(*in), GFP_KERNEL); in mlx5_core_mad_ifc()
47 if (!in) in mlx5_core_mad_ifc()
56 in->hdr.opcode = cpu_to_be16(MLX5_CMD_OP_MAD_IFC); in mlx5_core_mad_ifc()
57 in->hdr.opmod = cpu_to_be16(opmod); in mlx5_core_mad_ifc()
58 in->port = port; in mlx5_core_mad_ifc()
60 memcpy(in->data, inb, sizeof(in->data)); in mlx5_core_mad_ifc()
62 err = mlx5_cmd_exec(dev, in, sizeof(*in), out, sizeof(*out)); in mlx5_core_mad_ifc()
75 kfree(in); in mlx5_core_mad_ifc()
Dpd.c63 struct mlx5_alloc_pd_mbox_in in; in mlx5_core_alloc_pd() local
67 memset(&in, 0, sizeof(in)); in mlx5_core_alloc_pd()
69 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_ALLOC_PD); in mlx5_core_alloc_pd()
70 err = mlx5_cmd_exec(dev, &in, sizeof(in), &out, sizeof(out)); in mlx5_core_alloc_pd()
84 struct mlx5_dealloc_pd_mbox_in in; in mlx5_core_dealloc_pd() local
88 memset(&in, 0, sizeof(in)); in mlx5_core_dealloc_pd()
90 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DEALLOC_PD); in mlx5_core_dealloc_pd()
91 in.pdn = cpu_to_be32(pdn); in mlx5_core_dealloc_pd()
92 err = mlx5_cmd_exec(dev, &in, sizeof(in), &out, sizeof(out)); in mlx5_core_dealloc_pd()
Dcq.c92 struct mlx5_create_cq_mbox_in *in, int inlen) in mlx5_core_create_cq() argument
100 in->hdr.opcode = cpu_to_be16(MLX5_CMD_OP_CREATE_CQ); in mlx5_core_create_cq()
102 err = mlx5_cmd_exec(dev, in, inlen, &out, sizeof(out)); in mlx5_core_create_cq()
141 struct mlx5_destroy_cq_mbox_in in; in mlx5_core_destroy_cq() local
158 memset(&in, 0, sizeof(in)); in mlx5_core_destroy_cq()
160 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DESTROY_CQ); in mlx5_core_destroy_cq()
161 in.cqn = cpu_to_be32(cq->cqn); in mlx5_core_destroy_cq()
162 err = mlx5_cmd_exec(dev, &in, sizeof(in), &out, sizeof(out)); in mlx5_core_destroy_cq()
183 struct mlx5_query_cq_mbox_in in; in mlx5_core_query_cq() local
186 memset(&in, 0, sizeof(in)); in mlx5_core_query_cq()
[all …]
Deq.c86 struct mlx5_destroy_eq_mbox_in in; in mlx5_cmd_destroy_eq() local
90 memset(&in, 0, sizeof(in)); in mlx5_cmd_destroy_eq()
92 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DESTROY_EQ); in mlx5_cmd_destroy_eq()
93 in.eqn = eqn; in mlx5_cmd_destroy_eq()
94 err = mlx5_cmd_exec(dev, &in, sizeof(in), &out, sizeof(out)); in mlx5_cmd_destroy_eq()
343 struct mlx5_create_eq_mbox_in *in; in mlx5_create_map_eq() local
356 inlen = sizeof(*in) + sizeof(in->pas[0]) * eq->buf.npages; in mlx5_create_map_eq()
357 in = mlx5_vzalloc(inlen); in mlx5_create_map_eq()
358 if (!in) { in mlx5_create_map_eq()
364 mlx5_fill_page_array(&eq->buf, in->pas); in mlx5_create_map_eq()
[all …]
Dpagealloc.c168 struct mlx5_query_pages_inbox in; in mlx5_cmd_query_pages() local
172 memset(&in, 0, sizeof(in)); in mlx5_cmd_query_pages()
174 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_QUERY_PAGES); in mlx5_cmd_query_pages()
175 in.hdr.opmod = boot ? cpu_to_be16(MLX5_BOOT_PAGES) : cpu_to_be16(MLX5_INIT_PAGES); in mlx5_cmd_query_pages()
177 err = mlx5_cmd_exec(dev, &in, sizeof(in), &out, sizeof(out)); in mlx5_cmd_query_pages()
281 struct mlx5_manage_pages_inbox *in; in give_pages() local
289 inlen = sizeof(*in) + npages * sizeof(in->pas[0]); in give_pages()
290 in = mlx5_vzalloc(inlen); in give_pages()
291 if (!in) { in give_pages()
308 in->pas[i] = cpu_to_be64(addr); in give_pages()
[all …]
Duar.c69 struct mlx5_alloc_uar_mbox_in in; in mlx5_cmd_alloc_uar() local
73 memset(&in, 0, sizeof(in)); in mlx5_cmd_alloc_uar()
75 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_ALLOC_UAR); in mlx5_cmd_alloc_uar()
76 err = mlx5_cmd_exec(dev, &in, sizeof(in), &out, sizeof(out)); in mlx5_cmd_alloc_uar()
94 struct mlx5_free_uar_mbox_in in; in mlx5_cmd_free_uar() local
98 memset(&in, 0, sizeof(in)); in mlx5_cmd_free_uar()
100 in.hdr.opcode = cpu_to_be16(MLX5_CMD_OP_DEALLOC_UAR); in mlx5_cmd_free_uar()
101 in.uarn = cpu_to_be32(uarn); in mlx5_cmd_free_uar()
102 err = mlx5_cmd_exec(dev, &in, sizeof(in), &out, sizeof(out)); in mlx5_cmd_free_uar()
/linux-4.1.27/include/media/
Dmsp3400.h89 #define MSP_SCART_TO_DSP(in) (in) argument
93 #define MSP_TUNER_TO_DSP(in) ((in) << 3) argument
120 #define MSP_DSP_TO_MAIN(in) ((in) << 4) argument
121 #define MSP_DSP_TO_AUX(in) ((in) << 8) argument
122 #define MSP_DSP_TO_SCART1(in) ((in) << 12) argument
123 #define MSP_DSP_TO_SCART2(in) ((in) << 16) argument
124 #define MSP_DSP_TO_I2S(in) ((in) << 20) argument
136 #define MSP_SC_TO_SCART1(in) (in) argument
137 #define MSP_SC_TO_SCART2(in) ((in) << 4) argument
/linux-4.1.27/drivers/media/rc/img-ir/
Dimg-ir-nec.c54 static int img_ir_nec_filter(const struct rc_scancode_filter *in, in img_ir_nec_filter() argument
60 data = in->data & 0xff; in img_ir_nec_filter()
61 data_m = in->mask & 0xff; in img_ir_nec_filter()
63 if ((in->data | in->mask) & 0xff000000) { in img_ir_nec_filter()
66 addr = bitrev8(in->data >> 24); in img_ir_nec_filter()
67 addr_m = bitrev8(in->mask >> 24); in img_ir_nec_filter()
68 addr_inv = bitrev8(in->data >> 16); in img_ir_nec_filter()
69 addr_inv_m = bitrev8(in->mask >> 16); in img_ir_nec_filter()
70 data = bitrev8(in->data >> 8); in img_ir_nec_filter()
71 data_m = bitrev8(in->mask >> 8); in img_ir_nec_filter()
[all …]
Dimg-ir-sony.c57 static int img_ir_sony_filter(const struct rc_scancode_filter *in, in img_ir_sony_filter() argument
64 dev = (in->data >> 16) & 0xff; in img_ir_sony_filter()
65 dev_m = (in->mask >> 16) & 0xff; in img_ir_sony_filter()
66 subdev = (in->data >> 8) & 0xff; in img_ir_sony_filter()
67 subdev_m = (in->mask >> 8) & 0xff; in img_ir_sony_filter()
68 func = (in->data >> 0) & 0x7f; in img_ir_sony_filter()
69 func_m = (in->mask >> 0) & 0x7f; in img_ir_sony_filter()
Dimg-ir-sanyo.c53 static int img_ir_sanyo_filter(const struct rc_scancode_filter *in, in img_ir_sanyo_filter() argument
59 data = in->data & 0xff; in img_ir_sanyo_filter()
60 data_m = in->mask & 0xff; in img_ir_sanyo_filter()
63 if (in->data & 0xff700000) in img_ir_sanyo_filter()
66 addr = (in->data >> 8) & 0x1fff; in img_ir_sanyo_filter()
67 addr_m = (in->mask >> 8) & 0x1fff; in img_ir_sanyo_filter()
Dimg-ir-jvc.c32 static int img_ir_jvc_filter(const struct rc_scancode_filter *in, in img_ir_jvc_filter() argument
38 cust = (in->data >> 8) & 0xff; in img_ir_jvc_filter()
39 cust_m = (in->mask >> 8) & 0xff; in img_ir_jvc_filter()
40 data = (in->data >> 0) & 0xff; in img_ir_jvc_filter()
41 data_m = (in->mask >> 0) & 0xff; in img_ir_jvc_filter()
/linux-4.1.27/net/sctp/
Dssnmap.c37 static struct sctp_ssnmap *sctp_ssnmap_init(struct sctp_ssnmap *map, __u16 in,
43 static inline size_t sctp_ssnmap_size(__u16 in, __u16 out) in sctp_ssnmap_size() argument
45 return sizeof(struct sctp_ssnmap) + (in + out) * sizeof(__u16); in sctp_ssnmap_size()
52 struct sctp_ssnmap *sctp_ssnmap_new(__u16 in, __u16 out, in sctp_ssnmap_new() argument
58 size = sctp_ssnmap_size(in, out); in sctp_ssnmap_new()
67 if (!sctp_ssnmap_init(retval, in, out)) in sctp_ssnmap_new()
85 static struct sctp_ssnmap *sctp_ssnmap_init(struct sctp_ssnmap *map, __u16 in, in sctp_ssnmap_init() argument
88 memset(map, 0x00, sctp_ssnmap_size(in, out)); in sctp_ssnmap_init()
91 map->in.ssn = (__u16 *)&map[1]; in sctp_ssnmap_init()
92 map->in.len = in; in sctp_ssnmap_init()
[all …]
/linux-4.1.27/sound/usb/line6/
Dcapture.c33 find_first_zero_bit(&line6pcm->in.active_urbs, LINE6_ISO_BUFFERS); in submit_audio_in_urb()
40 urb_in = line6pcm->in.urbs[index]; in submit_audio_in_urb()
52 line6pcm->in.buffer + in submit_audio_in_urb()
60 set_bit(index, &line6pcm->in.active_urbs); in submit_audio_in_urb()
99 if (line6pcm->in.pos_done + frames > runtime->buffer_size) { in line6_capture_copy()
106 len = runtime->buffer_size - line6pcm->in.pos_done; in line6_capture_copy()
110 line6pcm->in.pos_done * bytes_per_frame, fbuf, in line6_capture_copy()
122 line6pcm->in.pos_done * bytes_per_frame, fbuf, fsize); in line6_capture_copy()
125 line6pcm->in.pos_done += frames; in line6_capture_copy()
126 if (line6pcm->in.pos_done >= runtime->buffer_size) in line6_capture_copy()
[all …]
/linux-4.1.27/arch/powerpc/include/asm/
Depapr_hcalls.h465 static inline unsigned long epapr_hypercall(unsigned long *in, in epapr_hypercall() argument
470 unsigned long register r3 asm("r3") = in[0]; in epapr_hypercall()
471 unsigned long register r4 asm("r4") = in[1]; in epapr_hypercall()
472 unsigned long register r5 asm("r5") = in[2]; in epapr_hypercall()
473 unsigned long register r6 asm("r6") = in[3]; in epapr_hypercall()
474 unsigned long register r7 asm("r7") = in[4]; in epapr_hypercall()
475 unsigned long register r8 asm("r8") = in[5]; in epapr_hypercall()
476 unsigned long register r9 asm("r9") = in[6]; in epapr_hypercall()
477 unsigned long register r10 asm("r10") = in[7]; in epapr_hypercall()
501 static unsigned long epapr_hypercall(unsigned long *in, in epapr_hypercall() argument
[all …]
/linux-4.1.27/scripts/mod/
Dsumversion.c88 static void md4_transform(uint32_t *hash, uint32_t const *in) in md4_transform() argument
97 ROUND1(a, b, c, d, in[0], 3); in md4_transform()
98 ROUND1(d, a, b, c, in[1], 7); in md4_transform()
99 ROUND1(c, d, a, b, in[2], 11); in md4_transform()
100 ROUND1(b, c, d, a, in[3], 19); in md4_transform()
101 ROUND1(a, b, c, d, in[4], 3); in md4_transform()
102 ROUND1(d, a, b, c, in[5], 7); in md4_transform()
103 ROUND1(c, d, a, b, in[6], 11); in md4_transform()
104 ROUND1(b, c, d, a, in[7], 19); in md4_transform()
105 ROUND1(a, b, c, d, in[8], 3); in md4_transform()
[all …]
/linux-4.1.27/drivers/isdn/hisax/
Dst5481_usb.c488 struct st5481_in *in = urb->context; in usb_in_complete() local
511 if (in->mode == L1_MODE_TRANS) { in usb_in_complete()
512 memcpy(in->rcvbuf, ptr, len); in usb_in_complete()
516 status = isdnhdlc_decode(&in->hdlc_state, ptr, len, &count, in usb_in_complete()
517 in->rcvbuf, in->bufsize); in usb_in_complete()
525 DBG_PACKET(0x400, in->rcvbuf, status); in usb_in_complete()
530 memcpy(skb_put(skb, status), in->rcvbuf, status); in usb_in_complete()
531 in->hisax_if->l1l2(in->hisax_if, PH_DATA | INDICATION, skb); in usb_in_complete()
542 urb->dev = in->adapter->usb_dev; in usb_in_complete()
548 int st5481_setup_in(struct st5481_in *in) in st5481_setup_in() argument
[all …]
/linux-4.1.27/drivers/staging/skein/
Dthreefish_api.c24 void threefish_encrypt_block_bytes(struct threefish_key *key_ctx, u8 *in, in threefish_encrypt_block_bytes() argument
30 skein_get64_lsb_first(plain, in, key_ctx->state_size / 64); in threefish_encrypt_block_bytes()
35 void threefish_encrypt_block_words(struct threefish_key *key_ctx, u64 *in, in threefish_encrypt_block_words() argument
40 threefish_encrypt_256(key_ctx, in, out); in threefish_encrypt_block_words()
43 threefish_encrypt_512(key_ctx, in, out); in threefish_encrypt_block_words()
46 threefish_encrypt_1024(key_ctx, in, out); in threefish_encrypt_block_words()
51 void threefish_decrypt_block_bytes(struct threefish_key *key_ctx, u8 *in, in threefish_decrypt_block_bytes() argument
57 skein_get64_lsb_first(cipher, in, key_ctx->state_size / 64); in threefish_decrypt_block_bytes()
62 void threefish_decrypt_block_words(struct threefish_key *key_ctx, u64 *in, in threefish_decrypt_block_words() argument
67 threefish_decrypt_256(key_ctx, in, out); in threefish_decrypt_block_words()
[all …]
/linux-4.1.27/drivers/net/arcnet/
Drfc1201.c142 struct Incoming *in = &lp->rfc1201.incoming[saddr]; in rx() local
170 if (in->skb) { /* already assembling one! */ in rx()
172 in->sequence, soft->split_flag, soft->sequence); in rx()
174 dev_kfree_skb_irq(in->skb); in rx()
177 in->skb = NULL; in rx()
179 in->sequence = soft->sequence; in rx()
252 soft->split_flag, in->sequence); in rx()
254 if (in->skb && in->sequence != soft->sequence) { in rx()
256 saddr, in->sequence, soft->sequence, in rx()
258 dev_kfree_skb_irq(in->skb); in rx()
[all …]
/linux-4.1.27/Documentation/watchdog/
Dwatchdog-parameters.txt22 timeout: Watchdog timeout in seconds. 1<= timeout <=63, default=60.
27 timeout: Watchdog timeout in seconds. (0 < timeout < 18000, default=60
32 timeout: Watchdog timeout in seconds. (1<=timeout<=3600, default=30
39 margin: Watchdog margin in seconds (default=60)
49 wdt_time: Watchdog time in seconds. (default=5)
54 heartbeat: Watchdog heartbeats in seconds. (default = 15)
59 wdt_time: Watchdog time in seconds. (default=30)
64 timeout: Watchdog timeout in seconds. (1<=timeout<=((2^32)/SCLK), default=20)
69 margin: Watchdog margin in seconds (default 60s)
77 wd0_timeout: Default watchdog0 timeout in 1/10secs
[all …]
/linux-4.1.27/Documentation/scheduler/
Dsched-stats.txt6 mainline kernel in 2.6.20 although it is identical to the stats from version
7 12 which was in the kernel from 2.6.13-2.6.19 (version 13 never saw a kernel
14 domain. Domains have no particular names in this implementation, but
19 field in the domain stats is a bit map indicating which cpus are affected
24 the change in the counters at each subsequent observation. A perl script
30 reason to change versions is changes in the output format. For those wishing
41 2) This field is a legacy array expiration count field used in the O(1)
51 7) sum of all time spent running by tasks on this processor (in jiffies)
52 8) sum of all time spent waiting to run by tasks on this processor (in
61 will not appear in the output.)
[all …]
/linux-4.1.27/arch/m68k/fpsp040/
Dbinstr.S7 | Input: 64-bit binary integer in d2:d3, desired length (LEN) in
8 | d0, and a pointer to start in memory for bcd characters
9 | in d0. (This pointer must point to byte 4 of the first
23 | to force the first byte formed to have a 0 in the upper 4 bits.
26 | Copy the fraction in d2:d3 to d4:d5.
28 | A3. Multiply the fraction in d2:d3 by 8 using bit-field
32 | A4. Multiply the fraction in d4:d5 by 2 using shifts. The msb
35 | A5. Add using the carry the 64-bit quantities in d2:d3 and d4:d5
39 | zero, it is the ls digit. Put the digit in its place in the
64 | file, README, in this same directory.
[all …]
Dbindec.S7 | Converts an input in extended precision format
12 | value in memory; d0 contains the k-factor sign-extended
16 | Output: result in the FP_SCR1 space on the stack.
23 | The k-factor is saved for use in d7. Clear the
33 | value is viewed as 2^^e * 1.f in extended precision.
34 | This value is stored in d6.
37 | The operation in A3 above may have set INEX2.
40 | ICTR is a flag used in A13. It must be set before the
49 | If LEN is computed to be greater than 17, set OPERR in
50 | USER_FPSR. LEN is stored in d4.
[all …]
Dsgetem.S7 | precision number in fp0. sGETEXPD handles denormalized
12 | extended precision number and returned in fp0. The
16 | Input: Double-extended number X in the ETEMP space in
19 | Output: The functions return exp(X) or man(X) in fp0.
28 | file, README, in this same directory.
85 fmovex (%a0),%fp0 |put new value back in fp0
94 movel LOCAL_HI(%a0),%d0 |load ms mant in d0
95 movel LOCAL_LO(%a0),%d1 |load ls mant in d1
106 | ms mantissa part in d0
107 | ls mantissa part in d1
[all …]
Ddecbin.S5 | register A6 to extended-precision value in FP0.
7 | Input: Normalized packed bcd value in ETEMP(a6).
22 | value in 68881/882 format at location ETEMP(A6).
31 | adds and muls in FP0. Set the sign according to SM.
36 | A3. Count the number of leading/trailing zeros in the
41 | mantissa the equivalent of forcing in the bcd value:
43 | SM = 0 a non-zero digit in the integer position
44 | SM = 1 a non-zero digit in Mant0, lsd of the fraction
50 | A4. Calculate the factor 10^exp in FP1 using a table of
51 | 10^(2^n) values. To reduce the error in forming factors
[all …]
Dsint.S13 | number X in the ETEMP space in the floating-point
15 | (Entry point sintdo) Double-extended number X in
18 | number X in the ETEMP space in the floating-point
21 | Output: The function returns int(X) or intrz(X) in fp0.
31 | 2. (X is in range) set rsc = 63 - exp(X). Unnormalize the
34 | 3. Round the result in the mode given in USER_FPCR. For
37 | 4. Normalize the rounded result; store in fp0.
55 | file, README, in this same directory.
135 | ;in upper word.
138 | Real work of sint is in sintexc
[all …]
Dx_store.S15 | file, README, in this same directory.
53 | in the USER_FPn variable on the stack because all exception
79 bsrl g_opcls |returns opclass in d0
87 bsrl g_dfmtou |returns dest format in d0
89 movel %a0,%a1 |save source addr in a1
104 | a1 -> source in extended precision
137 swap %d0 |d0 now in upper word
138 lsll #4,%d0 |d0 now in proper place for dbl prec exp
141 bsetl #31,%d0 |if negative, put in sign information
149 bsetl #31,%d0 |if negative put in sign information
[all …]
Dgen_except.S11 | the stack frame in memory with the exceptional operand(s).
33 | file, README, in this same directory.
73 movel CMDREG1B(%a6),CMDREG1B(%a1) |set inst in frame to unimp
79 orl %d1,%d0 |put it in the right place
83 orl %d1,%d0 |put them in the right place
84 movel %d0,CMDREG3B(%a1) |in the busy frame
86 | Or in the FPSR from the emulation with the USER_FPSR on the stack.
115 movel CMDREG1B(%a6),CMDREG1B(%a1) |set inst in frame to unimp
117 | Or in the FPSR from the emulation with the USER_FPSR on the stack.
133 | Or in the FPSR from the emulation with the USER_FPSR on the stack.
[all …]
/linux-4.1.27/tools/perf/util/
Dpager.c18 fd_set in; in pager_preexec() local
20 FD_ZERO(&in); in pager_preexec()
21 FD_SET(0, &in); in pager_preexec()
22 select(1, &in, NULL, &in, NULL); in pager_preexec()
74 pager_process.in = -1; in setup_pager()
81 dup2(pager_process.in, 1); in setup_pager()
83 dup2(pager_process.in, 2); in setup_pager()
84 close(pager_process.in); in setup_pager()
Drun-command.c30 need_in = !cmd->no_stdin && cmd->in < 0; in start_command()
37 cmd->in = fdin[1]; in start_command()
47 else if (cmd->in) in start_command()
48 close(cmd->in); in start_command()
59 else if (cmd->in) in start_command()
60 close(cmd->in); in start_command()
78 } else if (cmd->in) { in start_command()
79 dup2(cmd->in, 0); in start_command()
80 close(cmd->in); in start_command()
127 else if (cmd->in) in start_command()
[all …]
/linux-4.1.27/fs/efs/
Dinode.c54 struct efs_inode_info *in; in efs_iget() local
65 in = INODE_INFO(inode); in efs_iget()
126 in->numextents = be16_to_cpu(efs_inode->di_numextents); in efs_iget()
127 in->lastextent = 0; in efs_iget()
131 extent_copy(&(efs_inode->di_u.di_extents[i]), &(in->extents[i])); in efs_iget()
132 if (i < in->numextents && in->extents[i].cooked.ex_magic != 0) { in efs_iget()
142 inode->i_ino, in->numextents, inode->i_mode); in efs_iget()
199 struct efs_inode_info *in = INODE_INFO(inode); in efs_map_block() local
207 last = in->lastextent; in efs_map_block()
209 if (in->numextents <= EFS_DIRECTEXTENTS) { in efs_map_block()
[all …]
/linux-4.1.27/firmware/
DWHENCE21 Public License. The GPL is contained in /usr/doc/copyright/GPL on a
22 Debian system and in the file COPYING in the Linux kernel source.
35 Found in alsa-firmware package in hex form; no licensing information.
46 Found in alsa-firmware package in hex form with a comment claiming to
61 Found alsa-firmware package in hex form, with the following comment:
75 Found in hex form in kernel source.
102 Found in hex form in the kernel source.
112 Found in hex form in the kernel source.
131 Converted from Intel HEX files, used in our binary representation of ihex.
146 in text or binary form as required.
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/regmap/
Dregmap.txt9 For one device driver, which will run in different scenarios above
15 meaning that the CPU and the Device are in the same endianness mode,
19 Scenario 1 : CPU in LE mode & device in LE mode.
26 Scenario 2 : CPU in LE mode & device in BE mode.
34 Scenario 3 : CPU in BE mode & device in BE mode.
41 Scenario 4 : CPU in BE mode & device in LE mode.
/linux-4.1.27/arch/arm/plat-samsung/
DKconfig74 Core support for the ADC block found in the Samsung SoC systems
78 # device definitions to compile in
83 Compile in platform device definitions for HSMMC code
88 Compile in platform device definitions for HSMMC channel 1
93 Compile in platform device definitions for HSMMC channel 2
98 Compile in platform device definitions for HSMMC channel 3
103 Compile in platform device definitions for HWMON
108 Compile in platform device definitions for I2C channel 1
113 Compile in platform device definitions for I2C channel 2
118 Compile in platform device definition for I2C controller 3
[all …]
/linux-4.1.27/arch/tile/lib/
Dmemmove.c30 const uint8_t *in; in memmove() local
37 in = (const uint8_t *)src + n - 1; in memmove()
42 in = (const uint8_t *)src; in memmove()
48 x = *in; in memmove()
49 in += stride; in memmove()
54 x = *in; in memmove()
55 in += stride; in memmove()
/linux-4.1.27/Documentation/isdn/
DREADME.pcbit5 The PCBIT is a Euro ISDN adapter manufactured in Portugal by Octal and
6 developed in cooperation with Portugal Telecom and Inesc.
8 originally developed by Fritz Elfert in the isdn4linux project.
13 package or in the pcbit package available in:
22 - Only HDLC in B-channels is supported at the moment. There is no
23 current support for X.25 in B or D channels nor LAPD in B
28 - The driver often triggers errors in the board that I and the
29 manufacturer believe to be caused by bugs in the firmware. The current
32 the manufacturer in order to solve this problem.
34 Information/hints/help can be obtained in the linux isdn
/linux-4.1.27/tools/perf/Documentation/
DBuild.txt39 resulting in following objects:
40 $ ls *-in.o
41 gtk-in.o libperf-in.o perf-in.o
43 Those objects are then used in final linking:
44 libperf-gtk.so <- gtk-in.o libperf-in.o
45 perf <- perf-in.o libperf-in.o
Dperf-script-python.txt17 built-in Python interpreter. It reads and processes the input file and
18 displays the results of the trace analysis implemented in the given
74 every time a system call occurs in the system. Our script will do
104 That single stream will be recorded in a file in the current directory
109 callback handler for each event type found in the perf.data trace
116 The output file created also in the current directory is named
117 perf-script.py. Here's the file in its entirety:
124 # in the format files. Those fields not available as handler params can
138 print "in trace_begin"
141 print "in trace_end"
[all …]
/linux-4.1.27/fs/fuse/
Ddir.c153 args->in.h.opcode = FUSE_LOOKUP; in fuse_lookup_init()
154 args->in.h.nodeid = nodeid; in fuse_lookup_init()
155 args->in.numargs = 1; in fuse_lookup_init()
156 args->in.args[0].size = name->len + 1; in fuse_lookup_init()
157 args->in.args[0].value = name->name; in fuse_lookup_init()
419 args.in.h.opcode = FUSE_CREATE; in fuse_create_open()
420 args.in.h.nodeid = get_node_id(dir); in fuse_create_open()
421 args.in.numargs = 2; in fuse_create_open()
422 args.in.args[0].size = sizeof(inarg); in fuse_create_open()
423 args.in.args[0].value = &inarg; in fuse_create_open()
[all …]
/linux-4.1.27/Documentation/hwmon/
Dmax1606443 in[1-4]_label "vout[1-4]"
44 in[1-4]_input Measured voltage. From READ_VOUT register.
45 in[1-4]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
46 in[1-4]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
47 in[1-4]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
48 in[1-4]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register.
49 in[1-4]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
50 in[1-4]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
51 in[1-4]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status.
52 in[1-4]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status.
[all …]
Dmax3444074 in[1-6]_label "vout[1-6]".
75 in[1-6]_input Measured voltage. From READ_VOUT register.
76 in[1-6]_min Minimum Voltage. From VOUT_UV_WARN_LIMIT register.
77 in[1-6]_max Maximum voltage. From VOUT_OV_WARN_LIMIT register.
78 in[1-6]_lcrit Critical minimum Voltage. VOUT_UV_FAULT_LIMIT register.
79 in[1-6]_crit Critical maximum voltage. From VOUT_OV_FAULT_LIMIT register.
80 in[1-6]_min_alarm Voltage low alarm. From VOLTAGE_UV_WARNING status.
81 in[1-6]_max_alarm Voltage high alarm. From VOLTAGE_OV_WARNING status.
82 in[1-6]_lcrit_alarm Voltage critical low alarm. From VOLTAGE_UV_FAULT status.
83 in[1-6]_crit_alarm Voltage critical high alarm. From VOLTAGE_OV_FAULT status.
[all …]
Dsubmitting-patches19 such as "I don't like that coding style". Keep in mind that each unnecessary
36 * Make sure the documentation in Documentation/hwmon/<driver_name> is up to
39 * Make sure the information in Kconfig is up to date.
45 * Never mix bug fixes, cleanup, and functional enhancements in a single patch.
52 formatting is clean. If unsure about formatting in your new driver, run it
58 * Document the driver in Documentation/hwmon/<driver_name>.
60 * Add the driver to Kconfig and Makefile in alphabetical order.
62 * Make sure that all dependencies are listed in Kconfig.
66 * Avoid calculations in macros and macro-generated functions. While such macros
67 may save a line or so in the source, it obfuscates the code and makes code
[all …]
/linux-4.1.27/Documentation/
Dsysfs-rules.txt1 Rules on how to access information in the Linux kernel sysfs
9 To minimize the risk of breaking users of sysfs, which are in most cases
23 implementation details in its own API. Therefore it is not better than
25 Also, it is not actively maintained, in the sense of reflecting the
28 violates many of the rules in this document.
39 interfaces, and such that you can rely on in userspace. Everything is
42 applications that look for devices in sysfs.
46 - identical to the DEVPATH value in the event sent from the kernel
48 - the unique key to the device at that point in time
56 - using or exposing symlink values as elements in a devpath string
[all …]
Dirqflags-tracing.txt5 the "irq-flags tracing" feature "traces" hardirq and softirq state, in
8 happens in the kernel.
14 are locking APIs that are not used in IRQ context. (the one exception
17 architecture support for this is certainly not in the "trivial"
19 state changes. But an architecture can be irq-flags-tracing enabled in a
25 - add and enable TRACE_IRQFLAGS_SUPPORT in their arch level Kconfig file
30 - in lowlevel entry code add (build-conditional) calls to the
35 irq-flags-tracing is spent in this state: look at the lockdep
38 lockdep complaint in the irq-flags-tracing functions arch support is
44 in general there is no risk from having an incomplete irq-flags-tracing
[all …]
/linux-4.1.27/drivers/block/paride/
DTransition-notes6 one in ps_set_intr() (A) and two in ps_tq_int() (B and C).
15 ps_tq_int() are sandwiched between {A,C} and B in that sequence,
17 moments which, in turn, can not exceed the number of A and C.
24 * in do_pd_request1(): to calls of pi_do_claimed() and return in
26 * in next_request(): to call of do_pd_request1()
27 * in do_pd_read(): to call of ps_set_intr()
28 * in do_pd_read_start(): to calls of pi_do_claimed(), next_request()
30 * in do_pd_read_drq(): to calls of pi_do_claimed() and next_request()
31 * in do_pd_write(): to call of ps_set_intr()
32 * in do_pd_write_start(): to calls of pi_do_claimed(), next_request()
[all …]
/linux-4.1.27/Documentation/networking/
Daltera_tse.txt16 the maintainer of this driver, found in MAINTAINERS.
30 The SGDMA component is to be deprecated in the near future (over the next 1-2
31 years as of this writing in early 2014) in favor of the MSGDMA component.
32 SGDMA support is included for existing designs and reference in case a
47 tested for 1Gbps. This support will be added in a future maintenance update.
56 dma_rx_num: Number of descriptors in the RX list (default is 64);
57 dma_tx_num: Number of descriptors in the TX list (default is 64).
60 Driver parameters can be also passed in command line by using:
70 completion in the context of the interrupt handling chain by recycling
85 for transmit operations, but will be added in a future maintenance release.
[all …]
/linux-4.1.27/Documentation/accounting/
Dtaskstats-struct.txt6 There are three different groups of fields in the struct taskstats:
39 * TAKSTATS_VERSION, which is defined in <linux/taskstats.h>.
47 /* The accounting flags of a task as defined in <linux/acct.h>
58 /* The scheduling discipline as set in task->policy field. */
67 /* The time when a task begins, in [secs] since 1970. */
70 /* The elapsed time of a task, in [usec]. */
73 /* The user CPU time of a task, in [usec]. */
76 /* The system CPU time of a task, in [usec]. */
79 /* The minor page fault count of a task, as set in task->min_flt. */
82 /* The major page fault count of a task, as set in task->maj_flt. */
[all …]
/linux-4.1.27/drivers/infiniband/hw/mlx5/
Dsrq.c77 struct mlx5_create_srq_mbox_in **in, in create_srq_user() argument
122 *inlen = sizeof(**in) + sizeof(*(*in)->pas) * ncont; in create_srq_user()
123 *in = mlx5_vzalloc(*inlen); in create_srq_user()
124 if (!(*in)) { in create_srq_user()
129 mlx5_ib_populate_pas(dev, srq->umem, page_shift, (*in)->pas, 0); in create_srq_user()
138 (*in)->ctx.log_pg_sz = page_shift - MLX5_ADAPTER_PAGE_SHIFT; in create_srq_user()
139 (*in)->ctx.pgoff_cqn = cpu_to_be32(offset << 26); in create_srq_user()
144 kvfree(*in); in create_srq_user()
153 struct mlx5_create_srq_mbox_in **in, int buf_size, in create_srq_kernel() argument
188 *inlen = sizeof(**in) + sizeof(*(*in)->pas) * npages; in create_srq_kernel()
[all …]
Dmr.c138 struct mlx5_create_mkey_mbox_in *in; in add_keys() local
144 in = kzalloc(sizeof(*in), GFP_KERNEL); in add_keys()
145 if (!in) in add_keys()
162 in->seg.status = MLX5_MKEY_STATUS_FREE; in add_keys()
163 in->seg.xlt_oct_size = cpu_to_be32((npages + 1) / 2); in add_keys()
164 in->seg.qpn_mkey7_0 = cpu_to_be32(0xffffff << 8); in add_keys()
165 in->seg.flags = MLX5_ACCESS_MODE_MTT | MLX5_PERM_UMR_EN; in add_keys()
166 in->seg.log2_page_size = 12; in add_keys()
171 err = mlx5_core_create_mkey(dev->mdev, &mr->mmr, in, in add_keys()
172 sizeof(*in), reg_mr_callback, in add_keys()
[all …]
/linux-4.1.27/Documentation/security/
Dkeys-ecryptfs.txt6 Each FEK is in turn encrypted with a File Encryption Key Encryption Key (FEFEK)
7 either in kernel space or in user space with a daemon called 'ecryptfsd'. In
9 using a key, the FEFEK, derived from a user prompted passphrase; in the latter
10 the FEK is encrypted by 'ecryptfsd' with the help of external libraries in order
15 FEK decryption is called authentication token and, currently, can be stored in a
16 kernel key of the 'user' type, inserted in the user's session specific keyring
21 format 'ecryptfs' in order to be used in conjunction with the eCryptfs
23 authentication token in its payload with a FEFEK randomly generated by the
28 authentication token, which content is well known, but only the FEFEK in
31 The eCryptfs filesystem may really benefit from using encrypted keys in that the
[all …]
/linux-4.1.27/Documentation/arm/
DBooting32 kernel will use for volatile data storage in the system. It performs
33 this in a machine dependent manner. (It may use internal algorithms
35 the RAM in the machine, or any other method the boot loader designer
52 serial format options as described in
68 should be passed to the kernel in register r1.
82 boot data is passed to the kernel in register r2.
93 Any number of tags can be placed in the list. It is undefined
95 previous tag, or whether it replaces the information in its
110 The tagged list should be stored in system RAM.
112 The tagged list must be placed in a region of memory where neither
[all …]
Dkernel_mode_neon.txt8 * Isolate your NEON code in a separate compilation unit, and compile it with
12 * Don't sleep in your NEON code, and be aware that it will be executed with
18 It is possible to use NEON instructions (and in some cases, VFP instructions) in
19 code that runs in kernel mode. However, for performance reasons, the NEON/VFP
23 may call schedule()], as NEON or VFP instructions will be executed in a
32 contending for the NEON/VFP unit (or, in the SMP case, when a task migrates to
34 every context switch, resulting in a trap when subsequently a NEON/VFP
35 instruction is issued, allowing the kernel to step in and perform the restore if
38 Any use of the NEON/VFP unit in kernel mode should not interfere with this, so
48 Interruptions in kernel mode
[all …]
Dcluster-pm-race-avoidance.txt11 algorithm in use.
27 means that we need some coordination in order to ensure that critical
36 methods of coordination are required in order to guarantee safe
39 The mechanism presented in this document describes a coherent memory
71 level. A CPU in this state is not necessarily being used
79 Each CPU has one of these states assigned to it at any point in time.
80 The CPU states are described in the "CPU state" section, below.
84 to introduce additional states in order to avoid races between different
85 CPUs in the cluster simultaneously modifying the state. The cluster-
86 level states are described in the "Cluster state" section.
[all …]
Dvlocks.txt9 which are otherwise non-coherent, in situations where the hardware
17 final value seen in that memory location when all the votes have been
21 in finite time, a CPU will only enter the election in the first place if
68 whether an election is in progress, and plays a role analogous to the
69 "entering" array in Lamport's bakery algorithm [1].
95 vlocks can be cascaded in a voting hierarchy to permit better scaling
96 if necessary, as in the following hypothetical example for 4096 CPUs:
125 we can read the whole array in one transaction (providing the number
135 ...in place of code equivalent to:
147 reducing bus contention in contended cases.
[all …]
/linux-4.1.27/drivers/parisc/
Dpdc_stable.c281 char in[64], *temp; in pdcspath_hwpath_write() local
289 count = min_t(size_t, count, sizeof(in)-1); in pdcspath_hwpath_write()
290 strncpy(in, buf, count); in pdcspath_hwpath_write()
291 in[count] = '\0'; in pdcspath_hwpath_write()
297 if (!(temp = strrchr(in, '/'))) in pdcspath_hwpath_write()
301 in[temp-in] = '\0'; /* truncate the remaining string. just precaution */ in pdcspath_hwpath_write()
309 for (i=5; ((temp = strrchr(in, '/'))) && (temp-in > 0) && (likely(i)); i--) { in pdcspath_hwpath_write()
311 in[temp-in] = '\0'; in pdcspath_hwpath_write()
316 hwpath.bc[i] = simple_strtoul(in, NULL, 10); in pdcspath_hwpath_write()
397 char in[64], *temp; in pdcspath_layer_write() local
[all …]
/linux-4.1.27/fs/f2fs/
Dhash.c28 static void TEA_transform(unsigned int buf[4], unsigned int const in[]) in TEA_transform() argument
32 __u32 a = in[0], b = in[1], c = in[2], d = in[3]; in TEA_transform()
78 __u32 in[8], buf[4]; in f2fs_dentry_hash() local
94 str2hashbuf(p, len, in, 4); in f2fs_dentry_hash()
95 TEA_transform(buf, in); in f2fs_dentry_hash()
/linux-4.1.27/arch/arm64/crypto/
Daes-neon.S17 .macro mul_by_x, out, in, temp, const
18 sshr \temp, \in, #7
19 add \out, \in, \in
51 .macro sub_bytes, in
52 sub v9.16b, \in\().16b, v12.16b
53 tbl \in\().16b, {v16.16b-v19.16b}, \in\().16b
55 tbx \in\().16b, {v20.16b-v23.16b}, v9.16b
57 tbx \in\().16b, {v24.16b-v27.16b}, v10.16b
58 tbx \in\().16b, {v28.16b-v31.16b}, v11.16b
62 .macro mix_columns, in
[all …]
Daes-ce-cipher.c43 struct aes_block const *in = (struct aes_block *)src; in aes_cipher_encrypt() local
76 : [in] "Q"(*in), in aes_cipher_encrypt()
88 struct aes_block const *in = (struct aes_block *)src; in aes_cipher_decrypt() local
121 : [in] "Q"(*in), in aes_cipher_decrypt()
143 : [in] "r"(input) in aes_sub()
213 : [in] "Q"(key_enc[j]) in ce_aes_expandkey()
/linux-4.1.27/drivers/media/pci/cx18/
Dcx18-audio.c39 const struct cx18_card_audio_input *in; in cx18_audio_set_io() local
45 in = &cx->card->radio_input; in cx18_audio_set_io()
47 in = &cx->card->audio_inputs[cx->audio_input]; in cx18_audio_set_io()
51 (u32) in->muxer_input, 0, 0); in cx18_audio_set_io()
54 audio, s_routing, in->audio_input, 0, 0); in cx18_audio_set_io()
61 switch (in->audio_input) { in cx18_audio_set_io()
75 switch (in->audio_input) { in cx18_audio_set_io()
/linux-4.1.27/lib/zlib_inflate/
Dinffast.c91 const unsigned char *in; /* local strm->next_in */ in inflate_fast() local
118 in = strm->next_in - OFF; in inflate_fast()
119 last = in + (strm->avail_in - 5); in inflate_fast()
141 hold += (unsigned long)(PUP(in)) << bits; in inflate_fast()
143 hold += (unsigned long)(PUP(in)) << bits; in inflate_fast()
160 hold += (unsigned long)(PUP(in)) << bits; in inflate_fast()
168 hold += (unsigned long)(PUP(in)) << bits; in inflate_fast()
170 hold += (unsigned long)(PUP(in)) << bits; in inflate_fast()
183 hold += (unsigned long)(PUP(in)) << bits; in inflate_fast()
186 hold += (unsigned long)(PUP(in)) << bits; in inflate_fast()
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/4xx/
Dcpm.txt12 in the following order (ER,FR,SR). The
13 others have them in the following order
17 bit in the cell, the corresponding bit
18 in CPM will be set to turn off unused
21 bit in the cell, the corresponding bit
22 in CPM will be set to turn off unused
25 bit in the cell, the corresponding bit
26 in CPM will be set on standby and
29 bit in the cell, the corresponding bit
30 in CPM will be set on suspend (mem) and
[all …]
/linux-4.1.27/tools/virtio/virtio-trace/
DREADME4 Trace agent is a user tool for sending trace data of a guest to a Host in low
41 1) Make FIFO in a host
45 # mkfifo /tmp/virtio-trace/trace-path-cpu{0,1,2,...,X}.{in,out}
46 # mkfifo /tmp/virtio-trace/agent-ctl-path.{in,out}
49 trace-path-cpu{0,1,2}.{in.out}
51 agent-ctl-path.{in,out}.
53 2) Set up of virtio-serial pipe in a host
87 You can find some chardev in /dev/virtio-ports/ in the guest.
93 0) Build trace agent in a guest
96 1) Enable ftrace in the guest
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/
Dcommon-properties.txt4 byteswapping, but endianness issues show up frequently in porting Linux to
11 know the peripheral always needs to be accessed in BE mode.
14 peripheral always needs to be accessed in LE mode.
30 Scenario 1 : CPU in LE mode & device in LE mode.
38 Scenario 2 : CPU in LE mode & device in BE mode.
46 Scenario 3 : CPU in BE mode & device in BE mode.
54 Scenario 4 : CPU in BE mode & device in LE mode.
/linux-4.1.27/Documentation/devicetree/bindings/reset/
Dsirf,rstc.txt4 Please also refer to reset.txt in this directory for common reset
9 - reg: should be register base and length as documented in the
25 reset signals for most blocks in system. Those device nodes should specify the
26 reset line on the rstc in their resets property, containing a phandle to the
28 in reset.txt.
30 For SiRFSoC, RESET_INDEX is just reset_bit defined in SW_RST0 and SW_RST1 registers.
31 For modules whose rest_bit is in SW_RST0, its RESET_INDEX is 0~31. For modules whose
32 rest_bit is in SW_RST1, its RESET_INDEX is 32~63.
/linux-4.1.27/arch/powerpc/kvm/
DKconfig14 If you say N, all options in this submenu will be skipped and
54 in virtual machines on book3s_32 host processors.
69 in virtual machines on book3s_64 host processors.
77 tristate "KVM support for POWER7 and PPC970 using hypervisor mode in host"
83 Support running unmodified book3s_64 guest kernels in
98 tristate "KVM support without using hypervisor mode in host"
102 Support running guest kernels in virtual machines on processors
103 without using hypervisor mode in the host, by running the
104 guest in user mode (problem state) and emulating all
117 Calculate time taken for each vcpu in the real-mode guest entry,
[all …]
/linux-4.1.27/Documentation/mtd/nand/
Dpxa3xx-nand.txt5 Some notes about Marvell's NAND controller available in PXA and Armada 370/XP
11 The controller has a 2176 bytes FIFO buffer. Therefore, in order to support
16 we'll have this layout in the pages:
23 buffer with this layout (in the 4 KiB page case):
36 So, in order to achieve reading (for instance), we issue several READ0 commands
45 The controller has built-in hardware ECC capabilities. In addition it is
56 spare, and then the ECC controller will read/write the ECC code (30B in
65 So in Hamming mode, a 2048B page will have a 24B ECC.
68 write in multiples of 8-bytes, because the data buffer is 64-bits.
73 Because of the above scheme, and because the "spare" OOB is really located in
[all …]
/linux-4.1.27/Documentation/ABI/
DREADME4 interfaces should be used by userspace programs in different ways.
7 different subdirectories in this location. Interfaces may change levels
25 errors or security problems are found in them. Userspace
35 This directory documents interfaces that are still remaining in
36 the kernel, but are marked to be removed at some later point in
44 Every file in these directories will contain the following information:
48 KernelVersion: Kernel version this feature first showed up in.
52 it changes. This is very important for interfaces in
55 break in ways that are unacceptable. It is also
57 sure they are working in a proper way and do not need to
[all …]
/linux-4.1.27/Documentation/firmware_class/
DREADME9 Today, the most extended way to use firmware in the Linux kernel is linking
10 it statically in a header file. Which has political and technical issues:
24 in the below search path of root filesystem:
34 if firmware_class is built in kernel(the general situation)
38 - hotplug gets called with a firmware identifier in $FIRMWARE
48 5), kernel: grows a buffer in PAGE_SIZE increments to hold the image as it
49 comes in.
55 image in fw_entry->{data,size}. If something went wrong
72 # Both $DEVPATH and $FIRMWARE are already provided in the environment.
87 for testing and completeness, they are not called in normal use.
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/gpu/
Dst,stih4xx.txt18 - clock-names: names of the clocks listed in clocks property in the same
36 - clock-names: names of the clocks listed in clocks property in the same
40 - reset-names: names of the resets listed in resets property in the same
49 - reg-names: names of the mapped memory regions listed in regs property in
53 - reset-names: names of the resets listed in resets property in the same
62 - reg-names: names of the mapped memory regions listed in regs property in
65 - interrupt-names: name of the interrupts listed in interrupts property in
69 - clock-names: names of the clocks listed in clocks property in the same
78 - reg-names: names of the mapped memory regions listed in regs property in
83 - clock-names: names of the clocks listed in clocks property in the same
[all …]
/linux-4.1.27/fs/befs/
DChangeLog46 * Fixed bug in befs_find_brun_indirect() that would result in the wrong
47 block being read. It was introduced when adding byteswapping in
50 * Fixed a longstanding bug in befs_find_key() that would result in it
52 for. For example, this would cause files in the same directory with
61 * Documentation improvements in source. [WD]
63 * Makefile fix for independent module when CONFIG_MODVERSION is set in
76 * Made functions in endian.h to do the correct byteswapping, no matter
79 * Abbandoned silly checks for a NULL superblock pointer in debug.c. [WD]
99 would result in the filesystem using the on-disk uid and gid. [WD]
113 * Added new debug/warning/error print functions in debug.c.
[all …]
/linux-4.1.27/include/trace/events/
Dgpio.h11 TP_PROTO(unsigned gpio, int in, int err),
13 TP_ARGS(gpio, in, err),
17 __field(int, in)
23 __entry->in = in;
28 __entry->in ? "in" : "out", __entry->err)
/linux-4.1.27/drivers/staging/iio/Documentation/
Dsysfs-bus-iio-light7 light sensors in calculating lux.
20 used in calculating the lux.
34 it comes back in SI units, it should also include _input else it
35 should include _raw to signify it is not in SI units.
42 in proximity mode. When this is enabled, then the device should
46 value and doing the negation in sw.
54 value is returned in SI units, it should also include _input
63 and if expressed in SI units, should include _input. If this
64 value is not in SI units, then it should include _raw.
71 lux measurement used in/for calibration.
[all …]
Dsysfs-bus-iio-light-tsl25836 used in calculating illuminance in lux.
13 value which is later used in calculating illuminance in lux.
19 This property is the known externally illuminance (in lux).
20 It is used in the process of calibrating the device accuracy.
/linux-4.1.27/Documentation/arm/nwfpe/
DNOTES5 I also found one oddity in the emulator. I don't think it is serious but
11 I was looking at some code, that calculated a double result, stored it in f4
12 then made a function call. Upon return from the function call the number in
13 f4 had been converted to an extended value in the emulator.
15 This is a side effect of the stfe instruction. The double in f4 had to be
18 result from the function call and f4 were used in a multiplication. If the
20 extended, then does the multiply in extended precision.
27 The result of log(x) (a double) will be calculated, returned in f0, then
29 in extended precision, due to the stfe instruction used to save f4 in log(y).
DTODO19 and are handled by routines in libc. These are not implemented by the FPA11
21 be implemented in future versions.
25 a couple of papers by S. Gal from IBM's research labs in Haifa, Israel that
26 seem to promise extreme accuracy (in the order of 99.8%) and reasonable speed.
27 These methods are used in GLIBC for some of the transcendental functions.
41 in a control register. Not so with the ARM FPA11 architecture. To change
47 examine a flag, which if set forced it to ignore the rounding mode in
48 the instruction, and use the mode specified in the bits in the FPCR.
51 in the FPCR. This requires a kernel call in ArmLinux, as WFC/RFC are
58 The floating point control register (FPCR) may only be present in some
[all …]
/linux-4.1.27/Documentation/fb/
Dapi.txt14 Due to a lack of documentation in the original frame buffer API, drivers
15 behaviours differ in subtle (and not so subtle) ways. This document describes
23 Device and driver capabilities are reported in the fixed screen information
45 Pixels are stored in memory in hardware-dependent formats. Applications need
46 to be aware of the pixel storage format in order to write image data to the
47 frame buffer memory in the format expected by the hardware.
50 additional information, which are stored in the variable screen information
54 macropixels. Types describe how macropixels are stored in memory. The following
59 Macropixels are stored contiguously in a single plane. If the number of bits
72 Planes are located contiguously in memory.
[all …]
Dtridentfb.txt6 those from the TGUI series 9440/96XX and with Cyber in their names
7 those from the Image series and with Cyber in their names
8 those with Blade in their names (Blade3D,CyberBlade...)
21 enabled. The same happens in X11 (Xorg).
32 The parameters for tridentfb are concatenated with a ':' as in this example.
47 memsize - integer value in KB, use if your card's memory size is misdetected.
50 memdiff - integer value in KB, should be nonzero if your card reports
52 detection says in all three BIOS selectable situations 2M, 4M, 8M.
55 If in some modes which barely fit the memory you see garbage
59 nativex - the width in pixels of the flat panel.If you know it (usually 1024
[all …]
/linux-4.1.27/Documentation/locking/
Dlglock.txt29 resulting in a globally visible critical section.
52 are needed in the non-RT kernels to prevent deadlocks like:
63 On -RT this deadlock scenario is resolved by the arch_spin_locks in the
72 macros to generate the lglock/brlock in lglock.h - they were later
77 being initializeable in kernel modules (the remaining problem is that
91 on UP this is mapped to DEFINE_SPINLOCK(name) in both cases, note
92 also that as of 3.18-rc6 all declaration in use are of the _STATIC_
93 variant (and it seems that the non-static was never in use).
102 No surprises in the API.
126 * currently the declaration of lglocks in kernel modules is not
[all …]
/linux-4.1.27/drivers/net/wireless/ipw2x00/
DKconfig19 the capabilities currently enabled in this driver and for tips
25 will need to place it in /lib/firmware.
27 You will also very likely need the Wireless Tools in order to
33 rather than built-in (Y). This driver requires firmware at device
34 initialization time, and when built-in this typically happens
38 including the firmware and a firmware loader in an initramfs.
46 promiscuous mode via the Wireless Tool's Monitor mode. While in this
50 bool "Enable full debugging output in IPW2100 module."
55 This will result in the kernel module being ~60k larger. You can
57 value in
[all …]
/linux-4.1.27/Documentation/powerpc/
Dcpu_features.txt4 This document describes the system (including self-modifying code) used in the
8 Early in the boot process the ppc32 kernel detects the current CPU type and
13 Detection of the feature set is simple. A list of processors can be found in
15 each value in the list. If a match is found, the cpu_features of cur_cpu_spec
20 particular feature bit. This is done in quite a few places, for example
21 in ppc_setup_l2cr().
23 Implementing cpufeatures in assembly is a little more involved. There are
34 just 2 macros (found in arch/powerpc/include/asm/cputable.h), as seen in head.S
48 and END_FTR_SECTION_IFCLR. These simply test if a flag is set (in
50 should be used in the majority of cases.
[all …]
Deeh-pci-error-recovery.txt20 This is in contrast to traditional PCI error handling, where the
38 electrical connections. The vast majority of EEH errors seen in
44 attempt to DMA to a location in system memory that has not been
48 bugs have been found and fixed in this way over the past few
61 by an overview of how the current implementation in the Linux
64 may in turn be swayed if or when other architectures implement
79 firmware. The programming interfaces in the Linux kernel
82 the EEH function in the PCI chipsets directly, primarily because
100 do not need to know that the PCI card has been "rebooted" in this
101 way; ideally, there should be at most a pause in Ethernet/disk/USB
[all …]
Dpci_iov_resource_on_powernv.txt17 to freeze a device that is causing errors in order to limit the possibility
20 There is thus, in HW, a table of PE states that contains a pair of "frozen"
24 When a PE is frozen, all stores in any direction are dropped and all loads
33 (IODA2). Keep in mind that this is all per PHB (PCI host bridge). Each PHB
43 For DMA, MSIs and inbound PCIe error messages, we have a table (in
44 memory but accessed in HW by the chip) that provides a direct
54 - For MSIs, we have two windows in the address space (one at the top of
56 address and MSI value, will result in one of the 2048 interrupts per
57 bridge being triggered. There's a PE# in the interrupt controller
68 First what they have in common: they forward a configurable portion of
[all …]
/linux-4.1.27/drivers/acpi/acpica/
Drsxface.c55 #define ACPI_COPY_FIELD(out, in, field) ((out)->field = (in)->field) argument
56 #define ACPI_COPY_ADDRESS(out, in) \ argument
57 ACPI_COPY_FIELD(out, in, resource_type); \
58 ACPI_COPY_FIELD(out, in, producer_consumer); \
59 ACPI_COPY_FIELD(out, in, decode); \
60 ACPI_COPY_FIELD(out, in, min_address_fixed); \
61 ACPI_COPY_FIELD(out, in, max_address_fixed); \
62 ACPI_COPY_FIELD(out, in, info); \
63 ACPI_COPY_FIELD(out, in, address.granularity); \
64 ACPI_COPY_FIELD(out, in, address.minimum); \
[all …]
/linux-4.1.27/drivers/staging/fwserial/
Ddma_fifo.c81 fifo->in = 0; in dma_fifo_alloc()
131 fifo->in = 0; in dma_fifo_reset()
162 ofs = fifo->in % fifo->capacity; in dma_fifo_in()
167 if (FAIL(fifo, addr_check(fifo->done, fifo->in, fifo->in + n) || in dma_fifo_in()
170 fifo->in, fifo->out, fifo->done, n, fifo->avail)) in dma_fifo_in()
173 fifo->in += n; in dma_fifo_in()
176 df_trace("in:%u out:%u done:%u n:%d avail:%d", fifo->in, fifo->out, in dma_fifo_in()
204 len = fifo->in - fifo->out; in dma_fifo_out_pend()
219 fifo->in = fifo->out; in dma_fifo_out_pend()
222 fifo->in = fifo->out; in dma_fifo_out_pend()
[all …]
/linux-4.1.27/Documentation/scsi/
Dscsi-generic.txt20 There are three major versions of sg found in the linux kernel (lk):
22 It is based in the sg_header interface structure.
23 - sg version 2 from lk 2.2.6 in the 2.2 series. It is based on
25 - sg version 3 found in the lk 2.4 series (and the lk 2.5 series).
34 This describes the sg version 3 driver found in the lk 2.4 series.
35 The LDP renders documents in single and multiple page HTML, postscript
39 Documentation for the version 2 sg driver found in the lk 2.2 series can
45 and in the LDP archives.
47 A changelog with brief notes can be found in the
50 in /usr/include/scsi/sg.h . Driver debugging information and other notes
[all …]
DChangeLog.lpfc16 other than unmap list in lpfc_find_target(). Otherwise INQUIRY
17 to luns on nodes in NPR or other relevant states (PLOGI,
19 * Removed FC_TRANSPORT_PATCHESxxx defines. They're in 2.6.12-rc1.
27 * Changes in lpfc_abort_handler(): Return SUCCESS if we did not
28 find command in both TX and TX completion queues. Return ERROR
31 * Zero-out response sense length in lpfc_scsi_prep_cmnd to prevent
34 * Moved clearing of host_scribble inside host_lock in IO
37 * Allow hex format numbers in sysfs attribute setting. Fix
38 application hang when invalid numbers are used in sysfs
41 * Clear host_scribble in the scsi_cmnd structure when failing in
[all …]
Dscsi_mid_low_api.txt9 host bus adapter (HBA) drivers and host drivers (HD). A "host" in this
13 to "target" SCSI ports (e.g. disks). There can be many LLDs in a running
18 its own subsystem in Linux (e.g. USB and ieee1394). In such cases the
20 Examples are the usb-storage driver (found in the drivers/usb/storage
21 directory) and the ieee1394/sbp2 driver (found in the drivers/ieee1394
27 one aic7xxx LLD running in a Linux system but it may be controlling many
43 typically Documentation/scsi . Most documents are in plain
45 found in that directory. A more recent copy of this document may be found
48 briefly described in scsi.txt which contains a url to a document
49 describing the SCSI subsystem in the lk 2.4 series. Two upper level
[all …]
/linux-4.1.27/Documentation/filesystems/
Dufs.txt11 UFS is a file system widely used in different operating systems.
20 44bsd used in FreeBSD, NetBSD, OpenBSD
23 ufs2 used in FreeBSD 5.x
28 sun used in SunOS (Solaris)
31 sunx86 used in SunOS for Intel (Solarisx86)
34 hp used in HP-UX
38 used in NextStep
46 used in OpenStep
Doverlayfs.txt7 overlay-filesystem functionality in Linux (sometimes referred to as
16 This approach is 'hybrid' because the objects that appear in the
18 cases an object accessed in the union will be indistinguishable
33 and a 'lower' filesystem. When a name exists in both filesystems, the
34 object in the 'upper' filesystem is visible while the object in the
35 'lower' filesystem is either hidden or, in the case of directories,
40 directory trees to be in the same filesystem and there is no
48 must provide valid d_type in readdir responses, so NFS is not suitable.
56 Overlaying mainly involves directories. If a given name appears in both
57 upper and lower filesystems and refers to a non-directory in either,
[all …]
Dhpfs.txt16 Set owner/group/mode for files that do not have it specified in extended
22 File name lowercasing in readdir.
27 change it in the source. Original readonly HPFS contained some strange
36 used for debugging (for example it checks if file is allocated in
44 values specified in uid/gid/mode options. 'ro' - read extended
54 As in OS/2, filenames are case insensitive. However, shell thinks that names
75 that extended attributes those value differs from defaults specified in mount
95 in chmoding file where symlink points. These symlinks are just for Linux use and
97 stored in very crazy way. They tried to do it so that link changes when file is
98 moved ... sometimes it works. But the link is partly stored in directory
[all …]
Ddevpts.txt3 such that indices of ptys allocated in one instance are independent of indices
4 allocated in other instances of devpts.
14 If CONFIG_DEVPTS_MULTIPLE_INSTANCES=n, there is no change in behavior and
20 'newinstance' option (as in current start-up scripts) the new mount binds
30 the mount is considered to be in the multi-instance mode and a new instance
31 of the devpts fs is created. Any ptys created in this instance are independent
32 of ptys in other instances of devpts. Like in the single-instance mode, the
44 # We are now in new container
51 /bin/bash in the child process. A pty created by the sshd is not visible in
85 - adding ptmxmode mount option to devpts entry in /etc/fstab, or
[all …]
Dfiemap.txt17 * which to start mapping (in) */
19 * userspace cares about (in) */
20 __u32 fm_flags; /* FIEMAP_FLAG_* flags for request (in/out) */
23 __u32 fm_extent_count; /* size of fm_extents array (in) */
33 extent may end after fm_length. All offsets and lengths are in bytes.
35 Certain flags to modify the way in which mappings are looked up can be
36 set in fm_flags. If the kernel doesn't understand some particular
42 fiemap interface to grow in the future but without losing
45 fm_extent_count specifies the number of elements in the fm_extents[] array
48 fm_mapped_extents count will hold the number of extents needed in
[all …]
Dcoda.txt11 named Venus, as well as tools to manipulate ACLs, to log in, etc. The
12 client needs to have the Coda filesystem selected in the kernel
152 A key component in the Coda Distributed File System is the cache
156 When processes on a Coda enabled system access files in the Coda
157 filesystem, requests are directed at the filesystem layer in the
175 Historically Coda was implemented in a BSD file system in Mach 2.6.
180 filesystem driver for Coda in a BSD system. However, other operating
189 kernel should be documented in great detail. This is the aim of this
194 22.. SSeerrvviicciinngg CCooddaa ffiilleessyysstteemm ccaallllss
196 The service of a request for a Coda file system service originates in
[all …]
Domfs.txt6 OMFS is a filesystem created by SonicBlue for use in the ReplayTV DVR
12 Note, it is not recommended that this FS be used in place of a general
25 Instructions are included in its README.
44 sysblock, and may be mirrored in successive blocks on the disk. A sysblock may
46 same 64-bit block number, any remaining space in the smaller sysblock is
68 __be64 i_sibling; /* next inode in hash bucket */
69 __be64 i_ctime; /* ctime, in milliseconds */
75 __be64 i_size; /* size of file, in bytes */
78 Directories in OMFS are implemented as a large hash table. Filenames are
94 __be32 e_extent_count; /* total # extents in this table */
[all …]
/linux-4.1.27/Documentation/x86/
Dearly-microcode.txt5 Kernel can update microcode in early phase of boot time. Loading microcode early
8 Microcode is stored in an initrd file. The microcode is read from the initrd
11 The format of the combined initrd image is microcode in cpio format followed by
13 during boot time. The microcode file in cpio name space is:
17 During BSP boot (before SMP starts), if the kernel finds the microcode file in
18 the initrd file, it parses the microcode and saves matching microcode in memory.
19 If matching microcode is found, it will be uploaded in BSP and later on in all
26 in sysfs.
32 The following example script shows how to generate a new combined initrd file in
Dexception-tables.txt1 Kernel level exception handling in Linux
4 When a process runs in kernel mode, it often has to access user
14 in type (read or write). To do this, verify_read had to look up the
22 hardware present in every Linux-capable CPU handle this test.
32 in arch/x86/mm/fault.c. The parameters on the stack are set up by
33 the low level assembly glue in arch/x86/kernel/entry_32.S. The parameter
40 was not swapped in, write protected or something similar. However,
41 we are interested in the other case: the address is not valid, there
49 continue at the address in fixup.
55 I have picked the get_user macro defined in arch/x86/include/asm/uaccess.h
[all …]
Dusb-legacy-support.txt7 Also known as "USB Keyboard" or "USB Mouse support" in the BIOS Setup is a
10 type in LILO for example.
20 system crashes, because the SMM BIOS is not expecting to be in PAE mode.
24 because the SMM BIOS isn't expecting the CPU to be in 64-bit mode. The
31 PS/2 mouse driver. Since the PS/2 mouse driver is in 2.6 compiled into
33 compiled-in, too.
36 in the kernel config or USB Legacy support in the BIOS. A BIOS update
41 Legacy support in the BIOS. If this alone doesn't help, try also adding
/linux-4.1.27/fs/ext4/
Dhash.c18 static void TEA_transform(__u32 buf[4], __u32 const in[]) in TEA_transform() argument
22 __u32 a = in[0], b = in[1], c = in[2], d = in[3]; in TEA_transform()
144 __u32 in[8], buf[4]; in ext4fs_dirhash() local
176 (*str2hashbuf)(p, len, in, 8); in ext4fs_dirhash()
177 half_md4_transform(buf, in); in ext4fs_dirhash()
189 (*str2hashbuf)(p, len, in, 4); in ext4fs_dirhash()
190 TEA_transform(buf, in); in ext4fs_dirhash()
/linux-4.1.27/fs/ext3/
Dhash.c17 static void TEA_transform(__u32 buf[4], __u32 const in[]) in TEA_transform() argument
21 __u32 a = in[0], b = in[1], c = in[2], d = in[3]; in TEA_transform()
143 __u32 in[8], buf[4]; in ext3fs_dirhash() local
175 (*str2hashbuf)(p, len, in, 8); in ext3fs_dirhash()
176 half_md4_transform(buf, in); in ext3fs_dirhash()
188 (*str2hashbuf)(p, len, in, 4); in ext3fs_dirhash()
189 TEA_transform(buf, in); in ext3fs_dirhash()
/linux-4.1.27/Documentation/devicetree/bindings/media/
Dcoda.txt4 Coda codec IPs are present in i.MX SoCs in various versions,
9 (a) "fsl,imx27-vpu" for CodaDx6 present in i.MX27
10 (b) "fsl,imx53-vpu" for CODA7541 present in i.MX53
11 (c) "fsl,imx6q-vpu" for CODA960 present in i.MX6q
12 - reg: should be register base and length as documented in the
16 - clocks : Should contain the ahb and per clocks, in the order
/linux-4.1.27/arch/arm/boot/dts/
Drk3288-evb-rk808.dts7 * This program is distributed in the hope that it will be useful,
67 regulator-off-in-suspend;
78 regulator-on-in-suspend;
88 regulator-on-in-suspend;
99 regulator-on-in-suspend;
111 regulator-on-in-suspend;
123 regulator-off-in-suspend;
134 regulator-on-in-suspend;
146 regulator-on-in-suspend;
158 regulator-on-in-suspend;
[all …]
/linux-4.1.27/arch/powerpc/boot/dts/
Dkmeter1.dts42 timebase-frequency = <0>; /* Filled in by U-Boot */
43 bus-frequency = <0>; /* Filled in by U-Boot */
44 clock-frequency = <0>; /* Filled in by U-Boot */
50 reg = <0 0>; /* Filled in by U-Boot */
60 bus-frequency = <0>; /* Filled in by U-Boot */
209 1 20 2 0 1 0 /* RxD0 (PB20, in, f1) */
210 1 21 2 0 1 0 /* RxD1 (PB21, in, f1) */
212 1 26 2 0 1 0 /* RX_DV (PB26, in, f1) */
213 1 27 2 0 1 0 /* RX_ER (PB27, in, f1) */
229 3 6 2 0 1 0 /* RxD0 (PD6, in, f1) */
[all …]
/linux-4.1.27/Documentation/kbuild/
Dmakefiles.txt11 --- 3.2 Built-in object goals - obj-y
15 --- 3.6 Descending down in directories
81 any built-in or modular targets.
115 kbuild infrastructure. This chapter introduces the syntax used in the
135 This tells kbuild that there is one object in that directory, named
144 $(CONFIG_FOO) evaluates to either y (for built-in) or m (for module).
148 --- 3.2 Built-in object goals - obj-y
151 in the $(obj-y) lists. These lists depend on the kernel
155 "$(LD) -r" to merge these files into one built-in.o file.
156 built-in.o is later linked into vmlinux by the parent Makefile.
[all …]
Dkbuild.txt5 This file records the order in which modules appear in Makefiles. This
20 will be used in all cases where kbuild does preprocessing including
25 Additional options to the assembler (for built-in and modules).
34 code for code that is compiled as built-in.
38 Additional options to the C compiler (for built-in and modules).
43 code that is compiled as built-in.
67 The directory can be specified in several ways:
71 The possibilities are listed in the order they take precedence.
92 directory name found in the arch/ directory.
102 CROSS_COMPILE is also used for ccache in some setups.
[all …]
/linux-4.1.27/drivers/pci/hotplug/
DKconfig13 When in doubt, say N.
27 When in doubt, say N.
35 system configuration options in NVRAM.
37 When in doubt, say N.
49 When in doubt, say N.
58 When in doubt, say N.
70 When in doubt, say N.
78 When in doubt, say N.
90 When in doubt, say N.
97 hotswap signal as a bit in a system register that can be read through
[all …]
/linux-4.1.27/Documentation/hid/
Dhiddev.txt60 This description should be read in conjunction with the HID
112 also returns the level the collection lives in the hierarchy.
113 The user passes in a hiddev_collection_info struct with the index
114 field set to the index that should be returned. The ioctl fills in
122 Gets a string descriptor from the device. The caller must fill in the
129 changes. Note that the use of this ioctl is unnecessary in general,
138 in order to selectively update the usage structures (in contrast to
143 be filled in by the user through HIDIOCSUSAGE calls (below) to fill in
144 individual usage values in the report before sending the report in full
148 Fills in a hiddev_report_info structure for the user. The report is
[all …]
/linux-4.1.27/drivers/firmware/efi/libstub/
Darm-stub.c359 efi_memory_desc_t *in, *prev = NULL, *out = runtime_map; in efi_get_virtmap() local
373 for (l = 0; l < map_size; l += desc_size, prev = in) { in efi_get_virtmap()
376 in = (void *)memory_map + l; in efi_get_virtmap()
377 if (!(in->attribute & EFI_MEMORY_RUNTIME)) in efi_get_virtmap()
380 paddr = in->phys_addr; in efi_get_virtmap()
381 size = in->num_pages * EFI_PAGE_SIZE; in efi_get_virtmap()
388 if (!regions_are_adjacent(prev, in) || in efi_get_virtmap()
389 !regions_have_compatible_memory_type_attrs(prev, in)) { in efi_get_virtmap()
391 paddr = round_down(in->phys_addr, SZ_64K); in efi_get_virtmap()
392 size += in->phys_addr - paddr; in efi_get_virtmap()
[all …]
/linux-4.1.27/drivers/hv/
Dhv_kvp.c235 struct hv_kvp_msg *in = in_msg; in process_ob_ipinfo() local
244 len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.ip_addr, in process_ob_ipinfo()
245 strlen((char *)in->body.kvp_ip_val.ip_addr), in process_ob_ipinfo()
252 len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.sub_net, in process_ob_ipinfo()
253 strlen((char *)in->body.kvp_ip_val.sub_net), in process_ob_ipinfo()
260 len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.gate_way, in process_ob_ipinfo()
261 strlen((char *)in->body.kvp_ip_val.gate_way), in process_ob_ipinfo()
268 len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.dns_addr, in process_ob_ipinfo()
269 strlen((char *)in->body.kvp_ip_val.dns_addr), in process_ob_ipinfo()
276 len = utf8s_to_utf16s((char *)in->body.kvp_ip_val.adapter_id, in process_ob_ipinfo()
[all …]
/linux-4.1.27/net/netfilter/ipvs/
DKconfig23 If you want to compile it in kernel, say Y. To compile it as a
40 Say Y here if you want to get additional messages useful in
42 level in /proc/sys/net/ipv4/vs/debug_level
52 in the hash table.
61 average lasting time of connection in the table. For example, your
63 for 200 seconds in average in the connection table, the table size
73 if IP VS was compiled built-in.
117 connections to different real servers in a round-robin manner.
119 If you want to compile it in kernel, say Y. To compile it as a
127 in a round-robin manner. Servers with higher weights receive
[all …]
/linux-4.1.27/net/ceph/crush/
Dmapper.c337 static int crush_bucket_choose(struct crush_bucket *in, int x, int r) in crush_bucket_choose() argument
339 dprintk(" crush_bucket_choose %d x=%d r=%d\n", in->id, x, r); in crush_bucket_choose()
340 BUG_ON(in->size == 0); in crush_bucket_choose()
341 switch (in->alg) { in crush_bucket_choose()
343 return bucket_uniform_choose((struct crush_bucket_uniform *)in, in crush_bucket_choose()
346 return bucket_list_choose((struct crush_bucket_list *)in, in crush_bucket_choose()
349 return bucket_tree_choose((struct crush_bucket_tree *)in, in crush_bucket_choose()
352 return bucket_straw_choose((struct crush_bucket_straw *)in, in crush_bucket_choose()
355 return bucket_straw2_choose((struct crush_bucket_straw2 *)in, in crush_bucket_choose()
358 dprintk("unknown bucket %d alg %d\n", in->id, in->alg); in crush_bucket_choose()
[all …]
/linux-4.1.27/Documentation/virtual/kvm/
Dmsr.txt19 in guest RAM. This memory is expected to hold a copy of the following
28 whose data will be filled in by the hypervisor. The hypervisor is only
35 An odd version indicates an in-progress update.
47 Availability of this MSR must be checked via bit 3 in 0x4000001 cpuid
52 data: 4-byte aligned physical address of a memory area which must be in
53 guest RAM, plus an enable bit in bit 0. This memory is expected to hold
67 whose data will be filled in by the hypervisor periodically. Only one
77 An odd version indicates an in-progress update.
109 flags: bits in this field indicate extended capabilities
111 of specific flags has to be checked in 0x40000001 cpuid leaf.
[all …]
Dapi.txt130 Parameters: struct kvm_msr_list (in/out)
133 E2BIG: the msr index list is to be to fit in the array specified by
137 __u32 nmsrs; /* number of msrs in entries */
143 user fills in the size of the indices array in nmsrs, and in return
144 kvm adjusts nmsrs to reflect the actual number of msrs and fills in
148 not returned in the MSR list, as different vcpus can have a different number
164 additional information in the integer return value.
176 Returns: size of vcpu mmap area, in bytes
188 Parameters: struct kvm_memory_region (in)
203 in the range [0, max_vcpus).
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/net/
Dethernet.txt6 the boot program; should be used in cases where the MAC address assigned to
9 - max-speed: number, specifies maximum speed in Mbit/s supported by the device;
11 the maximum frame size (there's contradiction in ePAPR).
16 - phy-connection-type: the same as "phy-mode" property but described in ePAPR;
18 device; this property is described in ePAPR and so preferred;
22 - rx-fifo-depth: the size of the controller's receive fifo in bytes. This
26 - tx-fifo-depth: the size of the controller's transmit fifo in bytes. This
29 "auto", "in-band-status". "auto" is the default, it usess MDIO for
34 They are described in the phy.txt file in this same directory.
Dstmmac.txt11 "eth_wake_irq" if this interrupt is supported in the "interrupts"
13 - phy-mode: See ethernet.txt file in the same directory.
17 The 1st cell is reset pre-delay in micro seconds.
18 The 2nd cell is reset pulse in micro seconds.
19 The 3rd cell is reset post-delay in micro seconds.
37 - max-frame-size: See ethernet.txt file in the same directory
40 clocks may be specified in derived bindings.
41 - clock-names: One name for each entry in the clocks property, the
43 - clk_ptp_ref: this is the PTP reference clock; in case of the PTP is
48 - tx-fifo-depth: See ethernet.txt file in the same directory
[all …]
/linux-4.1.27/Documentation/input/
Dedt-ft5x06.txt18 allows setting the "click"-threshold in the range from 20 to 80.
21 allows setting the sensitivity in the range from 0 to 31. Note that
25 allows setting the edge compensation in the range from 0 to 31.
28 allows setting the report rate in the range from 3 to 14.
31 For debugging purposes the driver provides a few files in the debug
32 filesystem (if available in the kernel). In /sys/kernel/debug/edt_ft5x06
36 (readonly) contains the number of sensor fields in X- and
42 possible to get the raw data from the sensor. Note that in factory
52 Note that reading raw_data gives a I/O error when the device is not in factory
54 device is not in regular operation mode.
/linux-4.1.27/Documentation/s390/
D3270.ChangeLog7 screen height to omit the two rows used for input area, in
8 tty3270_open() in tubtty.c.
12 so get input-area buffer dynamically when sizing the device in
13 tubmakemin() in tuball.c (if it's the console) or tty3270_open()
14 in tubtty.c (if needed). Change tubp->tty_input to be a
15 pointer rather than an array, in tubio.h.
18 * Do read and write lengths correctly in fs3270_read()
25 Modularize control-unit recognition in tuball.c by
30 in tubtty.c:ttu3270_bh().
/linux-4.1.27/Documentation/devicetree/bindings/pinctrl/
Dfsl,mxs-pinctrl.txt3 The pins controlled by mxs pin controller are organized in banks, each bank
13 Please refer to pinctrl-bindings.txt in this directory for details of the
21 actually tristates in this binding: unspecified, off, or on. Unspecified is
27 configurations, and it's called group node in the binding document. The other
29 different configuration than what is defined in group node. The binding
32 On mxs, there is no hardware pin group. The pin group in this binding only
33 means a group of pins put together for particular peripheral to work in
36 having these pins defined in several group nodes. It also means each of
37 "pinctrl-*" phandle in client device node should only have one group node
38 pointed in there, while the phandle can have multiple config node referenced
[all …]
Dqcom,pmic-mpp.txt3 This binding describes the MPP block(s) found in the 8xxx series
41 Please refer to pinctrl-bindings.txt in this directory for details of the
62 The following generic properties as defined in pinctrl-bindings.txt are valid
63 to specify in a pin configuration subnode:
68 Definition: List of MPP pins affected by the properties specified in
96 Valid values are 600, 10000 and 30000 in bidirectional mode
97 only, i.e. when operating in qcom,analog-mode and input and
99 when operating in other modes.
104 Definition: The specified pins will put in high-Z mode and disabled.
109 Definition: The specified pins are put in input mode, i.e. their input
[all …]
Dpinctrl-single.txt10 - pinctrl-single,register-width : pinmux register access width in bits
13 in the pinmux register
25 drive strength in the pinmux register. They're value of drive strength
32 input bias pullup in the pinmux register.
38 input bias pulldown in the pinmux register.
48 enable bit should be included in pullup or pulldown bits.
54 input schmitt in the pinmux register. In some silicons, there're two input
55 schmitt value (rising-edge & falling-edge) in the pinmux register.
61 configure input schmitt enable or disable in the pinmux register.
74 range. They're value of subnode phandle, pin base in pinctrl device, pin
[all …]
/linux-4.1.27/Documentation/cgroups/
Dblkio-controller.txt7 both at leaf nodes as well as at intermediate nodes in a storage hierarchy.
9 and based on user options switch IO policies in the background.
12 weight time based division of disk policy. It is implemented in CFQ. Hence
15 on devices. This policy is implemented in generic block layer and can be
22 You can do a very simple testing of running two dd threads in two different
28 - Enable group scheduling in CFQ
46 launch two dd threads in different cgroup to read those files.
62 much disk time (in milli seconds), each group got and how many secotors each
63 group dispatched to the disk. We provide fairness in terms of disk time, so
64 ideally io.disk_time of cgroups should be in proportion to the weight.
[all …]
Dcpusets.txt46 hierarchy visible in a virtual file system. These are the essential
50 Cpusets use the generic cgroup subsystem described in
54 include CPUs in its CPU affinity mask, and using the mbind(2) and
55 set_mempolicy(2) system calls to include Memory Nodes in its memory
57 CPUs or Memory Nodes not in that cpuset. The scheduler will not
58 schedule a task on a CPU that is not allowed in its cpus_allowed
60 node that is not allowed in the requesting task's mems_allowed vector.
62 User level code may create and destroy cpusets by name in the cgroup
102 leverages existing CPU and Memory Placement facilities in the Linux
121 - Each task in the system is attached to a cpuset, via a pointer
[all …]
Dcpuacct.txt9 directly present in its group.
16 visible at /sys/fs/cgroup. At bootup, this group includes all the tasks in
17 the system. /sys/fs/cgroup/tasks lists the tasks in this cgroup.
18 /sys/fs/cgroup/cpuacct.usage gives the CPU time (in nanoseconds) obtained
20 in the system.
30 can be obtained from g1/cpuacct.usage and the same is accumulated in
37 user: Time spent by tasks of the cgroup in user mode.
38 system: Time spent by tasks of the cgroup in kernel mode.
40 user and system are in USER_HZ unit.
Dcgroups.txt50 facilities provided by cgroups to treat groups of tasks in
56 A *hierarchy* is a set of cgroups arranged in a tree, such that
57 every task in the system is in exactly one of the cgroups in the
59 state attached to each cgroup in the hierarchy. Each hierarchy has
63 cgroups. Each hierarchy is a partition of all tasks in the system.
65 User-level code may create and destroy cgroups by name in an
74 accounting/limiting the resources which processes in a cgroup can
77 tasks in each cgroup.
82 There are multiple efforts to provide process aggregations in the
87 up in the same group (cgroup) as their parent process.
[all …]
/linux-4.1.27/Documentation/namespaces/
Dcompatibility-list.txt4 may have when creating tasks living in different namespaces.
8 in different other namespaces (the rows):
23 other task living in a different namespace via a shared filesystem
25 within the namespace it was obtained in and may refer to some
26 other object in another namespace.
28 2. Intentionally, two equal user IDs in different user namespaces
30 words, user 10 in one user namespace shouldn't have the same
31 access permissions to files, belonging to user 10 in another
/linux-4.1.27/Documentation/sysctl/
Dsunrpc.txt4 For general info and legal blurb, please look in README.
8 This file contains the documentation for the sysctl files in
11 The files in this directory can be used to (re)set the debug
12 flags of the SUN Remote Procedure Call (RPC) subsystem in
16 The files in there are used to control the debugging flags:
20 source code in net/sunrpc/ for more information.
/linux-4.1.27/drivers/block/drbd/
Ddrbd_vli.h146 static inline int vli_decode_bits(u64 *out, const u64 in) in vli_decode_bits() argument
152 if ((in & ((1 << b) -1)) == v) { \ in vli_decode_bits()
153 *out = ((in & ((~0ULL) >> (64-t))) >> b) + adj; \ in vli_decode_bits()
168 static inline int __vli_encode_bits(u64 *out, const u64 in) in __vli_encode_bits() argument
173 if (in == 0) in __vli_encode_bits()
178 if (in <= max) { \ in __vli_encode_bits()
180 *out = ((in - adj) << b) | v; \ in __vli_encode_bits()
340 static inline int vli_encode_bits(struct bitstream *bs, u64 in) in vli_encode_bits() argument
343 int bits = __vli_encode_bits(&code, in); in vli_encode_bits()
/linux-4.1.27/Documentation/devicetree/bindings/input/
Dqcom,pm8xxx-keypad.txt28 Definition: the linux keymap. More information can be found in
44 Definition: number of rows in the keymap. More information can be found
45 in input/matrix-keymap.txt.
50 Definition: number of columns in the keymap. More information can be
51 found in input/matrix-keymap.txt.
56 Definition: time in microseconds that key must be pressed or release
62 Definition: time in microseconds to pause between successive scans
68 Definition: time in nanoseconds to pause between scans of each row in
/linux-4.1.27/arch/arm/nwfpe/
DChangeLog7 * Only initialize FPE state once in repeat-FP situations. (6%)
27 overflow the available space in the task structure.
45 passes in a pointer to the FPE's state area. This is defined
49 below its area, which is bad, as the area is in the thread_struct
50 embedded in the process task structure. Thus we were scribbling
51 over one of the most important structures in the entire OS.
54 in the above code were dereferencing problems due to moving the
60 that occurs. It is controlled by init_flag in FPA11. The
61 comment in the code beside init_flag state the kernel guarantees
66 I now initialize the entire FPE state in the thread structure to
[all …]
/linux-4.1.27/drivers/scsi/
Dlibiscsi_tcp.c402 iscsi_segment_init_linear(&tcp_conn->in.segment, in iscsi_tcp_hdr_recv_prep()
403 tcp_conn->in.hdr_buf, sizeof(struct iscsi_hdr), in iscsi_tcp_hdr_recv_prep()
421 rc = iscsi_complete_pdu(conn, tcp_conn->in.hdr, in iscsi_tcp_data_recv_done()
422 conn->data, tcp_conn->in.datalen); in iscsi_tcp_data_recv_done()
440 iscsi_segment_init_linear(&tcp_conn->in.segment, in iscsi_tcp_data_recv_prep()
441 conn->data, tcp_conn->in.datalen, in iscsi_tcp_data_recv_prep()
487 struct iscsi_data_rsp *rhdr = (struct iscsi_data_rsp *)tcp_conn->in.hdr; in iscsi_tcp_data_in()
498 if (tcp_conn->in.datalen == 0) in iscsi_tcp_data_in()
510 if (tcp_task->data_offset + tcp_conn->in.datalen > total_in_length) { in iscsi_tcp_data_in()
513 tcp_conn->in.datalen, total_in_length); in iscsi_tcp_data_in()
[all …]
/linux-4.1.27/Documentation/filesystems/cifs/
DCHANGES9 have duplicated data). Fix oops in cifs_lookup. Workaround problem
10 mounting to OS/400 Netserve. Fix oops in cifs_get_tcp_session.
13 FindFirst fails but QPathInfo queries works). Fix oops with dfs in
19 Fix memory leak in reconnect. Fix oops in DFS mount error path.
42 Guard against buffer overruns in various UCS-2 to UTF-8 string conversions
70 Fix "redzone overwritten" bug in cifs_put_tcon (CIFSTcon may allocate too
81 top of the share. Fix problem in 2.6.28 resolving DFS paths to
84 removed directory. Fix oops in cifs_dfs_ref.c when prefixpath is not reachable
93 in a way that more servers accept, but only if we can first rename the
97 This reduces the number of EAGAIN errors returned by TCP/IP in
[all …]
/linux-4.1.27/Documentation/block/
Dbiodoc.txt1 Notes on the Generic Block Layer Rewrite in Linux 2.5
6 Suparna Bhattacharya <suparna@in.ibm.com>
14 These are some notes describing some aspects of the 2.5 block layer in the
18 Please mail corrections & suggestions to suparna@in.ibm.com.
38 while it was still work-in-progress:
58 2.2 The bio struct in detail (multi-page io unit)
59 2.3 Changes in the request structure
63 3.2.1 Traversing segments and completion units in a request
85 Let us discuss the changes in the context of how some overall goals for the
96 important especially in the light of ever improving hardware capabilities
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/memory-controllers/
Dingenic,jz4780-nemc.txt4 controller in Ingenic JZ4780
21 - reg: Should contain at least one register specifier, given in the following
31 - ingenic,nemc-bus-width: Specifies the bus width in bits. Defaults to 8 bits.
32 - ingenic,nemc-tAS: Address setup time in nanoseconds.
33 - ingenic,nemc-tAH: Address hold time in nanoseconds.
34 - ingenic,nemc-tBP: Burst pitch time in nanoseconds.
35 - ingenic,nemc-tAW: Access wait time in nanoseconds.
36 - ingenic,nemc-tSTRV: Static memory recovery time in nanoseconds.
38 If a child node references multiple banks in its "reg" property, the same value
42 given in the hardware reference manual, or a value configured by the boot
/linux-4.1.27/Documentation/devicetree/bindings/power/
Dbq2415x.txt19 from power supply in mA.
20 - ti,weak-battery-voltage: integer, weak battery voltage threshold in mV.
23 - ti,battery-regulation-voltage: integer, maximum charging voltage in mV.
24 - ti,charge-current: integer, maximum charging current in mA.
25 - ti,termination-current: integer, charge will be terminated when current in
26 constant-voltage phase drops below this value (in mA).
27 - ti,resistor-sense: integer, value of sensing resistor in milliohm.
/linux-4.1.27/include/linux/
Dauto_dev-ioctl.h80 } in; member
121 static inline void init_autofs_dev_ioctl(struct autofs_dev_ioctl *in) in init_autofs_dev_ioctl() argument
123 memset(in, 0, sizeof(struct autofs_dev_ioctl)); in init_autofs_dev_ioctl()
124 in->ver_major = AUTOFS_DEV_IOCTL_VERSION_MAJOR; in init_autofs_dev_ioctl()
125 in->ver_minor = AUTOFS_DEV_IOCTL_VERSION_MINOR; in init_autofs_dev_ioctl()
126 in->size = sizeof(struct autofs_dev_ioctl); in init_autofs_dev_ioctl()
127 in->ioctlfd = -1; in init_autofs_dev_ioctl()
/linux-4.1.27/Documentation/sound/alsa/
DAudiophile-Usb.txt45 * 16-bit/48kHz ==> 4 channels in + 4 channels out
47 * 24-bit/48kHz ==> 4 channels in + 2 channels out,
48 or 2 channels in + 4 channels out
50 * 24-bit/96kHz ==> 2 channels in _or_ 2 channels out (half duplex only)
57 - Note that in this setup only the Do interface can be enabled
62 - Enabling Di when no digital source is connected can result in a
66 2 - Audiophile USB MIDI support in ALSA
77 3 - Audiophile USB Audio support in ALSA
81 module. This module can work in a default mode (without any device-specific
82 parameter), or in an "advanced" mode with the device-specific parameter called
[all …]
/linux-4.1.27/sound/aoa/soundbus/i2sbus/
Dpcm.c19 static inline void get_pcm_info(struct i2sbus_dev *i2sdev, int in, in get_pcm_info() argument
22 if (in) { in get_pcm_info()
24 *pi = &i2sdev->in; in get_pcm_info()
31 *other = &i2sdev->in; in get_pcm_info()
73 static int i2sbus_pcm_open(struct i2sbus_dev *i2sdev, int in) in i2sbus_pcm_open() argument
89 get_pcm_info(i2sdev, in, &pi, &other); in i2sbus_pcm_open()
107 if (ti->transfer_in == in in i2sbus_pcm_open()
230 static int i2sbus_pcm_close(struct i2sbus_dev *i2sdev, int in) in i2sbus_pcm_close() argument
238 get_pcm_info(i2sdev, in, &pi, NULL); in i2sbus_pcm_close()
304 static inline int i2sbus_hw_free(struct snd_pcm_substream *substream, int in) in i2sbus_hw_free() argument
[all …]
/linux-4.1.27/Documentation/filesystems/caching/
Dcachefiles.txt38 reaping stale nodes and culling. This is called cachefilesd and lives in
44 filesystems are very specific in nature.
48 and whilst it is open, a cache is at least partially in existence. The daemon
66 available in the system and in the cache filesystem:
74 - bmap() support on files in the filesystem (FIBMAP ioctl).
86 The cache is configured by a script in /etc/cachefilesd.conf. These commands
108 Specify a tag to FS-Cache to use in distinguishing multiple caches.
113 Specify a numeric bitmask to control debugging in the kernel module.
166 Do not create, rename or unlink files and directories in the cache whilst the
169 Renaming files in the cache might make objects appear to be other objects (the
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/mips/cavium/
Dbootbus.txt23 The configuration parameters for each chip select are stored in child
32 - cavium,t-adr: A cell specifying the ADR timing (in nS).
34 - cavium,t-ce: A cell specifying the CE timing (in nS).
36 - cavium,t-oe: A cell specifying the OE timing (in nS).
38 - cavium,t-we: A cell specifying the WE timing (in nS).
40 - cavium,t-rd-hld: A cell specifying the RD_HLD timing (in nS).
42 - cavium,t-wr-hld: A cell specifying the WR_HLD timing (in nS).
44 - cavium,t-pause: A cell specifying the PAUSE timing (in nS).
46 - cavium,t-wait: A cell specifying the WAIT timing (in nS).
48 - cavium,t-page: A cell specifying the PAGE timing (in nS).
[all …]
/linux-4.1.27/drivers/scsi/aic7xxx/
DKconfig.aic79xx27 Due to resource allocation issues in the Linux SCSI mid-layer, using
28 a high number of commands per device may result in memory allocation
30 the default is set to 32. Higher values may result in higher performance
37 int "Initial bus reset delay in milli-seconds"
60 bool "Compile in Debugging Code"
64 Compile in aic79xx debugging code that can be useful in diagnosing
73 CONFIG_AIC79XX_DEBUG_ENABLE option is enabled. The bits in this mask
74 are defined in the drivers/scsi/aic7xxx/aic79xx.h - search for the
75 variable ahd_debug in that file to find them.
82 Compile in register value tables for the output of expanded register
[all …]
DKconfig.aic7xxx32 Due to resource allocation issues in the Linux SCSI mid-layer, using
33 a high number of commands per device may result in memory allocation
35 the default is set to 32. Higher values may result in higher performance
42 int "Initial bus reset delay in milli-seconds"
65 bool "Compile in Debugging Code"
69 Compile in aic7xxx debugging code that can be useful in diagnosing
78 CONFIG_AIC7XXX_DEBUG_ENABLE option is enabled. The bits in this mask
79 are defined in the drivers/scsi/aic7xxx/aic7xxx.h - search for the
80 variable ahc_debug in that file to find them.
87 Compile in register value tables for the output of expanded register
[all …]
/linux-4.1.27/ipc/
Dutil.c521 void kernel_to_ipc64_perm(struct kern_ipc_perm *in, struct ipc64_perm *out) in kernel_to_ipc64_perm() argument
523 out->key = in->key; in kernel_to_ipc64_perm()
524 out->uid = from_kuid_munged(current_user_ns(), in->uid); in kernel_to_ipc64_perm()
525 out->gid = from_kgid_munged(current_user_ns(), in->gid); in kernel_to_ipc64_perm()
526 out->cuid = from_kuid_munged(current_user_ns(), in->cuid); in kernel_to_ipc64_perm()
527 out->cgid = from_kgid_munged(current_user_ns(), in->cgid); in kernel_to_ipc64_perm()
528 out->mode = in->mode; in kernel_to_ipc64_perm()
529 out->seq = in->seq; in kernel_to_ipc64_perm()
540 void ipc64_perm_to_ipc_perm(struct ipc64_perm *in, struct ipc_perm *out) in ipc64_perm_to_ipc_perm() argument
542 out->key = in->key; in ipc64_perm_to_ipc_perm()
[all …]
/linux-4.1.27/Documentation/pcmcia/
Ddriver-changes.txt1 This file details changes in 2.6 which affect PCMCIA card driver authors:
6 in the callback function. The following autoconfiguration options
17 stored in struct pcmcia_device, e.g. in the fields config_flags,
36 in PCMCIA device drivers. Also, do not include pcmcia/cs_types.h, as
61 only interested in one (raw) tuple, or "pcmcia_loop_tuple()" if it is
62 interested in all tuples of one type. To decode the MAC from CISTPL_FUNCE,
69 pcmcia_parse_tuple directly in most if not all cases.
85 should be initialized in struct pcmcia_driver, and handle
88 * event handler initialization in struct pcmcia_driver (as of 2.6.13)
90 as the event() callback in the driver's struct pcmcia_driver.
[all …]
/linux-4.1.27/Documentation/w1/masters/
Dds249032 buffer, and strong pullup all in one command, instead of the current
40 conditions. If a bus search is in progress and the ds2490 is
46 - The ds2490 specification doesn't cover short bulk in reads in
49 clear the entire bulk in buffer. It would be possible to read the
51 bytes in the buffer is a logic error in the driver. The code should
57 with a OHCI controller, ds2490 running in the guest would operate
60 most of the time one of the bulk out or in, and usually the bulk in
61 would fail. qemu sets a 50ms timeout and the bulk in would timeout
65 reattaching would clear the problem. usbmon output in the guest and
66 host did not explain the problem. My guess is a bug in either qemu
/linux-4.1.27/Documentation/cpu-freq/
Dcpufreq-stats.txt2 CPU frequency and voltage scaling statistics in the Linux(TM) kernel
21 These statistics are provided in /sysfs as a bunch of read_only interfaces. This
22 interface (when configured) will appear in a separate directory under cpufreq
23 in /sysfs (<sysfs root>/devices/system/cpu/cpuX/cpufreq/stats/) for each CPU.
32 cpufreq stats provides following statistics (explained in detail below).
53 This gives the amount of time spent in each of the frequencies supported by
54 this CPU. The cat output will have "<frequency> <time>" pair in each line, which
57 is 10mS (similar to other time exported in /proc).
83 Freq_i to Freq_j. Freq_i is in descending order with increasing rows and
84 Freq_j is in descending order with increasing columns. The output here also
[all …]
Damd-powernow.txt3 management capabilities in AMD processors. As the hardware
4 implementation changes in new generations of the processors,
8 so it is safe to try each driver in turn when in doubt as to
12 is not available in all processors. The drivers will refuse
26 Documentation on this functionality in 8th generation processors
27 is available in the "BIOS and Kernel Developer's Guide", publication
28 26094, in chapter 9, available for download from www.amd.com.
/linux-4.1.27/drivers/ssb/
Dpci.c88 u32 in, out, outenable; in ssb_pci_xtal() local
94 err = pci_read_config_dword(bus->host_pci, SSB_GPIO_IN, &in); in ssb_pci_xtal()
111 if (!(in & SSB_GPIO_XTAL)) { in ssb_pci_xtal()
173 out->_outvar = ((in[SPOFF(_offset)] & (_mask)) >> (_shift))
175 out->_outvar = ((((u32)in[SPOFF((_offset)+2)] << 16 | \
176 in[SPOFF(_offset)]) & (_mask)) >> (_shift))
233 static void sprom_get_mac(char *mac, const u16 *in) in sprom_get_mac() argument
237 *mac++ = in[i] >> 8; in sprom_get_mac()
238 *mac++ = in[i]; in sprom_get_mac()
329 static s8 sprom_extract_antgain(u8 sprom_revision, const u16 *in, u16 offset, in sprom_extract_antgain() argument
[all …]
/linux-4.1.27/fs/
Dsplice.c306 __generic_file_splice_read(struct file *in, loff_t *ppos, in __generic_file_splice_read() argument
310 struct address_space *mapping = in->f_mapping; in __generic_file_splice_read()
346 page_cache_sync_readahead(mapping, &in->f_ra, in, in __generic_file_splice_read()
403 page_cache_async_readahead(mapping, &in->f_ra, in, in __generic_file_splice_read()
441 error = mapping->a_ops->readpage(in, page); in __generic_file_splice_read()
499 in->f_ra.prev_pos = (loff_t)index << PAGE_CACHE_SHIFT; in __generic_file_splice_read()
522 ssize_t generic_file_splice_read(struct file *in, loff_t *ppos, in generic_file_splice_read() argument
529 if (IS_DAX(in->f_mapping->host)) in generic_file_splice_read()
530 return default_file_splice_read(in, ppos, pipe, len, flags); in generic_file_splice_read()
532 isize = i_size_read(in->f_mapping->host); in generic_file_splice_read()
[all …]
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-firmware-dmi7 information is often valuable to userland, especially in
11 information in these tables being correct. It equally
32 'T' in the DMI tables (adjacent or spread apart, it
33 doesn't matter), they will be represented in sysfs as
44 Instance numbers are used in lieu of the firmware
47 there are likely firmware images that get this wrong in
50 Each DMI entry in sysfs has the common header values
56 length : The length of the entry, as presented in the
64 by a two nul characters in series.
70 as found in the directory name. It indicates
[all …]
Dsysfs-class-backlight-driver-lm35336 Get the ALS output channel used as input in
43 bit 5 - PWM-input enabled in Zone 4
44 bit 4 - PWM-input enabled in Zone 3
45 bit 3 - PWM-input enabled in Zone 2
46 bit 2 - PWM-input enabled in Zone 1
47 bit 1 - PWM-input enabled in Zone 0
/linux-4.1.27/drivers/staging/gdm724x/
DTODO6 - Check for skb->len in gdm_lte_emulate_arp()
7 - Use ALIGN() macro for dummy_cnt in up_to_host()
8 - Error handling in init_usb()
9 - Explain reason for multiples of 512 bytes in alloc_tx_struct()
11 - No error checking for alloc_tx_struct in do_tx()
/linux-4.1.27/drivers/cpufreq/
DKconfig.x8616 If in doubt, say N.
30 If in doubt, say N.
46 If in doubt, say N.
58 entry in addition to the new boost ones, for compatibility reasons.
68 If in doubt, say N.
78 parameter: elanfreq=maxspeed (in kHz) or as module
83 If in doubt, say N.
93 If in doubt, say N.
105 If in doubt, say N.
115 If in doubt, say N.
[all …]
DKconfig.arm37 If in doubt, say N.
48 If in doubt, say N.
59 If in doubt, say N.
70 If in doubt, say N.
85 If in doubt, say N.
99 If in doubt, say N.
109 If in doubt, say N.
118 If in doubt, say N.
128 If in doubt, say N.
136 If in doubt, say Y.
[all …]
/linux-4.1.27/arch/mips/netlogic/
DKconfig5 bool "Built-in device tree for XLP EVP boards"
10 This DTB will be used if the firmware does not pass in a DTB
15 bool "Built-in device tree for XLP SVP boards"
20 This DTB will be used if the firmware does not pass in a DTB
25 bool "Built-in device tree for XLP FVP boards"
30 This DTB will be used if the firmware does not pass in a DTB
35 bool "Built-in device tree for XLP GVP boards"
40 This DTB will be used if the firmware does not pass in a DTB
45 bool "Built-in device tree for XLP RVP boards"
49 This DTB will be used if the firmware does not pass in a DTB
/linux-4.1.27/Documentation/RCU/
Dstallwarn.txt47 However, if the offending CPU does not detect its own stall in
58 in jiffies. An RCU-tasks stall warning starts wtih the line:
89 CPUs -and- tasks, in which case the offending CPUs and tasks will all
90 be called out in the list.
97 This is rare, but does happen from time to time in real life. It is also
98 possible for a zero-jiffy stall to be flagged in this case, depending
127 in dyntick-idle mode and an odd-numbered value otherwise. The hex
129 be a small positive number if in the idle loop and a very large positive
137 example, if the CPU might have been in dyntick-idle mode for an extended
142 the stalled CPU is spinning with interrupts are disabled, or, in -rt
[all …]
/linux-4.1.27/Documentation/arm/Samsung-S3C24XX/
DOverview.txt21 support for these SoCs is in, work on some of the extra peripherals
39 The core support files are located in the platform code contained in
40 arch/arm/plat-s3c24xx with headers in include/asm-arm/plat-s3c24xx.
46 in arch/arm/mach-s3c2410 and S3C2440 in arch/arm/mach-s3c2440
48 Register, kernel and platform data definitions are held in the
53 Files in here are either common to all the s3c24xx family,
56 with the initial cpu they support in the series to ensure a short
60 with the s3c2443 which does not share many of the same drivers in
106 Handheld (IPAQ), available in several varieties
132 be configured for it in one kernel build, and any future additions
[all …]
/linux-4.1.27/arch/blackfin/
DKconfig.debug23 you enable this, you will find all MMRs laid out in the
34 at a slight cost in code size, but is necessary if you are getting
45 signal to be killed. If you are getting HW errors in your system,
56 handler, the NMI handler, the reset vector, or in emulator mode,
60 instruction address is stored in RETX, where the next kernel
93 Say Y here to catch reads/writes to anywhere in the memory range
94 from 0x0000 - 0x0FFF (the first 4k) of memory. This is useful in
100 Enabling this option will take up an extra entry in CPLB table.
108 16 changes in program flow taken by the program sequencer. The history
120 The trace buffer can be configured to omit recording of changes in
[all …]
/linux-4.1.27/Documentation/trace/
Dtracepoints.txt7 provides examples of how to insert tracepoints in the kernel and
14 A tracepoint placed in code provides a hook to call a function (probe)
20 and adds a data structure in a separate section). When a tracepoint
22 is executed, in the execution context of the caller. When the function
26 You can put tracepoints at important locations in the code. They are
28 which prototypes are described in a tracepoint declaration placed in a
38 - A tracepoint definition, placed in a header file.
39 - The tracepoint statement, in C code.
84 - TP_ARGS(firstarg, p) are the parameters names, same as found in the
87 - if you use the header in multiple source files, #define CREATE_TRACE_POINTS
[all …]
/linux-4.1.27/drivers/net/wireless/iwlegacy/
DKconfig27 The microcode is typically installed in /lib/firmware. You can
28 look in the hotplug script /etc/hotplug/firmware.agent to
33 inserted in and removed from the running kernel whenever you want),
53 The microcode is typically installed in /lib/firmware. You can
54 look in the hotplug script /etc/hotplug/firmware.agent to
59 inserted in and removed from the running kernel whenever you want),
67 bool "Enable full debugging output in iwlegacy (iwl 3945/4965) drivers"
73 This will result in the kernel module being ~100k larger. You can
75 value in
85 You can find the list of debug mask values in:
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/arm/samsung/
Dexynos-adc.txt20 the ADC in Exynos7 and compatibles
22 the ADC in s3c2410 and compatibles
24 the ADC in s3c2416 and compatibles
26 the ADC in s3c2440 and compatibles
28 the ADC in s3c2443 and compatibles
30 the ADC in s3c6410 and compatibles
40 in "clock-names" property, in the same order.
53 Example: adding device info in dtsi file
69 Example: adding device info in dtsi file for Exynos3250 with additional sclk
85 Example: Adding child nodes in dts file
/linux-4.1.27/Documentation/device-mapper/
Ddm-service-time.txt9 of in-flight I/Os on a path with the performance value of the path.
11 in a path-group, and it can be specified as a table argument.
21 among all paths in the path-group.
27 Status for each path: <status> <fail-count> <in-flight-size> \
31 <in-flight-size>: The size of in-flight I/Os on the path.
33 among all paths in the path-group.
39 dm-service-time adds the I/O size to 'in-flight-size' when the I/O is
44 ('in-flight-size' + 'size-of-incoming-io') / 'relative_throughput'
50 the division and just compare the 'in-flight-size'.
52 2. If the paths have the same 'in-flight-size', skip the division
/linux-4.1.27/Documentation/filesystems/nfs/
Drpc-cache.txt2 mechanisms in the sunrpc layer that is used, in particular,
10 There are a number of caches that are similar in structure though
11 quite possibly very different in content and use. There is a corpus
27 items after they expire, and are no longer in-use.
28 - making requests to user-space to fill in cache entries
29 - allowing user-space to directly set entries in the cache
38 1/ A cache needs a datum to store. This is in the form of a
44 expiry and update times for use in cache management.
57 in the cache_head. cache_put should release any
63 test if the keys in the two structures match. Return
[all …]
/linux-4.1.27/Documentation/devicetree/bindings/dma/
Dmpc512x-dma.txt3 The DMA controller in Freescale MPC512x and MPC8308 SoCs can move
7 Refer to "Generic DMA Controller and DMA request bindings" in
14 is described in interrupt-controller/interrupts.txt file.
17 the assignment is fixed in hardware. This one cell
18 in dmas property of a client device represents the channel number.
29 DMA clients must use the format described in dma/dma.txt file.
/linux-4.1.27/Documentation/devicetree/bindings/regulator/
Dregulator.txt14 - regulator-ramp-delay: ramp delay for regulator(in uV/uS)
17 - regulator-enable-ramp-delay: The time taken, in microseconds, for the supply
23 : suspend to memory, the device goes to sleep, but all data stored in memory,
29 - regulator-on-in-suspend: regulator should be on in suspend state.
30 - regulator-off-in-suspend: regulator should be off in suspend state.
32 in suspend.
33 - regulator-mode: operating mode in the given suspend state.
57 regulator-on-in-suspend;
67 These are the same bindings that a regulator in the above
68 example used to reference its own supply, in which case
/linux-4.1.27/Documentation/devicetree/bindings/iommu/
Diommu.txt40 - #iommu-cells: The number of cells in an IOMMU specifier needed to encode an
47 therefore no additional information needs to be encoded in the specifier.
50 be multi-master yet only expose a single master in a given configuration.
51 In such cases the number of cells will usually be 1 as in the next case.
53 in order to enable translation for a given master. In such cases the single
57 be configured. The first cell of the address in this may contain the master
76 master interfaces of the device. One entry in the list describes one master
79 When an "iommus" property is specified in a device tree node, the IOMMU will
80 be used for address translation. If a "dma-ranges" property exists in the
82 referenced IOMMU is disabled, in which case the "dma-ranges" property of the
[all …]
/linux-4.1.27/Documentation/power/powercap/
Dpowercap.txt6 user space in a uniform way.
10 The framework exposes power capping devices to user space via sysfs in the
20 well as controls represented in the form of power constraints. If the parts of
23 controls), those power zones may also be organized in a hierarchy with one
146 The above example illustrates a case in which the Intel RAPL technology,
147 available in Intel® IA-64 and IA-32 Processor Architectures, is used. There is one
154 to be applied (the constraints in the 'package' power zones apply to the whole
185 energy_uj (rw): Current energy counter in micro joules. Write "0" to reset.
188 max_energy_range_uj (ro): Range of the above energy counter in micro-joules.
190 power_uw (ro): Current power in micro watts.
[all …]
/linux-4.1.27/Documentation/power/
Dpci.txt28 devices into states in which they draw less power (low-power states) at the
38 PCI devices may be put into low-power states in two ways, by using the device
42 in what follows, the device power state is changed as a result of writing a
65 Thus in many situations both the native and the platform-based power management
77 Spec, it has an 8 byte power management capability field in its PCI
83 in that state. However, the higher the number, the longer the latency for
89 are in when the supply voltage (Vcc) is removed from them. It is not possible
91 interface for putting the bus the device is on into a state in which Vcc is
97 Note that every PCI device can be in the full-power state (D0) or in D3cold,
103 supported low-power states (except for D3cold). While in D1-D3hot the
[all …]
/linux-4.1.27/Documentation/vm/
Dunevictable-lru.txt30 - Page reclaim in shrink_*_list().
43 implementation. The latter design rationale is discussed in the context of an
56 reclaim in Linux. The problems have been observed at customer sites on large
60 main memory will have over 32 million 4k pages in a single zone. When a large
63 of pages that are evictable. This can result in a situation where all CPUs are
64 spending 100% of their time in vmscan for hours or days on end, with the system
76 unevictable, either by definition or by circumstance, in the future.
87 PG_active flag in that it indicates on which LRU list a page resides when
93 (1) We get to "treat unevictable pages just like we treat other pages in the
109 in fact, evictable.
[all …]
/linux-4.1.27/Documentation/acpi/apei/
Deinj.txt5 for debugging and testing APEI and RAS features in general.
15 Alternatively, look in /sys/firmware/acpi/tables for an "EINJ" file,
21 or similar. Often, you need to enable an ACPI5 support option prior, in
25 To use EINJ, make sure the following are options enabled in your kernel
32 The EINJ user interface is in <debugfs mount point>/apei/einj.
61 are defined in the file available_error_type above.
73 injection. Value is a bitmask as specified in ACPI5.0 spec for the
86 depends on the error type specified in error_type. For example, if
98 Used when the 0x1 bit is set in "flags" to specify the APIC id
101 Used when the 0x4 bit is set in "flags" to specify target PCIe device
[all …]
/linux-4.1.27/arch/mips/sgi-ip27/
DKconfig10 in either N-Modes which allows for more nodes or M-Mode which allows
11 for more memory. Your hardware is almost certainly running in
18 in either N-Modes which allows for more nodes or M-Mode which allows
19 for more memory. Your hardware is almost certainly running in
29 machine. This is required in order to support text replication on
38 nodes in a NUMA cluster. This trades memory for speed.
45 across multiple nodes in a NUMA cluster. This trades memory for
/linux-4.1.27/Documentation/crypto/
Ddescore-readme.txt12 This program is distributed in the hope that it will be useful,
38 To more rapidly understand the code in this package, inspect desSmallFips.i
40 up in a parameterized fashion so it can easily be modified by speed-daemon
41 hackers in pursuit of that last microsecond. You will find it more
43 and then move on to the common abstract skeleton with this one in mind.
56 since i was interested in fast des filters rather than crypt(3)
58 the key setting routine. also, i have no interest in re-implementing
59 all the other junk in the mit kerberos des library, so i've just
61 used as drop-in replacements with mit's code or any of the mit-
73 in full gory detail (ALT_ECB is a libdes variant):
[all …]

12345678910>>...26