| /linux/drivers/net/ethernet/freescale/dpaa2/ |
| H A D | dpaa2-eth-devlink.c | 63 int position; in dpaa2_eth_dl_get_trap() member 66 { .position = 5, .trap_id = DEVLINK_TRAP_GENERIC_ID_VXLAN_PARSING }, in dpaa2_eth_dl_get_trap() 67 { .position = 20, .trap_id = DEVLINK_TRAP_GENERIC_ID_LLC_SNAP_PARSING }, in dpaa2_eth_dl_get_trap() 68 { .position = 24, .trap_id = DEVLINK_TRAP_GENERIC_ID_VLAN_PARSING }, in dpaa2_eth_dl_get_trap() 69 { .position = 26, .trap_id = DEVLINK_TRAP_GENERIC_ID_PPPOE_PPP_PARSING }, in dpaa2_eth_dl_get_trap() 70 { .position = 29, .trap_id = DEVLINK_TRAP_GENERIC_ID_MPLS_PARSING }, in dpaa2_eth_dl_get_trap() 71 { .position = 31, .trap_id = DEVLINK_TRAP_GENERIC_ID_ARP_PARSING }, in dpaa2_eth_dl_get_trap() 72 { .position = 52, .trap_id = DEVLINK_TRAP_GENERIC_ID_IP_1_PARSING }, in dpaa2_eth_dl_get_trap() 73 { .position = 61, .trap_id = DEVLINK_TRAP_GENERIC_ID_IP_N_PARSING }, in dpaa2_eth_dl_get_trap() 74 { .position = 67, .trap_id = DEVLINK_TRAP_GENERIC_ID_GRE_PARSING }, in dpaa2_eth_dl_get_trap() [all …]
|
| /linux/net/sunrpc/xprtrdma/ |
| H A D | svc_rdma_pcl.c | 28 static struct svc_rdma_chunk *pcl_alloc_chunk(u32 segcount, u32 position) in pcl_alloc_chunk() argument 36 chunk->ch_position = position; in pcl_alloc_chunk() 44 pcl_lookup_position(struct svc_rdma_pcl *pcl, u32 position) in pcl_lookup_position() argument 49 if (pos->ch_position == position) in pcl_lookup_position() 110 u32 position, handle, length; in pcl_alloc_call() local 114 p = xdr_decode_read_segment(p, &position, &handle, in pcl_alloc_call() 116 if (position != 0) in pcl_alloc_call() 120 chunk = pcl_alloc_chunk(segcount, position); in pcl_alloc_call() 164 u32 position, handle, length; in pcl_alloc_read() local 168 p = xdr_decode_read_segment(p, &position, &handle, in pcl_alloc_read() [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-class-usb_power_delivery | 32 object position number as the first character followed by the 35 /sys/class/usb_power_delivery/.../source_capabilities/<position>:<type> 51 What: /sys/class/usb_power_delivery/.../<capability>/<position>:fixed_supply 59 Specification dictates that the first PDO (at object position 121 What: /sys/class/usb_power_delivery/.../<capability>/<position>:fixed_supply/voltage 127 What: /sys/class/usb_power_delivery/.../source-capabilities/<position>:fixed_supply/peak_current 134 What: /sys/class/usb_power_delivery/.../source-capabilities/<position>:fixed_supply/maximum_current 140 What: /sys/class/usb_power_delivery/.../sink-capabilities/<position>:fixed_supply/operational_curr… 146 What: /sys/class/usb_power_delivery/.../sink-capabilities/<position>:fixed_supply/fast_role_swap_c… 160 What: /sys/class/usb_power_delivery/.../<capability>/<position>:variable_supply [all …]
|
| /linux/sound/pci/ctxfi/ |
| H A D | ctpcm.c | 247 unsigned long position; in ct_pcm_playback_pointer() local 253 position = atc->pcm_playback_position(atc, apcm); in ct_pcm_playback_pointer() 254 position = bytes_to_frames(runtime, position); in ct_pcm_playback_pointer() 255 if (position >= runtime->buffer_size) in ct_pcm_playback_pointer() 256 position = 0; in ct_pcm_playback_pointer() 257 return position; in ct_pcm_playback_pointer() 353 unsigned long position; in ct_pcm_capture_pointer() local 359 position = atc->pcm_capture_position(atc, apcm); in ct_pcm_capture_pointer() 360 position = bytes_to_frames(runtime, position); in ct_pcm_capture_pointer() 361 if (position >= runtime->buffer_size) in ct_pcm_capture_pointer() [all …]
|
| /linux/scripts/coccinelle/null/ |
| H A D | deref_null.cocci | 23 position p1; 31 position p2; 45 position p1; 59 position p!={pr1.p1,pr2.p2}; 60 position ifm.p1; 120 position p!={pr1.p1,pr2.p2}; 121 position ifm.p1; 180 position p!={pr1.p1,pr2.p2}; 181 position ifm.p1; 219 position p1; [all …]
|
| H A D | kmerr.cocci | 22 position p; 32 position p1 != withtest.p; 34 position any withtest.p; 47 position p1 != withtest.p; 48 position p2; 50 position any withtest.p;
|
| /linux/scripts/coccinelle/api/ |
| H A D | string_choices.cocci | 23 position P; 46 position P; 65 position P; 84 position P; 103 position P; 122 position P; 141 position P; 160 position P; 179 position P; 198 position P; [all …]
|
| H A D | kfree_mismatch.cocci | 19 position kok, vok; 54 position fok; 64 position a != alloc.kok; 65 position f != free.fok; 78 position a != alloc.kok; 79 position f != free.fok; 93 position a != alloc.vok; 94 position f != free.fok; 106 position a != alloc.vok; 107 position f != free.fok; [all …]
|
| H A D | kfree_sensitive.cocci | 28 position ok; 36 position p : script:python() { relevant(p) }; 37 position m != cond.ok; 52 position p : script:python() { relevant(p) }; 53 position m != cond.ok; 70 position p : script:python() { relevant(p) }; 71 position m != cond.ok;
|
| H A D | pm_runtime.cocci | 21 position p; 54 position runtime_bad_err_handle.p; 70 position runtime_bad_err_handle.p; 85 position p1, p2; 88 position runtime_bad_err_handle.p;
|
| /linux/scripts/coccinelle/misc/ |
| H A D | semicolon.cocci | 17 position p; 25 position p; 49 position p1; 50 position p != {r_default.p, r_case.p}; 67 position r1.p; 77 position r1.p;
|
| H A D | warn.cocci | 17 position p; 25 position p != bad1.p; 46 position p != bad1.p; 66 position p; 74 position p != bad1.p; 95 position p != bad2.p;
|
| H A D | flexible_array.cocci | 29 position p : script:python() { relevant(p) }; 57 position q; 73 position p : script:python() { relevant(p) }; 74 // position @q with rule "only_field" simplifies 76 position q != only_field.q;
|
| H A D | irqf_oneshot.cocci | 20 position p; 42 position p != r1.p; 58 position p != {r1.p,r2.p}; 84 position p != {r1.p,r2.p}; 95 position p != {r1.p,r2.p};
|
| /linux/lib/zstd/common/ |
| H A D | fse_decompress.c | 122 size_t position = 0; in FSE_buildDTable_internal() local 129 size_t const uPosition = (position + (u * step)) & tableMask; in FSE_buildDTable_internal() 132 position = (position + (unroll * step)) & tableMask; in FSE_buildDTable_internal() 134 assert(position == 0); in FSE_buildDTable_internal() 139 U32 s, position = 0; in FSE_buildDTable_internal() local 143 tableDecode[position].symbol = (FSE_FUNCTION_TYPE)s; in FSE_buildDTable_internal() 144 position = (position + step) & tableMask; in FSE_buildDTable_internal() 145 … while (position > highThreshold) position = (position + step) & tableMask; /* lowprob area */ in FSE_buildDTable_internal() 147 …if (position!=0) return ERROR(GENERIC); /* position must reach all cells once, otherwise normali… in FSE_buildDTable_internal()
|
| /linux/scripts/coccinelle/tests/ |
| H A D | odd_ptr_err.cocci | 19 position p; 30 position p; 45 position p != {ok1.p,ok2.p}; 65 position p != {ok1.p,ok2.p}; 67 position j0, j1; 84 position p != {ok1.p,ok2.p}; 86 position r1_context.j0, r1_context.j1;
|
| /linux/drivers/firmware/tegra/ |
| H A D | ivc.c | 153 if (ivc->tx.position == ivc->num_frames - 1) in tegra_ivc_advance_tx() 154 ivc->tx.position = 0; in tegra_ivc_advance_tx() 156 ivc->tx.position++; in tegra_ivc_advance_tx() 165 if (ivc->rx.position == ivc->num_frames - 1) in tegra_ivc_advance_rx() 166 ivc->rx.position = 0; in tegra_ivc_advance_rx() 168 ivc->rx.position++; in tegra_ivc_advance_rx() 296 tegra_ivc_invalidate_frame(ivc, ivc->rx.phys, ivc->rx.position, 0, in tegra_ivc_read_get_next_frame() 299 return tegra_ivc_frame_virt(ivc, &ivc->rx.map, ivc->rx.position, map); in tegra_ivc_read_get_next_frame() 351 return tegra_ivc_frame_virt(ivc, &ivc->tx.map, ivc->tx.position, map); in tegra_ivc_write_get_next_frame() 366 tegra_ivc_flush_frame(ivc, ivc->tx.phys, ivc->tx.position, 0, in tegra_ivc_write_advance() [all …]
|
| /linux/tools/tracing/rtla/src/ |
| H A D | osnoise_hist.c | 184 char *content, *position; in osnoise_read_trace_hist() local 194 position = content; in osnoise_read_trace_hist() 196 position = strstr(position, "duration: ~"); in osnoise_read_trace_hist() 197 if (!position) in osnoise_read_trace_hist() 199 position += strlen("duration: ~"); in osnoise_read_trace_hist() 200 duration = get_llong_from_str(position); in osnoise_read_trace_hist() 204 position = strstr(position, "cpu:"); in osnoise_read_trace_hist() 205 if (!position) in osnoise_read_trace_hist() 207 position += strlen("cpu: "); in osnoise_read_trace_hist() 208 cpu = get_llong_from_str(position); in osnoise_read_trace_hist() [all …]
|
| /linux/drivers/media/dvb-frontends/ |
| H A D | nxt200x.c | 406 u16 rambase, position, crc = 0; in nxt2002_load_firmware() local 425 for (position = 0; position < fw->size; position++) { in nxt2002_load_firmware() 429 buf[0] = ((rambase + position) >> 8); in nxt2002_load_firmware() 430 buf[1] = (rambase + position) & 0xFF; in nxt2002_load_firmware() 439 nxt200x_writebytes(state, chunkpos, &fw->data[position-3], 4); in nxt2002_load_firmware() 441 crc = nxt200x_crc(crc, fw->data[position]); in nxt2002_load_firmware() 443 if ((written == 255) || (position+1 == fw->size)) { in nxt2002_load_firmware() 446 &fw->data[position-(written %4) + 1], in nxt2002_load_firmware() 473 u16 rambase, position, crc=0; in nxt2004_load_firmware() local 486 for (position = 0; position < fw->size; position++) { in nxt2004_load_firmware() [all …]
|
| /linux/drivers/acpi/acpica/ |
| H A D | acmacros.h | 306 #define ACPI_MASK_BITS_ABOVE(position) (~((ACPI_UINT64_MAX) << ((u32) (position)))) argument 307 #define ACPI_MASK_BITS_BELOW(position) ((ACPI_UINT64_MAX) << ((u32) (position))) argument 330 #define ACPI_GET_BITS(source_ptr, position, mask) \ argument 331 ((*(source_ptr) >> (position)) & (mask)) 333 #define ACPI_SET_BITS(target_ptr, position, mask, value) \ argument 334 (*(target_ptr) |= (((value) & (mask)) << (position))) 356 #define ACPI_EXTRACT_1BIT_FLAG(field, position) (ACPI_GET_1BIT_FLAG ((field) >> position)) argument 357 #define ACPI_EXTRACT_2BIT_FLAG(field, position) (ACPI_GET_2BIT_FLAG ((field) >> position)) argument 358 #define ACPI_EXTRACT_3BIT_FLAG(field, position) (ACPI_GET_3BIT_FLAG ((field) >> position)) argument 359 #define ACPI_EXTRACT_4BIT_FLAG(field, position) (ACPI_GET_4BIT_FLAG ((field) >> position)) argument
|
| /linux/Documentation/driver-api/cxl/linux/example-configurations/ |
| H A D | multi-interleave.rst | 166 "position":0, 172 "position":2, 273 "position":1, 279 "position":3, 347 "position":1, 353 "position":0, 376 "position":3, 381 "position":2, 386 "position":1, 391 "position":0,
|
| /linux/scripts/coccinelle/locks/ |
| H A D | double_lock.cocci | 18 position p1; 20 position p; 42 position p1 != locked.p1; 43 position locked.p; 69 position locked.p,p1,p2;
|
| H A D | mini_lock.cocci | 22 position p1,p; 57 position r; 64 position prelocked.p; 65 position up != prelocked.p1; 66 position r!=looped.r;
|
| /linux/drivers/staging/media/sunxi/cedrus/ |
| H A D | cedrus_h264.c | 96 unsigned int position; in cedrus_write_frame_list() local 117 position = cedrus_buf->codec.h264.position; in cedrus_write_frame_list() 118 used_dpbs |= BIT(position); in cedrus_write_frame_list() 121 output = position; in cedrus_write_frame_list() 131 &pic_list[position]); in cedrus_write_frame_list() 135 position = output; in cedrus_write_frame_list() 137 position = find_first_zero_bit(&used_dpbs, CEDRUS_H264_FRAME_NUM); in cedrus_write_frame_list() 140 output_buf->codec.h264.position = position; in cedrus_write_frame_list() 177 &pic_list[position]); in cedrus_write_frame_list() 182 cedrus_write(dev, VE_H264_OUTPUT_FRAME_IDX, position); in cedrus_write_frame_list() [all …]
|
| /linux/scripts/coccinelle/iterators/ |
| H A D | device_node_continue.cocci | 27 position p1,p2; 61 position r.p1,r.p2; 72 position r.p2; 81 position r.p2; 82 position j0;
|