/third_party/icu/icu4c/source/common/ |
H A D | ucnvscsu.cpp | 110 /* state values */ 126 /* state machine state - toUnicode */ 133 /* state machine state - fromUnicode */ 241 uint8_t state, byteOne; in _SCSUToUnicodeWithOffsets() local 258 /* get the state machine state */ in _SCSUToUnicodeWithOffsets() 260 state=scsu->toUState; in _SCSUToUnicodeWithOffsets() 266 sourceIndex=state in _SCSUToUnicodeWithOffsets() 594 uint8_t state, byteOne; _SCSUToUnicode() local [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | ucnvscsu.cpp | 110 /* state values */ 126 /* state machine state - toUnicode */ 133 /* state machine state - fromUnicode */ 241 uint8_t state, byteOne; in _SCSUToUnicodeWithOffsets() local 258 /* get the state machine state */ in _SCSUToUnicodeWithOffsets() 260 state=scsu->toUState; in _SCSUToUnicodeWithOffsets() 266 sourceIndex=state in _SCSUToUnicodeWithOffsets() 594 uint8_t state, byteOne; _SCSUToUnicode() local [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ucnvscsu.cpp | 110 /* state values */ 126 /* state machine state - toUnicode */ 133 /* state machine state - fromUnicode */ 241 uint8_t state, byteOne; in _SCSUToUnicodeWithOffsets() local 258 /* get the state machine state */ in _SCSUToUnicodeWithOffsets() 260 state=scsu->toUState; in _SCSUToUnicodeWithOffsets() 266 sourceIndex=state in _SCSUToUnicodeWithOffsets() 594 uint8_t state, byteOne; _SCSUToUnicode() local [all...] |
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | nfs4trace.h | 593 #define show_nfs4_clp_state(state) \ 594 __print_flags(state, "|", \ 624 __field(unsigned long, state) 629 __entry->state = clp->cl_state; 634 "hostname=%s clp state=%s", __get_str(hostname), 635 show_nfs4_clp_state(__entry->state) 650 __field(unsigned long, state) 657 __entry->state = clp->cl_state; 663 "hostname=%s clp state=%s error=%ld (%s) section=%s", 665 show_nfs4_clp_state(__entry->state), [all...] |
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | nfs4trace.h | 301 #define show_nfs4_clp_state(state) \ 302 __print_flags(state, "|", \ 332 __field(unsigned long, state) 337 __entry->state = clp->cl_state; 342 "hostname=%s clp state=%s", __get_str(hostname), 343 show_nfs4_clp_state(__entry->state) 358 __field(unsigned long, state) 365 __entry->state = clp->cl_state; 371 "hostname=%s clp state=%s error=%ld (%s) section=%s", 373 show_nfs4_clp_state(__entry->state), [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | intel-pt.c | 186 const struct intel_pt_state *state; member 690 return intel_pt_nr_cpumode(ptq, from_ip, ptq->state->from_nr); in intel_pt_cpumode() 691 return intel_pt_nr_cpumode(ptq, to_ip, ptq->state->to_nr); in intel_pt_cpumode() 771 nr = ptq->state->to_nr; in intel_pt_walk_next_insn() 990 if (ptq->state->to_nr) { in __intel_pt_pgd_ip() 1510 if (ptq->state->flags & INTEL_PT_ABORT_TX) { in intel_pt_sample_flags() 1512 } else if (ptq->state->flags & INTEL_PT_ASYNC) { in intel_pt_sample_flags() 1513 if (!ptq->state->to_ip) in intel_pt_sample_flags() 1517 else if (ptq->state->from_nr && !ptq->state in intel_pt_sample_flags() 1604 const struct intel_pt_state *state; intel_pt_setup_queue() local 2519 intel_ptq_synth_error(struct intel_pt_queue *ptq, const struct intel_pt_state *state) intel_ptq_synth_error() argument 2578 const struct intel_pt_state *state = ptq->state; intel_pt_sample() local 2914 const struct intel_pt_state *state = ptq->state; intel_pt_run_decoder() local [all...] |
/kernel/linux/linux-5.10/drivers/firmware/ |
H A D | dmi-sysfs.c | 403 struct dmi_read_state *state = _state; in dmi_sel_raw_read_helper() local 415 return dmi_sel_raw_read_io(entry, &sel, state->buf, in dmi_sel_raw_read_helper() 416 state->pos, state->count); in dmi_sel_raw_read_helper() 418 return dmi_sel_raw_read_phys32(entry, &sel, state->buf, in dmi_sel_raw_read_helper() 419 state->pos, state->count); in dmi_sel_raw_read_helper() 435 struct dmi_read_state state = { in dmi_sel_raw_read() local 441 return find_dmi_entry(entry, dmi_sel_raw_read_helper, &state); in dmi_sel_raw_read() 526 struct dmi_read_state *state in dmi_entry_raw_read_helper() local 541 struct dmi_read_state state = { dmi_entry_raw_read() local [all...] |
/kernel/linux/linux-5.10/drivers/firmware/psci/ |
H A D | psci.c | 94 static inline bool psci_power_state_loses_context(u32 state) in psci_power_state_loses_context() argument 100 return state & mask; in psci_power_state_loses_context() 103 bool psci_power_state_is_valid(u32 state) in psci_power_state_is_valid() argument 109 return !(state & ~valid_mask); in psci_power_state_is_valid() 166 static int psci_cpu_suspend(u32 state, unsigned long entry_point) in psci_cpu_suspend() argument 172 err = invoke_psci_fn(fn, state, entry_point, 0); in psci_cpu_suspend() 176 static int psci_cpu_off(u32 state) in psci_cpu_off() argument 182 err = invoke_psci_fn(fn, state, 0, 0); in psci_cpu_off() 289 static int psci_suspend_finisher(unsigned long state) in psci_suspend_finisher() argument 291 u32 power_state = state; in psci_suspend_finisher() 297 psci_cpu_suspend_enter(u32 state) psci_cpu_suspend_enter() argument 318 psci_system_suspend_enter(suspend_state_t state) psci_system_suspend_enter() argument [all...] |
/kernel/linux/linux-5.10/drivers/firmware/tegra/ |
H A D | ivc.c | 13 * Each end uses its tx_channel.state to indicate its synchronization state. 19 * initially valid state, but cannot be asynchronously reset, and must 20 * maintain a valid state at all times. 22 * The transmitting end can enter the established state from the sync or 23 * ack state when it observes the receiving endpoint in the ack or 24 * established state, indicating that has cleared the counters in our 30 * If an endpoint is observed in the sync state, the remote endpoint is 39 * state, it can clear the w_count and r_count and transition to the ack 40 * state 58 u32 state; global() member 419 enum tegra_ivc_state state; tegra_ivc_notified() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf.h | 84 test_bit(__IXGBEVF_TX_XDP_RING, &(ring)->state) 86 set_bit(__IXGBEVF_TX_XDP_RING, &(ring)->state) 88 clear_bit(__IXGBEVF_TX_XDP_RING, &(ring)->state) 108 unsigned long state; member 173 test_bit(__IXGBEVF_RX_3K_BUFFER, &(ring)->state) 175 set_bit(__IXGBEVF_RX_3K_BUFFER, &(ring)->state) 177 clear_bit(__IXGBEVF_RX_3K_BUFFER, &(ring)->state) 180 test_bit(__IXGBEVF_RX_BUILD_SKB_ENABLED, &(ring)->state) 182 set_bit(__IXGBEVF_RX_BUILD_SKB_ENABLED, &(ring)->state) 184 clear_bit(__IXGBEVF_RX_BUILD_SKB_ENABLED, &(ring)->state) 246 unsigned int state; global() member 371 unsigned long state; global() member [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/ |
H A D | nfp_nsp_eth.c | 74 __le64 state; member 130 u64 port, state; in nfp_eth_port_translate() local 133 state = le64_to_cpu(src->state); in nfp_eth_port_translate() 141 dst->enabled = FIELD_GET(NSP_ETH_STATE_ENABLED, state); in nfp_eth_port_translate() 142 dst->tx_enabled = FIELD_GET(NSP_ETH_STATE_TX_ENABLED, state); in nfp_eth_port_translate() 143 dst->rx_enabled = FIELD_GET(NSP_ETH_STATE_RX_ENABLED, state); in nfp_eth_port_translate() 145 rate = nfp_eth_rate2speed(FIELD_GET(NSP_ETH_STATE_RATE, state)); in nfp_eth_port_translate() 148 dst->interface = FIELD_GET(NSP_ETH_STATE_INTERFACE, state); in nfp_eth_port_translate() 149 dst->media = FIELD_GET(NSP_ETH_STATE_MEDIA, state); in nfp_eth_port_translate() [all...] |
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | rpaphp_core.c | 105 int rc, state; in get_adapter_status() local 107 rc = rpaphp_get_sensor_state(slot, &state); in get_adapter_status() 113 if (state == EMPTY) in get_adapter_status() 115 else if (state == PRESENT) in get_adapter_status() 116 *value = slot->state; in get_adapter_status() 485 int state; in enable_slot() local 488 if (slot->state == CONFIGURED) in enable_slot() 491 retval = rpaphp_get_sensor_state(slot, &state); in enable_slot() 495 if (state == PRESENT) { in enable_slot() 501 slot->state in enable_slot() [all...] |
/kernel/linux/linux-5.10/drivers/pcmcia/ |
H A D | db1xxx_ss.c | 243 struct socket_state_t *state) in db1x_pcmcia_configure() 255 switch (state->Vcc) { in db1x_pcmcia_configure() 266 sock->nr, state->Vcc); in db1x_pcmcia_configure() 269 switch (state->Vpp) { in db1x_pcmcia_configure() 281 sock->nr, state->Vpp); in db1x_pcmcia_configure() 285 if (((state->Vcc == 33) && (state->Vpp == 50)) || in db1x_pcmcia_configure() 286 ((state->Vcc == 50) && (state->Vpp == 33))) { in db1x_pcmcia_configure() 288 sock->nr, state in db1x_pcmcia_configure() 242 db1x_pcmcia_configure(struct pcmcia_socket *skt, struct socket_state_t *state) db1x_pcmcia_configure() argument [all...] |
H A D | i82092.c | 444 socket_state_t *state) in i82092aa_set_socket() 460 if (!(state->flags & SS_RESET)) in i82092aa_set_socket() 462 if (state->flags & SS_IOCARD) in i82092aa_set_socket() 472 if (state->flags & SS_PWR_AUTO) { in i82092aa_set_socket() 476 if (state->flags & SS_OUTPUT_ENA) { in i82092aa_set_socket() 481 switch (state->Vcc) { in i82092aa_set_socket() 493 __func__, state->Vcc); in i82092aa_set_socket() 497 switch (state->Vpp) { in i82092aa_set_socket() 514 __func__, state->Vcc); in i82092aa_set_socket() 524 if (state in i82092aa_set_socket() 443 i82092aa_set_socket(struct pcmcia_socket *socket, socket_state_t *state) i82092aa_set_socket() argument [all...] |
/kernel/linux/linux-5.10/fs/xfs/scrub/ |
H A D | dabtree.c | 54 ds->state->path.blk[level].blkno), in xchk_da_process_error() 76 ds->state->path.blk[level].blkno), in xchk_da_set_corrupt() 85 struct xfs_da_state_blk *blk = &ds->state->path.blk[level]; in xchk_da_btree_node_entry() 222 struct xfs_da_state_path *path = &ds->state->path; in xchk_da_btree_block_check_sibling() 223 struct xfs_da_state_path *altpath = &ds->state->altpath; in xchk_da_btree_block_check_sibling() 228 memcpy(altpath, path, sizeof(ds->state->altpath)); in xchk_da_btree_block_check_sibling() 235 error = xfs_da3_path_shift(ds->state, altpath, direction, in xchk_da_btree_block_check_sibling() 244 error = xfs_da3_path_shift(ds->state, altpath, direction, false, in xchk_da_btree_block_check_sibling() 305 memset(&ds->state->altpath, 0, sizeof(ds->state in xchk_da_btree_block_check_siblings() [all...] |
/kernel/linux/linux-5.10/net/ax25/ |
H A D | ax25_std_in.c | 35 * State machine for state 1, Awaiting Connection State. 37 * Handling of state 0 and connection release is in ax25.c. 67 ax25->state = AX25_STATE_3; in ax25_std_state1_machine() 99 * State machine for state 2, Awaiting Release State. 101 * Handling of state 0 and connection release is in ax25.c. 137 * State machine for state 3, Connected State. 139 * Handling of state 0 and connection release is in ax25.c. 188 ax25->state = AX25_STATE_1; in ax25_std_state3_machine() 204 ax25->state = AX25_STATE_1; in ax25_std_state3_machine() 211 ax25->state in ax25_std_state3_machine() [all...] |
/kernel/linux/linux-5.10/net/bridge/ |
H A D | br_mrp_netlink.c | 80 enum br_mrp_port_state_type state; in br_mrp_port_state_parse() local 93 state = nla_get_u32(tb[IFLA_BRIDGE_MRP_PORT_STATE_STATE]); in br_mrp_port_state_parse() 95 return br_mrp_set_port_state(p, state); in br_mrp_port_state_parse() 138 struct br_mrp_ring_state state; in br_mrp_ring_state_parse() local 153 memset(&state, 0x0, sizeof(state)); in br_mrp_ring_state_parse() 155 state.ring_id = nla_get_u32(tb[IFLA_BRIDGE_MRP_RING_STATE_RING_ID]); in br_mrp_ring_state_parse() 156 state.ring_state = nla_get_u32(tb[IFLA_BRIDGE_MRP_RING_STATE_STATE]); in br_mrp_ring_state_parse() 158 return br_mrp_set_ring_state(br, &state); in br_mrp_ring_state_parse() 252 struct br_mrp_in_state state; in br_mrp_in_state_parse() local [all...] |
/kernel/linux/linux-5.10/drivers/pwm/ |
H A D | pwm-rockchip.c | 62 struct pwm_state *state) in rockchip_pwm_get_state() 79 state->period = DIV_ROUND_CLOSEST_ULL(tmp, clk_rate); in rockchip_pwm_get_state() 83 state->duty_cycle = DIV_ROUND_CLOSEST_ULL(tmp, clk_rate); in rockchip_pwm_get_state() 86 state->enabled = (val & enable_conf) == enable_conf; in rockchip_pwm_get_state() 89 state->polarity = PWM_POLARITY_INVERSED; in rockchip_pwm_get_state() 91 state->polarity = PWM_POLARITY_NORMAL; in rockchip_pwm_get_state() 97 const struct pwm_state *state) in rockchip_pwm_config() 111 div = clk_rate * state->period; in rockchip_pwm_config() 115 div = clk_rate * state->duty_cycle; in rockchip_pwm_config() 133 if (state in rockchip_pwm_config() 60 rockchip_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) rockchip_pwm_get_state() argument 96 rockchip_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) rockchip_pwm_config() argument 180 rockchip_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) rockchip_pwm_apply() argument [all...] |
/kernel/linux/linux-6.6/fs/xfs/scrub/ |
H A D | dabtree.c | 55 ds->state->path.blk[level].blkno), in xchk_da_process_error() 77 ds->state->path.blk[level].blkno), in xchk_da_set_corrupt() 86 struct xfs_da_state_blk *blk = &ds->state->path.blk[level]; in xchk_da_btree_node_entry() 223 struct xfs_da_state_path *path = &ds->state->path; in xchk_da_btree_block_check_sibling() 224 struct xfs_da_state_path *altpath = &ds->state->altpath; in xchk_da_btree_block_check_sibling() 229 memcpy(altpath, path, sizeof(ds->state->altpath)); in xchk_da_btree_block_check_sibling() 236 error = xfs_da3_path_shift(ds->state, altpath, direction, in xchk_da_btree_block_check_sibling() 245 error = xfs_da3_path_shift(ds->state, altpath, direction, false, in xchk_da_btree_block_check_sibling() 306 memset(&ds->state->altpath, 0, sizeof(ds->state in xchk_da_btree_block_check_siblings() [all...] |
/kernel/linux/linux-6.6/drivers/soc/qcom/ |
H A D | pmic_glink_altmode.c | 72 struct typec_mux_state state; member 157 port->state.alt = &port->dp_alt; in pmic_glink_altmode_enable_dp() 158 port->state.data = &dp_data; in pmic_glink_altmode_enable_dp() 159 port->state.mode = TYPEC_MODAL_STATE(mode); in pmic_glink_altmode_enable_dp() 161 ret = typec_mux_set(port->typec_mux, &port->state); in pmic_glink_altmode_enable_dp() 179 port->state.alt = NULL; in pmic_glink_altmode_enable_usb() 180 port->state.data = NULL; in pmic_glink_altmode_enable_usb() 181 port->state.mode = TYPEC_STATE_USB; in pmic_glink_altmode_enable_usb() 183 ret = typec_mux_set(port->typec_mux, &port->state); in pmic_glink_altmode_enable_usb() 201 port->state in pmic_glink_altmode_safe() 403 pmic_glink_altmode_pdr_notify(void *priv, int state) pmic_glink_altmode_pdr_notify() argument [all...] |
/kernel/linux/linux-6.6/drivers/regulator/ |
H A D | gpio-regulator.c | 42 int state; member 51 if (data->states[ptr].gpios == data->state) in gpio_regulator_get_value() 62 int ptr, target = 0, state, best_val = INT_MAX; in gpio_regulator_set_voltage() local 78 state = (target & (1 << ptr)) >> ptr; in gpio_regulator_set_voltage() 79 gpiod_set_value_cansleep(data->gpiods[ptr], state); in gpio_regulator_set_voltage() 81 data->state = target; in gpio_regulator_set_voltage() 101 int ptr, target = 0, state, best_val = 0; in gpio_regulator_set_current_limit() local 115 state = (target & (1 << ptr)) >> ptr; in gpio_regulator_set_current_limit() 116 gpiod_set_value_cansleep(data->gpiods[ptr], state); in gpio_regulator_set_current_limit() 118 data->state in gpio_regulator_set_current_limit() 243 int ptr, ret, state, i; gpio_regulator_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/pwm/ |
H A D | pwm-rockchip.c | 62 struct pwm_state *state) in rockchip_pwm_get_state() 83 state->period = DIV_ROUND_CLOSEST_ULL(tmp, clk_rate); in rockchip_pwm_get_state() 87 state->duty_cycle = DIV_ROUND_CLOSEST_ULL(tmp, clk_rate); in rockchip_pwm_get_state() 90 state->enabled = (val & enable_conf) == enable_conf; in rockchip_pwm_get_state() 93 state->polarity = PWM_POLARITY_INVERSED; in rockchip_pwm_get_state() 95 state->polarity = PWM_POLARITY_NORMAL; in rockchip_pwm_get_state() 104 const struct pwm_state *state) in rockchip_pwm_config() 118 div = clk_rate * state->period; in rockchip_pwm_config() 122 div = clk_rate * state->duty_cycle; in rockchip_pwm_config() 140 if (state in rockchip_pwm_config() 60 rockchip_pwm_get_state(struct pwm_chip *chip, struct pwm_device *pwm, struct pwm_state *state) rockchip_pwm_get_state() argument 103 rockchip_pwm_config(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) rockchip_pwm_config() argument 187 rockchip_pwm_apply(struct pwm_chip *chip, struct pwm_device *pwm, const struct pwm_state *state) rockchip_pwm_apply() argument [all...] |
/kernel/linux/linux-6.6/drivers/firmware/ |
H A D | dmi-sysfs.c | 405 struct dmi_read_state *state = _state; in dmi_sel_raw_read_helper() local 418 return dmi_sel_raw_read_io(entry, &sel, state->buf, in dmi_sel_raw_read_helper() 419 state->pos, state->count); in dmi_sel_raw_read_helper() 422 return dmi_sel_raw_read_phys32(entry, &sel, state->buf, in dmi_sel_raw_read_helper() 423 state->pos, state->count); in dmi_sel_raw_read_helper() 439 struct dmi_read_state state = { in dmi_sel_raw_read() local 445 return find_dmi_entry(entry, dmi_sel_raw_read_helper, &state); in dmi_sel_raw_read() 531 struct dmi_read_state *state in dmi_entry_raw_read_helper() local 546 struct dmi_read_state state = { dmi_entry_raw_read() local [all...] |
/kernel/linux/linux-6.6/drivers/firmware/tegra/ |
H A D | ivc.c | 13 * Each end uses its tx_channel.state to indicate its synchronization state. 19 * initially valid state, but cannot be asynchronously reset, and must 20 * maintain a valid state at all times. 22 * The transmitting end can enter the established state from the sync or 23 * ack state when it observes the receiving endpoint in the ack or 24 * established state, indicating that has cleared the counters in our 30 * If an endpoint is observed in the sync state, the remote endpoint is 39 * state, it can clear the w_count and r_count and transition to the ack 40 * state 58 u32 state; global() member 174 unsigned int state; tegra_ivc_check_read() local 209 unsigned int state; tegra_ivc_check_write() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf.h | 84 test_bit(__IXGBEVF_TX_XDP_RING, &(ring)->state) 86 set_bit(__IXGBEVF_TX_XDP_RING, &(ring)->state) 88 clear_bit(__IXGBEVF_TX_XDP_RING, &(ring)->state) 108 unsigned long state; member 173 test_bit(__IXGBEVF_RX_3K_BUFFER, &(ring)->state) 175 set_bit(__IXGBEVF_RX_3K_BUFFER, &(ring)->state) 177 clear_bit(__IXGBEVF_RX_3K_BUFFER, &(ring)->state) 180 test_bit(__IXGBEVF_RX_BUILD_SKB_ENABLED, &(ring)->state) 182 set_bit(__IXGBEVF_RX_BUILD_SKB_ENABLED, &(ring)->state) 184 clear_bit(__IXGBEVF_RX_BUILD_SKB_ENABLED, &(ring)->state) 246 unsigned int state; global() member 371 unsigned long state; global() member [all...] |