Home
last modified time | relevance | path

Searched refs:pad (Results 476 - 500 of 2100) sorted by relevance

1...<<11121314151617181920>>...84

/kernel/linux/linux-5.10/drivers/lightnvm/
H A Dpblk-rb.c560 unsigned int pad = 0, to_read = nr_entries; in pblk_rb_read_to_bio() local
565 pad = nr_entries - count; in pblk_rb_read_to_bio()
570 pad += (pblk->min_write_pgs - pblk->min_write_pgs_data); in pblk_rb_read_to_bio()
574 c_ctx->nr_padded = pad; in pblk_rb_read_to_bio()
618 if (pad) { in pblk_rb_read_to_bio()
619 if (pblk_bio_add_pages(pblk, bio, GFP_KERNEL, pad)) { in pblk_rb_read_to_bio()
620 pblk_err(pblk, "could not pad page in write bio\n"); in pblk_rb_read_to_bio()
624 if (pad < pblk->min_write_pgs) in pblk_rb_read_to_bio()
625 atomic64_inc(&pblk->pad_dist[pad - 1]); in pblk_rb_read_to_bio()
629 atomic64_add(pad, in pblk_rb_read_to_bio()
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/renesas/rzg2l-cru/
H A Drzg2l-video.c189 struct media_pad *pad) in rzg2l_cru_mc_validate_format()
195 fmt.pad = pad->index; in rzg2l_cru_mc_validate_format()
196 if (v4l2_subdev_call_state_active(sd, pad, get_fmt, &fmt)) in rzg2l_cru_mc_validate_format()
478 struct media_pad *pad; in rzg2l_cru_set_stream() local
481 pad = media_pad_remote_pad_first(&cru->pad); in rzg2l_cru_set_stream()
482 if (!pad) in rzg2l_cru_set_stream()
485 sd = media_entity_to_v4l2_subdev(pad->entity); in rzg2l_cru_set_stream()
516 ret = rzg2l_cru_mc_validate_format(cru, sd, pad); in rzg2l_cru_set_stream()
187 rzg2l_cru_mc_validate_format(struct rzg2l_cru_dev *cru, struct v4l2_subdev *sd, struct media_pad *pad) rzg2l_cru_mc_validate_format() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/i2c/
H A Dov5647.c82 struct media_pad pad; member
473 .pad = &ov5647_subdev_pad_ops,
510 v4l2_subdev_get_try_format(sd, fh->pad, 0); in ov5647_open()
512 v4l2_subdev_get_try_crop(sd, fh->pad, 0); in ov5647_open()
591 sensor->pad.flags = MEDIA_PAD_FL_SOURCE; in ov5647_probe()
593 ret = media_entity_pads_init(&sd->entity, 1, &sensor->pad); in ov5647_probe()
H A Dmt9v011.c53 struct media_pad pad; member
333 if (code->pad || code->index > 0) in mt9v011_enum_mbus_code()
347 if (format->pad || fmt->code != MEDIA_BUS_FMT_SGRBG8_1X8) in mt9v011_set_fmt()
473 .pad = &mt9v011_pad_ops,
504 core->pad.flags = MEDIA_PAD_FL_SOURCE; in mt9v011_probe()
507 ret = media_entity_pads_init(&sd->entity, 1, &core->pad); in mt9v011_probe()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A 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
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dsdio_txrx.c198 u8 pad; in mt7663s_tx_run_queue() local
216 pad = roundup(e->skb->len, 4) - e->skb->len; in mt7663s_tx_run_queue()
217 if (len + e->skb->len + pad + 4 > MT76S_XMIT_BUF_SZ) in mt7663s_tx_run_queue()
236 if (unlikely(pad)) { in mt7663s_tx_run_queue()
237 memset(sdio->xmit_buf[qid] + len, 0, pad); in mt7663s_tx_run_queue()
238 len += pad; in mt7663s_tx_run_queue()
/kernel/linux/linux-5.10/drivers/media/test-drivers/vimc/
H A Dvimc-scaler.c147 if (VIMC_IS_SINK(fse->pad)) { in vimc_sca_enum_frame_size()
174 /* Scale the frame size for the source pad */ in vimc_sca_get_fmt()
175 if (VIMC_IS_SRC(format->pad)) { in vimc_sca_get_fmt()
224 * Do not change the format of the source pad, in vimc_sca_set_fmt()
227 if (VIMC_IS_SRC(fmt->pad)) { in vimc_sca_set_fmt()
232 /* Set the new format in the sink pad */ in vimc_sca_set_fmt()
264 if (VIMC_IS_SRC(sel->pad)) in vimc_sca_get_selection()
297 if (VIMC_IS_SRC(sel->pad)) in vimc_sca_set_selection()
354 /* Calculate the frame size of the source pad */ in vimc_sca_s_stream()
381 .pad
[all...]
H A Dvimc-sensor.c33 struct media_pad pad; member
103 *v4l2_subdev_get_try_format(sd, cfg, fmt->pad) : in vimc_sen_get_fmt()
162 mf = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in vimc_sen_set_fmt()
292 .pad = &vimc_sen_pad_ops,
423 vsen->pad.flags = MEDIA_PAD_FL_SOURCE; in vimc_sen_add()
426 MEDIA_ENT_F_CAM_SENSOR, 1, &vsen->pad, in vimc_sen_add()
/kernel/linux/linux-6.6/drivers/media/test-drivers/vimc/
H A Dvimc-sensor.c33 struct media_pad pad; member
103 *v4l2_subdev_get_try_format(sd, sd_state, fmt->pad) : in vimc_sensor_get_fmt()
162 mf = v4l2_subdev_get_try_format(sd, sd_state, fmt->pad); in vimc_sensor_set_fmt()
293 .pad = &vimc_sensor_pad_ops,
424 vsensor->pad.flags = MEDIA_PAD_FL_SOURCE; in vimc_sensor_add()
427 MEDIA_ENT_F_CAM_SENSOR, 1, &vsensor->pad, in vimc_sensor_add()
/kernel/linux/linux-6.6/drivers/media/i2c/
H A Dmt9v011.c53 struct media_pad pad; member
333 if (code->pad || code->index > 0) in mt9v011_enum_mbus_code()
347 if (format->pad || fmt->code != MEDIA_BUS_FMT_SGRBG8_1X8) in mt9v011_set_fmt()
473 .pad = &mt9v011_pad_ops,
503 core->pad.flags = MEDIA_PAD_FL_SOURCE; in mt9v011_probe()
506 ret = media_entity_pads_init(&sd->entity, 1, &core->pad); in mt9v011_probe()
H A Drdacm21.c82 struct media_pad pad; member
288 if (code->pad || code->index > 0) in rdacm21_enum_mbus_code()
303 if (format->pad) in rdacm21_get_fmt()
330 .pad = &rdacm21_subdev_pad_ops,
584 dev->pad.flags = MEDIA_PAD_FL_SOURCE; in rdacm21_probe()
586 ret = media_entity_pads_init(&dev->sd.entity, 1, &dev->pad); in rdacm21_probe()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A 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
/kernel/linux/linux-6.6/drivers/net/wireless/mediatek/mt76/
H A Dsdio_txrx.c244 u8 pad; in mt76s_tx_run_queue() local
269 pad = roundup(e->skb->len, 4) - e->skb->len; in mt76s_tx_run_queue()
270 if (len + e->skb->len + pad + 4 > dev->sdio.xmit_buf_sz) in mt76s_tx_run_queue()
287 if (unlikely(pad)) { in mt76s_tx_run_queue()
288 memset(sdio->xmit_buf + len, 0, pad); in mt76s_tx_run_queue()
289 len += pad; in mt76s_tx_run_queue()
H A Dmt76x02_mcu.h76 u8 pad[4]; member
85 u8 pad[2]; member
/kernel/linux/linux-5.10/drivers/net/wireless/mediatek/mt76/
H A Dmt76x02_mcu.h76 u8 pad[4]; member
85 u8 pad[2]; member
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
H A Dif_usb.h29 uint8_t pad[11]; member
41 uint8_t pad[2]; member
/kernel/linux/linux-5.10/include/xen/interface/io/
H A Dkbdif.h505 char pad[XENKBD_IN_EVENT_SIZE]; member
530 char pad[XENKBD_OUT_EVENT_SIZE]; member
/kernel/linux/linux-6.6/include/xen/interface/io/
H A Dkbdif.h488 char pad[XENKBD_IN_EVENT_SIZE]; member
513 char pad[XENKBD_OUT_EVENT_SIZE]; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dptrace.h84 __u8 pad[3]; member
112 __u32 pad; member
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas/
H A Dif_usb.h29 uint8_t pad[11]; member
41 uint8_t pad[2]; member
/kernel/linux/linux-5.10/drivers/media/v4l2-core/
H A Dtuner-core.c102 * enum tuner_pad_index - tuner pad index for MEDIA_ENT_F_TUNER
105 * Radiofrequency (RF) sink pad, usually linked to a RF connector entity.
107 * tuner video output source pad. Contains the video chrominance
111 * Tuner audio output source pad. Tuners used to decode analog TV
112 * signals have an extra pad for audio output. Old tuners use an
114 * output of the pad is, in this case, the audio IF, with should be
118 * incorporated at the tuner. On such case, the output of this pad
131 * enum if_vid_dec_pad_index - video IF-PLL pad index
135 * video Intermediate Frequency (IF) sink pad
137 * IF-PLL video output source pad
171 struct media_pad pad[TUNER_NUM_PADS]; global() member
[all...]
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dtuner-core.c102 * enum tuner_pad_index - tuner pad index for MEDIA_ENT_F_TUNER
105 * Radiofrequency (RF) sink pad, usually linked to a RF connector entity.
107 * tuner video output source pad. Contains the video chrominance
111 * Tuner audio output source pad. Tuners used to decode analog TV
112 * signals have an extra pad for audio output. Old tuners use an
114 * output of the pad is, in this case, the audio IF, with should be
118 * incorporated at the tuner. On such case, the output of this pad
131 * enum if_vid_dec_pad_index - video IF-PLL pad index
135 * video Intermediate Frequency (IF) sink pad
137 * IF-PLL video output source pad
171 struct media_pad pad[TUNER_NUM_PADS]; global() member
[all...]
/kernel/linux/linux-5.10/drivers/input/joystick/
H A Dadi.c101 signed char pad; member
217 if (i == adi->pad) { in adi_decode()
372 adi->pad = 4; in adi_id_decode()
376 adi->pad = 0; in adi_id_decode()
380 adi->pad = -1; in adi_id_decode()
419 for (i = 0; i < adi->axes10 + adi->axes8 + (adi->hats + (adi->pad != -1)) * 2; i++) in adi_init_input()
435 for (i = 0; i < adi->axes10 + adi->axes8 + (adi->hats + (adi->pad != -1)) * 2; i++) { in adi_init_center()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/
H A Dtrace.c161 u8 *se, u8 *pad, u8 *opcode, u8 *tver, in hfi1_trace_parse_9b_bth()
169 *pad = ib_bth_get_pad(ohdr); in hfi1_trace_parse_9b_bth()
179 u8 *pad, u8 *se, u8 *tver, in hfi1_trace_parse_16b_bth()
185 *pad = ib_bth_get_pad(ohdr); in hfi1_trace_parse_16b_bth()
251 "op:0x%.2x,%s se:%d m:%d pad:%d tver:%d pkey:0x%.4x " \
254 "op:0x%.2x,%s se:%d m:%d pad:%d tver:%d " \
260 u8 se, u8 pad, u8 opcode, const char *opname, in hfi1_trace_fmt_rest()
273 se, mig, pad, tver, qpn, ack, psn); in hfi1_trace_fmt_rest()
278 se, mig, pad, tver, pkey, fecn, becn, in hfi1_trace_fmt_rest()
159 hfi1_trace_parse_9b_bth(struct ib_other_headers *ohdr, u8 *ack, bool *becn, bool *fecn, u8 *mig, u8 *se, u8 *pad, u8 *opcode, u8 *tver, u16 *pkey, u32 *psn, u32 *qpn) hfi1_trace_parse_9b_bth() argument
177 hfi1_trace_parse_16b_bth(struct ib_other_headers *ohdr, u8 *ack, u8 *mig, u8 *opcode, u8 *pad, u8 *se, u8 *tver, u32 *psn, u32 *qpn) hfi1_trace_parse_16b_bth() argument
258 hfi1_trace_fmt_rest(struct trace_seq *p, bool bypass, u8 l4, u8 ack, bool becn, bool fecn, u8 mig, u8 se, u8 pad, u8 opcode, const char *opname, u8 tver, u16 pkey, u32 psn, u32 qpn, u32 dest_qpn, u32 src_qpn) hfi1_trace_fmt_rest() argument
/kernel/linux/linux-5.10/drivers/net/usb/
H A Ddm9601.c480 int len, pad; in dm9601_tx_fixup() local
499 pad = len - skb->len; in dm9601_tx_fixup()
501 if (skb_headroom(skb) < DM_TX_OVERHEAD || skb_tailroom(skb) < pad) { in dm9601_tx_fixup()
504 skb2 = skb_copy_expand(skb, DM_TX_OVERHEAD, pad, flags); in dm9601_tx_fixup()
513 if (pad) { in dm9601_tx_fixup()
514 memset(skb->data + skb->len, 0, pad); in dm9601_tx_fixup()
515 __skb_put(skb, pad); in dm9601_tx_fixup()

Completed in 25 milliseconds

1...<<11121314151617181920>>...84