Home
last modified time | relevance | path

Searched refs:valid (Results 401 - 425 of 3913) sorted by relevance

1...<<11121314151617181920>>...157

/kernel/linux/linux-5.10/drivers/acpi/
H A Ddevice_pm.c174 /* Make sure this is a valid target state */ in acpi_device_set_power()
191 if (!device->power.states[ACPI_STATE_D3_COLD].flags.valid) in acpi_device_set_power()
193 } else if (!device->power.states[state].flags.valid) { in acpi_device_set_power()
481 * NOTE: @adev need not be a run-wake or wakeup device to be a valid source of
554 return result ? false : device->wakeup.flags.valid; in acpi_bus_can_wakeup()
579 * Callers must ensure that @dev and @adev are valid pointers and that @adev
625 * D3cold if D3hot is not a valid state. in acpi_dev_pm_get_state()
627 if (!adev->power.states[ret].flags.valid) { in acpi_dev_pm_get_state()
638 wakeup = device_may_wakeup(dev) && adev->wakeup.flags.valid in acpi_dev_pm_get_state()
641 wakeup = adev->wakeup.flags.valid; in acpi_dev_pm_get_state()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c25 #define BO_VALID 0x8000 /* is current addr in cmdstream correct/valid? */
255 submit->valid = true; in submit_pin_objects()
274 /* iova changed, so address in cmdstream is not valid: */ in submit_pin_objects()
276 submit->valid = false; in submit_pin_objects()
284 struct msm_gem_object **obj, uint64_t *iova, bool *valid) in submit_bo()
296 if (valid) in submit_bo()
297 *valid = !!(submit->bos[idx].flags & BO_VALID); in submit_bo()
335 bool valid; in submit_reloc() local
359 ret = submit_bo(submit, submit_reloc.reloc_idx, NULL, &iova, &valid); in submit_reloc()
363 if (valid) in submit_reloc()
283 submit_bo(struct msm_gem_submit *submit, uint32_t idx, struct msm_gem_object **obj, uint64_t *iova, bool *valid) submit_bo() argument
[all...]
/kernel/linux/linux-6.6/drivers/acpi/
H A Ddevice_pm.c175 /* Make sure this is a valid target state */ in acpi_device_set_power()
188 if (!device->power.states[ACPI_STATE_D3_COLD].flags.valid) in acpi_device_set_power()
190 } else if (!device->power.states[state].flags.valid) { in acpi_device_set_power()
488 * acpi_dev_power_up_children_with_adr - Power up childres with valid _ADR
492 * and hold valid _ADR objects to D0 in order to allow bus (e.g. PCI)
565 * NOTE: @adev need not be a run-wake or wakeup device to be a valid source of
636 return device && device->wakeup.flags.valid; in acpi_bus_can_wakeup()
661 * Callers must ensure that @dev and @adev are valid pointers and that @adev
707 * D3cold if D3hot is not a valid state. in acpi_dev_pm_get_state()
709 if (!adev->power.states[ret].flags.valid) { in acpi_dev_pm_get_state()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c387 submit->valid = true; in submit_pin_objects()
408 /* iova changed, so address in cmdstream is not valid: */ in submit_pin_objects()
410 submit->valid = false; in submit_pin_objects()
448 struct drm_gem_object **obj, uint64_t *iova, bool *valid) in submit_bo()
460 if (valid) in submit_bo()
461 *valid = !!(submit->bos[idx].flags & BO_VALID); in submit_bo()
497 bool valid; in submit_reloc() local
516 ret = submit_bo(submit, submit_reloc.reloc_idx, NULL, &iova, &valid); in submit_reloc()
520 if (valid) in submit_reloc()
891 if (submit->valid) in msm_ioctl_gem_submit()
447 submit_bo(struct msm_gem_submit *submit, uint32_t idx, struct drm_gem_object **obj, uint64_t *iova, bool *valid) submit_bo() argument
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/core/
H A Dverbs.c375 * rdma_replace_ah_attr - Replace valid ah_attr with new new one.
377 * old is assumed to be valid or zero'd
381 * old the ah_attr is valid; after that it copies the new attribute and holds
397 * dest is assumed to be valid or zero'd
401 * if it is valid. This also transfers ownership of internal references from
414 * Validate that the rdma_ah_attr is valid for the device before passing it
750 * ah_attribute must have have valid port_num, sgid_index.
1200 * NOTE: for user qp use ib_create_qp_user with valid udata!
1297 int valid; member
1302 [IB_QPS_RESET] = { .valid
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/core/
H A Dverbs.c369 * rdma_replace_ah_attr - Replace valid ah_attr with new new one.
371 * old is assumed to be valid or zero'd
375 * old the ah_attr is valid; after that it copies the new attribute and holds
391 * dest is assumed to be valid or zero'd
395 * if it is valid. This also transfers ownership of internal references from
408 * Validate that the rdma_ah_attr is valid for the device before passing it
747 * ah_attribute must have have valid port_num, sgid_index.
1379 int valid; member
1384 [IB_QPS_RESET] = { .valid = 1 },
1386 .valid
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/efa/
H A Defa_verbs.c775 int valid; member
780 [IB_QPS_RESET] = { .valid = 1 },
782 .valid = 1,
789 [IB_QPS_RESET] = { .valid = 1 },
790 [IB_QPS_ERR] = { .valid = 1 },
792 .valid = 1,
798 .valid = 1,
804 [IB_QPS_RESET] = { .valid = 1 },
805 [IB_QPS_ERR] = { .valid = 1 },
807 .valid
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dxskxceiver.c514 if (pkt_stream->pkts[pkt_stream->current_pkt_nb].valid) in pkt_stream_get_next_rx_pkt()
579 if (!pkt->valid || !pkt->len) in pkt_nb_frags()
592 if (!pkt_continues(pkt->options) || !pkt->valid) in pkt_nb_frags()
604 pkt->valid = false; in pkt_set()
606 pkt->valid = true; in pkt_set()
681 pkt_stream->pkts[i].valid = false; in pkt_stream_receive_half()
686 if (!pkt->valid) in pkt_get_addr()
734 if (!frame->valid || !pkt_continues(frame->options)) in __pkt_stream_generate_custom()
737 if (frame->valid) in __pkt_stream_generate_custom()
739 if (frame->valid in __pkt_stream_generate_custom()
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_amdkfd.h103 /* List of userptr BOs that are valid or invalid */
221 bool valid = false; \
225 valid = !get_user((dst), (wptr)); \
228 valid = !get_user((dst), (wptr)); \
233 valid; \
/kernel/linux/linux-5.10/drivers/mfd/
H A Ducb1x00-ts.c12 * the UCB1x00 has a valid LCD sync signal routed to its ADCSYNC pin.
209 int valid = 0; in ucb1x00_thread() local
249 * If we spat out a valid sample set last time, in ucb1x00_thread()
252 if (valid) { in ucb1x00_thread()
254 valid = 0; in ucb1x00_thread()
268 valid = 1; in ucb1x00_thread()
/kernel/linux/linux-5.10/drivers/hwmon/
H A Dad7418.c49 char valid; member
64 || !data->valid) { in ad7418_update_device()
114 data->valid = 1; in ad7418_update_device()
121 data->valid = 0; in ad7418_update_device()
H A Dtmp421.c96 char valid; member
125 !data->valid) { in tmp421_update_device()
143 data->valid = 1; in tmp421_update_device()
150 data->valid = 0; in tmp421_update_device()
/kernel/linux/linux-5.10/drivers/input/mouse/
H A Dfocaltech.c72 * touchpad has declared the finger to be valid, but we do not
73 * have any valid position yet.
75 bool valid; member
124 bool active = finger->active && finger->valid; in focaltech_report_state()
165 * will have to wait for the first valid position. in focaltech_process_touch_packet()
167 state->fingers[i].valid = false; in focaltech_process_touch_packet()
192 state->fingers[finger].valid = true; in focaltech_process_abs_packet()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
H A Docrdma_ah.c153 ah->av->valid |= OCRDMA_AV_VLAN_VALID; in set_av_attr()
154 ah->av->valid = cpu_to_le32(ah->av->valid); in set_av_attr()
234 if (ah->av->valid & OCRDMA_AV_VALID) { in ocrdma_query_ah()
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/
H A Dhfi_parser.c29 cap->valid = false; in init_codecs()
36 cap->valid = false; in init_codecs()
49 if (cap->valid && cap->domain == domain) in for_each_codec()
242 cap->valid = true; in parser_fini()
/kernel/linux/linux-5.10/drivers/iio/chemical/
H A Dvz89x.c54 bool (*valid)(struct vz89x_data *data); member
232 ret = chip->valid(data); in vz89x_get_measurement()
323 .valid = vz89x_measurement_is_valid,
333 .valid = vz89te_measurement_is_valid,
/kernel/linux/linux-5.10/sound/pci/lola/
H A Dlola_clock.c123 dev_dbg(chip->card->dev, "No valid clock widget\n"); in lola_init_clock_widget()
263 bool valid = false; in lola_set_clock() local
268 valid = chip->clock.cur_valid; in lola_set_clock()
273 valid = true; in lola_set_clock()
276 if (!freq || !valid) in lola_set_clock()
/kernel/linux/linux-5.10/drivers/staging/comedi/drivers/
H A Dni_routes.c71 * Find the valid routes for a board.
107 /* Second, find the set of routes valid for this device. */ in ni_find_device_routes()
129 * Finds the route values for the device family and the set of valid routes
130 * for the board. If valid routes could not be found for the actual board
134 * (for example, with the route values but not the set of valid routes).
150 * ni_count_valid_routes() - Count the number of valid routes.
151 * @tables: Routing tables for which to count all valid routes.
168 /* direct routing is valid */ in ni_count_valid_routes()
194 * Return: the number of valid routes if n_pairs == 0; otherwise, the number of
195 * valid route
219 bool valid = false; ni_get_valid_routes() local
[all...]
/kernel/linux/linux-6.6/drivers/mfd/
H A Ducb1x00-ts.c12 * the UCB1x00 has a valid LCD sync signal routed to its ADCSYNC pin.
209 int valid = 0; in ucb1x00_thread() local
249 * If we spat out a valid sample set last time, in ucb1x00_thread()
252 if (valid) { in ucb1x00_thread()
254 valid = 0; in ucb1x00_thread()
268 valid = 1; in ucb1x00_thread()
/kernel/linux/linux-6.6/drivers/comedi/drivers/
H A Dni_routes.c68 * Find the valid routes for a board.
103 /* Second, find the set of routes valid for this device. */ in ni_find_device_routes()
125 * Finds the route values for the device family and the set of valid routes
126 * for the board. If valid routes could not be found for the actual board
130 * (for example, with the route values but not the set of valid routes).
146 * ni_count_valid_routes() - Count the number of valid routes.
147 * @tables: Routing tables for which to count all valid routes.
164 /* direct routing is valid */ in ni_count_valid_routes()
190 * Return: the number of valid routes if n_pairs == 0; otherwise, the number of
191 * valid route
215 bool valid = false; ni_get_valid_routes() local
[all...]
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/
H A Dhfi_parser.c29 cap->valid = false; in init_codecs()
36 cap->valid = false; in init_codecs()
49 if (cap->valid && cap->domain == domain) in for_each_codec()
242 cap->valid = true; in parser_fini()
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/
H A Docrdma_ah.c153 ah->av->valid |= OCRDMA_AV_VLAN_VALID; in set_av_attr()
154 ah->av->valid = cpu_to_le32(ah->av->valid); in set_av_attr()
234 if (ah->av->valid & OCRDMA_AV_VALID) { in ocrdma_query_ah()
/kernel/linux/linux-6.6/drivers/hwmon/
H A Dad7418.c49 bool valid; member
64 || !data->valid) { in ad7418_update_device()
114 data->valid = true; in ad7418_update_device()
121 data->valid = false; in ad7418_update_device()
/kernel/linux/linux-6.6/drivers/iio/chemical/
H A Dvz89x.c54 bool (*valid)(struct vz89x_data *data); member
232 ret = chip->valid(data); in vz89x_get_measurement()
323 .valid = vz89x_measurement_is_valid,
333 .valid = vz89te_measurement_is_valid,
/kernel/linux/linux-6.6/drivers/input/mouse/
H A Dfocaltech.c72 * touchpad has declared the finger to be valid, but we do not
73 * have any valid position yet.
75 bool valid; member
124 bool active = finger->active && finger->valid; in focaltech_report_state()
165 * will have to wait for the first valid position. in focaltech_process_touch_packet()
167 state->fingers[i].valid = false; in focaltech_process_touch_packet()
192 state->fingers[finger].valid = true; in focaltech_process_abs_packet()

Completed in 24 milliseconds

1...<<11121314151617181920>>...157