Home
last modified time | relevance | path

Searched refs:pad (Results 1 – 200 of 718) sorted by relevance

1234

/linux-4.4.14/drivers/net/wireless/b43/
Dtables_lpphy.c1083 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 152, },
1084 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 147, },
1085 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 143, },
1086 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 139, },
1087 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 135, },
1088 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 131, },
1089 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 128, },
1090 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 124, },
1091 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 121, },
1092 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 117, },
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
Dpad.c27 nvkm_i2c_pad_mode_locked(struct nvkm_i2c_pad *pad, enum nvkm_i2c_pad_mode mode) in nvkm_i2c_pad_mode_locked() argument
29 PAD_TRACE(pad, "-> %s", (mode == NVKM_I2C_PAD_AUX) ? "aux" : in nvkm_i2c_pad_mode_locked()
31 if (pad->func->mode) in nvkm_i2c_pad_mode_locked()
32 pad->func->mode(pad, mode); in nvkm_i2c_pad_mode_locked()
36 nvkm_i2c_pad_mode(struct nvkm_i2c_pad *pad, enum nvkm_i2c_pad_mode mode) in nvkm_i2c_pad_mode() argument
38 PAD_TRACE(pad, "mode %d", mode); in nvkm_i2c_pad_mode()
39 mutex_lock(&pad->mutex); in nvkm_i2c_pad_mode()
40 nvkm_i2c_pad_mode_locked(pad, mode); in nvkm_i2c_pad_mode()
41 pad->mode = mode; in nvkm_i2c_pad_mode()
42 mutex_unlock(&pad->mutex); in nvkm_i2c_pad_mode()
[all …]
Danx9805.c38 struct anx9805_pad *pad; member
46 struct anx9805_pad *pad = bus->pad; in anx9805_bus_xfer() local
47 struct i2c_adapter *adap = &pad->bus->i2c; in anx9805_bus_xfer()
53 tmp = nvkm_rdi2cr(adap, pad->addr, 0x07) & ~0x10; in anx9805_bus_xfer()
54 nvkm_wri2cr(adap, pad->addr, 0x07, tmp | 0x10); in anx9805_bus_xfer()
55 nvkm_wri2cr(adap, pad->addr, 0x07, tmp); in anx9805_bus_xfer()
106 struct anx9805_pad *pad = anx9805_pad(base); in anx9805_bus_new() local
113 bus->pad = pad; in anx9805_bus_new()
115 ret = nvkm_i2c_bus_ctor(&anx9805_bus_func, &pad->base, id, &bus->base); in anx9805_bus_new()
119 switch (pad->addr) { in anx9805_bus_new()
[all …]
Dbase.c38 struct nvkm_i2c_pad *pad; in nvkm_i2c_pad_find() local
40 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_pad_find()
41 if (pad->id == id) in nvkm_i2c_pad_find()
42 return pad; in nvkm_i2c_pad_find()
162 struct nvkm_i2c_pad *pad; in nvkm_i2c_fini() local
170 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_fini()
171 nvkm_i2c_pad_fini(pad); in nvkm_i2c_fini()
182 struct nvkm_i2c_pad *pad; in nvkm_i2c_init() local
184 list_for_each_entry(pad, &i2c->pad, head) { in nvkm_i2c_init()
185 nvkm_i2c_pad_init(pad); in nvkm_i2c_init()
[all …]
Daux.c86 struct nvkm_i2c_pad *pad = aux->pad; in nvkm_i2c_aux_monitor() local
89 nvkm_i2c_pad_mode(pad, NVKM_I2C_PAD_AUX); in nvkm_i2c_aux_monitor()
91 nvkm_i2c_pad_mode(pad, NVKM_I2C_PAD_OFF); in nvkm_i2c_aux_monitor()
97 struct nvkm_i2c_pad *pad = aux->pad; in nvkm_i2c_aux_release() local
99 nvkm_i2c_pad_release(pad); in nvkm_i2c_aux_release()
106 struct nvkm_i2c_pad *pad = aux->pad; in nvkm_i2c_aux_acquire() local
110 ret = nvkm_i2c_pad_acquire(pad, NVKM_I2C_PAD_AUX); in nvkm_i2c_aux_acquire()
146 struct nvkm_i2c_pad *pad, int id, in nvkm_i2c_aux_ctor() argument
149 struct nvkm_device *device = pad->i2c->subdev.device; in nvkm_i2c_aux_ctor()
152 aux->pad = pad; in nvkm_i2c_aux_ctor()
[all …]
Dbus.c118 struct nvkm_i2c_pad *pad = bus->pad; in nvkm_i2c_bus_release() local
120 nvkm_i2c_pad_release(pad); in nvkm_i2c_bus_release()
127 struct nvkm_i2c_pad *pad = bus->pad; in nvkm_i2c_bus_acquire() local
131 ret = nvkm_i2c_pad_acquire(pad, NVKM_I2C_PAD_I2C); in nvkm_i2c_bus_acquire()
190 struct nvkm_i2c_pad *pad, int id, in nvkm_i2c_bus_ctor() argument
193 struct nvkm_device *device = pad->i2c->subdev.device; in nvkm_i2c_bus_ctor()
203 bus->pad = pad; in nvkm_i2c_bus_ctor()
206 list_add_tail(&bus->head, &pad->i2c->bus); in nvkm_i2c_bus_ctor()
239 struct nvkm_i2c_pad *pad, int id, in nvkm_i2c_bus_new_() argument
244 return nvkm_i2c_bus_ctor(func, pad, id, *pbus); in nvkm_i2c_bus_new_()
Dbusnv50.c39 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv50_i2c_bus_drive_scl()
49 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv50_i2c_bus_drive_sda()
59 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv50_i2c_bus_sense_scl()
67 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv50_i2c_bus_sense_sda()
75 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv50_i2c_bus_init()
90 nv50_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, in nv50_i2c_bus_new() argument
101 nvkm_warn(&pad->i2c->subdev, "bus %d unknown\n", drive); in nv50_i2c_bus_new()
109 nvkm_i2c_bus_ctor(&nv50_i2c_bus_func, pad, id, &bus->base); in nv50_i2c_bus_new()
Dbusgf119.c36 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in gf119_i2c_bus_drive_scl()
44 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in gf119_i2c_bus_drive_sda()
52 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in gf119_i2c_bus_sense_scl()
60 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in gf119_i2c_bus_sense_sda()
68 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in gf119_i2c_bus_init()
83 gf119_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, in gf119_i2c_bus_new() argument
92 nvkm_i2c_bus_ctor(&gf119_i2c_bus_func, pad, id, &bus->base); in gf119_i2c_bus_new()
Dbusnv4e.c36 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv4e_i2c_bus_drive_scl()
44 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv4e_i2c_bus_drive_sda()
52 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv4e_i2c_bus_sense_scl()
60 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv4e_i2c_bus_sense_sda()
74 nv4e_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, in nv4e_i2c_bus_new() argument
83 nvkm_i2c_bus_ctor(&nv4e_i2c_bus_func, pad, id, &bus->base); in nv4e_i2c_bus_new()
Dbusnv04.c39 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv04_i2c_bus_drive_scl()
50 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv04_i2c_bus_drive_sda()
61 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv04_i2c_bus_sense_scl()
69 struct nvkm_device *device = bus->base.pad->i2c->subdev.device; in nv04_i2c_bus_sense_sda()
83 nv04_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, u8 sense, in nv04_i2c_bus_new() argument
92 nvkm_i2c_bus_ctor(&nv04_i2c_bus_func, pad, id, &bus->base); in nv04_i2c_bus_new()
Dpadgm204.c29 gm204_i2c_pad_mode(struct nvkm_i2c_pad *pad, enum nvkm_i2c_pad_mode mode) in gm204_i2c_pad_mode() argument
31 struct nvkm_subdev *subdev = &pad->i2c->subdev; in gm204_i2c_pad_mode()
33 const u32 base = (pad->id - NVKM_I2C_PAD_HYBRID(0)) * 0x50; in gm204_i2c_pad_mode()
Dpadg94.c29 g94_i2c_pad_mode(struct nvkm_i2c_pad *pad, enum nvkm_i2c_pad_mode mode) in g94_i2c_pad_mode() argument
31 struct nvkm_subdev *subdev = &pad->i2c->subdev; in g94_i2c_pad_mode()
33 const u32 base = (pad->id - NVKM_I2C_PAD_HYBRID(0)) * 0x50; in g94_i2c_pad_mode()
Dauxg94.c35 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in g94_i2c_aux_fini()
42 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in g94_i2c_aux_init()
80 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in g94_i2c_aux_xfer()
168 g94_i2c_aux_new(struct nvkm_i2c_pad *pad, int index, u8 drive, in g94_i2c_aux_new() argument
177 nvkm_i2c_aux_ctor(&g94_i2c_aux_func, pad, index, &aux->base); in g94_i2c_aux_new()
Dauxgm204.c35 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in gm204_i2c_aux_fini()
42 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in gm204_i2c_aux_init()
80 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in gm204_i2c_aux_xfer()
168 gm204_i2c_aux_new(struct nvkm_i2c_pad *pad, int index, u8 drive, in gm204_i2c_aux_new() argument
177 nvkm_i2c_aux_ctor(&gm204_i2c_aux_func, pad, index, &aux->base); in gm204_i2c_aux_new()
/linux-4.4.14/drivers/pinctrl/qcom/
Dpinctrl-spmi-mpp.c187 struct pmic_mpp_pad *pad, unsigned int addr) in pmic_mpp_read() argument
192 ret = regmap_read(state->map, pad->base + addr, &val); in pmic_mpp_read()
202 struct pmic_mpp_pad *pad, unsigned int addr, in pmic_mpp_write() argument
207 ret = regmap_write(state->map, pad->base + addr, val); in pmic_mpp_write()
265 struct pmic_mpp_pad *pad) in pmic_mpp_write_mode_ctl() argument
272 switch (pad->function) { in pmic_mpp_write_mode_ctl()
274 if (pad->input_enabled && pad->output_enabled) in pmic_mpp_write_mode_ctl()
276 else if (pad->input_enabled) in pmic_mpp_write_mode_ctl()
282 if (pad->input_enabled && pad->output_enabled) in pmic_mpp_write_mode_ctl()
284 else if (pad->input_enabled) in pmic_mpp_write_mode_ctl()
[all …]
Dpinctrl-spmi-gpio.c167 struct pmic_gpio_pad *pad, unsigned int addr) in pmic_gpio_read() argument
172 ret = regmap_read(state->map, pad->base + addr, &val); in pmic_gpio_read()
182 struct pmic_gpio_pad *pad, unsigned int addr, in pmic_gpio_write() argument
187 ret = regmap_write(state->map, pad->base + addr, val); in pmic_gpio_write()
247 struct pmic_gpio_pad *pad; in pmic_gpio_set_mux() local
251 pad = pctldev->desc->pins[pin].drv_data; in pmic_gpio_set_mux()
253 pad->function = function; in pmic_gpio_set_mux()
256 if (pad->output_enabled) { in pmic_gpio_set_mux()
257 if (pad->input_enabled) in pmic_gpio_set_mux()
264 val |= pad->function << PMIC_GPIO_REG_MODE_FUNCTION_SHIFT; in pmic_gpio_set_mux()
[all …]
/linux-4.4.14/drivers/media/v4l2-core/
Dv4l2-subdev.c38 fh->pad = kzalloc(sizeof(*fh->pad) * sd->entity.num_pads, GFP_KERNEL); in subdev_fh_init()
39 if (fh->pad == NULL) in subdev_fh_init()
48 kfree(fh->pad); in subdev_fh_free()
49 fh->pad = NULL; in subdev_fh_free()
136 if (format->pad >= sd->entity.num_pads) in check_format()
148 if (crop->pad >= sd->entity.num_pads) in check_crop()
161 if (sel->pad >= sd->entity.num_pads) in check_selection()
169 if (edid->pad >= sd->entity.num_pads) in check_edid()
264 return v4l2_subdev_call(sd, pad, get_fmt, subdev_fh->pad, format); in subdev_do_ioctl()
274 return v4l2_subdev_call(sd, pad, set_fmt, subdev_fh->pad, format); in subdev_do_ioctl()
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/net/
Dmicrel-ksz90x1.txt19 - rxc-skew-ps : Skew control of RXC pad
20 - rxdv-skew-ps : Skew control of RX CTL pad
21 - txc-skew-ps : Skew control of TXC pad
22 - txen-skew-ps : Skew control of TX CTL pad
23 - rxd0-skew-ps : Skew control of RX data 0 pad
24 - rxd1-skew-ps : Skew control of RX data 1 pad
25 - rxd2-skew-ps : Skew control of RX data 2 pad
26 - rxd3-skew-ps : Skew control of RX data 3 pad
27 - txd0-skew-ps : Skew control of TX data 0 pad
28 - txd1-skew-ps : Skew control of TX data 1 pad
[all …]
/linux-4.4.14/net/mac80211/
Daes_cmac.c26 static void gf_mulx(u8 *pad) in gf_mulx() argument
30 carry = pad[0] & 0x80; in gf_mulx()
32 pad[i] = (pad[i] << 1) | (pad[i + 1] >> 7); in gf_mulx()
33 pad[AES_BLOCK_SIZE - 1] <<= 1; in gf_mulx()
35 pad[AES_BLOCK_SIZE - 1] ^= 0x87; in gf_mulx()
42 u8 cbc[AES_BLOCK_SIZE], pad[AES_BLOCK_SIZE]; in aes_cmac_vector() local
71 memset(pad, 0, AES_BLOCK_SIZE); in aes_cmac_vector()
72 crypto_cipher_encrypt_one(tfm, pad, pad); in aes_cmac_vector()
73 gf_mulx(pad); in aes_cmac_vector()
85 gf_mulx(pad); in aes_cmac_vector()
[all …]
/linux-4.4.14/drivers/input/joystick/
Dmaplecontrol.c30 struct dc_pad *pad = maple_get_drvdata(mapledev); in dc_pad_callback() local
31 struct input_dev *dev = pad->dev; in dc_pad_callback()
64 struct dc_pad *pad = dev_get_platdata(&dev->dev); in dc_pad_open() local
66 maple_getcond_callback(pad->mdev, dc_pad_callback, HZ/20, in dc_pad_open()
74 struct dc_pad *pad = dev_get_platdata(&dev->dev); in dc_pad_close() local
76 maple_getcond_callback(pad->mdev, dc_pad_callback, 0, in dc_pad_close()
100 struct dc_pad *pad; in probe_maple_controller() local
104 pad = kzalloc(sizeof(struct dc_pad), GFP_KERNEL); in probe_maple_controller()
106 if (!pad || !idev) { in probe_maple_controller()
111 pad->dev = idev; in probe_maple_controller()
[all …]
Dgamecon.c377 struct gc_pad *pad; in gc_nes_process_packet() local
389 pad = &gc->pads[i]; in gc_nes_process_packet()
390 dev = pad->dev; in gc_nes_process_packet()
393 switch (pad->type) { in gc_nes_process_packet()
490 struct gc_pad *pad; in gc_multi_process_packet() local
497 pad = &gc->pads[i]; in gc_multi_process_packet()
498 dev = pad->dev; in gc_multi_process_packet()
501 switch (pad->type) { in gc_multi_process_packet()
581 struct gc_pad *pad = &gc->pads[j]; in gc_psx_command() local
583 if (pad->type == GC_PSX || pad->type == GC_DDR) in gc_psx_command()
[all …]
Dadi.c117 signed char pad; member
233 if (i == adi->pad) { in adi_decode()
388 adi->pad = 4; in adi_id_decode()
392 adi->pad = 0; in adi_id_decode()
396 adi->pad = -1; in adi_id_decode()
435 for (i = 0; i < adi->axes10 + adi->axes8 + (adi->hats + (adi->pad != -1)) * 2; i++) in adi_init_input()
451 for (i = 0; i < adi->axes10 + adi->axes8 + (adi->hats + (adi->pad != -1)) * 2; i++) { in adi_init_center()
/linux-4.4.14/fs/ext4/
Dhash.c71 __u32 pad, val; in str2hashbuf_signed() local
75 pad = (__u32)len | ((__u32)len << 8); in str2hashbuf_signed()
76 pad |= pad << 16; in str2hashbuf_signed()
78 val = pad; in str2hashbuf_signed()
83 val = pad; in str2hashbuf_signed()
87 val = pad; in str2hashbuf_signed()
94 *buf++ = pad; in str2hashbuf_signed()
99 __u32 pad, val; in str2hashbuf_unsigned() local
103 pad = (__u32)len | ((__u32)len << 8); in str2hashbuf_unsigned()
104 pad |= pad << 16; in str2hashbuf_unsigned()
[all …]
/linux-4.4.14/drivers/media/platform/exynos4-is/
Dcommon.c19 struct media_pad *pad = &entity->pads[0]; in fimc_find_remote_sensor() local
22 while (pad->flags & MEDIA_PAD_FL_SINK) { in fimc_find_remote_sensor()
24 pad = media_entity_remote_pad(pad); in fimc_find_remote_sensor()
25 if (pad == NULL || in fimc_find_remote_sensor()
26 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in fimc_find_remote_sensor()
29 sd = media_entity_to_v4l2_subdev(pad->entity); in fimc_find_remote_sensor()
35 pad = &sd->entity.pads[0]; in fimc_find_remote_sensor()
Dfimc-isp.c135 *mf = *v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in fimc_isp_subdev_get_fmt()
143 if (fmt->pad == FIMC_ISP_SD_PAD_SINK) { in fimc_isp_subdev_get_fmt()
150 if (fmt->pad == FIMC_ISP_SD_PAD_SRC_FIFO) { in fimc_isp_subdev_get_fmt()
159 fmt->pad, mf->code, mf->width, mf->height); in fimc_isp_subdev_get_fmt()
173 if (fmt->pad == FIMC_ISP_SD_PAD_SINK) { in __isp_subdev_try_format()
190 if (fmt->pad == FIMC_ISP_SD_PAD_SRC_FIFO) { in __isp_subdev_try_format()
209 __func__, fmt->pad, mf->code, mf->width, mf->height); in fimc_isp_subdev_set_fmt()
215 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in fimc_isp_subdev_set_fmt()
219 if (fmt->pad == FIMC_ISP_SD_PAD_SINK) { in fimc_isp_subdev_set_fmt()
221 unsigned int pad; in fimc_isp_subdev_set_fmt() local
[all …]
Dfimc-capture.c581 u32 *code, u32 *fourcc, int pad) in fimc_capture_try_format() argument
593 if (code && ctx->s_frame.fmt && pad == FIMC_SD_PAD_SOURCE && in fimc_capture_try_format()
597 if (fourcc && *fourcc != V4L2_PIX_FMT_JPEG && pad == FIMC_SD_PAD_SOURCE) in fimc_capture_try_format()
600 if (pad == FIMC_SD_PAD_SINK_FIFO) in fimc_capture_try_format()
612 if (pad != FIMC_SD_PAD_SOURCE) { in fimc_capture_try_format()
650 pad, code ? *code : 0, *width, *height, in fimc_capture_try_format()
755 struct media_pad *pad = &me->pads[0]; in fimc_pipeline_get_head() local
757 while (!(pad->flags & MEDIA_PAD_FL_SOURCE)) { in fimc_pipeline_get_head()
758 pad = media_entity_remote_pad(pad); in fimc_pipeline_get_head()
759 if (!pad) in fimc_pipeline_get_head()
[all …]
Dfimc-isp-video.c456 struct media_pad *pad; in isp_video_pipeline_validate() local
461 pad = &sd->entity.pads[0]; in isp_video_pipeline_validate()
462 if (!(pad->flags & MEDIA_PAD_FL_SINK)) in isp_video_pipeline_validate()
464 sink_fmt.pad = pad->index; in isp_video_pipeline_validate()
466 ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, &sink_fmt); in isp_video_pipeline_validate()
471 pad = media_entity_remote_pad(pad); in isp_video_pipeline_validate()
472 if (pad == NULL || in isp_video_pipeline_validate()
473 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in isp_video_pipeline_validate()
476 sd = media_entity_to_v4l2_subdev(pad->entity); in isp_video_pipeline_validate()
477 src_fmt.pad = pad->index; in isp_video_pipeline_validate()
[all …]
Dfimc-lite.c575 if (format->pad == FLITE_SD_PAD_SINK) { in fimc_lite_subdev_try_fmt()
790 struct media_pad *pad; in fimc_pipeline_validate() local
795 pad = &sd->entity.pads[0]; in fimc_pipeline_validate()
796 if (!(pad->flags & MEDIA_PAD_FL_SINK)) in fimc_pipeline_validate()
805 sink_fmt.pad = pad->index; in fimc_pipeline_validate()
807 ret = v4l2_subdev_call(sd, pad, get_fmt, NULL, in fimc_pipeline_validate()
813 pad = media_entity_remote_pad(pad); in fimc_pipeline_validate()
814 if (pad == NULL || in fimc_pipeline_validate()
815 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in fimc_pipeline_validate()
818 sd = media_entity_to_v4l2_subdev(pad->entity); in fimc_pipeline_validate()
[all …]
Dmedia-dev.c79 struct media_pad *pad = NULL; in fimc_pipeline_prepare() local
86 pad = media_entity_remote_pad(spad); in fimc_pipeline_prepare()
87 if (pad) in fimc_pipeline_prepare()
91 if (pad == NULL || in fimc_pipeline_prepare()
92 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in fimc_pipeline_prepare()
94 sd = media_entity_to_v4l2_subdev(pad->entity); in fimc_pipeline_prepare()
705 int pad, int link_mask) in __fimc_md_create_fimc_sink_links() argument
732 ret = media_entity_create_link(source, pad, sink, in __fimc_md_create_fimc_sink_links()
739 &source->pads[pad], flags); in __fimc_md_create_fimc_sink_links()
752 ret = media_entity_create_link(source, pad, sink, in __fimc_md_create_fimc_sink_links()
[all …]
/linux-4.4.14/include/uapi/linux/
Dkfd_ioctl.h66 uint32_t pad; member
89 uint32_t pad; member
106 uint32_t pad; member
119 uint32_t pad; member
128 uint32_t pad; member
137 uint32_t pad; member
142 uint32_t pad; member
187 uint32_t pad; member
192 uint32_t pad; member
197 uint32_t pad; member
[all …]
Dv4l2-subdev.h49 __u32 pad; member
62 __u32 pad; member
75 __u32 pad; member
91 __u32 pad; member
107 __u32 pad; member
124 __u32 pad; member
150 __u32 pad; member
Dkvm.h77 __u32 pad; member
130 __u32 pad; member
145 __u32 pad[15]; member
258 __u32 pad; member
264 __u32 pad; member
365 __u32 pad; member
371 __u32 pad; member
394 __u8 pad[5]; member
511 __u32 pad; member
527 __u8 pad[3]; member
[all …]
Dunix_diag.h9 __u16 pad; member
27 __u8 pad; member
Dbcache.h172 __u64 pad[8]; member
286 __u16 pad[3]; member
303 __u32 pad; member
329 __u8 pad[128]; member
371 __u32 pad; member
Dpg.h59 char pad[12]; /* not used */ member
Dhyperv.h143 __u32 pad; member
340 __u16 pad; member
/linux-4.4.14/arch/arm/mach-imx/
Diomux-v3.c38 int mxc_iomux_v3_setup_pad(iomux_v3_cfg_t pad) in mxc_iomux_v3_setup_pad() argument
40 u32 mux_ctrl_ofs = (pad & MUX_CTRL_OFS_MASK) >> MUX_CTRL_OFS_SHIFT; in mxc_iomux_v3_setup_pad()
41 u32 mux_mode = (pad & MUX_MODE_MASK) >> MUX_MODE_SHIFT; in mxc_iomux_v3_setup_pad()
42 u32 sel_input_ofs = (pad & MUX_SEL_INPUT_OFS_MASK) >> MUX_SEL_INPUT_OFS_SHIFT; in mxc_iomux_v3_setup_pad()
43 u32 sel_input = (pad & MUX_SEL_INPUT_MASK) >> MUX_SEL_INPUT_SHIFT; in mxc_iomux_v3_setup_pad()
44 u32 pad_ctrl_ofs = (pad & MUX_PAD_CTRL_OFS_MASK) >> MUX_PAD_CTRL_OFS_SHIFT; in mxc_iomux_v3_setup_pad()
45 u32 pad_ctrl = (pad & MUX_PAD_CTRL_MASK) >> MUX_PAD_CTRL_SHIFT; in mxc_iomux_v3_setup_pad()
Diomux-imx31.c100 unsigned pad = pin & IOMUX_PADNUM_MASK; in mxc_iomux_alloc_pin() local
102 if (pad >= (PIN_MAX + 1)) { in mxc_iomux_alloc_pin()
104 pad, label ? label : "?"); in mxc_iomux_alloc_pin()
108 if (test_and_set_bit(pad, mxc_pin_alloc_map)) { in mxc_iomux_alloc_pin()
110 pad, label ? label : "?"); in mxc_iomux_alloc_pin()
140 unsigned pad = pin & IOMUX_PADNUM_MASK; in mxc_iomux_release_pin() local
142 if (pad < (PIN_MAX + 1)) in mxc_iomux_release_pin()
143 clear_bit(pad, mxc_pin_alloc_map); in mxc_iomux_release_pin()
Diomux-v3.h83 #define NEW_PAD_CTRL(cfg, pad) (((cfg) & ~MUX_PAD_CTRL_MASK) | MUX_PAD_CTRL(pad)) argument
128 int mxc_iomux_v3_setup_pad(iomux_v3_cfg_t pad);
/linux-4.4.14/fs/f2fs/
Dhash.c48 unsigned pad, val; in str2hashbuf() local
51 pad = (__u32)len | ((__u32)len << 8); in str2hashbuf()
52 pad |= pad << 16; in str2hashbuf()
54 val = pad; in str2hashbuf()
59 val = pad; in str2hashbuf()
63 val = pad; in str2hashbuf()
70 *buf++ = pad; in str2hashbuf()
/linux-4.4.14/arch/arm/mach-omap2/
Dmux.c284 struct omap_device_pad *bpad = &bpads[i], *pad = &hmux->pads[i]; in omap_hwmod_mux_init() local
291 if (!pad->partition) in omap_hwmod_mux_init()
292 pad->partition = partition; in omap_hwmod_mux_init()
293 if (!pad->mux) in omap_hwmod_mux_init()
294 pad->mux = mux; in omap_hwmod_mux_init()
296 pad->name = kzalloc(strlen(bpad->name) + 1, GFP_KERNEL); in omap_hwmod_mux_init()
297 if (!pad->name) { in omap_hwmod_mux_init()
304 strcpy(pad->name, bpad->name); in omap_hwmod_mux_init()
306 pad->flags = bpad->flags; in omap_hwmod_mux_init()
307 pad->enable = bpad->enable; in omap_hwmod_mux_init()
[all …]
/linux-4.4.14/drivers/media/platform/vsp1/
Dvsp1_bru.c196 if (code->pad == BRU_PAD_SINK(0)) { in bru_enum_mbus_code()
234 unsigned int pad, u32 which) in bru_get_compose() argument
238 return v4l2_subdev_get_try_crop(&bru->entity.subdev, cfg, pad); in bru_get_compose()
240 return &bru->inputs[pad].compose; in bru_get_compose()
251 fmt->format = *vsp1_entity_get_pad_format(&bru->entity, cfg, fmt->pad, in bru_get_format()
258 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in bru_try_format() argument
263 switch (pad) { in bru_try_format()
291 bru_try_format(bru, cfg, fmt->pad, &fmt->format, fmt->which); in bru_set_format()
293 format = vsp1_entity_get_pad_format(&bru->entity, cfg, fmt->pad, in bru_set_format()
298 if (fmt->pad != BRU_PAD_SOURCE) { in bru_set_format()
[all …]
Dvsp1_entity.c69 unsigned int pad, u32 which) in vsp1_entity_get_pad_format() argument
73 return v4l2_subdev_get_try_format(&entity->subdev, cfg, pad); in vsp1_entity_get_pad_format()
75 return &entity->formats[pad]; in vsp1_entity_get_pad_format()
94 unsigned int pad; in vsp1_entity_init_formats() local
96 for (pad = 0; pad < subdev->entity.num_pads - 1; ++pad) { in vsp1_entity_init_formats()
99 format.pad = pad; in vsp1_entity_init_formats()
103 v4l2_subdev_call(subdev, pad, set_fmt, cfg, &format); in vsp1_entity_init_formats()
110 vsp1_entity_init_formats(subdev, fh->pad); in vsp1_entity_open()
Dvsp1_hsit.c66 if ((code->pad == HSIT_PAD_SINK && !hsit->inverse) | in hsit_enum_mbus_code()
67 (code->pad == HSIT_PAD_SOURCE && hsit->inverse)) in hsit_enum_mbus_code()
82 format = vsp1_entity_get_pad_format(&hsit->entity, cfg, fse->pad, in hsit_enum_frame_size()
88 if (fse->pad == HSIT_PAD_SINK) { in hsit_enum_frame_size()
112 fmt->format = *vsp1_entity_get_pad_format(&hsit->entity, cfg, fmt->pad, in hsit_get_format()
125 format = vsp1_entity_get_pad_format(&hsit->entity, cfg, fmt->pad, in hsit_set_format()
128 if (fmt->pad == HSIT_PAD_SOURCE) { in hsit_set_format()
174 .pad = &hsit_pad_ops,
Dvsp1_lut.c96 if (code->pad == LUT_PAD_SINK) { in lut_enum_mbus_code()
124 fse->pad, fse->which); in lut_enum_frame_size()
129 if (fse->pad == LUT_PAD_SINK) { in lut_enum_frame_size()
152 fmt->format = *vsp1_entity_get_pad_format(&lut->entity, cfg, fmt->pad, in lut_get_format()
170 format = vsp1_entity_get_pad_format(&lut->entity, cfg, fmt->pad, in lut_set_format()
173 if (fmt->pad == LUT_PAD_SOURCE) { in lut_set_format()
218 .pad = &lut_pad_ops,
Dvsp1_uds.c181 if (code->pad == UDS_PAD_SINK) { in uds_enum_mbus_code()
216 if (fse->pad == UDS_PAD_SINK) { in uds_enum_frame_size()
236 fmt->format = *vsp1_entity_get_pad_format(&uds->entity, cfg, fmt->pad, in uds_get_format()
243 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in uds_try_format() argument
250 switch (pad) { in uds_try_format()
284 uds_try_format(uds, cfg, fmt->pad, &fmt->format, fmt->which); in uds_set_format()
286 format = vsp1_entity_get_pad_format(&uds->entity, cfg, fmt->pad, in uds_set_format()
290 if (fmt->pad == UDS_PAD_SINK) { in uds_set_format()
319 .pad = &uds_pad_ops,
Dvsp1_video.c158 vsp1_video_remote_subdev(struct media_pad *local, u32 *pad) in vsp1_video_remote_subdev() argument
167 if (pad) in vsp1_video_remote_subdev()
168 *pad = remote->index; in vsp1_video_remote_subdev()
179 subdev = vsp1_video_remote_subdev(&video->pad, &fmt.pad); in vsp1_video_verify_format()
184 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); in vsp1_video_verify_format()
316 struct media_pad *pad; in vsp1_pipeline_validate_branch() local
322 pad = media_entity_remote_pad(&input->entity.pads[RWPF_PAD_SOURCE]); in vsp1_pipeline_validate_branch()
325 if (pad == NULL) in vsp1_pipeline_validate_branch()
329 if (media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in vsp1_pipeline_validate_branch()
332 entity = to_vsp1_entity(media_entity_to_v4l2_subdev(pad->entity)); in vsp1_pipeline_validate_branch()
[all …]
Dvsp1_rwpf.c51 format = vsp1_entity_get_pad_format(&rwpf->entity, cfg, fse->pad, in vsp1_rwpf_enum_frame_size()
57 if (fse->pad == RWPF_PAD_SINK) { in vsp1_rwpf_enum_frame_size()
93 fmt->format = *vsp1_entity_get_pad_format(&rwpf->entity, cfg, fmt->pad, in vsp1_rwpf_get_format()
111 format = vsp1_entity_get_pad_format(&rwpf->entity, cfg, fmt->pad, in vsp1_rwpf_set_format()
114 if (fmt->pad == RWPF_PAD_SOURCE) { in vsp1_rwpf_set_format()
156 if (sel->pad != RWPF_PAD_SINK) in vsp1_rwpf_get_selection()
189 if (sel->pad != RWPF_PAD_SINK) in vsp1_rwpf_set_selection()
Dvsp1_sru.c180 if (code->pad == SRU_PAD_SINK) { in sru_enum_mbus_code()
213 if (fse->pad == SRU_PAD_SINK) { in sru_enum_frame_size()
239 fmt->format = *vsp1_entity_get_pad_format(&sru->entity, cfg, fmt->pad, in sru_get_format()
246 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in sru_try_format() argument
253 switch (pad) { in sru_try_format()
302 sru_try_format(sru, cfg, fmt->pad, &fmt->format, fmt->which); in sru_set_format()
304 format = vsp1_entity_get_pad_format(&sru->entity, cfg, fmt->pad, in sru_set_format()
308 if (fmt->pad == SRU_PAD_SINK) { in sru_set_format()
337 .pad = &sru_pad_ops,
Dvsp1_lif.c86 if (code->pad == LIF_PAD_SINK) { in lif_enum_mbus_code()
121 if (fse->pad == LIF_PAD_SINK) { in lif_enum_frame_size()
141 fmt->format = *vsp1_entity_get_pad_format(&lif->entity, cfg, fmt->pad, in lif_get_format()
158 format = vsp1_entity_get_pad_format(&lif->entity, cfg, fmt->pad, in lif_set_format()
161 if (fmt->pad == LIF_PAD_SOURCE) { in lif_set_format()
204 .pad = &lif_pad_ops,
Dvsp1_drv.c82 unsigned int pad; in vsp1_create_links() local
100 for (pad = 0; pad < entity->num_pads; ++pad) { in vsp1_create_links()
101 if (!(entity->pads[pad].flags & MEDIA_PAD_FL_SINK)) in vsp1_create_links()
106 entity, pad, flags); in vsp1_create_links()
/linux-4.4.14/drivers/net/wireless/mwifiex/
D11n_aggr.c48 struct sk_buff *skb_src, int *pad) in mwifiex_11n_form_amsdu_pkt() argument
87 *pad = (4 - ((unsigned long)skb_aggr->tail & 0x3)) % 4; in mwifiex_11n_form_amsdu_pkt()
89 return skb_aggr->len + *pad; in mwifiex_11n_form_amsdu_pkt()
104 unsigned int pad; in mwifiex_11n_form_amsdu_txpd() local
108 pad = ((void *)skb->data - sizeof(*local_tx_pd) - in mwifiex_11n_form_amsdu_txpd()
110 skb_push(skb, pad); in mwifiex_11n_form_amsdu_txpd()
125 pad); in mwifiex_11n_form_amsdu_txpd()
129 pad); in mwifiex_11n_form_amsdu_txpd()
173 int pad = 0, aggr_num = 0, ret; in mwifiex_11n_aggregate_pkt() local
219 mwifiex_11n_form_amsdu_pkt(skb_aggr, skb_src, &pad); in mwifiex_11n_aggregate_pkt()
[all …]
Dsta_tx.c50 unsigned int pad; in mwifiex_process_sta_txpd() local
66 pad = ((void *)skb->data - (sizeof(*local_tx_pd) + hroom)- in mwifiex_process_sta_txpd()
68 skb_push(skb, sizeof(*local_tx_pd) + pad); in mwifiex_process_sta_txpd()
76 pad))); in mwifiex_process_sta_txpd()
110 pkt_offset = sizeof(struct txpd) + pad; in mwifiex_process_sta_txpd()
Duap_txrx.c374 int pad; in mwifiex_process_uap_txpd() local
390 pad = ((void *)skb->data - (sizeof(*txpd) + hroom) - NULL) & in mwifiex_process_uap_txpd()
393 skb_push(skb, sizeof(*txpd) + pad); in mwifiex_process_uap_txpd()
400 pad))); in mwifiex_process_uap_txpd()
420 pkt_offset = sizeof(*txpd) + pad; in mwifiex_process_uap_txpd()
/linux-4.4.14/arch/arc/include/asm/
Darcregs.h227 unsigned int pad:8, x1616:8, dsp:4, cycles:2, type:2, ver:8; member
229 unsigned int ver:8, type:2, cycles:2, dsp:4, x1616:8, pad:8;
251 unsigned int base:16, pad:5, sz:3, ver:8; member
253 unsigned int ver:8, sz:3, pad:5, base:16;
302 unsigned int pad2:19, fam:1, pad:2, ent:2, ver:8; member
304 unsigned int ver:8, ent:2, pad:2, fam:1, pad2:19;
310 unsigned int pad:6, fbe:2, tqe:2, ts:4, ft:1, rse:2, pte:3, bce:3, ver:8; member
312 unsigned int ver:8, bce:3, pte:3, rse:2, ft:1, ts:4, tqe:2, fbe:2, pad:6;
318 unsigned int pad:24, ver:8; member
320 unsigned int ver:8, pad:24;
[all …]
Dmcip.h25 unsigned int pad:8, param:16, cmd:8; member
27 unsigned int cmd:8, param:16, pad:8;
70 buf.pad = 0; in __mcip_cmd()
/linux-4.4.14/include/uapi/drm/
Dqxl_drm.h58 uint32_t pad; member
76 uint32_t pad; member
85 uint32_t pad; member
101 uint32_t pad; member
114 uint32_t pad; member
123 uint32_t pad; member
Dtegra_drm.h39 __u32 pad; member
50 __u32 pad; member
64 __u32 pad; member
93 __u32 pad; member
106 __u32 pad; member
142 __u32 pad; member
151 __u32 pad; member
Di915_drm.h457 __u32 pad; member
463 __u32 pad; member
479 __u32 pad; member
495 __u32 pad; member
523 __u32 pad; member
790 __u32 pad; member
802 __u32 pad; member
1073 __u32 pad; member
1078 __u32 pad; member
1107 __u32 pad; member
Dvirtgpu_drm.h50 uint32_t pad; member
59 uint32_t pad; member
129 uint32_t pad; member
Dmsm_drm.h87 __u32 pad; member
146 __u32 pad; member
195 __u32 pad; member
/linux-4.4.14/drivers/input/mouse/
Dsentelic.c377 struct fsp_data *pad = psmouse->private; in fsp_onpad_vscr() local
383 pad->vscroll = enable; in fsp_onpad_vscr()
398 struct fsp_data *pad = psmouse->private; in fsp_onpad_hscr() local
407 pad->hscroll = enable; in fsp_onpad_hscr()
465 struct fsp_data *pad = psmouse->private; in fsp_attr_show_getreg() local
467 return sprintf(buf, "%02x%02x\n", pad->last_reg, pad->last_val); in fsp_attr_show_getreg()
478 struct fsp_data *pad = psmouse->private; in fsp_attr_set_getreg() local
492 pad->last_reg = reg; in fsp_attr_set_getreg()
493 pad->last_val = val; in fsp_attr_set_getreg()
537 struct fsp_data *pad = psmouse->private; in fsp_attr_show_vscroll() local
[all …]
/linux-4.4.14/drivers/staging/media/omap4iss/
Diss_ipipe.c29 unsigned int pad,
183 unsigned int pad, in __ipipe_get_format() argument
187 return v4l2_subdev_get_try_format(&ipipe->subdev, cfg, pad); in __ipipe_get_format()
189 return &ipipe->formats[pad]; in __ipipe_get_format()
202 unsigned int pad, in ipipe_try_format() argument
211 switch (pad) { in ipipe_try_format()
253 switch (code->pad) { in ipipe_enum_mbus_code()
289 ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
299 ipipe_try_format(ipipe, cfg, fse->pad, &format, fse->which); in ipipe_enum_frame_size()
322 format = __ipipe_get_format(ipipe, cfg, fmt->pad, fmt->which); in ipipe_get_format()
[all …]
Diss.c143 fmt.pad = link->source->index; in omap4iss_get_external_info()
146 pad, get_fmt, NULL, &fmt); in omap4iss_get_external_info()
581 struct media_pad *pad; in iss_pipeline_disable() local
588 pad = &entity->pads[0]; in iss_pipeline_disable()
589 if (!(pad->flags & MEDIA_PAD_FL_SINK)) in iss_pipeline_disable()
592 pad = media_entity_remote_pad(pad); in iss_pipeline_disable()
593 if (!pad || in iss_pipeline_disable()
594 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in iss_pipeline_disable()
597 entity = pad->entity; in iss_pipeline_disable()
634 struct media_pad *pad; in iss_pipeline_enable() local
[all …]
Diss_ipipeif.c364 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in __ipipeif_get_format() argument
368 return v4l2_subdev_get_try_format(&ipipeif->subdev, cfg, pad); in __ipipeif_get_format()
369 return &ipipeif->formats[pad]; in __ipipeif_get_format()
381 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in ipipeif_try_format() argument
390 switch (pad) { in ipipeif_try_format()
455 switch (code->pad) { in ipipeif_enum_mbus_code()
495 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
505 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
528 format = __ipipeif_get_format(ipipeif, cfg, fmt->pad, fmt->which); in ipipeif_get_format()
552 format = __ipipeif_get_format(ipipeif, cfg, fmt->pad, fmt->which); in ipipeif_set_format()
[all …]
Diss_resizer.c423 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in __resizer_get_format() argument
427 return v4l2_subdev_get_try_format(&resizer->subdev, cfg, pad); in __resizer_get_format()
428 return &resizer->formats[pad]; in __resizer_get_format()
440 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in resizer_try_format() argument
450 switch (pad) { in resizer_try_format()
505 switch (code->pad) { in resizer_enum_mbus_code()
556 resizer_try_format(resizer, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
566 resizer_try_format(resizer, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
589 format = __resizer_get_format(resizer, cfg, fmt->pad, fmt->which); in resizer_get_format()
613 format = __resizer_get_format(resizer, cfg, fmt->pad, fmt->which); in resizer_set_format()
[all …]
Diss_csi2.c534 struct media_pad *pad; in csi2_configure() local
545 pad = media_entity_remote_pad(&csi2->pads[CSI2_PAD_SINK]); in csi2_configure()
546 sensor = media_entity_to_v4l2_subdev(pad->entity); in csi2_configure()
833 unsigned int pad, in __csi2_get_format() argument
837 return v4l2_subdev_get_try_format(&csi2->subdev, cfg, pad); in __csi2_get_format()
839 return &csi2->formats[pad]; in __csi2_get_format()
845 unsigned int pad, in csi2_try_format() argument
854 switch (pad) { in csi2_try_format()
908 if (code->pad == CSI2_PAD_SINK) { in csi2_enum_mbus_code()
950 csi2_try_format(csi2, cfg, fse->pad, &format, fse->which); in csi2_enum_frame_size()
[all …]
Diss_video.c187 iss_video_remote_subdev(struct iss_video *video, u32 *pad) in iss_video_remote_subdev() argument
191 remote = media_entity_remote_pad(&video->pad); in iss_video_remote_subdev()
197 if (pad) in iss_video_remote_subdev()
198 *pad = remote->index; in iss_video_remote_subdev()
239 u32 pad; in __iss_video_get_format() local
242 subdev = iss_video_remote_subdev(video, &pad); in __iss_video_get_format()
247 fmt.pad = pad; in __iss_video_get_format()
251 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); in __iss_video_get_format()
619 u32 pad; in iss_video_try_format() local
625 subdev = iss_video_remote_subdev(video, &pad); in iss_video_try_format()
[all …]
/linux-4.4.14/fs/reiserfs/
Dhashes.c50 u32 pad; in keyed_hash() local
55 pad = (u32) len | ((u32) len << 8); in keyed_hash()
56 pad |= pad << 16; in keyed_hash()
85 d = pad; in keyed_hash()
96 c = d = pad; in keyed_hash()
105 b = c = d = pad; in keyed_hash()
111 a = b = c = d = pad; in keyed_hash()
/linux-4.4.14/drivers/net/wan/
Dhdlc_raw_eth.c30 int pad = ETH_ZLEN - skb->len; in eth_tx() local
31 if (pad > 0) { /* Pad the frame with zeros */ in eth_tx()
33 if (skb_tailroom(skb) < pad) in eth_tx()
34 if (pskb_expand_head(skb, 0, pad, GFP_ATOMIC)) { in eth_tx()
39 skb_put(skb, pad); in eth_tx()
40 memset(skb->data + len, 0, pad); in eth_tx()
/linux-4.4.14/arch/s390/include/uapi/asm/
Dkvm.h43 __u8 pad; member
79 __u8 pad[6]; member
88 __u8 pad[4]; member
126 __u8 pad[7]; /* Should be set to 0 */ member
134 __u8 pad[7]; /* Should be set to 0 */ member
140 __u32 pad; /* Should be set to 0 */ member
/linux-4.4.14/lib/reed_solomon/
Dencode_rs.c21 int i, j, pad; variable
31 pad = nn - nroots - len;
32 if (pad < 0 || pad >= nn)
Ddecode_rs.c21 int i, j, r, k, pad; variable
41 pad = nn - nroots - len;
42 BUG_ON(pad < 0 || pad >= nn);
246 if (num1 != 0 && loc[j] >= pad) {
259 data[loc[j] - pad] ^= cor;
267 eras_pos[i] = loc[i] - pad;
/linux-4.4.14/drivers/atm/
Dfore200e.h145 u32 pad; /* reserved */ member
205 u32 pad : 1, /* reserved */
272 u32 pad : 8 /* reserved */
284 u32 pad : 8 /* reserved */
304 u32 pad : 24 /* reserved */
353 __be32 pad[ 2 ]; /* i960 padding */ member
367 __be32 pad[ 1 ]; /* i960 padding */ member
380 __be32 pad[ 2 ]; /* i960 padding */ member
389 __be32 pad[ 1 ]; /* i960 padding */ member
405 __be32 pad[ 3 ]; /* i960 padding */ member
[all …]
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_sdvo_regs.h60 unsigned int pad:1; member
110 u8 pad:6; member
164 unsigned int pad:6; member
221 unsigned int pad:6; member
234 unsigned int pad:7; member
372 unsigned int pad:3; member
403 unsigned int pad:5; member
428 unsigned int pad:5; member
465 unsigned int pad:6; member
559 unsigned int pad:6; member
[all …]
/linux-4.4.14/drivers/gpu/drm/gma500/
Dpsb_intel_sdvo_regs.h60 unsigned int pad:1; member
105 u8 pad:6; member
159 unsigned int pad:6; member
216 unsigned int pad:6; member
229 unsigned int pad:7; member
367 unsigned int pad:3; member
398 unsigned int pad:5; member
423 unsigned int pad:5; member
460 unsigned int pad:6; member
554 unsigned int pad:6; member
[all …]
/linux-4.4.14/arch/alpha/boot/tools/
Dobjstrip.c54 size_t nwritten, tocopy, n, mem_size, fil_size, pad = 0; in main() local
75 pad = BLOCK_SIZE; in main()
258 if (pad) { in main()
259 mem_size = ((mem_size + pad - 1) / pad) * pad; in main()
266 prog_name, pad, (unsigned long) tocopy); in main()
/linux-4.4.14/drivers/staging/media/davinci_vpfe/
Ddm365_resizer.c1299 unsigned int pad, enum v4l2_subdev_format_whence which) in __resizer_get_format() argument
1304 return v4l2_subdev_get_try_format(sd, cfg, pad); in __resizer_get_format()
1306 return &resizer->crop_resizer.formats[pad]; in __resizer_get_format()
1308 return &resizer->resizer_a.formats[pad]; in __resizer_get_format()
1310 return &resizer->resizer_b.formats[pad]; in __resizer_get_format()
1324 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in resizer_try_format() argument
1332 if ((&resizer->resizer_a.subdev == sd && pad == RESIZER_PAD_SINK) || in resizer_try_format()
1333 (&resizer->resizer_b.subdev == sd && pad == RESIZER_PAD_SINK) || in resizer_try_format()
1335 (pad == RESIZER_CROP_PAD_SOURCE || in resizer_try_format()
1336 pad == RESIZER_CROP_PAD_SOURCE2 || pad == RESIZER_CROP_PAD_SINK))) { in resizer_try_format()
[all …]
Ddm365_ipipeif.c555 switch (code->pad) { in ipipeif_enum_mbus_code()
590 fmt->format = ipipeif->formats[fmt->pad]; in ipipeif_get_format()
592 fmt->format = *(v4l2_subdev_get_try_format(sd, cfg, fmt->pad)); in ipipeif_get_format()
610 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in ipipeif_try_format() argument
621 if (pad == IPIPEIF_PAD_SINK) { in ipipeif_try_format()
629 } else if (pad == IPIPEIF_PAD_SOURCE) { in ipipeif_try_format()
656 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
666 ipipeif_try_format(ipipeif, cfg, fse->pad, &format, fse->which); in ipipeif_enum_frame_size()
683 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in __ipipeif_get_format() argument
687 return v4l2_subdev_get_try_format(&ipipeif->subdev, cfg, pad); in __ipipeif_get_format()
[all …]
Dvpfe_video.c87 vpfe_video_remote_subdev(struct vpfe_video_device *video, u32 *pad) in vpfe_video_remote_subdev() argument
89 struct media_pad *remote = media_entity_remote_pad(&video->pad); in vpfe_video_remote_subdev()
93 if (pad) in vpfe_video_remote_subdev()
94 *pad = remote->index; in vpfe_video_remote_subdev()
106 u32 pad; in __vpfe_video_get_format() local
109 subdev = vpfe_video_remote_subdev(video, &pad); in __vpfe_video_get_format()
114 remote = media_entity_remote_pad(&video->pad); in __vpfe_video_get_format()
115 fmt.pad = remote->index; in __vpfe_video_get_format()
117 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); in __vpfe_video_get_format()
217 struct media_pad *pad; in vpfe_video_validate_pipeline() local
[all …]
Ddm365_isif.c227 isif_config_format(struct vpfe_device *vpfe_dev, unsigned int pad) in isif_config_format() argument
234 v4l2_fill_pix_format(&format, &vpfe_dev->vpfe_isif.formats[pad]); in isif_config_format()
235 mbus_to_pix(&vpfe_dev->vpfe_isif.formats[pad], &format); in isif_config_format()
252 switch (vpfe_dev->vpfe_isif.formats[pad].field) { in isif_config_format()
310 if (fmt->pad == ISIF_PAD_SOURCE) in isif_try_format()
1402 unsigned int pad, enum v4l2_subdev_format_whence which) in __isif_get_format() argument
1407 fmt.pad = pad; in __isif_get_format()
1410 return v4l2_subdev_get_try_format(&isif->subdev, cfg, pad); in __isif_get_format()
1412 return &isif->formats[pad]; in __isif_get_format()
1431 format = __isif_get_format(isif, cfg, fmt->pad, fmt->which); in isif_set_format()
[all …]
Ddm365_ipipe.c1423 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in __ipipe_get_format() argument
1427 return v4l2_subdev_get_try_format(&ipipe->subdev, cfg, pad); in __ipipe_get_format()
1429 return &ipipe->formats[pad]; in __ipipe_get_format()
1442 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in ipipe_try_format() argument
1453 if (pad == IPIPE_PAD_SINK) { in ipipe_try_format()
1461 } else if (pad == IPIPE_PAD_SOURCE) { in ipipe_try_format()
1489 format = __ipipe_get_format(ipipe, cfg, fmt->pad, fmt->which); in ipipe_set_format()
1493 ipipe_try_format(ipipe, cfg, fmt->pad, &fmt->format, fmt->which); in ipipe_set_format()
1499 if (fmt->pad == IPIPE_PAD_SINK && in ipipe_set_format()
1502 ipipe->formats[fmt->pad] = fmt->format; in ipipe_set_format()
[all …]
/linux-4.4.14/drivers/media/i2c/s5c73m3/
Ds5c73m3-core.c834 switch (fmt->pad) { in s5c73m3_oif_try_format()
870 if (fmt->pad == S5C73M3_ISP_PAD) { in s5c73m3_try_format()
886 if (fi->pad != OIF_SOURCE_PAD) in s5c73m3_oif_g_frame_interval()
936 if (fi->pad != OIF_SOURCE_PAD) in s5c73m3_oif_s_frame_interval()
963 if (fie->pad != OIF_SOURCE_PAD) in s5c73m3_oif_enum_frame_interval()
979 static int s5c73m3_oif_get_pad_code(int pad, int index) in s5c73m3_oif_get_pad_code() argument
981 if (pad == OIF_SOURCE_PAD) { in s5c73m3_oif_get_pad_code()
990 return (pad == OIF_ISP_PAD) ? S5C73M3_ISP_FMT : S5C73M3_JPEG_FMT; in s5c73m3_oif_get_pad_code()
1002 fmt->format = *v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in s5c73m3_get_fmt()
1008 switch (fmt->pad) { in s5c73m3_get_fmt()
[all …]
/linux-4.4.14/net/ceph/
Dcrypto.c171 char pad[16]; in ceph_aes_encrypt() local
176 memset(pad, zero_padding, zero_padding); in ceph_aes_encrypt()
182 sg_set_buf(&sg_in[1], pad, zero_padding); in ceph_aes_encrypt()
231 char pad[16]; in ceph_aes_encrypt2() local
236 memset(pad, zero_padding, zero_padding); in ceph_aes_encrypt2()
243 sg_set_buf(&sg_in[2], pad, zero_padding); in ceph_aes_encrypt2()
289 char pad[16]; in ceph_aes_decrypt() local
300 sg_set_buf(&sg_out[1], pad, sizeof(pad)); in ceph_aes_decrypt()
325 last_byte = pad[src_len - *dst_len - 1]; in ceph_aes_decrypt()
354 char pad[16]; in ceph_aes_decrypt2() local
[all …]
/linux-4.4.14/drivers/media/platform/xilinx/
Dxilinx-dma.c47 xvip_dma_remote_subdev(struct media_pad *local, u32 *pad) in xvip_dma_remote_subdev() argument
56 if (pad) in xvip_dma_remote_subdev()
57 *pad = remote->index; in xvip_dma_remote_subdev()
68 subdev = xvip_dma_remote_subdev(&dma->pad, &fmt.pad); in xvip_dma_verify_format()
73 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); in xvip_dma_verify_format()
105 struct media_pad *pad; in xvip_pipeline_start_stop() local
111 pad = &entity->pads[0]; in xvip_pipeline_start_stop()
112 if (!(pad->flags & MEDIA_PAD_FL_SINK)) in xvip_pipeline_start_stop()
115 pad = media_entity_remote_pad(pad); in xvip_pipeline_start_stop()
116 if (pad == NULL || in xvip_pipeline_start_stop()
[all …]
Dxilinx-tpg.c258 unsigned int pad, u32 which) in __xtpg_get_pad_format() argument
262 return v4l2_subdev_get_try_format(&xtpg->xvip.subdev, cfg, pad); in __xtpg_get_pad_format()
264 return &xtpg->formats[pad]; in __xtpg_get_pad_format()
276 fmt->format = *__xtpg_get_pad_format(xtpg, cfg, fmt->pad, fmt->which); in xtpg_get_format()
289 __format = __xtpg_get_pad_format(xtpg, cfg, fmt->pad, fmt->which); in xtpg_set_format()
294 if (xtpg->npads == 2 && fmt->pad == 1) { in xtpg_set_format()
329 format = v4l2_subdev_get_try_format(subdev, cfg, fse->pad); in xtpg_enum_frame_size()
337 if (fse->pad == 0) { in xtpg_enum_frame_size()
357 format = v4l2_subdev_get_try_format(subdev, fh->pad, 0); in xtpg_open()
361 format = v4l2_subdev_get_try_format(subdev, fh->pad, 1); in xtpg_open()
[all …]
Dxilinx-vip.c266 format = v4l2_subdev_get_try_format(subdev, cfg, code->pad); in xvip_enum_mbus_code()
301 format = v4l2_subdev_get_try_format(subdev, cfg, fse->pad); in xvip_enum_frame_size()
306 if (fse->pad == XVIP_PAD_SINK) { in xvip_enum_frame_size()
/linux-4.4.14/drivers/media/i2c/
Ds5k6a3.c60 struct media_pad pad; member
127 u32 pad, enum v4l2_subdev_format_whence which) in __s5k6a3_get_format() argument
130 return cfg ? v4l2_subdev_get_try_format(&sensor->subdev, cfg, pad) : NULL; in __s5k6a3_get_format()
144 mf = __s5k6a3_get_format(sensor, cfg, fmt->pad, fmt->which); in s5k6a3_set_fmt()
161 mf = __s5k6a3_get_format(sensor, cfg, fmt->pad, fmt->which); in s5k6a3_get_fmt()
177 struct v4l2_mbus_framefmt *format = v4l2_subdev_get_try_format(sd, fh->pad, 0); in s5k6a3_open()
276 .pad = &s5k6a3_pad_ops,
335 sensor->pad.flags = MEDIA_PAD_FL_SOURCE; in s5k6a3_probe()
336 ret = media_entity_init(&sd->entity, 1, &sensor->pad, 0); in s5k6a3_probe()
Dmt9t001.c120 struct media_pad pad; member
248 unsigned int pad, enum v4l2_subdev_format_whence which) in __mt9t001_get_pad_format() argument
252 return v4l2_subdev_get_try_format(&mt9t001->subdev, cfg, pad); in __mt9t001_get_pad_format()
262 unsigned int pad, enum v4l2_subdev_format_whence which) in __mt9t001_get_pad_crop() argument
266 return v4l2_subdev_get_try_crop(&mt9t001->subdev, cfg, pad); in __mt9t001_get_pad_crop()
361 format->format = *__mt9t001_get_pad_format(mt9t001, cfg, format->pad, in mt9t001_get_format()
378 __crop = __mt9t001_get_pad_crop(mt9t001, cfg, format->pad, in mt9t001_set_format()
394 __format = __mt9t001_get_pad_format(mt9t001, cfg, format->pad, in mt9t001_set_format()
413 sel->r = *__mt9t001_get_pad_crop(mt9t001, cfg, sel->pad, sel->which); in mt9t001_get_selection()
450 __crop = __mt9t001_get_pad_crop(mt9t001, cfg, sel->pad, sel->which); in mt9t001_set_selection()
[all …]
Dmt9v032.c236 struct media_pad pad; member
378 unsigned int pad, enum v4l2_subdev_format_whence which) in __mt9v032_get_pad_format() argument
382 return v4l2_subdev_get_try_format(&mt9v032->subdev, cfg, pad); in __mt9v032_get_pad_format()
392 unsigned int pad, enum v4l2_subdev_format_whence which) in __mt9v032_get_pad_crop() argument
396 return v4l2_subdev_get_try_crop(&mt9v032->subdev, cfg, pad); in __mt9v032_get_pad_crop()
485 format->format = *__mt9v032_get_pad_format(mt9v032, cfg, format->pad, in mt9v032_get_format()
526 __crop = __mt9v032_get_pad_crop(mt9v032, cfg, format->pad, in mt9v032_set_format()
542 __format = __mt9v032_get_pad_format(mt9v032, cfg, format->pad, in mt9v032_set_format()
567 sel->r = *__mt9v032_get_pad_crop(mt9v032, cfg, sel->pad, sel->which); in mt9v032_get_selection()
604 __crop = __mt9v032_get_pad_crop(mt9v032, cfg, sel->pad, sel->which); in mt9v032_set_selection()
[all …]
Dmt9p031.c124 struct media_pad pad; member
482 if (code->pad || code->index) in mt9p031_enum_mbus_code()
509 unsigned int pad, u32 which) in __mt9p031_get_pad_format() argument
513 return v4l2_subdev_get_try_format(&mt9p031->subdev, cfg, pad); in __mt9p031_get_pad_format()
523 unsigned int pad, u32 which) in __mt9p031_get_pad_crop() argument
527 return v4l2_subdev_get_try_crop(&mt9p031->subdev, cfg, pad); in __mt9p031_get_pad_crop()
541 fmt->format = *__mt9p031_get_pad_format(mt9p031, cfg, fmt->pad, in mt9p031_get_format()
558 __crop = __mt9p031_get_pad_crop(mt9p031, cfg, format->pad, in mt9p031_set_format()
574 __format = __mt9p031_get_pad_format(mt9p031, cfg, format->pad, in mt9p031_set_format()
593 sel->r = *__mt9p031_get_pad_crop(mt9p031, cfg, sel->pad, sel->which); in mt9p031_get_selection()
[all …]
Ds5k5baf.c1191 fie->pad != PAD_CIS) in s5k5baf_enum_frame_interval()
1209 if (code->pad == PAD_CIS) { in s5k5baf_enum_mbus_code()
1232 if (fse->pad == PAD_CIS) { in s5k5baf_enum_frame_size()
1289 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in s5k5baf_get_fmt()
1295 if (fmt->pad == PAD_CIS) { in s5k5baf_get_fmt()
1322 *v4l2_subdev_get_try_format(sd, cfg, fmt->pad) = *mf; in s5k5baf_set_fmt()
1326 if (fmt->pad == PAD_CIS) { in s5k5baf_set_fmt()
1351 static enum selection_rect s5k5baf_get_sel_rect(u32 pad, u32 target) in s5k5baf_get_sel_rect() argument
1355 return pad ? R_COMPOSE : R_CIS; in s5k5baf_get_sel_rect()
1357 return pad ? R_CROP_SOURCE : R_CROP_SINK; in s5k5baf_get_sel_rect()
[all …]
Dadv7170.c269 if (code->pad || code->index >= ARRAY_SIZE(adv7170_codes)) in adv7170_enum_mbus_code()
283 if (format->pad) in adv7170_get_fmt()
307 if (format->pad) in adv7170_set_fmt()
346 .pad = &adv7170_pad_ops,
Dtvp514x.c127 struct media_pad pad; member
887 u32 pad = code->pad; in tvp514x_enum_mbus_code() local
892 code->pad = pad; in tvp514x_enum_mbus_code()
917 if (format->pad) in tvp514x_get_pad_format()
977 .pad = &tvp514x_pad_ops,
1096 decoder->pad.flags = MEDIA_PAD_FL_SOURCE; in tvp514x_probe()
1100 ret = media_entity_init(&decoder->sd.entity, 1, &decoder->pad, 0); in tvp514x_probe()
Dadv7175.c307 if (code->pad || code->index >= ARRAY_SIZE(adv7175_codes)) in adv7175_enum_mbus_code()
321 if (format->pad) in adv7175_get_fmt()
345 if (format->pad) in adv7175_set_fmt()
400 .pad = &adv7175_pad_ops,
Dak881x.c104 if (format->pad) in ak881x_fill_fmt()
120 if (code->pad || code->index) in ak881x_enum_mbus_code()
224 .pad = &ak881x_subdev_pad_ops,
Dadv7511.c89 struct media_pad pad; member
789 if (timings->pad != 0) in adv7511_enum_dv_timings()
798 if (cap->pad != 0) in adv7511_dv_timings_cap()
898 if (edid->pad != 0) in adv7511_get_edid()
925 if (code->pad != 0) in adv7511_enum_mbus_code()
960 if (format->pad != 0) in adv7511_get_fmt()
968 fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); in adv7511_get_fmt()
1006 if (format->pad != 0) in adv7511_set_fmt()
1021 fmt = v4l2_subdev_get_try_format(sd, cfg, format->pad); in adv7511_set_fmt()
1138 .pad = &adv7511_pad_ops,
[all …]
/linux-4.4.14/drivers/staging/unisys/visorbus/
Dvbusdeviceinfo.h156 int nsrc, x, i, pad; in vbuschannel_devinfo_to_string() local
183 pad = 15 - x; /* pad device type to be exactly 15 chars */ in vbuschannel_devinfo_to_string()
184 for (i = 0; i < pad; i++) in vbuschannel_devinfo_to_string()
195 pad = 15 - x; /* pad driver name to be exactly 15 chars */ in vbuschannel_devinfo_to_string()
196 for (i = 0; i < pad; i++) in vbuschannel_devinfo_to_string()
/linux-4.4.14/drivers/net/wireless/ti/wl1251/
Dacx.h172 u8 pad[2]; member
319 u8 pad[3]; member
361 u8 pad[2]; member
399 u8 pad[2]; member
458 u8 pad[2]; member
503 u8 pad[3]; member
537 u8 pad[3]; member
703 u8 pad; member
722 u8 pad[2]; member
780 u8 pad[2]; member
[all …]
/linux-4.4.14/drivers/media/pci/cobalt/
Dcobalt-v4l2.c191 v4l2_subdev_call(s->sd, pad, set_fmt, NULL, &sd_fmt); in cobalt_enable_output()
219 .pad = s->pad_source, in cobalt_enable_input()
224 .pad = s->pad_source, in cobalt_enable_input()
242 v4l2_subdev_call(s->sd, pad, set_fmt, NULL, in cobalt_enable_input()
249 v4l2_subdev_call(s->sd, pad, set_fmt, NULL, in cobalt_enable_input()
257 v4l2_subdev_call(s->sd, pad, set_fmt, NULL, in cobalt_enable_input()
636 timings->pad = 0; in cobalt_enum_dv_timings()
638 pad, enum_dv_timings, timings); in cobalt_enum_dv_timings()
700 cap->pad = 0; in cobalt_dv_timings_cap()
702 pad, dv_timings_cap, cap); in cobalt_dv_timings_cap()
[all …]
Dcobalt-driver.c516 .pad = ADV7604_PAD_SOURCE, in cobalt_subdevs_init()
521 .pad = ADV76XX_PAD_HDMI_PORT_A, in cobalt_subdevs_init()
545 err = v4l2_subdev_call(s[i].sd, pad, set_edid, in cobalt_subdevs_init()
549 err = v4l2_subdev_call(s[i].sd, pad, set_fmt, NULL, in cobalt_subdevs_init()
599 .pad = ADV7842_PAD_SOURCE, in cobalt_subdevs_hsma_init()
615 .pad = ADV7842_EDID_PORT_A, in cobalt_subdevs_hsma_init()
630 int err = v4l2_subdev_call(s->sd, pad, set_edid, &cobalt_edid); in cobalt_subdevs_hsma_init()
634 err = v4l2_subdev_call(s->sd, pad, set_fmt, NULL, in cobalt_subdevs_hsma_init()
/linux-4.4.14/include/uapi/xen/
Dgntdev.h56 __u32 pad; member
78 __u32 pad; member
104 __u32 pad; member
/linux-4.4.14/arch/x86/include/uapi/asm/
Dkvm_para.h48 __u32 pad[12]; member
68 __u32 pad; member
91 __u8 pad[60]; member
Dkvm.h85 __u32 pad; member
180 __u32 pad; member
249 __u32 pad; member
298 __u8 pad; member
311 __u8 pad; member
/linux-4.4.14/Documentation/input/
Dxpad.txt22 - if you are using a known dance pad
28 the driver will map the directional pad to axes (X/Y).
29 If you said Y it will map the d-pad to buttons, which is needed for dance
40 With a normal controller, the directional pad is mapped to its own X/Y axes.
55 play first person shooters with a pad. Your mileage may vary.
60 When using a known dance pad, jstest will report 6 axes and 14 buttons.
62 For dance style pads (like the redoctane pad) several changes
63 have been made. The old driver would map the d-pad to axes, resulting
67 Known dance pads automatically map the d-pad to buttons and will work
70 If your dance pad is recognized by the driver but is using axes instead
[all …]
Dsentelic.txt143 => 11, Normal data packet with on-pad click
168 => 11, Normal data packet with on-pad click
193 => 11, Normal data packet with on-pad click
196 0: left button is generated by the on-pad command
233 => 11, Normal data packet with on-pad click
260 => 11, Normal data packet with on-pad click
287 => 11, Normal data packet with on-pad click
290 0: left button is generated by the on-pad command
330 Bit4 => 0: The LEFT button is generated by on-pad command (OPC)
358 Bit4 => 0: The LEFT button is generated by on-pad command (OPC)
[all …]
/linux-4.4.14/drivers/media/platform/omap3isp/
Dispccp2.c352 struct media_pad *pad; in ccp2_if_configure() local
359 pad = media_entity_remote_pad(&ccp2->pads[CCP2_PAD_SINK]); in ccp2_if_configure()
360 sensor = media_entity_to_v4l2_subdev(pad->entity); in ccp2_if_configure()
621 unsigned int pad, enum v4l2_subdev_format_whence which) in __ccp2_get_format() argument
624 return v4l2_subdev_get_try_format(&ccp2->subdev, cfg, pad); in __ccp2_get_format()
626 return &ccp2->formats[pad]; in __ccp2_get_format()
638 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in ccp2_try_format() argument
644 switch (pad) { in ccp2_try_format()
696 if (code->pad == CCP2_PAD_SINK) { in ccp2_enum_mbus_code()
726 ccp2_try_format(ccp2, cfg, fse->pad, &format, fse->which); in ccp2_enum_frame_size()
[all …]
Dispvideo.c207 isp_video_remote_subdev(struct isp_video *video, u32 *pad) in isp_video_remote_subdev() argument
211 remote = media_entity_remote_pad(&video->pad); in isp_video_remote_subdev()
217 if (pad) in isp_video_remote_subdev()
218 *pad = remote->index; in isp_video_remote_subdev()
275 u32 pad; in __isp_video_get_format() local
278 subdev = isp_video_remote_subdev(video, &pad); in __isp_video_get_format()
282 fmt.pad = pad; in __isp_video_get_format()
286 ret = v4l2_subdev_call(subdev, pad, get_fmt, NULL, &fmt); in __isp_video_get_format()
695 u32 pad; in isp_video_try_format() local
701 subdev = isp_video_remote_subdev(video, &pad); in isp_video_try_format()
[all …]
Dispcsi2.c556 struct media_pad *pad; in csi2_configure() local
567 pad = media_entity_remote_pad(&csi2->pads[CSI2_PAD_SINK]); in csi2_configure()
568 sensor = media_entity_to_v4l2_subdev(pad->entity); in csi2_configure()
839 unsigned int pad, enum v4l2_subdev_format_whence which) in __csi2_get_format() argument
842 return v4l2_subdev_get_try_format(&csi2->subdev, cfg, pad); in __csi2_get_format()
844 return &csi2->formats[pad]; in __csi2_get_format()
849 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in csi2_try_format() argument
857 switch (pad) { in csi2_try_format()
911 if (code->pad == CSI2_PAD_SINK) { in csi2_enum_mbus_code()
953 csi2_try_format(csi2, cfg, fse->pad, &format, fse->which); in csi2_enum_frame_size()
[all …]
Disp.c874 struct media_pad *pad; in isp_pipeline_enable() local
895 pad = &entity->pads[0]; in isp_pipeline_enable()
896 if (!(pad->flags & MEDIA_PAD_FL_SINK)) in isp_pipeline_enable()
899 pad = media_entity_remote_pad(pad); in isp_pipeline_enable()
900 if (pad == NULL || in isp_pipeline_enable()
901 media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in isp_pipeline_enable()
904 entity = pad->entity; in isp_pipeline_enable()
974 struct media_pad *pad; in isp_pipeline_disable() local
985 pad = &entity->pads[0]; in isp_pipeline_disable()
986 if (!(pad->flags & MEDIA_PAD_FL_SINK)) in isp_pipeline_disable()
[all …]
Dispresizer.c121 unsigned int pad, enum v4l2_subdev_format_whence which) in __resizer_get_format() argument
124 return v4l2_subdev_get_try_format(&res->subdev, cfg, pad); in __resizer_get_format()
126 return &res->formats[pad]; in __resizer_get_format()
1234 if (sel->pad != RESZ_PAD_SINK) in resizer_get_selection()
1290 sel->pad != RESZ_PAD_SINK) in resizer_set_selection()
1377 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in resizer_try_format() argument
1385 switch (pad) { in resizer_try_format()
1424 if (code->pad == RESZ_PAD_SINK) { in resizer_enum_mbus_code()
1454 resizer_try_format(res, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
1464 resizer_try_format(res, cfg, fse->pad, &format, fse->which); in resizer_enum_frame_size()
[all …]
Dispccdc.c36 unsigned int pad, enum v4l2_subdev_format_whence which);
1126 struct media_pad *pad; in ccdc_configure() local
1138 pad = media_entity_remote_pad(&ccdc->pads[CCDC_PAD_SINK]); in ccdc_configure()
1139 sensor = media_entity_to_v4l2_subdev(pad->entity); in ccdc_configure()
1158 fmt_src.pad = pad->index; in ccdc_configure()
1160 if (!v4l2_subdev_call(sensor, pad, get_fmt, NULL, &fmt_src)) { in ccdc_configure()
1939 unsigned int pad, enum v4l2_subdev_format_whence which) in __ccdc_get_format() argument
1942 return v4l2_subdev_get_try_format(&ccdc->subdev, cfg, pad); in __ccdc_get_format()
1944 return &ccdc->formats[pad]; in __ccdc_get_format()
1966 unsigned int pad, struct v4l2_mbus_framefmt *fmt, in ccdc_try_format() argument
[all …]
Disp.h355 isp_pad_buffer_type(const struct v4l2_subdev *subdev, int pad) in isp_pad_buffer_type() argument
357 if (pad >= subdev->entity.num_pads) in isp_pad_buffer_type()
360 if (subdev->entity.pads[pad].flags & MEDIA_PAD_FL_SINK) in isp_pad_buffer_type()
Disppreview.c1686 unsigned int pad, enum v4l2_subdev_format_whence which) in __preview_get_format() argument
1689 return v4l2_subdev_get_try_format(&prev->subdev, cfg, pad); in __preview_get_format()
1691 return &prev->formats[pad]; in __preview_get_format()
1735 struct v4l2_subdev_pad_config *cfg, unsigned int pad, in preview_try_format() argument
1743 switch (pad) { in preview_try_format()
1871 switch (code->pad) { in preview_enum_mbus_code()
1904 preview_try_format(prev, cfg, fse->pad, &format, fse->which); in preview_enum_frame_size()
1914 preview_try_format(prev, cfg, fse->pad, &format, fse->which); in preview_enum_frame_size()
1938 if (sel->pad != PREV_PAD_SINK) in preview_get_selection()
1982 sel->pad != PREV_PAD_SINK) in preview_set_selection()
[all …]
/linux-4.4.14/drivers/media/
Dmedia-entity.c258 struct media_pad *pad = link->sink->entity == entity in media_entity_pipeline_start() local
262 bitmap_clear(has_no_links, pad->index, 1); in media_entity_pipeline_start()
269 if (!(pad->flags & MEDIA_PAD_FL_MUST_CONNECT) || in media_entity_pipeline_start()
271 bitmap_set(active, pad->index, 1); in media_entity_pipeline_start()
277 if (link->sink != pad || in media_entity_pipeline_start()
660 struct media_pad *media_entity_remote_pad(struct media_pad *pad) in media_entity_remote_pad() argument
664 for (i = 0; i < pad->entity->num_links; i++) { in media_entity_remote_pad()
665 struct media_link *link = &pad->entity->links[i]; in media_entity_remote_pad()
670 if (link->source == pad) in media_entity_remote_pad()
673 if (link->sink == pad) in media_entity_remote_pad()
Dmedia-device.c141 struct media_pad_desc pad; in __media_device_enum_links() local
143 memset(&pad, 0, sizeof(pad)); in __media_device_enum_links()
144 media_device_kpad_to_upad(&entity->pads[p], &pad); in __media_device_enum_links()
145 if (copy_to_user(&links->pads[p], &pad, sizeof(pad))) in __media_device_enum_links()
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_bts.c78 int pg, nbuf, pad; in bts_buffer_setup_aux() local
105 for (pg = 0, nbuf = 0, offset = 0, pad = 0; nbuf < buf->nr_bufs; nbuf++) { in bts_buffer_setup_aux()
112 buf->buf[nbuf].displacement = (pad ? BTS_RECORD_SIZE - pad : 0); in bts_buffer_setup_aux()
114 pad = buf->buf[nbuf].size % BTS_RECORD_SIZE; in bts_buffer_setup_aux()
115 buf->buf[nbuf].size -= pad; in bts_buffer_setup_aux()
302 unsigned long head, space, next_space, pad, gap, skip, wakeup; in bts_buffer_reset() local
316 pad = space; in bts_buffer_reset()
329 skip = pad + gap; in bts_buffer_reset()
337 if (pad) in bts_buffer_reset()
/linux-4.4.14/tools/power/cpupower/utils/
Dcpufreq-set.c70 int power = 0, match_count = 0, i, cp, pad; in string_to_frequency() local
107 pad = power + 1; in string_to_frequency()
109 pad = 0, cp += power + 1; in string_to_frequency()
111 if (cp <= 0 || cp + pad > NORM_FREQ_LEN - 1) in string_to_frequency()
121 for (; i < cp + pad; i++) in string_to_frequency()
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_uc.c249 u32 pad; in qib_uc_rcv() local
391 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_uc_rcv()
394 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_uc_rcv()
397 tlen -= (hdrsize + pad + 4); in qib_uc_rcv()
477 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_uc_rcv()
480 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_uc_rcv()
483 tlen -= (hdrsize + pad + 4); in qib_uc_rcv()
504 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in qib_uc_rcv()
507 if (unlikely(tlen < (hdrsize + pad + 4))) in qib_uc_rcv()
510 tlen -= (hdrsize + pad + 4); in qib_uc_rcv()
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_uc.c247 u32 pad; in ipath_uc_rcv() local
394 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_uc_rcv()
397 if (unlikely(tlen < (hdrsize + pad + 4))) { in ipath_uc_rcv()
403 tlen -= (hdrsize + pad + 4); in ipath_uc_rcv()
496 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_uc_rcv()
499 if (unlikely(tlen < (hdrsize + pad + 4))) { in ipath_uc_rcv()
504 tlen -= (hdrsize + pad + 4); in ipath_uc_rcv()
522 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in ipath_uc_rcv()
525 if (unlikely(tlen < (hdrsize + pad + 4))) { in ipath_uc_rcv()
530 tlen -= (hdrsize + pad + 4); in ipath_uc_rcv()
/linux-4.4.14/drivers/block/drbd/
Ddrbd_protocol.h106 u32 pad; member
151 u32 pad; /* to multiple of 8 Byte */ member
180 u32 pad; /* to multiple of 8 Byte */ member
273 u32 pad; /* to multiple of 8 Byte */ member
/linux-4.4.14/include/xen/interface/
Dxenpmu.h39 uint32_t pad; member
88 uint8_t pad[6]; member
Dnmi.h41 unsigned long pad; member
/linux-4.4.14/arch/x86/include/asm/xen/
Dinterface.h311 uint8_t pad[3]; member
340 uint8_t pad[XENPMU_REGS_PAD_SZ]; member
354 uint64_t pad; member
372 uint8_t pad[XENPMU_CTXT_PAD_SZ]; member
/linux-4.4.14/drivers/xen/
DMakefile14 dom0-$(CONFIG_XEN_ACPI) += acpi.o $(xen-pad-y)
15 xen-pad-$(CONFIG_X86) += xen-acpi-pad.o
/linux-4.4.14/net/sunrpc/auth_gss/
Dgss_krb5_wrap.c69 u8 pad; in gss_krb5_remove_padding() local
73 pad = *(u8 *)(buf->head[0].iov_base + len - 1); in gss_krb5_remove_padding()
74 if (pad > buf->head[0].iov_len) in gss_krb5_remove_padding()
76 buf->head[0].iov_len -= pad; in gss_krb5_remove_padding()
86 pad = *(ptr + offset); in gss_krb5_remove_padding()
92 pad = *(u8 *)(buf->tail[0].iov_base + len - 1); in gss_krb5_remove_padding()
107 if (pad > blocksize) in gss_krb5_remove_padding()
109 if (buf->len > pad) in gss_krb5_remove_padding()
110 buf->len -= pad; in gss_krb5_remove_padding()
/linux-4.4.14/drivers/staging/rdma/hfi1/
Duc.c274 u32 pad; in hfi1_uc_rcv() local
431 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in hfi1_uc_rcv()
434 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_uc_rcv()
437 tlen -= (hdrsize + pad + 4); in hfi1_uc_rcv()
526 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in hfi1_uc_rcv()
529 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_uc_rcv()
532 tlen -= (hdrsize + pad + 4); in hfi1_uc_rcv()
553 pad = (be32_to_cpu(ohdr->bth[0]) >> 20) & 3; in hfi1_uc_rcv()
556 if (unlikely(tlen < (hdrsize + pad + 4))) in hfi1_uc_rcv()
559 tlen -= (hdrsize + pad + 4); in hfi1_uc_rcv()
/linux-4.4.14/drivers/scsi/megaraid/
Dmegaraid_mm.h77 uint8_t pad[4]; member
91 char pad[4]; member
/linux-4.4.14/arch/arm64/include/uapi/asm/
Dptrace.h83 __u32 pad; member
87 __u32 pad; member
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40e_virtchnl.h91 u8 pad[8]; /* AQ flags/opcode/len/retval fields */ member
255 u16 pad; member
274 u8 pad[2]; member
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl.h91 u8 pad[8]; /* AQ flags/opcode/len/retval fields */ member
255 u16 pad; member
274 u8 pad[2]; member
/linux-4.4.14/include/linux/
Dif_frad.h37 unsigned char pad; member
43 #define IP_NLPID pad
/linux-4.4.14/arch/arc/plat-axs10x/
Daxs10x.c103 unsigned int pad:11, y:12, m:4, d:5; in axs10x_print_board_ver() member
105 unsigned int d:5, m:4, y:12, pad:11; in axs10x_print_board_ver()
162 unsigned int slave_sel:4, slave_off:4, pad:24; member
329 unsigned int pad:17, noupd:1, bypass:1, edge:1, high:6, low:6; member
331 unsigned int low:6, high:6, edge:1, bypass:1, noupd:1, pad:17;
/linux-4.4.14/arch/tile/include/uapi/asm/
Dptrace.h73 pt_reg_t pad[3]; member
76 pt_reg_t pad[2]; member
/linux-4.4.14/net/rxrpc/
Dar-output.c639 size_t pad; in rxrpc_send_data() local
643 pad = conn->security_size + skb->mark; in rxrpc_send_data()
644 pad = conn->size_align - pad; in rxrpc_send_data()
645 pad &= conn->size_align - 1; in rxrpc_send_data()
646 _debug("pad %zu", pad); in rxrpc_send_data()
647 if (pad) in rxrpc_send_data()
648 memset(skb_put(skb, pad), 0, pad); in rxrpc_send_data()
/linux-4.4.14/drivers/video/fbdev/
Dsticore.h124 u32 pad : 14; /* pad to word boundary */ member
130 u8 pad[1]; /* pad to word boundary */ member
153 u32 pad : 31; /* pad to word boundary */ member
272 u32 pad : 30; /* pad to word boundary */ member
288 u32 pad : 28; /* pad to word boundary */ member
/linux-4.4.14/include/media/
Dv4l2-subdev.h639 int (*get_frame_desc)(struct v4l2_subdev *sd, unsigned int pad,
641 int (*set_frame_desc)(struct v4l2_subdev *sd, unsigned int pad,
653 const struct v4l2_subdev_pad_ops *pad; member
750 struct v4l2_subdev_pad_config *pad; member
762 unsigned int pad) \
764 BUG_ON(pad >= sd->entity.num_pads); \
765 return &cfg[pad].field_name; \
/linux-4.4.14/Documentation/
Dmedia-framework.txt30 A pad is a connection endpoint through which an entity can interact with
37 pad to a sink pad.
118 Drivers must set the direction of every pad in the pads array before calling
185 Pads have flags that describe the pad capabilities and state.
187 MEDIA_PAD_FL_SINK indicates that the pad supports sinking data.
188 MEDIA_PAD_FL_SOURCE indicates that the pad supports sourcing data.
191 each pad.
213 to transfer media data. When two or more links target a sink pad, only
262 Helper functions can be used to find a link between two given pads, or a pad
263 connected to another pad through an enabled link
[all …]
/linux-4.4.14/include/xen/interface/io/
Dkbdif.h75 char pad[XENKBD_IN_EVENT_SIZE]; member
90 char pad[XENKBD_OUT_EVENT_SIZE]; member
Dfbif.h73 char pad[XENFB_OUT_EVENT_SIZE]; member
87 char pad[XENFB_IN_EVENT_SIZE]; member
Dnetif.h196 uint8_t pad; member
210 uint16_t pad[3]; member
Dring.h83 uint8_t pad[48]; \
122 memset((_s)->pad, 0, sizeof((_s)->pad)); \
/linux-4.4.14/drivers/net/wireless/libertas_tf/
Dif_usb.h31 uint8_t pad[11]; member
41 uint8_t pad[2]; member
/linux-4.4.14/fs/logfs/
Dlogfs_abi.h186 __be16 pad; member
499 __be32 pad; member
518 u8 pad[7]; member
579 u8 pad[5]; member
/linux-4.4.14/Documentation/devicetree/bindings/pinctrl/
Dfsl,imx7d-pinctrl.txt7 mux and pad control settings, it shares the input select register from main
35 the pad setting value like pull-up on this pin. Please refer to i.MX7 Dual
58 any of the iomux controllers. For example the I2C1 IP can use SCL pad from
59 iomuxc-lpsr controller and SDA pad from iomuxc controller as:
Dnvidia,tegra124-xusb-padctl.txt1 Device tree binding for NVIDIA Tegra XUSB pad controller
4 The Tegra XUSB pad controller manages a set of lanes, each of which can be
6 associated PHY that must be powered up before the pad can be used.
8 This document defines the device-specific binding for the XUSB pad controller.
51 - nvidia,function: A string that is the name of the function (pad) that the
Dfsl,imx53-pinctrl.txt10 pin working on a specific function, CONFIG is the pad setting value like
11 pull-up for this pin. Please refer to imx53 datasheet for the valid pad
Dfsl,imx51-pinctrl.txt10 pin working on a specific function, CONFIG is the pad setting value like
11 pull-up for this pin. Please refer to imx51 datasheet for the valid pad
Dfsl,imx35-pinctrl.txt10 pin working on a specific function, CONFIG is the pad setting value like
11 pull-up for this pin. Please refer to imx35 datasheet for the valid pad
Dfsl,imx6q-pinctrl.txt10 pin working on a specific function, CONFIG is the pad setting value like
11 pull-up for this pin. Please refer to imx6q datasheet for the valid pad
Dfsl,imx6dl-pinctrl.txt10 pin working on a specific function, CONFIG is the pad setting value like
11 pull-up for this pin. Please refer to imx6dl datasheet for the valid pad
Dfsl,imx6sl-pinctrl.txt10 pin working on a specific function, CONFIG is the pad setting value like
11 pull-up for this pin. Please refer to imx6sl datasheet for the valid pad
Dfsl,vf610-pinctrl.txt10 a pin working on a specific function, CONFIG is the pad setting value
12 datasheet for the valid pad config settings.
/linux-4.4.14/net/wireless/
Dradiotap.c216 int pad, align, size, subns; in ieee80211_radiotap_iterator_next() local
270 pad = ((unsigned long)iterator->_arg - in ieee80211_radiotap_iterator_next()
273 if (pad) in ieee80211_radiotap_iterator_next()
274 iterator->_arg += align - pad; in ieee80211_radiotap_iterator_next()
/linux-4.4.14/fs/ubifs/
Dio.c318 void ubifs_pad(const struct ubifs_info *c, void *buf, int pad) in ubifs_pad() argument
322 ubifs_assert(pad >= 0 && !(pad & 7)); in ubifs_pad()
324 if (pad >= UBIFS_PAD_NODE_SZ) { in ubifs_pad()
334 pad -= UBIFS_PAD_NODE_SZ; in ubifs_pad()
335 pad_node->pad_len = cpu_to_le32(pad); in ubifs_pad()
338 memset(buf + UBIFS_PAD_NODE_SZ, 0, pad); in ubifs_pad()
339 } else if (pad > 0) in ubifs_pad()
341 memset(buf, UBIFS_PADDING_BYTE, pad); in ubifs_pad()
379 void ubifs_prepare_node(struct ubifs_info *c, void *node, int len, int pad) in ubifs_prepare_node() argument
395 if (pad) { in ubifs_prepare_node()
[all …]
Dscan.c95 struct ubifs_pad_node *pad = buf; in ubifs_scan_a_node() local
96 int pad_len = le32_to_cpu(pad->pad_len); in ubifs_scan_a_node()
105 ubifs_dump_node(c, pad); in ubifs_scan_a_node()
/linux-4.4.14/Documentation/devicetree/bindings/phy/
Dnvidia,tegra20-usb-phy.txt13 - The register set of the PHY containing the UTMI pad control registers.
22 - utmi-pads: The clock needed to access the UTMI pad control registers.
30 - utmi-pads: The reset of the PHY containing the chip-wide UTMI pad control
68 - nvidia,has-utmi-pad-registers : boolean indicates whether this controller
69 contains the UTMI pad control registers common to all USB controllers.
/linux-4.4.14/drivers/net/wireless/libertas/
Dif_usb.h28 uint8_t pad[11]; member
40 uint8_t pad[2]; member
/linux-4.4.14/ipc/
Dcompat.c238 static long do_compat_semctl(int first, int second, int third, u32 pad) in do_compat_semctl() argument
250 fourth = (unsigned long)pad << 32; in do_compat_semctl()
252 fourth = pad; in do_compat_semctl()
255 fourth = (unsigned long)compat_ptr(pad); in do_compat_semctl()
280 err2 = put_compat_semid64_ds(&sem64, compat_ptr(pad)); in do_compat_semctl()
282 err2 = put_compat_semid_ds(&sem64, compat_ptr(pad)); in do_compat_semctl()
289 err = get_compat_semid64_ds(&sem64, compat_ptr(pad)); in do_compat_semctl()
291 err = get_compat_semid_ds(&sem64, compat_ptr(pad)); in do_compat_semctl()
333 u32 pad; in COMPAT_SYSCALL_DEFINE6() local
350 if (get_user(pad, (u32 __user *) compat_ptr(ptr))) in COMPAT_SYSCALL_DEFINE6()
[all …]
/linux-4.4.14/drivers/gpu/drm/nouveau/include/nvkm/subdev/
Di2c.h30 struct nvkm_i2c_pad *pad; member
51 struct nvkm_i2c_pad *pad; member
75 struct list_head pad; member
/linux-4.4.14/drivers/media/platform/s3c-camif/
Dcamif-capture.c831 struct media_pad *pad; in camif_pipeline_validate() local
835 pad = media_entity_remote_pad(&camif->pads[0]); in camif_pipeline_validate()
836 if (!pad || media_entity_type(pad->entity) != MEDIA_ENT_T_V4L2_SUBDEV) in camif_pipeline_validate()
839 src_fmt.pad = pad->index; in camif_pipeline_validate()
841 ret = v4l2_subdev_call(camif->sensor.sd, pad, get_fmt, NULL, &src_fmt); in camif_pipeline_validate()
1157 vp->pad.flags = MEDIA_PAD_FL_SINK; in s3c_camif_register_video_node()
1158 ret = media_entity_init(&vfd->entity, 1, &vp->pad, 0); in s3c_camif_register_video_node()
1239 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in s3c_camif_subdev_get_fmt()
1246 switch (fmt->pad) { in s3c_camif_subdev_get_fmt()
1267 struct v4l2_mbus_framefmt *mf, int pad) in __camif_subdev_try_format() argument
[all …]
/linux-4.4.14/drivers/net/ethernet/amd/
Dau1000_eth.h60 u32 pad; member
66 u32 pad[2]; member
/linux-4.4.14/fs/jfs/
Djfs_dmap.h154 u8 pad[2]; /* 2: pad to word boundary */ member
165 u8 pad[1672]; /* 1672: pad to 2048 bytes */ member
182 u8 pad[2714]; /* 2714: pad to 4096 */ member
220 u8 pad[3007]; /* 3007: pad to 4096 */ member
Djfs_imap.h85 u8 pad[1976]; /* 1976: pad to 2048 bytes */ member
121 u8 pad[2016]; /* 2016: pad to 2048 */ member
/linux-4.4.14/drivers/staging/rtl8192e/rtl8192e/
Dr8192E_firmware.c175 int pad = 0; in rtl92e_init_fw() local
178 pad = 128; in rtl92e_init_fw()
183 pad)) in rtl92e_init_fw()
/linux-4.4.14/arch/parisc/include/asm/
Deisa_eeprom.h31 u_int8_t pad[10]; member
76 u_int8_t pad[24]; member
Dcompat_ucontext.h12 compat_uint_t pad[1]; member
/linux-4.4.14/drivers/net/hippi/
Drrunner.h562 u8 pad; member
566 u8 pad; member
584 u8 pad; member
588 u8 pad; member
767 u8 pad; member
773 u8 pad; member
788 u8 pad[464]; member
/linux-4.4.14/drivers/net/usb/
Ddm9601.c474 int len, pad; in dm9601_tx_fixup() local
493 pad = len - skb->len; in dm9601_tx_fixup()
495 if (skb_headroom(skb) < DM_TX_OVERHEAD || skb_tailroom(skb) < pad) { in dm9601_tx_fixup()
498 skb2 = skb_copy_expand(skb, DM_TX_OVERHEAD, pad, flags); in dm9601_tx_fixup()
507 if (pad) { in dm9601_tx_fixup()
508 memset(skb->data + skb->len, 0, pad); in dm9601_tx_fixup()
509 __skb_put(skb, pad); in dm9601_tx_fixup()
/linux-4.4.14/arch/tile/gxio/
Dmpipe.c251 unsigned int pad = 0; in gxio_mpipe_rules_begin() local
252 while (((head + pad) % __alignof__(gxio_mpipe_rules_rule_t)) != 0) in gxio_mpipe_rules_begin()
253 pad++; in gxio_mpipe_rules_begin()
259 if (head + pad + sizeof(*rule) >= sizeof(list->rules)) in gxio_mpipe_rules_begin()
267 rule->size += pad; in gxio_mpipe_rules_begin()
270 list->head = head + pad; in gxio_mpipe_rules_begin()
/linux-4.4.14/drivers/net/wireless/ti/wlcore/
Dacx.h204 u8 pad[1]; member
239 u8 pad[1]; member
280 u8 pad[2]; member
297 u8 pad[3]; member
322 u8 pad; member
337 u8 pad[1]; member
379 u8 pad[1]; member
939 u8 pad[2]; member
961 u8 pad[3]; member
/linux-4.4.14/drivers/staging/rdma/amso1100/
Dc2_wr.h290 u32 pad; member
726 u16 pad; member
766 u8 pad; member
816 u8 pad[3]; member
836 u8 pad[3]; member
868 u8 pad; member
898 u8 pad; member
1028 u8 pad[3]; member
1044 u8 pad[3]; member
1062 u8 pad[3]; member
[all …]
/linux-4.4.14/drivers/infiniband/core/
Dmad_rmpp.c438 int hdr_size, data_size, pad; in get_mad_len() local
447 pad = OPA_MGMT_RMPP_DATA - be32_to_cpu(rmpp_mad->rmpp_hdr.paylen_newwin); in get_mad_len()
448 if (pad > OPA_MGMT_RMPP_DATA || pad < 0) in get_mad_len()
449 pad = 0; in get_mad_len()
452 pad = IB_MGMT_RMPP_DATA - be32_to_cpu(rmpp_mad->rmpp_hdr.paylen_newwin); in get_mad_len()
453 if (pad > IB_MGMT_RMPP_DATA || pad < 0) in get_mad_len()
454 pad = 0; in get_mad_len()
457 return hdr_size + rmpp_recv->seg_num * data_size - pad; in get_mad_len()
589 mad_send_wr->pad; in send_next_seg()
594 paylen = mad_send_wr->send_buf.seg_rmpp_size - mad_send_wr->pad; in send_next_seg()
/linux-4.4.14/drivers/net/wireless/ath/ath9k/
Dhtc_hst.h71 u8 pad; member
181 u8 pad; member
198 u8 pad; member
Dhtc.h82 u8 pad; member
93 u8 pad; member
110 u8 pad; member
119 u8 pad; member
131 u8 pad; member
170 u16 pad; member
/linux-4.4.14/drivers/gpu/drm/vmwgfx/device_include/
Dsvga3d_dx.h204 uint32 pad:7; member
679 uint32 pad; member
811 uint32 pad; member
870 uint32 pad[2]; member
973 uint32 pad[62]; member
1262 uint32 pad; member
1311 uint32 pad[250]; member
1414 uint32 pad; member
/linux-4.4.14/arch/mips/boot/
Delf2ecoff.c100 static void combine(struct sect *base, struct sect *new, int pad) in combine() argument
106 if (pad) in combine()
271 int i, pad; in main() local
546 pad = (sizeof(efh) + sizeof(eah) + nosecs * sizeof(struct scnhdr)) & 15; in main()
547 if (pad) { in main()
548 pad = 16 - pad; in main()
549 i = write(outfile, "\0\0\0\0\0\0\0\0\0\0\0\0\0\0", pad); in main()
/linux-4.4.14/drivers/staging/fbtft/
Dfbtft-bus.c79 int pad = 0; in define_fbtft_write_reg() local
96 pad = (len % 4) ? 4 - (len % 4) : 0; in define_fbtft_write_reg()
97 for (i = 0; i < pad; i++) in define_fbtft_write_reg()
109 ret = par->fbtftops.write(par, par->buf, (len + pad) * sizeof(u16)); in define_fbtft_write_reg()
/linux-4.4.14/lib/842/
D842_compress.c491 u64 last, next, pad, total; in sw842_compress() local
603 pad = (8 - ((total - p->olen) % 8)) % 8; in sw842_compress()
604 if (pad) { in sw842_compress()
605 if (pad > p->olen) /* we were so close! */ in sw842_compress()
607 memset(p->out, 0, pad); in sw842_compress()
608 p->out += pad; in sw842_compress()
609 p->olen -= pad; in sw842_compress()
/linux-4.4.14/security/keys/encrypted-keys/
Dencrypted.c473 char pad[16]; in derived_key_encrypt() local
485 memset(pad, 0, sizeof pad); in derived_key_encrypt()
489 sg_set_buf(&sg_in[1], pad, padlen); in derived_key_encrypt()
570 char pad[16]; in derived_key_decrypt() local
580 memset(pad, 0, sizeof pad); in derived_key_decrypt()
586 sg_set_buf(&sg_out[1], pad, sizeof pad); in derived_key_decrypt()
/linux-4.4.14/net/dsa/
Dtag_trailer.c47 u8 *pad = skb_put(nskb, padlen); in trailer_xmit() local
48 memset(pad, 0, padlen); in trailer_xmit()
/linux-4.4.14/drivers/ata/
Dpata_legacy.c331 __le32 pad; in pdc_data_xfer_vlb() local
333 pad = cpu_to_le32(ioread32(ap->ioaddr.data_addr)); in pdc_data_xfer_vlb()
334 memcpy(buf + buflen - slop, &pad, slop); in pdc_data_xfer_vlb()
336 memcpy(&pad, buf + buflen - slop, slop); in pdc_data_xfer_vlb()
337 iowrite32(le32_to_cpu(pad), ap->ioaddr.data_addr); in pdc_data_xfer_vlb()
719 __le32 pad; in vlb32_data_xfer() local
721 memcpy(&pad, buf + buflen - slop, slop); in vlb32_data_xfer()
722 iowrite32(le32_to_cpu(pad), ap->ioaddr.data_addr); in vlb32_data_xfer()
724 pad = cpu_to_le32(ioread32(ap->ioaddr.data_addr)); in vlb32_data_xfer()
725 memcpy(buf + buflen - slop, &pad, slop); in vlb32_data_xfer()
/linux-4.4.14/arch/arc/kernel/
Dmcip.c115 msg:1, sem:1, ipi:1, pad:1, in mcip_probe_n_setup() member
119 pad:1, ipi:1, sem:1, msg:1, in mcip_probe_n_setup()
184 unsigned int distr:2, pad:2, lvl:1, pad2:27; in idu_set_mode() member
/linux-4.4.14/drivers/staging/slicoss/
Dslichw.h662 u8 pad[3]; member
672 u8 pad[13]; member
680 u8 pad[7]; member
687 u8 pad[3]; member
694 u8 pad[3]; member
744 struct slic_config_mac pad[SLIC_NBR_MACS - 1]; member
/linux-4.4.14/drivers/media/i2c/smiapp/
Dsmiapp-core.c1572 subdev->name, code->pad, code->index); in smiapp_enum_mbus_code()
1574 if (subdev != &sensor->src->sd || code->pad != SMIAPP_PAD_SRC) { in smiapp_enum_mbus_code()
1603 unsigned int pad) in __smiapp_get_mbus_code() argument
1607 if (subdev == &sensor->src->sd && pad == SMIAPP_PAD_SRC) in __smiapp_get_mbus_code()
1620 fmt->format = *v4l2_subdev_get_try_format(subdev, cfg, fmt->pad); in __smiapp_get_format()
1624 if (fmt->pad == ssd->source_pad) in __smiapp_get_format()
1629 fmt->format.code = __smiapp_get_mbus_code(subdev, fmt->pad); in __smiapp_get_format()
1795 if (fmt->pad == ssd->source_pad) { in smiapp_set_format()
1806 fmt->format.code = __smiapp_get_mbus_code(subdev, fmt->pad); in smiapp_set_format()
2083 && sel->pad == SMIAPP_PA_PAD_SRC) in __smiapp_sel_supported()
[all …]
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dfirmware.c370 u32 pad; in brcmf_fw_nvram_strip() local
392 pad = nvp.nvram_len; in brcmf_fw_nvram_strip()
394 while (pad != *new_length) { in brcmf_fw_nvram_strip()
395 nvp.nvram[pad] = 0; in brcmf_fw_nvram_strip()
396 pad++; in brcmf_fw_nvram_strip()
/linux-4.4.14/fs/xfs/libxfs/
Dxfs_da_format.h37 __be16 pad; /* unused */ member
367 __be32 pad; /* 64 bit alignment */ member
465 __be32 pad; /* 64 bit alignment */ member
543 __be32 pad; /* 64 bit alignment */ member
/linux-4.4.14/Documentation/devicetree/bindings/display/
Darm,pl11x.txt48 contains index of the "CLD" external pin (pad) used
50 index of the pad used as G0, third value index of the
51 pad used as B0, see also "LCD panel signal multiplexing
/linux-4.4.14/net/netfilter/
Dnft_compat.c169 int pad; in target_compat_from_user() local
172 pad = XT_ALIGN(t->targetsize) - t->targetsize; in target_compat_from_user()
173 if (pad > 0) in target_compat_from_user()
174 memset(out + t->targetsize, 0, pad); in target_compat_from_user()
386 int pad; in match_compat_from_user() local
389 pad = XT_ALIGN(m->matchsize) - m->matchsize; in match_compat_from_user()
390 if (pad > 0) in match_compat_from_user()
391 memset(out + m->matchsize, 0, pad); in match_compat_from_user()
/linux-4.4.14/drivers/media/i2c/m5mols/
Dm5mols_core.c597 static int m5mols_get_frame_desc(struct v4l2_subdev *sd, unsigned int pad, in m5mols_get_frame_desc() argument
602 if (pad != 0 || fd == NULL) in m5mols_get_frame_desc()
620 static int m5mols_set_frame_desc(struct v4l2_subdev *sd, unsigned int pad, in m5mols_set_frame_desc() argument
626 if (pad != 0 || fd == NULL) in m5mols_set_frame_desc()
898 struct v4l2_mbus_framefmt *format = v4l2_subdev_get_try_format(sd, fh->pad, 0); in m5mols_open()
910 .pad = &m5mols_pad_ops,
977 info->pad.flags = MEDIA_PAD_FL_SOURCE; in m5mols_probe()
978 ret = media_entity_init(&sd->entity, 1, &info->pad, 0); in m5mols_probe()
/linux-4.4.14/arch/sh/include/uapi/asm/
Dptrace_64.h10 unsigned long long pad[2]; member
/linux-4.4.14/arch/arc/mm/
Dcache.c82 unsigned int pad:24, way:2, lsz:2, sz:4; in read_decode_cache_bcr_arcv2() member
84 unsigned int sz:4, lsz:2, way:2, pad:24; in read_decode_cache_bcr_arcv2()
90 unsigned int pad:7, c:1, num_entries:8, num_cores:8, ver:8; in read_decode_cache_bcr_arcv2() member
92 unsigned int ver:8, num_cores:8, num_entries:8, c:1, pad:7; in read_decode_cache_bcr_arcv2()
115 unsigned int pad:12, line_len:4, sz:4, config:4, ver:8; in read_decode_cache_bcr() member
117 unsigned int ver:8, config:4, sz:4, line_len:4, pad:12; in read_decode_cache_bcr()
/linux-4.4.14/lib/
Dbch.c138 uint8_t pad[4] = {0, 0, 0, 0}; in load_ecc8() local
144 memcpy(pad, src, BCH_ECC_BYTES(bch)-4*nwords); in load_ecc8()
145 dst[nwords] = (pad[0] << 24)|(pad[1] << 16)|(pad[2] << 8)|pad[3]; in load_ecc8()
154 uint8_t pad[4]; in store_ecc8() local
163 pad[0] = (src[nwords] >> 24); in store_ecc8()
164 pad[1] = (src[nwords] >> 16) & 0xff; in store_ecc8()
165 pad[2] = (src[nwords] >> 8) & 0xff; in store_ecc8()
166 pad[3] = (src[nwords] >> 0) & 0xff; in store_ecc8()
167 memcpy(dst, pad, BCH_ECC_BYTES(bch)-4*nwords); in store_ecc8()
/linux-4.4.14/include/uapi/sound/
Dasequencer.h252 unsigned char pad[3]; /* reserved */ member
327 unsigned char pad; /* reserved */ member
549 unsigned char pad[3]; /* reserved */ member
/linux-4.4.14/include/uapi/linux/netfilter/
Dxt_quota.h15 __u32 pad; member
Dxt_NFLOG.h16 __u16 pad; member
/linux-4.4.14/crypto/
Dchacha20poly1305.c43 u8 pad[POLY1305_BLOCK_SIZE]; member
214 memset(preq->pad, 0, sizeof(preq->pad)); in poly_cipherpad()
216 sg_set_buf(preq->src, &preq->pad, padlen); in poly_cipherpad()
275 memset(preq->pad, 0, sizeof(preq->pad)); in poly_adpad()
277 sg_set_buf(preq->src, preq->pad, padlen); in poly_adpad()
/linux-4.4.14/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge_mcp.h29 u8 pad[40]; member
80 u8 pad; member
/linux-4.4.14/drivers/scsi/dpt/
Dsys_info.h156 uCHAR pad[2]; /* For alignment */ member
160 uCHAR pad[3]; /* For alignment */ member
/linux-4.4.14/include/uapi/linux/tc_ematch/
Dtc_em_text.h16 __u8 pad; member

1234