Searched refs:sub_size (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/misc/ |
| H A D | pci_endpoint_test.c | 499 size_t sub_size, buf_size; in pci_endpoint_test_bar_subrange() local 536 sub_size = bar_size / nsub; in pci_endpoint_test_bar_subrange() 537 if (sub_size < sizeof(u32)) { in pci_endpoint_test_bar_subrange() 543 buf_size = min_t(size_t, sub_size, SZ_1M); in pci_endpoint_test_bar_subrange() 558 val = ioread32(bar_addr + (i * sub_size)); in pci_endpoint_test_bar_subrange() 562 barno, i, (size_t)i * sub_size, exp, val); in pci_endpoint_test_bar_subrange() 566 val = ioread32(bar_addr + (i * sub_size) + sub_size - sizeof(u32)); in pci_endpoint_test_bar_subrange() 571 ((size_t)i * sub_size) + sub_size - sizeof(u32), in pci_endpoint_test_bar_subrange() 581 memset_io(bar_addr + (i * sub_size), pattern, sub_size); in pci_endpoint_test_bar_subrange() 587 for (off = 0; off < sub_size; off += chunk) { in pci_endpoint_test_bar_subrange() [all …]
|
| /linux/drivers/most/ |
| H A D | most_usb.c | 197 unsigned int sub_size = cfg->subbuffer_size; in get_stream_frame_size() local 199 if (!sub_size) { in get_stream_frame_size() 205 frame_size = AV_PACKETS_PER_XACT * sub_size; in get_stream_frame_size() 212 frame_size = (USB_MTU / sub_size) * sub_size; in get_stream_frame_size() 214 frame_size = cfg->packets_per_xact * sub_size; in get_stream_frame_size()
|
| /linux/drivers/staging/most/dim2/ |
| H A D | dim2.c | 452 u16 const sub_size = ccfg->subbuffer_size; in configure_channel() local 501 new_size = dim_norm_isoc_buffer_size(buf_size, sub_size); in configure_channel() 512 hal_ret = dim_init_isoc(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel() 515 new_size = dim_norm_sync_buffer_size(buf_size, sub_size); in configure_channel() 526 hal_ret = dim_init_sync(&hdm_ch->ch, is_tx, ch_addr, sub_size); in configure_channel()
|
| /linux/drivers/pci/endpoint/functions/ |
| H A D | pci-epf-test.c | 839 size_t sub_size; in pci_epf_test_bar_subrange_setup() local 873 sub_size = bar->size / nsub; in pci_epf_test_bar_subrange_setup() 882 submap[i].phys_addr = bar->phys_addr + (phys_idx * sub_size); in pci_epf_test_bar_subrange_setup() 883 submap[i].size = sub_size; in pci_epf_test_bar_subrange_setup() 915 memset(addr + (phys_idx * sub_size), in pci_epf_test_bar_subrange_setup() 917 sub_size); in pci_epf_test_bar_subrange_setup()
|