/kernel/linux/linux-6.6/drivers/hwtracing/coresight/ |
H A D | ultrasoc-smb.c | 33 struct smb_data_buffer *sdb = &drvdata->sdb; in smb_update_data_size() local 37 sdb->buf_hw_base; in smb_update_data_size() 40 if (buf_wrptr == sdb->buf_rdptr && smb_buffer_not_empty(drvdata)) { in smb_update_data_size() 41 sdb->data_size = sdb->buf_size; in smb_update_data_size() 46 sdb->data_size = CIRC_CNT(buf_wrptr, sdb->buf_rdptr, in smb_update_data_size() 47 sdb->buf_size); in smb_update_data_size() 57 struct smb_data_buffer *sdb in smb_update_read_ptr() local 69 struct smb_data_buffer *sdb = &drvdata->sdb; smb_reset_buffer() local 128 struct smb_data_buffer *sdb = &drvdata->sdb; smb_read() local 359 struct smb_data_buffer *sdb = &drvdata->sdb; smb_sync_perf_buffer() local 396 struct smb_data_buffer *sdb = &drvdata->sdb; smb_update_buffer() local 445 smb_init_data_buffer(struct platform_device *pdev, struct smb_data_buffer *sdb) smb_init_data_buffer() argument [all...] |
H A D | ultrasoc-smb.h | 106 * @sdb: Data buffer for SMB. 117 struct smb_data_buffer sdb; member
|
/kernel/linux/linux-5.10/sound/soc/codecs/ |
H A D | rt1015p.c | 21 struct gpio_desc *sdb; member 32 if (!rt1015p->sdb) in rt1015p_daiops_trigger() 40 gpiod_set_value(rt1015p->sdb, 1); in rt1015p_daiops_trigger() 41 dev_dbg(component->dev, "set sdb to 1"); in rt1015p_daiops_trigger() 47 gpiod_set_value(rt1015p->sdb, 0); in rt1015p_daiops_trigger() 48 dev_dbg(component->dev, "set sdb to 0"); in rt1015p_daiops_trigger() 118 rt1015p->sdb = devm_gpiod_get_optional(&pdev->dev, in rt1015p_platform_probe() 119 "sdb", GPIOD_OUT_LOW); in rt1015p_platform_probe() 120 if (IS_ERR(rt1015p->sdb)) in rt1015p_platform_probe() 121 return PTR_ERR(rt1015p->sdb); in rt1015p_platform_probe() [all...] |
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | rt1015p.c | 22 struct gpio_desc *sdb; member 34 if (!rt1015p->sdb) in rt1015p_sdb_event() 39 gpiod_set_value_cansleep(rt1015p->sdb, 1); in rt1015p_sdb_event() 40 dev_dbg(component->dev, "set sdb to 1"); in rt1015p_sdb_event() 48 gpiod_set_value_cansleep(rt1015p->sdb, 0); in rt1015p_sdb_event() 49 dev_dbg(component->dev, "set sdb to 0"); in rt1015p_sdb_event() 113 rt1015p->sdb = devm_gpiod_get_optional(&pdev->dev, in rt1015p_platform_probe() 114 "sdb", GPIOD_OUT_LOW); in rt1015p_platform_probe() 115 if (IS_ERR(rt1015p->sdb)) in rt1015p_platform_probe() 116 return PTR_ERR(rt1015p->sdb); in rt1015p_platform_probe() [all...] |
/kernel/linux/linux-5.10/include/scsi/ |
H A D | scsi_cmnd.h | 100 struct scsi_data_buffer sdb; member 187 return cmd->sdb.table.nents; in scsi_sg_count() 192 return cmd->sdb.table.sgl; in scsi_sglist() 197 return cmd->sdb.length; in scsi_bufflen() 334 unsigned int xfer_len = scmd->sdb.length; in scsi_transfer_length()
|
H A D | scsi_eh.h | 42 struct scsi_data_buffer sdb; member
|
/kernel/linux/linux-6.6/include/scsi/ |
H A D | scsi_cmnd.h | 106 struct scsi_data_buffer sdb; member 183 return cmd->sdb.table.nents; in scsi_sg_count() 188 return cmd->sdb.table.sgl; in scsi_sglist() 193 return cmd->sdb.length; in scsi_bufflen() 383 unsigned int xfer_len = scmd->sdb.length; in scsi_transfer_length()
|
H A D | scsi_eh.h | 42 struct scsi_data_buffer sdb; member
|
/kernel/linux/linux-6.6/arch/s390/kernel/ |
H A D | perf_cpum_sf.c | 219 unsigned long sdb; in alloc_sample_data_block() local 222 sdb = get_zeroed_page(gfp_flags); in alloc_sample_data_block() 223 if (!sdb) in alloc_sample_data_block() 225 te = trailer_entry_ptr(sdb); in alloc_sample_data_block() 229 *sdbt = virt_to_phys((void *)sdb); in alloc_sample_data_block() 322 " settings: sdbt %lu sdb %lu\n", __func__, in realloc_sampling_buffer() 477 "%s: rate %lu f %lu sdb %lu/%lu" in allocate_buffers() 1280 unsigned long *sdbt, sdb; in hw_perf_event_update() local 1294 sdb = (unsigned long)phys_to_virt(*sdbt); in hw_perf_event_update() 1295 te = trailer_entry_ptr(sdb); in hw_perf_event_update() 1407 unsigned long sdb; aux_sdb_trailer() local 1726 aux_sdb_init(unsigned long sdb) aux_sdb_init() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/ |
H A D | libiscsi_tcp.c | 492 unsigned total_in_length = task->sc->sdb.length; in iscsi_tcp_data_in() 608 if (data_offset + data_length > task->sc->sdb.length) { in iscsi_tcp_r2t_rsp() 612 data_offset, task->sc->sdb.length); in iscsi_tcp_r2t_rsp() 730 struct scsi_data_buffer *sdb = &task->sc->sdb; in iscsi_tcp_hdr_dissect() local 750 sdb->table.sgl, in iscsi_tcp_hdr_dissect() 751 sdb->table.nents, in iscsi_tcp_hdr_dissect()
|
H A D | scsi_error.c | 969 ses->sdb = scmd->sdb; in scsi_eh_prep_cmnd() 980 memset(&scmd->sdb, 0, sizeof(scmd->sdb)); in scsi_eh_prep_cmnd() 985 scmd->sdb.length = min_t(unsigned, SCSI_SENSE_BUFFERSIZE, in scsi_eh_prep_cmnd() 988 scmd->sdb.length); in scsi_eh_prep_cmnd() 989 scmd->sdb.table.sgl = &ses->sense_sgl; in scsi_eh_prep_cmnd() 991 scmd->sdb.table.nents = scmd->sdb.table.orig_nents = 1; in scsi_eh_prep_cmnd() 993 scmd->cmnd[4] = scmd->sdb in scsi_eh_prep_cmnd() [all...] |
H A D | scsi_lib.c | 523 if (cmd->sdb.table.nents) in scsi_free_sgtables() 524 sg_free_table_chained(&cmd->sdb.table, in scsi_free_sgtables() 1031 if (unlikely(sg_alloc_table_chained(&cmd->sdb.table, nr_segs, in scsi_alloc_sgtables() 1032 cmd->sdb.table.sgl, SCSI_INLINE_SG_CNT))) in scsi_alloc_sgtables() 1039 count = __blk_rq_map_sg(rq->q, rq, cmd->sdb.table.sgl, &last_sg); in scsi_alloc_sgtables() 1059 BUG_ON(count > cmd->sdb.table.nents); in scsi_alloc_sgtables() 1060 cmd->sdb.table.nents = count; in scsi_alloc_sgtables() 1061 cmd->sdb.length = blk_rq_payload_bytes(rq); in scsi_alloc_sgtables() 1194 memset(&cmd->sdb, 0, sizeof(cmd->sdb)); in scsi_setup_scsi_cmnd() [all...] |
H A D | iscsi_tcp.c | 520 struct scsi_data_buffer *sdb = &task->sc->sdb; in iscsi_sw_tcp_pdu_init() local 522 err = iscsi_sw_tcp_send_data_prep(conn, sdb->table.sgl, in iscsi_sw_tcp_pdu_init() 523 sdb->table.nents, offset, in iscsi_sw_tcp_pdu_init()
|
H A D | scsi_debug.c | 1154 struct scsi_data_buffer *sdb = &scp->sdb; in fill_from_dev_buffer() local 1156 if (!sdb->length) in fill_from_dev_buffer() 1161 act_len = sg_copy_from_buffer(sdb->table.sgl, sdb->table.nents, in fill_from_dev_buffer() 1177 struct scsi_data_buffer *sdb = &scp->sdb; in p_fill_from_dev_buffer() local 1180 if (sdb->length <= off_dst) in p_fill_from_dev_buffer() 1185 act_len = sg_pcopy_from_buffer(sdb->table.sgl, sdb in p_fill_from_dev_buffer() 2938 struct scsi_data_buffer *sdb = &scp->sdb; do_device_access() local 2977 struct scsi_data_buffer *sdb = &scp->sdb; do_dout_fetch() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/ |
H A D | libiscsi_tcp.c | 492 unsigned total_in_length = task->sc->sdb.length; in iscsi_tcp_data_in() 612 if (data_offset + data_length > task->sc->sdb.length) { in iscsi_tcp_r2t_rsp() 616 data_offset, task->sc->sdb.length); in iscsi_tcp_r2t_rsp() 734 struct scsi_data_buffer *sdb = &task->sc->sdb; in iscsi_tcp_hdr_dissect() local 754 sdb->table.sgl, in iscsi_tcp_hdr_dissect() 755 sdb->table.nents, in iscsi_tcp_hdr_dissect()
|
H A D | scsi_error.c | 1052 ses->sdb = scmd->sdb; in scsi_eh_prep_cmnd() 1063 memset(&scmd->sdb, 0, sizeof(scmd->sdb)); in scsi_eh_prep_cmnd() 1068 scmd->sdb.length = min_t(unsigned, SCSI_SENSE_BUFFERSIZE, in scsi_eh_prep_cmnd() 1071 scmd->sdb.length); in scsi_eh_prep_cmnd() 1072 scmd->sdb.table.sgl = &ses->sense_sgl; in scsi_eh_prep_cmnd() 1074 scmd->sdb.table.nents = scmd->sdb.table.orig_nents = 1; in scsi_eh_prep_cmnd() 1076 scmd->cmnd[4] = scmd->sdb in scsi_eh_prep_cmnd() [all...] |
H A D | scsi_lib.c | 487 if (cmd->sdb.table.nents) in scsi_free_sgtables() 488 sg_free_table_chained(&cmd->sdb.table, in scsi_free_sgtables() 1010 * Initializes @cmd->sdb and also @cmd->prot_sdb if data integrity is enabled 1041 if (unlikely(sg_alloc_table_chained(&cmd->sdb.table, nr_segs, in scsi_alloc_sgtables() 1042 cmd->sdb.table.sgl, SCSI_INLINE_SG_CNT))) in scsi_alloc_sgtables() 1049 count = __blk_rq_map_sg(rq->q, rq, cmd->sdb.table.sgl, &last_sg); in scsi_alloc_sgtables() 1069 BUG_ON(count > cmd->sdb.table.nents); in scsi_alloc_sgtables() 1070 cmd->sdb.table.nents = count; in scsi_alloc_sgtables() 1071 cmd->sdb.length = blk_rq_payload_bytes(rq); in scsi_alloc_sgtables() 1189 memset(&cmd->sdb, in scsi_setup_scsi_cmnd() [all...] |
H A D | iscsi_tcp.c | 555 struct scsi_data_buffer *sdb = &task->sc->sdb; in iscsi_sw_tcp_pdu_init() local 557 err = iscsi_sw_tcp_send_data_prep(conn, sdb->table.sgl, in iscsi_sw_tcp_pdu_init() 558 sdb->table.nents, offset, in iscsi_sw_tcp_pdu_init()
|
/kernel/linux/linux-5.10/drivers/usb/storage/ |
H A D | uas.c | 399 struct scsi_data_buffer *sdb = &cmnd->sdb; in uas_data_cmplt() local 426 scsi_set_resid(cmnd, sdb->length); in uas_data_cmplt() 428 scsi_set_resid(cmnd, sdb->length - urb->actual_length); in uas_data_cmplt() 451 struct scsi_data_buffer *sdb = &cmnd->sdb; in uas_alloc_data_urb() local 457 usb_fill_bulk_urb(urb, udev, pipe, NULL, sdb->length, in uas_alloc_data_urb() 461 urb->num_sgs = udev->bus->sg_tablesize ? sdb->table.nents : 0; in uas_alloc_data_urb() 462 urb->sg = sdb->table.sgl; in uas_alloc_data_urb()
|
H A D | isd200.c | 458 srb->sdb.table.sgl = buff ? &info->sg : NULL; in isd200_set_srb() 459 srb->sdb.length = bufflen; in isd200_set_srb() 460 srb->sdb.table.nents = buff ? 1 : 0; in isd200_set_srb() 465 srb->sdb.length = bufflen; in isd200_srb_set_bufflen()
|
/kernel/linux/linux-6.6/drivers/usb/storage/ |
H A D | uas.c | 397 struct scsi_data_buffer *sdb = &cmnd->sdb; in uas_data_cmplt() local 424 scsi_set_resid(cmnd, sdb->length); in uas_data_cmplt() 426 scsi_set_resid(cmnd, sdb->length - urb->actual_length); in uas_data_cmplt() 449 struct scsi_data_buffer *sdb = &cmnd->sdb; in uas_alloc_data_urb() local 455 usb_fill_bulk_urb(urb, udev, pipe, NULL, sdb->length, in uas_alloc_data_urb() 459 urb->num_sgs = udev->bus->sg_tablesize ? sdb->table.nents : 0; in uas_alloc_data_urb() 460 urb->sg = sdb->table.sgl; in uas_alloc_data_urb()
|
H A D | isd200.c | 458 srb->sdb.table.sgl = buff ? &info->sg : NULL; in isd200_set_srb() 459 srb->sdb.length = bufflen; in isd200_set_srb() 460 srb->sdb.table.nents = buff ? 1 : 0; in isd200_set_srb() 465 srb->sdb.length = bufflen; in isd200_srb_set_bufflen()
|
/kernel/linux/linux-6.6/include/uapi/rdma/ |
H A D | erdma-abi.h | 44 __aligned_u64 sdb; member
|
/kernel/linux/linux-5.10/arch/s390/kernel/ |
H A D | perf_cpum_sf.c | 167 unsigned long sdb; in alloc_sample_data_block() local 170 sdb = get_zeroed_page(gfp_flags); in alloc_sample_data_block() 171 if (!sdb) in alloc_sample_data_block() 173 te = (struct hws_trailer_entry *)trailer_entry_ptr(sdb); in alloc_sample_data_block() 177 *sdbt = sdb; in alloc_sample_data_block() 270 " settings: sdbt %lu sdb %lu\n", __func__, in realloc_sampling_buffer() 425 "%s: rate %lu f %lu sdb %lu/%lu" in allocate_buffers() 1374 unsigned long sdb; in aux_sdb_trailer() local 1377 sdb = aux->sdb_index[index]; in aux_sdb_trailer() 1378 return (struct hws_trailer_entry *)trailer_entry_ptr(sdb); in aux_sdb_trailer() 1700 aux_sdb_init(unsigned long sdb) aux_sdb_init() argument [all...] |
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/ |
H A D | hns_roce_qp.c | 733 &hr_qp->sdb); in alloc_qp_db() 777 hns_roce_db_unmap_user(uctx, &hr_qp->sdb); in alloc_qp_db() 792 hns_roce_db_unmap_user(uctx, &hr_qp->sdb); in free_qp_db() 1164 hr_qp->sq.head = *(int *)(hr_qp->sdb.virt_addr); in hns_roce_modify_qp()
|