Searched refs:pad (Results 1 - 25 of 1078) sorted by relevance

1234567891011>>

/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dpad.c24 #include "pad.h"
27 nvkm_i2c_pad_mode_locked(struct nvkm_i2c_pad *pad, enum nvkm_i2c_pad_mode mode) argument
29 PAD_TRACE(pad, "-> %s", (mode == NVKM_I2C_PAD_AUX) ? "aux" :
31 if (pad->func->mode)
32 pad->func->mode(pad, mode);
36 nvkm_i2c_pad_mode(struct nvkm_i2c_pad *pad, enum nvkm_i2c_pad_mode mode) argument
38 PAD_TRACE(pad, "mode %d", mode);
39 mutex_lock(&pad->mutex);
40 nvkm_i2c_pad_mode_locked(pad, mod
46 nvkm_i2c_pad_release(struct nvkm_i2c_pad *pad) argument
55 nvkm_i2c_pad_acquire(struct nvkm_i2c_pad *pad, enum nvkm_i2c_pad_mode mode) argument
70 nvkm_i2c_pad_fini(struct nvkm_i2c_pad *pad) argument
77 nvkm_i2c_pad_init(struct nvkm_i2c_pad *pad) argument
86 struct nvkm_i2c_pad *pad = *ppad; local
96 nvkm_i2c_pad_ctor(const struct nvkm_i2c_pad_func *func, struct nvkm_i2c *i2c, int id, struct nvkm_i2c_pad *pad) argument
[all...]
H A Dauxgf119.c31 gf119_i2c_aux_new(struct nvkm_i2c_pad *pad, int index, u8 drive, argument
34 return g94_i2c_aux_new_(&gf119_i2c_aux, pad, index, drive, paux);
H A Danx9805.c38 struct anx9805_pad *pad; member in struct:anx9805_bus
46 struct anx9805_pad *pad = bus->pad; local
47 struct i2c_adapter *adap = &pad->bus->i2c;
53 tmp = nvkm_rdi2cr(adap, pad->addr, 0x07) & ~0x10;
54 nvkm_wri2cr(adap, pad->addr, 0x07, tmp | 0x10);
55 nvkm_wri2cr(adap, pad->addr, 0x07, tmp);
106 struct anx9805_pad *pad = anx9805_pad(base); local
113 bus->pad = pad;
131 struct anx9805_pad *pad; member in struct:anx9805_aux
140 struct anx9805_pad *pad = aux->pad; local
196 struct anx9805_pad *pad = aux->pad; local
235 struct anx9805_pad *pad = anx9805_pad(base); local
268 struct anx9805_pad *pad; local
[all...]
H A Dbase.c27 #include "pad.h"
37 struct nvkm_i2c_pad *pad; local
39 list_for_each_entry(pad, &i2c->pad, head) {
40 if (pad->id == id)
41 return pad;
141 struct nvkm_i2c_pad *pad; local
159 list_for_each_entry(pad, &i2c->pad, head) {
160 nvkm_i2c_pad_fini(pad);
171 struct nvkm_i2c_pad *pad; local
190 struct nvkm_i2c_pad *pad; local
228 struct nvkm_i2c_pad *pad = local
280 struct nvkm_i2c_pad *pad = NULL; local
348 struct nvkm_i2c_pad *pad; local
[all...]
H A Dbusgf119.c36 struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
44 struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
52 struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
60 struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
68 struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
83 gf119_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, argument
92 nvkm_i2c_bus_ctor(&gf119_i2c_bus_func, pad, id, &bus->base);
H A Dbusnv04.c39 struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
50 struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
61 struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
69 struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
83 nv04_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, u8 sense, argument
92 nvkm_i2c_bus_ctor(&nv04_i2c_bus_func, pad, id, &bus->base);
H A Dbusnv4e.c36 struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
44 struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
52 struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
60 struct nvkm_device *device = bus->base.pad->i2c->subdev.device;
74 nv4e_i2c_bus_new(struct nvkm_i2c_pad *pad, int id, u8 drive, argument
83 nvkm_i2c_bus_ctor(&nv4e_i2c_bus_func, pad, id, &bus->base);
/linux-master/lib/
H A Dfortify_kunit.c408 struct fortify_padding pad = { }; local
409 int i, end = sizeof(pad.buf) - 1;
412 for (i = 0; i < sizeof(pad.buf) - 1; i++)
413 pad.buf[i] = i + '0';
415 KUNIT_EXPECT_EQ(test, pad.buf[end], '\0');
416 KUNIT_EXPECT_EQ(test, pad.bytes_after, 0);
419 KUNIT_EXPECT_EQ(test, strlen(pad.buf), end);
423 pad.buf[end] = 'A';
424 end = sizeof(pad.buf);
425 KUNIT_EXPECT_EQ(test, strlen(pad
431 struct fortify_padding pad = { }; local
469 struct fortify_padding pad = { }; local
527 struct fortify_padding pad = { }; local
586 struct fortify_padding pad = { }; local
643 struct fortify_padding pad = { }; local
700 struct fortify_padding pad = { }; local
773 struct fortify_padding pad = { }; local
[all...]
/linux-master/drivers/net/wireless/broadcom/b43/
H A Dtables_lpphy.c1070 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 152, },
1071 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 147, },
1072 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 143, },
1073 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 139, },
1074 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 135, },
1075 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 131, },
1076 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 128, },
1077 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 124, },
1078 { .gm = 7, .pga = 15, .pad = 14, .dac = 0, .bb_mult = 121, },
1079 { .gm = 7, .pga = 15, .pad
[all...]
/linux-master/drivers/media/platform/samsung/exynos4-is/
H A Dcommon.c19 struct media_pad *pad = &entity->pads[0]; local
22 while (pad->flags & MEDIA_PAD_FL_SINK) {
23 /* source pad */
24 pad = media_pad_remote_pad_first(pad);
25 if (!pad || !is_media_entity_v4l2_subdev(pad->entity))
28 sd = media_entity_to_v4l2_subdev(pad->entity);
33 /* sink pad */
34 pad
[all...]
/linux-master/drivers/pinctrl/qcom/
H A Dpinctrl-spmi-gpio.c226 struct pmic_gpio_pad *pad, unsigned int addr)
231 ret = regmap_read(state->map, pad->base + addr, &val);
241 struct pmic_gpio_pad *pad, unsigned int addr,
246 ret = regmap_write(state->map, pad->base + addr, val);
306 struct pmic_gpio_pad *pad; local
315 pad = pctldev->desc->pins[pin].drv_data;
320 if (!pad->lv_mv_type) {
331 pad->function = function;
333 if (pad->analog_pass)
335 else if (pad
225 pmic_gpio_read(struct pmic_gpio_state *state, struct pmic_gpio_pad *pad, unsigned int addr) argument
240 pmic_gpio_write(struct pmic_gpio_state *state, struct pmic_gpio_pad *pad, unsigned int addr, unsigned int val) argument
388 struct pmic_gpio_pad *pad; local
480 struct pmic_gpio_pad *pad; local
659 struct pmic_gpio_pad *pad; local
747 struct pmic_gpio_pad *pad; local
811 pmic_gpio_populate(struct pmic_gpio_state *state, struct pmic_gpio_pad *pad) argument
1059 struct pmic_gpio_pad *pad, *pads; local
[all...]
H A Dpinctrl-spmi-mpp.c177 struct pmic_mpp_pad *pad, unsigned int addr)
182 ret = regmap_read(state->map, pad->base + addr, &val);
192 struct pmic_mpp_pad *pad, unsigned int addr,
197 ret = regmap_write(state->map, pad->base + addr, val);
255 struct pmic_mpp_pad *pad)
262 switch (pad->function) {
264 if (pad->input_enabled && pad->output_enabled)
266 else if (pad->input_enabled)
272 if (pad
176 pmic_mpp_read(struct pmic_mpp_state *state, struct pmic_mpp_pad *pad, unsigned int addr) argument
191 pmic_mpp_write(struct pmic_mpp_state *state, struct pmic_mpp_pad *pad, unsigned int addr, unsigned int val) argument
254 pmic_mpp_write_mode_ctl(struct pmic_mpp_state *state, struct pmic_mpp_pad *pad) argument
305 struct pmic_mpp_pad *pad; local
333 struct pmic_mpp_pad *pad; local
405 struct pmic_mpp_pad *pad; local
517 struct pmic_mpp_pad *pad; local
586 struct pmic_mpp_pad *pad; local
647 pmic_mpp_populate(struct pmic_mpp_state *state, struct pmic_mpp_pad *pad) argument
859 struct pmic_mpp_pad *pad, *pads; local
[all...]
/linux-master/drivers/input/joystick/
H A Dpsxpad-spi.c75 static int psxpad_command(struct psxpad *pad, const u8 sendcmdlen) argument
78 .tx_buf = pad->sendbuf,
79 .rx_buf = pad->response,
84 err = spi_sync_transfer(pad->spi, &xfers, 1);
86 dev_err(&pad->spi->dev,
96 static void psxpad_control_motor(struct psxpad *pad, argument
101 pad->motor1enable = motor1enable;
102 pad->motor2enable = motor2enable;
104 memcpy(pad->sendbuf, PSX_CMD_ENTER_CFG, sizeof(PSX_CMD_ENTER_CFG));
105 err = psxpad_command(pad, sizeo
135 psxpad_set_motor_level(struct psxpad *pad, u8 motor1level, u8 motor2level) argument
145 struct psxpad *pad = input_get_drvdata(idev); local
158 psxpad_spi_init_ff(struct psxpad *pad) argument
176 psxpad_control_motor(struct psxpad *pad, bool motor1enable, bool motor2enable) argument
181 psxpad_set_motor_level(struct psxpad *pad, u8 motor1level, u8 motor2level) argument
186 psxpad_spi_init_ff(struct psxpad *pad) argument
194 struct psxpad *pad = input_get_drvdata(input); local
203 struct psxpad *pad = input_get_drvdata(input); local
210 struct psxpad *pad = input_get_drvdata(input); local
287 struct psxpad *pad; local
380 struct psxpad *pad = spi_get_drvdata(spi); local
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dxdping.h11 __u32 pad; member in struct:pinginfo
/linux-master/arch/parisc/include/asm/
H A Dcompat_ucontext.h13 compat_uint_t pad[1]; member in struct:compat_ucontext
/linux-master/include/uapi/linux/netfilter/
H A Dxt_quota.h16 __u32 pad; member in struct:xt_quota_info
/linux-master/include/uapi/linux/
H A Dtipc_sockets_diag.h14 __u16 pad; /* must be 0 */ member in struct:tipc_sock_diag_req
H A Dpg.h63 char pad[12]; /* not used */ member in struct:pg_read_hdr
H A Dsync_file.h24 * @pad: padding for 64-bit alignment, should always be zero
35 __u32 pad; member in struct:sync_merge_data
60 * @pad: padding for 64-bit alignment, should always be zero
74 __u32 pad; member in struct:sync_file_info
82 * @pad: must be zero
97 __u64 pad; member in struct:sync_set_deadline
/linux-master/include/xen/interface/io/
H A Dtpmif.h46 uint8_t pad; member in struct:vtpm_shared_page
/linux-master/include/xen/interface/
H A Dxenpmu.h40 uint32_t pad; member in struct:xen_pmu_params
89 uint8_t pad[6]; member in struct:xen_pmu_data
/linux-master/fs/bcachefs/
H A Dlogged_ops_format.h8 __le32 pad; member in struct:bch_logged_op_truncate
22 __u8 pad[3]; member in struct:bch_logged_op_finsert
/linux-master/arch/arc/include/asm/
H A Darcregs.h182 unsigned int pad:8, prod:8, maj:8, min:8; member in struct:bcr_uarch_build
184 unsigned int min:8, maj:8, prod:8, pad:8;
211 unsigned int pad:12, line_len:4, sz:4, config:4, ver:8; member in struct:bcr_cache
213 unsigned int ver:8, config:4, sz:4, line_len:4, pad:12;
219 unsigned int pad:24, way:2, lsz:2, sz:4; member in struct:bcr_slc_cfg
221 unsigned int sz:4, lsz:2, way:2, pad:24;
227 unsigned int pad:7, c:1, num_entries:8, num_cores:8, ver:8; member in struct:bcr_clust_cfg
229 unsigned int ver:8, num_cores:8, num_entries:8, c:1, pad:7;
235 unsigned int start:4, limit:4, pad:22, order:1, disable:1; member in struct:bcr_volatile
237 unsigned int disable:1, order:1, pad
243 unsigned int pad:8, x1616:8, dsp:4, cycles:2, type:2, ver:8; member in struct:bcr_mpy
251 unsigned int base:16, pad:5, sz:3, ver:8; member in struct:bcr_iccm_arcompact
259 unsigned int pad:8, sz11:4, sz01:4, sz10:4, sz00:4, ver:8; member in struct:bcr_iccm_arcv2
300 unsigned int pad:21, min:1, num:2, ver:8; member in struct:bcr_actionpoint
310 unsigned int pad2:19, fam:1, pad:2, ent:2, ver:8; member in struct:bcr_bpu_arcompact
318 unsigned int pad:6, fbe:2, tqe:2, ts:4, ft:1, rse:2, pte:3, bce:3, ver:8; member in struct:bcr_bpu_arcv2
344 unsigned int pad:16, entries:8, ver:8; member in struct:bcr_lpb
[all...]
/linux-master/include/soc/arc/
H A Dmcip.h22 unsigned int pad:8, param:16, cmd:8; member in struct:mcip_cmd
24 unsigned int cmd:8, param:16, pad:8;
65 pad:1, gfrc:1, dbg:1, pw:1, member in struct:mcip_bcr
71 pw:1, dbg:1, gfrc:1, pad:1,
79 unsigned int pad:21, cirqnum:3, ver:8; member in struct:mcip_idu_bcr
81 unsigned int ver:8, cirqnum:3, pad:21;
105 buf.pad = 0;
/linux-master/include/uapi/drm/
H A Dqxl_drm.h61 __u32 pad; member in struct:drm_qxl_map
79 __u32 pad; member in struct:drm_qxl_reloc
88 __u32 pad; member in struct:drm_qxl_command
103 __u32 pad; member in struct:drm_qxl_update_area
116 __u32 pad; member in struct:drm_qxl_clientcap
125 __u32 pad; member in struct:drm_qxl_alloc_surf

Completed in 280 milliseconds

1234567891011>>