/openbmc/linux/drivers/staging/media/sunxi/cedrus/ |
H A D | cedrus_vp8.c | 554 if (!V4L2_VP8_FRAME_IS_KEY_FRAME(slice)) in cedrus_read_header() 559 if (!V4L2_VP8_FRAME_IS_KEY_FRAME(slice)) in cedrus_read_header() 608 prob_table[0x101d] = slice->prob_intra; in cedrus_vp8_update_probs() 609 prob_table[0x101e] = slice->prob_last; in cedrus_vp8_update_probs() 610 prob_table[0x101f] = slice->prob_gf; in cedrus_vp8_update_probs() 671 reg = slice->first_part_size * 8; in cedrus_vp8_setup() 707 switch (slice->version) { in cedrus_vp8_setup() 752 cedrus_read_header(dev, slice); in cedrus_vp8_setup() 822 if (slice->lf.level) { in cedrus_vp8_setup() 826 !V4L2_VP8_FRAME_IS_KEY_FRAME(slice); in cedrus_vp8_setup() [all …]
|
H A D | cedrus_h264.c | 240 slice->ref_pic_list0, in cedrus_write_ref_list0() 241 slice->num_ref_idx_l0_active_minus1 + 1, in cedrus_write_ref_list0() 251 slice->ref_pic_list1, in cedrus_write_ref_list1() 252 slice->num_ref_idx_l1_active_minus1 + 1, in cedrus_write_ref_list1() 389 cedrus_skip_bits(dev, slice->header_bit_size); in cedrus_set_params() 394 if ((slice->slice_type == V4L2_H264_SLICE_TYPE_P) || in cedrus_set_params() 396 (slice->slice_type == V4L2_H264_SLICE_TYPE_B)) in cedrus_set_params() 399 if (slice->slice_type == V4L2_H264_SLICE_TYPE_B) in cedrus_set_params() 444 reg |= (slice->slice_type & 0xf) << 8; in cedrus_set_params() 445 reg |= slice->cabac_init_idc & 0x3; in cedrus_set_params() [all …]
|
/openbmc/linux/drivers/net/ethernet/ti/icssg/ |
H A D | icssg_classifier.c | 74 #define RX_CLASS_N_REG(slice, n, reg) \ argument 80 #define RX_CLASS_GATES_N_REG(slice, n) \ argument 210 offset = offs[slice].ft1_start_len; in rx_class_ft1_set_start_len() 220 offset = FT1_N_REG(slice, n, FT1_DA0); in rx_class_ft1_set_da() 223 offset = FT1_N_REG(slice, n, FT1_DA1); in rx_class_ft1_set_da() 244 offset = offs[slice].ft1_cfg; in rx_class_ft1_cfg_set_type() 254 offset = offs[slice].rx_class_cfg1; in rx_class_sel_set_type() 303 rx_class_set_and(miig_rt, slice, n, 0); in icssg_class_disable() 305 rx_class_set_or(miig_rt, slice, n, 0); in icssg_class_disable() 311 offset = RX_CLASS_GATES_N_REG(slice, n); in icssg_class_disable() [all …]
|
H A D | icssg_config.c | 112 int slice = prueth_emac_slice(emac); in icssg_config_mii_init() local 127 if (slice == ICSS_MII1) in icssg_config_mii_init() 152 if (slice) in icssg_miig_queues_init() 160 queue = slice ? RECYCLE_Q_SLICE1 : RECYCLE_Q_SLICE0; in icssg_miig_queues_init() 165 hwq_map[slice][i].queue); in icssg_miig_queues_init() 177 mp = &hwq_map[slice][j]; in icssg_miig_queues_init() 204 int slice = prueth_emac_slice(emac); in icssg_config_ipg() local 257 int slice = prueth_emac_slice(emac); in prueth_emac_buffer_setup() local 266 if (slice) in prueth_emac_buffer_setup() 287 if (!slice) in prueth_emac_buffer_setup() [all …]
|
H A D | icssg_prueth.c | 268 int ret, slice, i; in prueth_init_tx_chns() local 272 if (slice < 0) in prueth_init_tx_chns() 273 return slice; in prueth_init_tx_chns() 349 if (slice < 0) in prueth_init_rx_chns() 350 return slice; in prueth_init_rx_chns() 911 int slice, ret; in prueth_emac_start() local 916 if (slice < 0) { in prueth_emac_start() 925 ret = rproc_set_firmware(prueth->pru[slice], firmwares[slice].pru); in prueth_emac_start() 932 ret = rproc_set_firmware(prueth->rtu[slice], firmwares[slice].rtu); in prueth_emac_start() 961 int slice; in prueth_emac_stop() local [all …]
|
H A D | icssg_prueth.h | 261 void icssg_class_set_mac_addr(struct regmap *miig_rt, int slice, u8 *mac); 263 void icssg_class_disable(struct regmap *miig_rt, int slice); 264 void icssg_class_default(struct regmap *miig_rt, int slice, bool allmulti); 265 void icssg_ft1_set_mac_addr(struct regmap *miig_rt, int slice, u8 *mac_addr); 270 int slice);
|
/openbmc/linux/sound/pci/au88x0/ |
H A D | au88x0_a3d.c | 131 a3d_addrB(a->slice, a->source, in a3dsrc_SetHrtfTarget() 144 a3d_addrB(a->slice, a->source, in a3dsrc_SetHrtfCurrent() 157 a3d_addrB(a->slice, a->source, in a3dsrc_SetHrtfState() 180 a3d_addrA(a->slice, a->source, 185 a3d_addrB(a->slice, a->source, 284 a3d_addrA(a->slice, a->source, in a3dsrc_SetItdDline() 488 var = a->slice; in a3dsrc_ZeroStateA3D() 491 a->slice = i; in a3dsrc_ZeroStateA3D() 496 a->slice = var; in a3dsrc_ZeroStateA3D() 531 a3d_addrS(a->slice, [all …]
|
H A D | au88x0_a3d.h | 38 unsigned int slice; /* this_08 */ member 106 #define a3d_addrA(slice,source,reg) (((slice)<<0xd)+((source)*0x3A4)+(reg)) argument 107 #define a3d_addrB(slice,source,reg) (((slice)<<0xd)+((source)*0x2C8)+(reg)) argument 108 #define a3d_addrS(slice,reg) (((slice)<<0xd)+(reg)) argument
|
/openbmc/linux/drivers/misc/eeprom/ |
H A D | max6875.c | 60 if (slice >= USER_EEPROM_SLICES) in max6875_update_slice() 65 buf = &data->data[slice << SLICE_BITS]; in max6875_update_slice() 67 if (!(data->valid & (1 << slice)) || in max6875_update_slice() 68 time_after(jiffies, data->last_updated[slice])) { in max6875_update_slice() 72 data->valid &= ~(1 << slice); in max6875_update_slice() 74 addr = USER_EEPROM_BASE + (slice << SLICE_BITS); in max6875_update_slice() 99 data->last_updated[slice] = jiffies; in max6875_update_slice() 100 data->valid |= (1 << slice); in max6875_update_slice() 112 int slice, max_slice; in max6875_read() local 116 for (slice = (off >> SLICE_BITS); slice <= max_slice; slice++) in max6875_read() [all …]
|
H A D | eeprom.c | 42 static void eeprom_update_client(struct i2c_client *client, u8 slice) in eeprom_update_client() argument 49 if (!(data->valid & (1 << slice)) || in eeprom_update_client() 50 time_after(jiffies, data->last_updated[slice] + 300 * HZ)) { in eeprom_update_client() 51 dev_dbg(&client->dev, "Starting eeprom update, slice %u\n", slice); in eeprom_update_client() 54 for (i = slice << 5; i < (slice + 1) << 5; i += 32) in eeprom_update_client() 60 for (i = slice << 5; i < (slice + 1) << 5; i += 2) { in eeprom_update_client() 68 data->last_updated[slice] = jiffies; in eeprom_update_client() 69 data->valid |= (1 << slice); in eeprom_update_client() 81 u8 slice; in eeprom_read() local 84 for (slice = off >> 5; slice <= (off + count - 1) >> 5; slice++) in eeprom_read() [all …]
|
/openbmc/linux/arch/mips/sgi-ip27/ |
H A D | ip27-nmi.c | 37 void install_cpu_nmi_handler(int slice) in install_cpu_nmi_handler() argument 41 nmi_addr = (nmi_t *)NMI_ADDR(get_nasid(), slice); in install_cpu_nmi_handler() 56 void nmi_cpu_eframe_save(nasid_t nasid, int slice) in nmi_cpu_eframe_save() argument 64 slice * IP27_NMI_KREGS_CPU_SIZE); in nmi_cpu_eframe_save() 66 pr_emerg("NMI nasid %d: slice %d\n", nasid, slice); in nmi_cpu_eframe_save() 132 void nmi_dump_hub_irq(nasid_t nasid, int slice) in nmi_dump_hub_irq() argument 136 if (slice == 0) { /* Slice A */ in nmi_dump_hub_irq() 158 int slice; in nmi_node_eframe_save() local 164 for (slice = 0; slice < NODE_NUM_CPUS(slice); slice++) { in nmi_node_eframe_save() 165 nmi_cpu_eframe_save(nasid, slice); in nmi_node_eframe_save() [all …]
|
H A D | ip27-timer.c | 33 int slice = cputoslice(cpu); in rt_next_event() local 38 LOCAL_HUB_S(PI_RT_COMPARE_A + PI_COUNT_OFFSET * slice, cnt); in rt_next_event() 50 int slice = cputoslice(cpu); in hub_rt_counter_handler() local 55 LOCAL_HUB_S(PI_RT_PEND_A + PI_COUNT_OFFSET * slice, 0); in hub_rt_counter_handler()
|
/openbmc/linux/block/partitions/ |
H A D | sysv68.c | 43 struct slice { struct 56 struct slice *slice; in sysv68_partition() local 79 slice = (struct slice *)data; in sysv68_partition() 80 for (i = 0; i < slices; i++, slice++) { in sysv68_partition() 83 if (be32_to_cpu(slice->nblocks)) { in sysv68_partition() 85 be32_to_cpu(slice->blkoff), in sysv68_partition() 86 be32_to_cpu(slice->nblocks)); in sysv68_partition()
|
/openbmc/linux/rust/alloc/ |
H A D | slice.rs | 25 use core::slice::sort; 39 pub use core::slice::range; 41 pub use core::slice::ArrayChunks; 43 pub use core::slice::ArrayChunksMut; 45 pub use core::slice::ArrayWindows; 47 pub use core::slice::EscapeAscii; 49 pub use core::slice::SliceIndex; 65 pub use core::slice::{Iter, IterMut}; 713 let size = slice.iter().map(|slice| slice.borrow().len()).sum(); in concat() 715 for v in slice { in concat() [all …]
|
/openbmc/linux/drivers/gpu/drm/omapdrm/ |
H A D | tcm.h | 222 static inline void tcm_slice(struct tcm_area *parent, struct tcm_area *slice) in tcm_slice() argument 224 *slice = *parent; in tcm_slice() 227 if (slice->tcm && !slice->is2d && in tcm_slice() 228 slice->p0.y != slice->p1.y && in tcm_slice() 229 (slice->p0.x || (slice->p1.x != slice->tcm->width - 1))) { in tcm_slice() 231 slice->p1.x = slice->tcm->width - 1; in tcm_slice() 232 slice->p1.y = (slice->p0.x) ? slice->p0.y : slice->p1.y - 1; in tcm_slice() 235 parent->p0.y = slice->p1.y + 1; in tcm_slice()
|
/openbmc/linux/arch/mips/include/asm/sn/ |
H A D | addrs.h | 278 #define EX_HANDLER_OFFSET(slice) ((slice) << 16) argument 279 #define EX_HANDLER_ADDR(nasid, slice) \ argument 283 #define EX_FRAME_OFFSET(slice) ((slice) << 16 | 0x400) argument 284 #define EX_FRAME_ADDR(nasid, slice) \ argument 332 #define LAUNCH_OFFSET(nasid, slice) \ argument 334 KLD_LAUNCH(nasid)->stride * (slice)) 335 #define LAUNCH_ADDR(nasid, slice) \ argument 339 #define SN_NMI_OFFSET(nasid, slice) \ argument 341 KLD_NMI(nasid)->stride * (slice)) 342 #define NMI_ADDR(nasid, slice) \ argument [all …]
|
/openbmc/linux/drivers/accel/qaic/ |
H A D | qaic_data.c | 157 list_del(&slice->slice); in free_slice() 160 kfree(slice->sgt); in free_slice() 162 kfree(slice); in free_slice() 391 slice = kmalloc(sizeof(*slice), GFP_KERNEL); in qaic_map_one_slice() 392 if (!slice) { in qaic_map_one_slice() 407 slice->bo = bo; in qaic_map_one_slice() 418 list_add_tail(&slice->slice, &bo->slices); in qaic_map_one_slice() 425 kfree(slice); in qaic_map_one_slice() 891 list_for_each_entry_safe(slice, temp, &bo->slices, slice) in qaic_free_slices_bo() 1208 list_for_each_entry(slice, &bo->slices, slice) { in send_bo_list_to_device() [all …]
|
/openbmc/linux/rust/alloc/vec/ |
H A D | spec_extend.rs | 6 use core::slice::{self}; 101 impl<'a, T: 'a, A: Allocator> SpecExtend<&'a T, slice::Iter<'a, T>> for Vec<T, A> 105 fn spec_extend(&mut self, iterator: slice::Iter<'a, T>) { in spec_extend() 106 let slice = iterator.as_slice(); in spec_extend() localVariable 107 unsafe { self.append_elements(slice) }; in spec_extend() 111 impl<'a, T: 'a, A: Allocator> TrySpecExtend<&'a T, slice::Iter<'a, T>> for Vec<T, A> 115 fn try_spec_extend(&mut self, iterator: slice::Iter<'a, T>) -> Result<(), TryReserveError> { in try_spec_extend() 116 let slice = iterator.as_slice(); in try_spec_extend() localVariable 117 unsafe { self.try_append_elements(slice) } in try_spec_extend()
|
/openbmc/linux/drivers/hid/surface-hid/ |
H A D | surface_hid.c | 45 struct surface_hid_buffer_slice *slice; in ssam_hid_get_descriptor() local 70 slice = (struct surface_hid_buffer_slice *)buffer; in ssam_hid_get_descriptor() 71 slice->entry = entry; in ssam_hid_get_descriptor() 72 slice->end = 0; in ssam_hid_get_descriptor() 77 while (!slice->end && offset < len) { in ssam_hid_get_descriptor() 78 put_unaligned_le32(offset, &slice->offset); in ssam_hid_get_descriptor() 79 put_unaligned_le32(length, &slice->length); in ssam_hid_get_descriptor() 84 sizeof(*slice)); in ssam_hid_get_descriptor() 88 offset = get_unaligned_le32(&slice->offset); in ssam_hid_get_descriptor() 89 length = get_unaligned_le32(&slice->length); in ssam_hid_get_descriptor() [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/net/ |
H A D | ti,icssg-prueth.yaml | 152 dmas = <&main_udmap 0xc300>, /* egress slice 0 */ 153 <&main_udmap 0xc301>, /* egress slice 0 */ 154 <&main_udmap 0xc302>, /* egress slice 0 */ 155 <&main_udmap 0xc303>, /* egress slice 0 */ 156 <&main_udmap 0xc304>, /* egress slice 1 */ 157 <&main_udmap 0xc305>, /* egress slice 1 */ 158 <&main_udmap 0xc306>, /* egress slice 1 */ 159 <&main_udmap 0xc307>, /* egress slice 1 */ 160 <&main_udmap 0x4300>, /* ingress slice 0 */ 161 <&main_udmap 0x4301>; /* ingress slice 1 */
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_sysfs.c | 68 int slice = (int)(uintptr_t)attr->private; in i915_l3_read() local 80 if (i915->l3_parity.remap_info[slice]) in i915_l3_read() 82 i915->l3_parity.remap_info[slice] + offset / sizeof(u32), in i915_l3_read() 96 int slice = (int)(uintptr_t)attr->private; in i915_l3_write() local 114 if (i915->l3_parity.remap_info[slice]) { in i915_l3_write() 116 remap_info = i915->l3_parity.remap_info[slice]; in i915_l3_write() 118 i915->l3_parity.remap_info[slice] = remap_info; in i915_l3_write() 126 ctx->remap_slice |= BIT(slice); in i915_l3_write()
|
/openbmc/linux/drivers/misc/cxl/ |
H A D | main.c | 66 ctx->afu->adapter->adapter_num, ctx->afu->slice, ctx->pe); in _cxl_slbia() 81 int card, slice, id; in cxl_slbia_core() local 89 for (slice = 0; slice < adapter->slices; slice++) { in cxl_slbia_core() 90 afu = adapter->afu[slice]; in cxl_slbia_core() 244 struct cxl_afu *cxl_alloc_afu(struct cxl *adapter, int slice) in cxl_alloc_afu() argument 254 afu->slice = slice; in cxl_alloc_afu()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-dbs/mysql/mariadb/ |
H A D | 0001-Add-missing-includes-cstdint-and-cstdio.patch | 17 storage/rocksdb/rocksdb/util/slice.cc | 1 + 57 diff --git a/storage/rocksdb/rocksdb/util/slice.cc b/storage/rocksdb/rocksdb/util/slice.cc 59 --- a/storage/rocksdb/rocksdb/util/slice.cc 60 +++ b/storage/rocksdb/rocksdb/util/slice.cc 67 #include "rocksdb/slice.h"
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_gt_regs.h | 74 #define GEN8_MCR_SLICE(slice) (((slice) & 3) << 26) argument 79 #define GEN11_MCR_SLICE(slice) (((slice) & 0xf) << 27) argument 445 #define GEN9_IZ_HASHING_MASK(slice) (0x3 << ((slice) * 2)) argument 446 #define GEN9_IZ_HASHING(slice, val) ((val) << ((slice) * 2)) argument 503 #define GEN9_SLICE_PGCTL_ACK(slice) _MMIO(0x804c + (slice) * 0x4) argument 504 #define GEN10_SLICE_PGCTL_ACK(slice) _MMIO(0x804c + ((slice) / 3) * 0x34 + \ argument 508 #define GEN10_PGCTL_VALID_SS_MASK(slice) ((slice) == 0 ? 0x7F : 0x1F) argument 510 #define GEN9_SS01_EU_PGCTL_ACK(slice) _MMIO(0x805c + (slice) * 0x8) argument 513 #define GEN9_SS23_EU_PGCTL_ACK(slice) _MMIO(0x8060 + (slice) * 0x8) argument 599 #define GEN9_EU_DISABLE(slice) _MMIO(0x9134 + (slice) * 0x4) argument [all …]
|
/openbmc/linux/drivers/hte/ |
H A D | hte-tegra194.c | 109 int slice; member 371 if (m[eid].slice == NV_AON_SLICE_INVALID) in tegra_hte_map_to_line_id() 456 u32 slice, sl_bit_shift, line_bit, val, reg; in tegra_hte_en_dis_common() local 473 slice = line_id >> sl_bit_shift; in tegra_hte_en_dis_common() 475 reg = (slice << sl_bit_shift) + HTE_SLICE0_TETEN; in tegra_hte_en_dis_common() 477 spin_lock(&gs->sl[slice].s_lock); in tegra_hte_en_dis_common() 480 spin_unlock(&gs->sl[slice].s_lock); in tegra_hte_en_dis_common() 492 spin_unlock(&gs->sl[slice].s_lock); in tegra_hte_en_dis_common() 495 line_id, slice, line_bit, reg); in tegra_hte_en_dis_common() 612 slice = (src >> HTE_TESRC_SLICE_SHIFT) & in tegra_hte_read_fifo() [all …]
|