/linux/drivers/net/wireless/broadcom/b43/ |
H A D | tables_lpphy.c | 1070 { .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 = 14, .dac = 0, .bb_mult = 117, }, [all …]
|
/linux/lib/ |
H A D | fortify_kunit.c | 402 struct fortify_padding pad = { }; in fortify_test_strlen() local 403 int i, end = sizeof(pad.buf) - 1; in fortify_test_strlen() 406 for (i = 0; i < sizeof(pad.buf) - 1; i++) in fortify_test_strlen() 407 pad.buf[i] = i + '0'; in fortify_test_strlen() 409 KUNIT_EXPECT_EQ(test, pad.buf[end], '\0'); in fortify_test_strlen() 410 KUNIT_EXPECT_EQ(test, pad.bytes_after, 0); in fortify_test_strlen() 413 KUNIT_EXPECT_EQ(test, strlen(pad.buf), end); in fortify_test_strlen() 417 pad.buf[end] = 'A'; in fortify_test_strlen() 418 end = sizeof(pad.buf); in fortify_test_strlen() 419 KUNIT_EXPECT_EQ(test, strlen(pad.buf), end); in fortify_test_strlen() [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | pad.c | 27 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 …]
|
/linux/drivers/input/joystick/ |
H A D | psxpad-spi.c | 75 static int psxpad_command(struct psxpad *pad, const u8 sendcmdlen) in psxpad_command() argument 78 .tx_buf = pad->sendbuf, in psxpad_command() 79 .rx_buf = pad->response, in psxpad_command() 84 err = spi_sync_transfer(pad->spi, &xfers, 1); in psxpad_command() 86 dev_err(&pad->spi->dev, in psxpad_command() 96 static void psxpad_control_motor(struct psxpad *pad, in psxpad_control_motor() argument 101 pad->motor1enable = motor1enable; in psxpad_control_motor() 102 pad->motor2enable = motor2enable; in psxpad_control_motor() 104 memcpy(pad->sendbuf, PSX_CMD_ENTER_CFG, sizeof(PSX_CMD_ENTER_CFG)); in psxpad_control_motor() 105 err = psxpad_command(pad, sizeof(PSX_CMD_ENTER_CFG)); in psxpad_control_motor() [all …]
|
H A D | maplecontrol.c | 31 struct dc_pad *pad = maple_get_drvdata(mapledev); in dc_pad_callback() local 32 struct input_dev *dev = pad->dev; in dc_pad_callback() 65 struct dc_pad *pad = dev_get_platdata(&dev->dev); in dc_pad_open() local 67 maple_getcond_callback(pad->mdev, dc_pad_callback, HZ/20, in dc_pad_open() 75 struct dc_pad *pad = dev_get_platdata(&dev->dev); in dc_pad_close() local 77 maple_getcond_callback(pad->mdev, dc_pad_callback, 0, in dc_pad_close() 101 struct dc_pad *pad; in probe_maple_controller() local 105 pad = kzalloc(sizeof(*pad), GFP_KERNEL); in probe_maple_controller() 107 if (!pad || !idev) { in probe_maple_controller() 112 pad->dev = idev; in probe_maple_controller() [all …]
|
/linux/drivers/phy/tegra/ |
H A D | xusb-tegra124.c | 302 if (lane->pad == padctl->pcie) in tegra124_usb3_save_context() 427 tegra124_usb2_lane_probe(struct tegra_xusb_pad *pad, struct device_node *np, in tegra124_usb2_lane_probe() argument 438 usb2->base.soc = &pad->soc->lanes[index]; in tegra124_usb2_lane_probe() 440 usb2->base.pad = pad; in tegra124_usb2_lane_probe() 468 return tegra124_xusb_padctl_enable(lane->pad->padctl); in tegra124_usb2_phy_init() 475 return tegra124_xusb_padctl_disable(lane->pad->padctl); in tegra124_usb2_phy_exit() 482 struct tegra_xusb_usb2_pad *pad = to_usb2_pad(lane->pad); in tegra124_usb2_phy_power_on() local 483 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra124_usb2_phy_power_on() 553 mutex_lock(&pad->lock); in tegra124_usb2_phy_power_on() 555 if (pad->enable++ > 0) in tegra124_usb2_phy_power_on() [all …]
|
H A D | xusb-tegra210.c | 453 strcmp(map->type, lane->pad->soc->name) == 0) { in tegra210_usb3_lane_map() 454 dev_dbg(lane->pad->padctl->dev, "lane = %s map to port = usb3-%d\n", in tegra210_usb3_lane_map() 455 lane->pad->soc->lanes[lane->index].name, map->port); in tegra210_usb3_lane_map() 1061 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_usb3_enable_phy_sleepwalk() 1092 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_usb3_disable_phy_sleepwalk() 1121 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_usb3_enable_phy_wake() 1152 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_usb3_disable_phy_wake() 1183 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_usb3_phy_remote_wake_detected() 1199 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_utmi_enable_phy_wake() 1224 struct tegra_xusb_padctl *padctl = lane->pad->padctl; in tegra210_utmi_disable_phy_wake() [all …]
|
/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_subdev.c | 190 static int isp_subdev_validate_rect(struct v4l2_subdev *sd, uint32_t pad, in isp_subdev_validate_rect() argument 193 switch (pad) { in isp_subdev_validate_rect() 213 u32 which, uint32_t pad, in atomisp_subdev_get_rect() argument 221 return v4l2_subdev_state_get_crop(sd_state, pad); in atomisp_subdev_get_rect() 223 return v4l2_subdev_state_get_compose(sd_state, pad); in atomisp_subdev_get_rect() 229 return &isp_sd->fmt[pad].crop; in atomisp_subdev_get_rect() 231 return &isp_sd->fmt[pad].compose; in atomisp_subdev_get_rect() 240 uint32_t pad) in atomisp_subdev_get_ffmt() argument 245 return v4l2_subdev_state_get_format(sd_state, pad); in atomisp_subdev_get_ffmt() 247 return &isp_sd->fmt[pad].fmt; in atomisp_subdev_get_ffmt() [all …]
|
/linux/drivers/media/v4l2-core/ |
H A D | v4l2-subdev.c | 177 static inline int check_pad(struct v4l2_subdev *sd, u32 pad) in check_pad() argument 181 if (pad >= sd->entity.num_pads) in check_pad() 187 if (pad > 0) in check_pad() 193 u32 which, u32 pad, u32 stream) in check_state() argument 197 if (!v4l2_subdev_state_get_format(state, pad, stream)) in check_state() 221 return check_which(format->which) ? : check_pad(sd, format->pad) ? : in check_format() 222 check_state(sd, state, format->which, format->pad, format->stream); in check_format() 230 sd->ops->pad->get_fmt(sd, state, format); in call_get_fmt() 238 sd->ops->pad->set_fmt(sd, state, format); in call_set_fmt() 248 return check_which(code->which) ? : check_pad(sd, code->pad) ? : in call_enum_mbus_code() [all …]
|
/linux/arch/arc/include/asm/ |
H A D | arcregs.h | 182 unsigned int pad:8, prod:8, maj:8, min:8; member 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 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 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 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 237 unsigned int disable:1, order:1, pad:22, limit:4, start:4; [all …]
|
/linux/Documentation/devicetree/bindings/net/ |
H A D | micrel-ksz90x1.txt | 25 corresponding pad skew register: 48 - rxc-skew-ps : Skew control of RXC pad 49 - rxdv-skew-ps : Skew control of RX CTL pad 50 - txc-skew-ps : Skew control of TXC pad 51 - txen-skew-ps : Skew control of TX CTL pad 52 - rxd0-skew-ps : Skew control of RX data 0 pad 53 - rxd1-skew-ps : Skew control of RX data 1 pad 54 - rxd2-skew-ps : Skew control of RX data 2 pad 55 - rxd3-skew-ps : Skew control of RX data 3 pad 56 - txd0-skew-ps : Skew control of TX data 0 pad [all …]
|
/linux/drivers/scsi/qla2xxx/ |
H A D | qla_edif_bsg.h | 34 uint8_t pad[2]; member 47 uint8_t pad[VND_CMD_PAD_SIZE]; member 54 uint8_t pad[VND_CMD_PAD_SIZE]; member 63 uint8_t pad[VND_CMD_PAD_SIZE]; member 71 uint8_t pad[2]; member 78 uint8_t pad[VND_CMD_PAD_SIZE]; member 85 uint8_t pad[VND_CMD_PAD_SIZE]; member 107 uint8_t pad[VND_CMD_PAD_SIZE]; member 121 uint8_t pad[VND_CMD_PAD_SIZE]; member 135 uint8_t pad[VND_CMD_PAD_SIZE]; member [all …]
|
/linux/drivers/staging/media/starfive/camss/ |
H A D | stf-isp.c | 84 unsigned int pad, in isp_try_format() argument 89 if (pad >= STF_ISP_PAD_MAX) { in isp_try_format() 94 formats = &isp_dev->formats[pad]; in isp_try_format() 116 if (code->pad == STF_ISP_PAD_SINK) { in isp_enum_mbus_code() 120 formats = &isp_dev->formats[code->pad]; in isp_enum_mbus_code() 147 format = v4l2_subdev_state_get_format(state, fmt->pad); in isp_set_format() 151 isp_try_format(isp_dev, state, fmt->pad, &fmt->format); in isp_set_format() 154 isp_dev->current_fmt = stf_g_fmt_by_mcode(&isp_dev->formats[fmt->pad], in isp_set_format() 158 if (fmt->pad == STF_ISP_PAD_SINK) { in isp_set_format() 163 sel.pad = STF_ISP_PAD_SINK; in isp_set_format() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
H A D | pixfmt-sdr-pcu16be.rst | 37 - I'\ :sub:`0[5:0]; B1[1:0]=pad` 38 - pad 39 - pad 42 - I'\ :sub:`1[5:0]; B1[1:0]=pad` 43 - pad 44 - pad 48 - Q'\ :sub:`0[5:0]; B1[1:0]=pad` 49 - pad 50 - pad 53 - Q'\ :sub:`1[5:0]; B1[1:0]=pad` [all …]
|
/linux/drivers/net/ethernet/intel/idpf/ |
H A D | virtchnl2.h | 518 u8 pad[3]; member 541 __le32 pad; member 557 u8 pad[6]; member 613 __le16 pad; member 640 u8 pad[4]; member 679 u8 pad[4]; member 705 u8 pad[10]; member 751 u8 pad; member 784 u8 pad[18]; member 813 u8 pad[4]; member [all …]
|
/linux/fs/bcachefs/ |
H A D | bcachefs_ioctl.h | 48 __u64 pad; 54 __u64 pad; 109 __u32 pad; 162 __u32 pad; member 179 __u8 pad[3]; member 218 __u32 pad; member 221 __u64 pad[8]; member 235 __u8 pad[2]; member 244 __u8 pad[7]; member 288 __u32 pad; member [all …]
|
/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | common.c | 19 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_pad_remote_pad_first(pad); in fimc_find_remote_sensor() 25 if (!pad || !is_media_entity_v4l2_subdev(pad->entity)) in fimc_find_remote_sensor() 28 sd = media_entity_to_v4l2_subdev(pad->entity); in fimc_find_remote_sensor() 34 pad = &sd->entity.pads[0]; in fimc_find_remote_sensor()
|
/linux/include/media/ |
H A D | v4l2-subdev.h | 703 u32 pad; member 881 int (*s_dv_timings)(struct v4l2_subdev *sd, unsigned int pad, 883 int (*g_dv_timings)(struct v4l2_subdev *sd, unsigned int pad, 885 int (*query_dv_timings)(struct v4l2_subdev *sd, unsigned int pad, 896 int (*get_frame_desc)(struct v4l2_subdev *sd, unsigned int pad, 898 int (*set_frame_desc)(struct v4l2_subdev *sd, unsigned int pad, 900 int (*get_mbus_config)(struct v4l2_subdev *sd, unsigned int pad, 907 struct v4l2_subdev_state *state, u32 pad, 910 struct v4l2_subdev_state *state, u32 pad, 934 const struct v4l2_subdev_pad_ops *pad; member [all …]
|
/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpni-cmd.h | 124 u8 pad; member 130 u8 pad; member 147 __le32 pad; member 157 u8 pad[3]; member 162 __le32 pad; member 176 __le32 pad; member 274 u8 pad[3]; member 280 u8 pad[3]; member 285 __le32 pad; member 360 __le16 pad; member [all …]
|
H A D | dpsw-cmd.h | 126 u8 pad[3]; member 150 u8 pad[3]; member 155 __le32 pad; member 169 __le32 pad; member 221 u8 pad; member 244 __le16 pad; member 270 __le64 pad; member 308 u8 pad[6]; member 360 __le16 pad; member 365 __le32 pad; member [all …]
|
/linux/net/ncsi/ |
H A D | ncsi-pkt.h | 40 unsigned char pad[26]; member 46 unsigned char pad[22]; member 55 unsigned char pad[22]; member 64 unsigned char pad[22]; member 72 unsigned char pad[22]; member 82 unsigned char pad[18]; member 91 unsigned char pad[18]; member 103 unsigned char pad[18]; member 112 unsigned char pad[22]; member 122 unsigned char pad[18]; member [all …]
|
/linux/arch/x86/kernel/ |
H A D | callthunks.c | 186 u8 *pad = dest - tsize; in patch_dest() local 189 apply_relocation(insn_buff, pad, tsize, skl_call_thunk_template, tsize); in patch_dest() 192 if (!bcmp(pad, insn_buff, tsize)) in patch_dest() 193 return pad; in patch_dest() 196 if (bcmp(pad, nops, tsize)) { in patch_dest() 202 memcpy(pad, insn_buff, tsize); in patch_dest() 204 text_poke_copy_locked(pad, insn_buff, tsize, true); in patch_dest() 205 return pad; in patch_dest() 210 void *pad, *dest; in patch_call() local 223 pad = patch_dest(dest, within_coretext(ct, dest)); in patch_call() [all …]
|
/linux/arch/s390/boot/ |
H A D | printk.c | 55 static char *as_hex(char *dst, unsigned long val, int pad) in as_hex() argument 57 char *p = dst + max(pad, (int)__fls(val | 1) / 4 + 1); in as_hex() 89 ssize_t len = strlen(src), pad = _pad; in strpad() local 92 if (max(len, abs(pad)) >= dst_size) in strpad() 95 if (pad > len) { in strpad() 100 pad--; in strpad() 102 memset(p, zero_pad ? '0' : ' ', pad - len); in strpad() 103 p += pad - len; in strpad() 107 if (pad < 0 && -pad > len) { in strpad() 108 memset(p, ' ', -pad - len); in strpad() [all …]
|
/linux/drivers/media/pci/intel/ipu6/ |
H A D | ipu6-isys-subdev.c | 153 if ((sd->entity.pads[format->pad].flags & MEDIA_PAD_FL_SOURCE) && in ipu6_isys_subdev_set_fmt() 173 fmt = v4l2_subdev_state_get_format(state, format->pad, format->stream); in ipu6_isys_subdev_set_fmt() 179 if (!(sd->entity.pads[format->pad].flags & MEDIA_PAD_FL_SINK)) in ipu6_isys_subdev_set_fmt() 183 fmt = v4l2_subdev_state_get_opposite_stream_format(state, format->pad, in ipu6_isys_subdev_set_fmt() 191 format->pad, in ipu6_isys_subdev_set_fmt() 246 int ipu6_isys_get_stream_pad_fmt(struct v4l2_subdev *sd, u32 pad, u32 stream, in ipu6_isys_get_stream_pad_fmt() argument 256 fmt = v4l2_subdev_state_get_format(state, pad, stream); in ipu6_isys_get_stream_pad_fmt() 264 int ipu6_isys_get_stream_pad_crop(struct v4l2_subdev *sd, u32 pad, u32 stream, in ipu6_isys_get_stream_pad_crop() argument 274 rect = v4l2_subdev_state_get_crop(state, pad, stream); in ipu6_isys_get_stream_pad_crop() 282 u32 ipu6_isys_get_src_stream_by_src_pad(struct v4l2_subdev *sd, u32 pad) in ipu6_isys_get_src_stream_by_src_pad() argument [all …]
|
/linux/include/uapi/drm/ |
H A D | xe_drm.h | 188 __u32 pad; member 205 __u32 pad; member 245 __u16 pad; member 270 __u32 pad; member 376 __u32 pad; member 407 __u32 pad; member 441 __u16 pad[3]; member 489 __u32 pad; member 614 __u16 pad; member 806 __u16 pad[3]; member [all …]
|