Home
last modified time | relevance | path

Searched refs:p_config (Results 1 – 25 of 132) sorted by relevance

123456

/dports/net/yaz/yaz-5.31.1/util/
H A Dyaz-icu.c76 p_config->conffile[0] = 0; in read_params()
77 p_config->print[0] = 0; in read_params()
78 p_config->xmloutput = 0; in read_params()
79 p_config->sortoutput = 0; in read_params()
80 p_config->chain = 0; in read_params()
81 p_config->infile = 0; in read_params()
83 p_config->org_output = 0; in read_params()
129 if (!strlen(p_config->conffile) && !strlen(p_config->print)) in read_params()
139 if (p_config->xmloutput) in print_icu_converters()
158 if (p_config->xmloutput) in print_icu_converters()
[all …]
/dports/multimedia/vlc/vlc-3.0.16/src/config/
H A Dcore.c59 if( !p_config ) in config_GetType()
82 return p_config != NULL && p_config->b_safe; in config_IsSafe()
98 if( !p_config ) in config_GetInt()
128 if( !p_config ) in config_GetFloat()
163 if( !p_config ) in config_GetPsz()
194 if( !p_config ) in config_PutPsz()
231 if( !p_config ) in config_PutInt()
263 if( !p_config ) in config_PutFloat()
272 if ((p_config->min.f == 0.f) && (p_config->max.f == 0.f)) in config_PutFloat()
571 p_config->value.i = p_config->orig.i; in config_ResetAll()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/lib/nrfx/drivers/src/
H A Dnrfx_power.c99 NRFX_ASSERT(p_config); in nrfx_power_init()
108 nrf_power_dcdcen_set(p_config->dcdcen); in nrfx_power_init()
140 NRFX_ASSERT(p_config != NULL); in nrfx_power_pof_init()
144 if (p_config->handler != NULL) in nrfx_power_pof_init()
146 m_pofwarn_handler = p_config->handler; in nrfx_power_pof_init()
175 NRFX_ASSERT(p_config != NULL); in nrfx_power_sleepevt_init()
178 if (p_config->handler != NULL) in nrfx_power_sleepevt_init()
187 if (p_config->en_enter) in nrfx_power_sleepevt_enable()
192 if (p_config->en_exit) in nrfx_power_sleepevt_enable()
217 if (p_config->handler != NULL) in nrfx_power_usbevt_init()
[all …]
H A Dnrfx_i2s.c85 if (p_config->mode == NRF_I2S_MODE_MASTER) in configure_pins()
99 mck_pin = p_config->mck_pin; in configure_pins()
110 sdout_pin = p_config->sdout_pin; in configure_pins()
121 sdin_pin = p_config->sdin_pin; in configure_pins()
130 p_config->sck_pin, in configure_pins()
131 p_config->lrck_pin, in configure_pins()
141 NRFX_ASSERT(p_config); in nrfx_i2s_init()
156 p_config->mode, in nrfx_i2s_init()
157 p_config->format, in nrfx_i2s_init()
162 p_config->ratio)) in nrfx_i2s_init()
[all …]
H A Dnrfx_qdec.c94 NRFX_ASSERT(p_config); in nrfx_qdec_init()
109 nrf_qdec_sampleper_set(p_config->sampleper); in nrfx_qdec_init()
111 nrf_gpio_cfg_input(p_config->psela, NRF_GPIO_PIN_NOPULL); in nrfx_qdec_init()
112 nrf_gpio_cfg_input(p_config->pselb, NRF_GPIO_PIN_NOPULL); in nrfx_qdec_init()
113 nrf_qdec_pio_assign(p_config->psela, p_config->pselb, p_config->pselled); in nrfx_qdec_init()
114 nrf_qdec_ledpre_set(p_config->ledpre); in nrfx_qdec_init()
115 nrf_qdec_ledpol_set(p_config->ledpol); in nrfx_qdec_init()
118 if (p_config->dbfen) in nrfx_qdec_init()
129 if (p_config->reportper != NRF_QDEC_REPORTPER_DISABLED) in nrfx_qdec_init()
131 nrf_qdec_reportper_set(p_config->reportper); in nrfx_qdec_init()
[all …]
H A Dnrfx_spim.c164 NRFX_ASSERT(p_config); in nrfx_spim_init()
184 (p_config->use_hw_ss))) in nrfx_spim_init()
240 nrf_gpio_cfg(p_config->sck_pin, in nrfx_spim_init()
249 mosi_pin = p_config->mosi_pin; in nrfx_spim_init()
260 miso_pin = p_config->miso_pin; in nrfx_spim_init()
267 p_cb->miso_pin = p_config->miso_pin; in nrfx_spim_init()
272 p_cb->ss_pin = p_config->ss_pin; in nrfx_spim_init()
276 if (p_config->ss_active_high) in nrfx_spim_init()
286 if (p_config->use_hw_ss) in nrfx_spim_init()
315 nrf_spim_configure(p_spim, p_config->mode, p_config->bit_order); in nrfx_spim_init()
[all …]
H A Dnrfx_qspi.c103 if ((p_config->sck_pin == NRF_QSPI_PIN_NOT_CONNECTED) || in qspi_pins_configure()
104 (p_config->csn_pin == NRF_QSPI_PIN_NOT_CONNECTED) || in qspi_pins_configure()
105 (p_config->io0_pin == NRF_QSPI_PIN_NOT_CONNECTED) || in qspi_pins_configure()
106 (p_config->io1_pin == NRF_QSPI_PIN_NOT_CONNECTED)) in qspi_pins_configure()
111 nrf_qspi_pins_set(NRF_QSPI, p_config); in qspi_pins_configure()
120 NRFX_ASSERT(p_config); in nrfx_qspi_init()
126 if (!qspi_pins_configure(&p_config->pins)) in nrfx_qspi_init()
132 nrf_qspi_ifconfig0_set(NRF_QSPI, &p_config->prot_if); in nrfx_qspi_init()
133 nrf_qspi_ifconfig1_set(NRF_QSPI, &p_config->phy_if); in nrfx_qspi_init()
192 nrf_qspi_cinstr_transfer_start(NRF_QSPI, p_config); in nrfx_qspi_cinstr_xfer()
[all …]
H A Dnrfx_spis.c122 NRFX_ASSERT(p_config); in nrfx_spis_init()
175 nrf_gpio_cfg(p_config->miso_pin, in nrfx_spis_init()
181 miso_pin = p_config->miso_pin; in nrfx_spis_init()
190 nrf_gpio_cfg(p_config->mosi_pin, in nrfx_spis_init()
196 mosi_pin = p_config->mosi_pin; in nrfx_spis_init()
203 nrf_gpio_cfg(p_config->csn_pin, in nrfx_spis_init()
206 p_config->csn_pullup, in nrfx_spis_init()
210 nrf_gpio_cfg(p_config->sck_pin, in nrfx_spis_init()
217 nrf_spis_pins_set(p_spis, p_config->sck_pin, mosi_pin, miso_pin, p_config->csn_pin); in nrfx_spis_init()
223 nrf_spis_configure(p_spis, p_config->mode, p_config->bit_order); in nrfx_spis_init()
[all …]
H A Dnrfx_spi.c74 NRFX_ASSERT(p_config); in nrfx_spi_init()
120 if (p_config->mode <= NRF_SPI_MODE_1) in nrfx_spi_init()
122 nrf_gpio_pin_clear(p_config->sck_pin); in nrfx_spi_init()
126 nrf_gpio_pin_set(p_config->sck_pin); in nrfx_spi_init()
128 nrf_gpio_cfg(p_config->sck_pin, in nrfx_spi_init()
137 mosi_pin = p_config->mosi_pin; in nrfx_spi_init()
148 miso_pin = p_config->miso_pin; in nrfx_spi_init()
159 nrf_gpio_pin_set(p_config->ss_pin); in nrfx_spi_init()
160 nrf_gpio_cfg_output(p_config->ss_pin); in nrfx_spi_init()
167 nrf_spi_configure(p_spi, p_config->mode, p_config->bit_order); in nrfx_spi_init()
[all …]
H A Dnrfx_comp.c73 nrfx_err_t nrfx_comp_init(nrfx_comp_config_t const * p_config, in nrfx_comp_init() argument
76 NRFX_ASSERT(p_config); in nrfx_comp_init()
111 nrf_comp_ref_set(p_config->reference); in nrfx_comp_init()
114 if (p_config->reference == COMP_REFSEL_REFSEL_ARef) in nrfx_comp_init()
116 nrf_comp_ext_ref_set(p_config->ext_ref); in nrfx_comp_init()
119 nrf_comp_th_set(p_config->threshold); in nrfx_comp_init()
120 nrf_comp_main_mode_set(p_config->main_mode); in nrfx_comp_init()
121 nrf_comp_speed_mode_set(p_config->speed_mode); in nrfx_comp_init()
122 nrf_comp_hysteresis_set(p_config->hyst); in nrfx_comp_init()
124 nrf_comp_isource_set(p_config->isource); in nrfx_comp_init()
[all …]
H A Dnrfx_pdm.c170 nrfx_err_t nrfx_pdm_init(nrfx_pdm_config_t const * p_config, in nrfx_pdm_init() argument
173 NRFX_ASSERT(p_config); in nrfx_pdm_init()
186 if (p_config->gain_l > NRF_PDM_GAIN_MAXIMUM || in nrfx_pdm_init()
187 p_config->gain_r > NRF_PDM_GAIN_MAXIMUM) in nrfx_pdm_init()
203 nrf_pdm_clock_set(p_config->clock_freq); in nrfx_pdm_init()
204 nrf_pdm_mode_set(p_config->mode, p_config->edge); in nrfx_pdm_init()
205 nrf_pdm_gain_set(p_config->gain_l, p_config->gain_r); in nrfx_pdm_init()
207 nrf_gpio_cfg_output(p_config->pin_clk); in nrfx_pdm_init()
208 nrf_gpio_pin_clear(p_config->pin_clk); in nrfx_pdm_init()
209 nrf_gpio_cfg_input(p_config->pin_din, NRF_GPIO_PIN_NOPULL); in nrfx_pdm_init()
[all …]
H A Dnrfx_uarte.c91 nrf_gpio_pin_set(p_config->pseltxd); in apply_config()
92 nrf_gpio_cfg_output(p_config->pseltxd); in apply_config()
100 nrf_uarte_configure(p_instance->p_reg, p_config->parity, p_config->hwfc); in apply_config()
101 nrf_uarte_txrx_pins_set(p_instance->p_reg, p_config->pseltxd, p_config->pselrxd); in apply_config()
102 if (p_config->hwfc == NRF_UARTE_HWFC_ENABLED) in apply_config()
110 nrf_gpio_pin_set(p_config->pselrts); in apply_config()
111 nrf_gpio_cfg_output(p_config->pselrts); in apply_config()
113 nrf_uarte_hwfc_pins_set(p_instance->p_reg, p_config->pselrts, p_config->pselcts); in apply_config()
179 NRFX_ASSERT(p_config); in nrfx_uarte_init()
212 apply_config(p_instance, p_config); in nrfx_uarte_init()
[all …]
H A Dnrfx_uart.c77 nrf_gpio_pin_set(p_config->pseltxd); in apply_config()
78 nrf_gpio_cfg_output(p_config->pseltxd); in apply_config()
86 nrf_uart_configure(p_instance->p_reg, p_config->parity, p_config->hwfc); in apply_config()
87 nrf_uart_txrx_pins_set(p_instance->p_reg, p_config->pseltxd, p_config->pselrxd); in apply_config()
88 if (p_config->hwfc == NRF_UART_HWFC_ENABLED) in apply_config()
96 nrf_gpio_pin_set(p_config->pselrts); in apply_config()
97 nrf_gpio_cfg_output(p_config->pselrts); in apply_config()
99 nrf_uart_hwfc_pins_set(p_instance->p_reg, p_config->pselrts, p_config->pselcts); in apply_config()
161 NRFX_ASSERT(p_config); in nrfx_uart_init()
191 apply_config(p_instance, p_config); in nrfx_uart_init()
[all …]
H A Dnrfx_saadc.c205 NRFX_ASSERT(p_config); in nrfx_saadc_init()
219 nrf_saadc_resolution_set(p_config->resolution); in nrfx_saadc_init()
220 nrf_saadc_oversample_set(p_config->oversample); in nrfx_saadc_init()
288 NRFX_ASSERT(p_config->pin_n <= NRF_SAADC_INPUT_VDD); in nrfx_saadc_channel_init()
303 if ((p_config->acq_time == NRF_SAADC_ACQTIME_3US) || in nrfx_saadc_channel_init()
304 (p_config->acq_time == NRF_SAADC_ACQTIME_5US)) in nrfx_saadc_channel_init()
314 m_cb.psel[channel].pselp = p_config->pin_p; in nrfx_saadc_channel_init()
315 m_cb.psel[channel].pseln = p_config->pin_n; in nrfx_saadc_channel_init()
316 nrf_saadc_channel_init(channel, p_config); in nrfx_saadc_channel_init()
319 if ((p_config->acq_time == NRF_SAADC_ACQTIME_3US) || in nrfx_saadc_channel_init()
[all …]
H A Dnrfx_lpcomp.c72 nrfx_err_t nrfx_lpcomp_init(nrfx_lpcomp_config_t const * p_config, in nrfx_lpcomp_init() argument
75 NRFX_ASSERT(p_config); in nrfx_lpcomp_init()
101 nrf_lpcomp_configure(&(p_config->hal)); in nrfx_lpcomp_init()
103 nrf_lpcomp_input_select(p_config->input); in nrfx_lpcomp_init()
105 switch (p_config->hal.detection) in nrfx_lpcomp_init()
124 NRFX_IRQ_PRIORITY_SET(LPCOMP_IRQn, p_config->interrupt_priority); in nrfx_lpcomp_init()
H A Dnrfx_twis.c456 NRFX_ASSERT(p_config); in nrfx_twis_init()
457 NRFX_ASSERT(p_config->scl != p_config->sda); in nrfx_twis_init()
497 nrfx_twis_config_pin(p_config->scl, p_config->scl_pull); in nrfx_twis_init()
498 nrfx_twis_config_pin(p_config->sda, p_config->sda_pull); in nrfx_twis_init()
501 if (0 == (p_config->addr[0] | p_config->addr[1])) in nrfx_twis_init()
507 if (0 != p_config->addr[0]) in nrfx_twis_init()
511 if (0 != p_config->addr[1]) in nrfx_twis_init()
521 p_config->interrupt_priority); in nrfx_twis_init()
525 nrf_twis_pins_set (p_reg, p_config->scl, p_config->sda); in nrfx_twis_init()
526 nrf_twis_address_set (p_reg, 0, p_config->addr[0]); in nrfx_twis_init()
[all …]
H A Dnrfx_pwm.c81 nrfx_pwm_config_t const * p_config) in configure_pins() argument
88 uint8_t output_pin = p_config->output_pins[i]; in configure_pins()
116 nrfx_pwm_config_t const * p_config, in nrfx_pwm_init() argument
119 NRFX_ASSERT(p_config); in nrfx_pwm_init()
136 configure_pins(p_instance, p_config); in nrfx_pwm_init()
140 p_config->base_clock, p_config->count_mode, p_config->top_value); in nrfx_pwm_init()
142 p_config->load_mode, p_config->step_mode); in nrfx_pwm_init()
157 NRFX_IRQ_PRIORITY_SET(DMA_ISSUE_EGU_IRQn, p_config->irq_priority); in nrfx_pwm_init()
164 p_config->irq_priority); in nrfx_pwm_init()
/dports/dns/unbound/unbound-1.14.0/contrib/
H A Dunbound_munin_229 p_config ( ) {
254 p_config "num.query.tcp" "TCP queries" "ABSOLUTE"
256 p_config "num.query.tls" "TLS queries" "ABSOLUTE"
258 p_config "num.query.ipv6" "IPv6 queries" "ABSOLUTE"
286 p_config "msg.cache.count" "msg cache count" "GAUGE"
289 p_config "key.cache.count" "key cache count" "GAUGE"
300 p_config "$nm" "$tp" "ABSOLUTE"
312 p_config "$nm" "$tp" "ABSOLUTE"
324 p_config "$nm" "$tp" "ABSOLUTE"
336 p_config "$nm" "$tp" "ABSOLUTE"
[all …]
/dports/dns/nsd/nsd-4.3.9/contrib/
H A Dnsd_munin_207 p_config ( ) {
234 p_config "num.udp" "UDP ip4 queries" "ABSOLUTE"
236 p_config "num.tcp" "TCP ip4 queries" "ABSOLUTE"
255 p_config "size.db.mem" "data in memory" "GAUGE"
271 p_config "$nm" "$tp" "ABSOLUTE"
284 p_config "$nm" "$tp" "ABSOLUTE"
297 p_config "$nm" "$tp" "ABSOLUTE"
310 p_config "$nm" "$tp" "ABSOLUTE"
319 p_config "zone.total" "total zones" "GAUGE"
320 p_config "zone.master" "master zones" "GAUGE"
[all …]
/dports/lang/micropython/micropython-1.17/ports/nrf/modules/machine/
H A Dpwm.c62 machine_pwm_config_t * p_config; member
258 self->p_config->duty = 50; // 50% by default. in machine_hard_pwm_make_new()
264 self->p_config->pulse_width = 0; in machine_hard_pwm_make_new()
270 self->p_config->mode = MODE_HIGH_LOW; in machine_hard_pwm_make_new()
281 config.output_pins[0] = self->p_config->pwm_pin; in machine_hard_pwm_init()
287 config.base_clock = self->p_config->freq; in machine_hard_pwm_init()
289 config.top_value = self->p_config->period; in machine_hard_pwm_init()
295 uint16_t pulse_width = ((self->p_config->period * self->p_config->duty) / 100); in machine_hard_pwm_init()
298 if (self->p_config->pulse_width > 0) { in machine_hard_pwm_init()
299 pulse_width = self->p_config->pulse_width; in machine_hard_pwm_init()
[all …]
H A Dspi.c297 self->p_config->ss_pin = NRFX_SPI_PIN_NOT_USED; in machine_hard_spi_make_new()
300 self->p_config->irq_priority = 3; in machine_hard_spi_make_new()
302 self->p_config->irq_priority = 6; in machine_hard_spi_make_new()
324 self->p_config->frequency = NRF_SPI_FREQ_1M; in machine_hard_spi_init()
326 self->p_config->frequency = NRF_SPI_FREQ_2M; in machine_hard_spi_init()
328 self->p_config->frequency = NRF_SPI_FREQ_4M; in machine_hard_spi_init()
330 self->p_config->frequency = NRF_SPI_FREQ_8M; in machine_hard_spi_init()
345 self->p_config->mode = NRF_SPI_MODE_0; in machine_hard_spi_init()
348 self->p_config->mode = NRF_SPI_MODE_1; in machine_hard_spi_init()
354 self->p_config->mode = NRF_SPI_MODE_2; in machine_hard_spi_init()
[all …]
/dports/devel/tinygo/tinygo-0.14.1/lib/nrfx/hal/
H A Dnrf_qspi.h579 uint32_t config = p_config->readoc; in nrf_qspi_ifconfig0_set()
580 config |= ((uint32_t)p_config->writeoc) << QSPI_IFCONFIG0_WRITEOC_Pos; in nrf_qspi_ifconfig0_set()
592 config |= p_config->sck_delay; in nrf_qspi_ifconfig1_set()
593 config |= (p_config->dpmen ? 1U : 0U) << QSPI_IFCONFIG1_DPMEN_Pos; in nrf_qspi_ifconfig1_set()
594 config |= ((uint32_t)(p_config->spi_mode)) << QSPI_IFCONFIG1_SPIMODE_Pos; in nrf_qspi_ifconfig1_set()
603 uint32_t config = p_config->opcode; in nrf_qspi_addrconfig_set()
604 config |= ((uint32_t)p_config->byte0) << QSPI_ADDRCONF_BYTE0_Pos; in nrf_qspi_addrconfig_set()
605 config |= ((uint32_t)p_config->byte1) << QSPI_ADDRCONF_BYTE1_Pos; in nrf_qspi_addrconfig_set()
606 config |= ((uint32_t)(p_config->mode)) << QSPI_ADDRCONF_MODE_Pos; in nrf_qspi_addrconfig_set()
607 config |= (p_config->wipwait ? 1U : 0U) << QSPI_ADDRCONF_WIPWAIT_Pos; in nrf_qspi_addrconfig_set()
[all …]
H A Dnrf_adc.h253 __STATIC_INLINE void nrf_adc_init(nrf_adc_config_t const * p_config);
322 __STATIC_INLINE void nrf_adc_init(nrf_adc_config_t const * p_config) in nrf_adc_init() argument
325 ((p_config->resolution << ADC_CONFIG_RES_Pos) & ADC_CONFIG_RES_Msk) in nrf_adc_init()
326 |((p_config->scaling << ADC_CONFIG_INPSEL_Pos) & ADC_CONFIG_INPSEL_Msk) in nrf_adc_init()
327 |((p_config->reference << ADC_CONFIG_REFSEL_Pos) & ADC_CONFIG_REFSEL_Msk) in nrf_adc_init()
328 |((p_config->input << ADC_CONFIG_PSEL_Pos) & ADC_CONFIG_PSEL_Msk) in nrf_adc_init()
329 |((p_config->extref << ADC_CONFIG_EXTREFSEL_Pos) & ADC_CONFIG_EXTREFSEL_Msk); in nrf_adc_init()
/dports/devel/tinygo/tinygo-0.14.1/lib/nrfx/drivers/include/
H A Dnrfx_power.h225 nrfx_err_t nrfx_power_init(nrfx_power_config_t const * p_config);
246 void nrfx_power_pof_init(nrfx_power_pofwarn_config_t const * p_config);
256 void nrfx_power_pof_enable(nrfx_power_pofwarn_config_t const * p_config);
283 void nrfx_power_sleepevt_init(nrfx_power_sleepevt_config_t const * p_config);
290 void nrfx_power_sleepevt_enable(nrfx_power_sleepevt_config_t const * p_config);
315 void nrfx_power_usbevt_init(nrfx_power_usbevt_config_t const * p_config);
/dports/multimedia/vlc/vlc-3.0.16/modules/codec/gstreamer/
H A Dgstvlcvideopool.c50 GstStructure *p_config ) in gst_vlc_video_pool_set_config() argument
60 if( !gst_buffer_pool_config_get_params( p_config, &p_caps, &size, in gst_vlc_video_pool_set_config()
66 gst_buffer_pool_config_get_allocator( p_config, &p_allocator, &params ); in gst_vlc_video_pool_set_config()
85 gst_buffer_pool_config_has_option( p_config, in gst_vlc_video_pool_set_config()
89 gst_buffer_pool_config_has_option( p_config, in gst_vlc_video_pool_set_config()
95 gst_buffer_pool_config_get_video_alignment( p_config, &align ); in gst_vlc_video_pool_set_config()
112 gst_buffer_pool_config_set_video_alignment( p_config, &align); in gst_vlc_video_pool_set_config()
124 gst_buffer_pool_config_set_params( p_config, p_caps, info.size, in gst_vlc_video_pool_set_config()
127 return GST_BUFFER_POOL_CLASS (parent_class)->set_config( p_pool, p_config ); in gst_vlc_video_pool_set_config()

123456