Home
last modified time | relevance | path

Searched refs:setup (Results 1 – 25 of 556) sorted by relevance

12345678910>>...23

/drivers/gpu/drm/vc4/
Dvc4_render_cl.c56 static inline void rcl_u8(struct vc4_rcl_setup *setup, u8 val) in rcl_u8() argument
58 *(u8 *)(setup->rcl->vaddr + setup->next_offset) = val; in rcl_u8()
59 setup->next_offset += 1; in rcl_u8()
62 static inline void rcl_u16(struct vc4_rcl_setup *setup, u16 val) in rcl_u16() argument
64 *(u16 *)(setup->rcl->vaddr + setup->next_offset) = val; in rcl_u16()
65 setup->next_offset += 2; in rcl_u16()
68 static inline void rcl_u32(struct vc4_rcl_setup *setup, u32 val) in rcl_u32() argument
70 *(u32 *)(setup->rcl->vaddr + setup->next_offset) = val; in rcl_u32()
71 setup->next_offset += 4; in rcl_u32()
80 static void vc4_store_before_load(struct vc4_rcl_setup *setup) in vc4_store_before_load() argument
[all …]
/drivers/net/ethernet/cavium/liquidio/
Docteon_nic.h121 union octnic_cmd_setup *setup, u32 tag) in octnet_prepare_pci_cmd_o2() argument
140 port = (int)oct->instr_queue[setup->s.iq_no]->txpciq.s.port; in octnet_prepare_pci_cmd_o2()
150 if (!setup->s.gather) { in octnet_prepare_pci_cmd_o2()
151 ih2->dlengsz = setup->s.u.datasize; in octnet_prepare_pci_cmd_o2()
154 ih2->dlengsz = setup->s.u.gatherptrs; in octnet_prepare_pci_cmd_o2()
164 packet_params.s.ip_csum = setup->s.ip_csum; in octnet_prepare_pci_cmd_o2()
165 packet_params.s.transport_csum = setup->s.transport_csum; in octnet_prepare_pci_cmd_o2()
166 packet_params.s.tnl_csum = setup->s.tnl_csum; in octnet_prepare_pci_cmd_o2()
167 packet_params.s.tsflag = setup->s.timestamp; in octnet_prepare_pci_cmd_o2()
175 union octnic_cmd_setup *setup, u32 tag) in octnet_prepare_pci_cmd_o3() argument
[all …]
/drivers/clk/imx/
Dclk-sscg-pll.c90 struct clk_sscg_pll_setup setup; member
112 static int clk_sscg_pll2_check_match(struct clk_sscg_pll_setup *setup, in clk_sscg_pll2_check_match() argument
120 memcpy(setup, temp_setup, sizeof(struct clk_sscg_pll_setup)); in clk_sscg_pll2_check_match()
128 static int clk_sscg_divq_lookup(struct clk_sscg_pll_setup *setup, in clk_sscg_divq_lookup() argument
144 ret = clk_sscg_pll2_check_match(setup, temp_setup); in clk_sscg_divq_lookup()
155 static int clk_sscg_divf2_lookup(struct clk_sscg_pll_setup *setup, in clk_sscg_divf2_lookup() argument
162 ret = clk_sscg_divq_lookup(setup, temp_setup); in clk_sscg_divf2_lookup()
170 static int clk_sscg_divr2_lookup(struct clk_sscg_pll_setup *setup, in clk_sscg_divr2_lookup() argument
181 ret = clk_sscg_divf2_lookup(setup, temp_setup); in clk_sscg_divr2_lookup()
190 static int clk_sscg_pll2_find_setup(struct clk_sscg_pll_setup *setup, in clk_sscg_pll2_find_setup() argument
[all …]
/drivers/scsi/
Daha152x.c733 struct Scsi_Host *aha152x_probe_one(struct aha152x_setup *setup) in aha152x_probe_one() argument
749 shpnt->io_port = setup->io_port; in aha152x_probe_one()
751 shpnt->irq = setup->irq; in aha152x_probe_one()
753 if (!setup->tc1550) { in aha152x_probe_one()
754 HOSTIOPORT0 = setup->io_port; in aha152x_probe_one()
755 HOSTIOPORT1 = setup->io_port; in aha152x_probe_one()
757 HOSTIOPORT0 = setup->io_port+0x10; in aha152x_probe_one()
758 HOSTIOPORT1 = setup->io_port-0x10; in aha152x_probe_one()
762 RECONNECT = setup->reconnect; in aha152x_probe_one()
763 SYNCHRONOUS = setup->synchronous; in aha152x_probe_one()
[all …]
/drivers/usb/mtu3/
Dmtu3_gadget_ep0.c63 forward_to_driver(struct mtu3 *mtu, const struct usb_ctrlrequest *setup) in forward_to_driver() argument
73 ret = mtu->gadget_driver->setup(&mtu->g, setup); in forward_to_driver()
185 static int ep0_set_sel(struct mtu3 *mtu, struct usb_ctrlrequest *setup) in ep0_set_sel() argument
188 u16 length = le16_to_cpu(setup->wLength); in ep0_set_sel()
206 ep0_get_status(struct mtu3 *mtu, const struct usb_ctrlrequest *setup) in ep0_get_status() argument
214 switch (setup->bRequestType & USB_RECIP_MASK) { in ep0_get_status()
233 epnum = (u8) le16_to_cpu(setup->wIndex); in ep0_get_status()
276 static int handle_test_mode(struct mtu3 *mtu, struct usb_ctrlrequest *setup) in handle_test_mode() argument
282 switch (le16_to_cpu(setup->wIndex) >> 8) { in handle_test_mode()
326 struct usb_ctrlrequest *setup, bool set) in ep0_handle_feature_dev() argument
[all …]
Dmtu3_trace.h89 TP_PROTO(struct usb_ctrlrequest *setup),
90 TP_ARGS(setup),
99 __entry->bRequestType = setup->bRequestType;
100 __entry->bRequest = setup->bRequest;
101 __entry->wValue = le16_to_cpu(setup->wValue);
102 __entry->wIndex = le16_to_cpu(setup->wIndex);
103 __entry->wLength = le16_to_cpu(setup->wLength);
112 TP_PROTO(struct usb_ctrlrequest *setup),
113 TP_ARGS(setup)
/drivers/acpi/
Dacpi_apd.c34 int (*setup)(struct apd_private_data *pdata); member
112 .setup = acpi_apd_setup,
117 .setup = acpi_apd_setup,
129 .setup = acpi_apd_setup,
135 .setup = fch_misc_setup,
141 .setup = acpi_apd_setup,
146 .setup = acpi_apd_setup,
151 .setup = acpi_apd_setup,
156 .setup = acpi_apd_setup,
161 .setup = acpi_apd_setup,
[all …]
/drivers/memory/
Dstm32-fmc2-ebi.c171 u32 (*calculate)(struct stm32_fmc2_ebi *ebi, int cs, u32 setup);
174 int cs, u32 setup);
295 int cs, u32 setup) in stm32_fmc2_ebi_ns_to_clock_cycles() argument
300 return DIV_ROUND_UP(setup * 1000, hclkp); in stm32_fmc2_ebi_ns_to_clock_cycles()
304 int cs, u32 setup) in stm32_fmc2_ebi_ns_to_clk_period() argument
306 u32 nb_clk_cycles = stm32_fmc2_ebi_ns_to_clock_cycles(ebi, cs, setup); in stm32_fmc2_ebi_ns_to_clk_period()
344 int cs, u32 setup) in stm32_fmc2_ebi_set_bit_field() argument
354 setup ? prop->reg_mask : 0); in stm32_fmc2_ebi_set_bit_field()
361 int cs, u32 setup) in stm32_fmc2_ebi_set_trans_type() argument
373 switch (setup) { in stm32_fmc2_ebi_set_trans_type()
[all …]
/drivers/net/wireless/intersil/p54/
Dfwio.c316 struct p54_setup_mac *setup; in p54_setup_mac() local
319 skb = p54_alloc_skb(priv, P54_HDR_FLAG_CONTROL_OPSET, sizeof(*setup), in p54_setup_mac()
324 setup = skb_put(skb, sizeof(*setup)); in p54_setup_mac()
356 setup->mac_mode = cpu_to_le16(mode); in p54_setup_mac()
357 memcpy(setup->mac_addr, priv->mac_addr, ETH_ALEN); in p54_setup_mac()
358 memcpy(setup->bssid, priv->bssid, ETH_ALEN); in p54_setup_mac()
359 setup->rx_antenna = 2 & priv->rx_diversity_mask; /* automatic */ in p54_setup_mac()
360 setup->rx_align = 0; in p54_setup_mac()
362 setup->v1.basic_rate_mask = cpu_to_le32(priv->basic_rate_mask); in p54_setup_mac()
363 memset(setup->v1.rts_rates, 0, 8); in p54_setup_mac()
[all …]
/drivers/acpi/acpica/
Devhandler.c331 acpi_adr_space_setup setup, void *context) in acpi_ev_install_space_handler() argument
359 setup = acpi_ev_system_memory_region_setup; in acpi_ev_install_space_handler()
365 setup = acpi_ev_io_space_region_setup; in acpi_ev_install_space_handler()
371 setup = acpi_ev_pci_config_region_setup; in acpi_ev_install_space_handler()
377 setup = acpi_ev_cmos_region_setup; in acpi_ev_install_space_handler()
383 setup = acpi_ev_pci_bar_region_setup; in acpi_ev_install_space_handler()
389 setup = acpi_ev_data_table_region_setup; in acpi_ev_install_space_handler()
401 if (!setup) { in acpi_ev_install_space_handler()
402 setup = acpi_ev_default_region_setup; in acpi_ev_install_space_handler()
505 handler_obj->address_space.setup = setup; in acpi_ev_install_space_handler()
/drivers/usb/usbip/
Dvudc_transfer.c59 struct usb_ctrlrequest *setup, in handle_control_request() argument
67 w_index = le16_to_cpu(setup->wIndex); in handle_control_request()
68 w_value = le16_to_cpu(setup->wValue); in handle_control_request()
69 switch (setup->bRequest) { in handle_control_request()
71 if (setup->bRequestType != DEV_REQUEST) in handle_control_request()
78 if (setup->bRequestType == DEV_REQUEST) { in handle_control_request()
99 } else if (setup->bRequestType == EP_REQUEST) { in handle_control_request()
112 if (setup->bRequestType == DEV_REQUEST) { in handle_control_request()
132 } else if (setup->bRequestType == EP_REQUEST) { in handle_control_request()
146 if (setup->bRequestType == DEV_INREQUEST in handle_control_request()
[all …]
/drivers/hwmon/
Dshtc1.c64 struct shtc1_platform_data setup; member
87 if (!data->setup.blocking_io) in shtc1_update_values()
172 if (data->setup.high_precision) { in shtc1_select_command()
173 data->command = data->setup.blocking_io ? in shtc1_select_command()
180 data->command = data->setup.blocking_io ? in shtc1_select_command()
234 data->setup.blocking_io = false; in shtc1_probe()
235 data->setup.high_precision = true; in shtc1_probe()
240 data->setup.blocking_io = of_property_read_bool(np, "sensirion,blocking-io"); in shtc1_probe()
241 data->setup.high_precision = !of_property_read_bool(np, "sensicon,low-precision"); in shtc1_probe()
244 data->setup = *(struct shtc1_platform_data *)dev->platform_data; in shtc1_probe()
/drivers/net/ethernet/stmicro/stmmac/
Dhwif.c104 int (*setup)(struct stmmac_priv *priv); member
124 .setup = dwmac100_setup,
142 .setup = dwmac1000_setup,
160 .setup = dwmac4_setup,
178 .setup = dwmac4_setup,
196 .setup = dwmac4_setup,
214 .setup = dwmac4_setup,
233 .setup = dwxgmac2_setup,
252 .setup = dwxlgmac2_setup,
288 if (priv->plat->setup) { in stmmac_hwif_init()
[all …]
/drivers/tty/serial/8250/
D8250_pci.c41 int (*setup)(struct serial_private *, member
2022 .setup = addidata_apci7800_setup,
2033 .setup = afavlab_setup,
2044 .setup = pci_hp_diva_setup,
2054 .setup = pci_hp_diva_setup,
2065 .setup = pci_default_setup,
2072 .setup = skip_tx_en_setup,
2079 .setup = skip_tx_en_setup,
2086 .setup = skip_tx_en_setup,
2093 .setup = ce4100_serial_setup,
[all …]
/drivers/net/arcnet/
Dcom20020.c102 lp->setup = lp->clockm ? 0 : (lp->clockp << 1); in com20020_check()
107 lp->setup = lp->setup | P1MODE; in com20020_check()
110 arcnet_outb(lp->setup, ioaddr, COM20020_REG_W_XREG); in com20020_check()
226 arcnet_outb(lp->setup, ioaddr, COM20020_REG_W_XREG); in com20020_found()
260 lp->setup >> 1, in com20020_found()
263 ((lp->setup & 0x0F) >> 1)]); in com20020_found()
379 if (!(lp->setup & PROMISCset)) in com20020_set_mc_list()
382 lp->setup |= PROMISCset; in com20020_set_mc_list()
383 arcnet_outb(lp->setup, ioaddr, COM20020_REG_W_XREG); in com20020_set_mc_list()
386 if ((lp->setup & PROMISCset)) in com20020_set_mc_list()
[all …]
/drivers/usb/gadget/udc/
Dmax3420_udc.c176 struct usb_ctrlrequest setup; member
542 switch (udc->setup.bRequestType & USB_RECIP_MASK) { in max3420_getstatus()
549 if (udc->driver->setup(&udc->gadget, &udc->setup) < 0) in max3420_getstatus()
553 ep = &udc->ep[udc->setup.wIndex & USB_ENDPOINT_NUMBER_MASK]; in max3420_getstatus()
554 if (udc->setup.wIndex & USB_DIR_IN) { in max3420_getstatus()
580 int set = udc->setup.bRequest == USB_REQ_SET_FEATURE; in max3420_set_clear_feature()
584 switch (udc->setup.bRequestType) { in max3420_set_clear_feature()
586 if (udc->setup.wValue != USB_DEVICE_REMOTE_WAKEUP) in max3420_set_clear_feature()
589 if (udc->setup.bRequest == USB_REQ_SET_FEATURE) in max3420_set_clear_feature()
597 if (udc->setup.wValue != USB_ENDPOINT_HALT) in max3420_set_clear_feature()
[all …]
Dmv_udc_core.c1514 static void ch9setaddress(struct mv_udc *udc, struct usb_ctrlrequest *setup) in ch9setaddress() argument
1516 udc->dev_addr = (u8)setup->wValue; in ch9setaddress()
1526 struct usb_ctrlrequest *setup) in ch9getstatus() argument
1531 if ((setup->bRequestType & (USB_DIR_IN | USB_TYPE_MASK)) in ch9getstatus()
1535 if ((setup->bRequestType & USB_RECIP_MASK) == USB_RECIP_DEVICE) { in ch9getstatus()
1538 } else if ((setup->bRequestType & USB_RECIP_MASK) in ch9getstatus()
1542 } else if ((setup->bRequestType & USB_RECIP_MASK) in ch9getstatus()
1546 ep_num = setup->wIndex & USB_ENDPOINT_NUMBER_MASK; in ch9getstatus()
1547 direction = (setup->wIndex & USB_ENDPOINT_DIR_MASK) in ch9getstatus()
1560 static void ch9clearfeature(struct mv_udc *udc, struct usb_ctrlrequest *setup) in ch9clearfeature() argument
[all …]
Dudc-xilinx.c183 struct usb_ctrlrequest setup; member
1023 if (udc->setup.bRequestType & USB_DIR_IN) { in __xudc_ep0_queue()
1034 if (udc->setup.wLength) { in __xudc_ep0_queue()
1614 switch (udc->setup.bRequestType & USB_RECIP_MASK) { in xudc_getstatus()
1624 epnum = udc->setup.wIndex & USB_ENDPOINT_NUMBER_MASK; in xudc_getstatus()
1630 if (udc->setup.wIndex & USB_DIR_IN) { in xudc_getstatus()
1668 int flag = (udc->setup.bRequest == USB_REQ_SET_FEATURE ? 1 : 0); in xudc_set_clear_feature()
1671 switch (udc->setup.bRequestType) { in xudc_set_clear_feature()
1673 switch (udc->setup.wValue) { in xudc_set_clear_feature()
1692 if (!udc->setup.wValue) { in xudc_set_clear_feature()
[all …]
/drivers/i2c/busses/
Di2c-stm32f7.c291 struct i2c_smbus_alert_setup setup; member
340 struct stm32f7_i2c_setup setup; member
447 struct stm32f7_i2c_setup *setup, in stm32f7_i2c_compute_timing() argument
453 setup->clock_src); in stm32f7_i2c_compute_timing()
455 setup->speed_freq); in stm32f7_i2c_compute_timing()
468 specs = stm32f7_get_specs(setup->speed_freq); in stm32f7_i2c_compute_timing()
471 setup->speed_freq); in stm32f7_i2c_compute_timing()
475 if ((setup->rise_time > specs->rise_max) || in stm32f7_i2c_compute_timing()
476 (setup->fall_time > specs->fall_max)) { in stm32f7_i2c_compute_timing()
479 setup->rise_time, specs->rise_max, in stm32f7_i2c_compute_timing()
[all …]
/drivers/net/ethernet/dec/tulip/
Dmedia.c190 u16 setup[5]; in tulip_select_media() local
193 setup[i] = get_u16(&p[i*2 + 1]); in tulip_select_media()
210 setup[0], setup[1]); in tulip_select_media()
212 csr13val = setup[0]; in tulip_select_media()
213 csr14val = setup[1]; in tulip_select_media()
214 csr15dir = (setup[3]<<16) | setup[2]; in tulip_select_media()
215 csr15val = (setup[4]<<16) | setup[2]; in tulip_select_media()
224 csr15dir = (setup[0]<<16) | 0x0008; in tulip_select_media()
225 csr15val = (setup[1]<<16) | 0x0008; in tulip_select_media()
240 new_csr6 = 0x82020000 | ((setup[2] & 0x71) << 18); in tulip_select_media()
/drivers/spi/
Dspi-dw-pci.c28 int (*setup)(struct dw_spi *); member
64 .setup = dw_spi_pci_mid_init,
70 .setup = dw_spi_pci_mid_init,
76 .setup = dw_spi_pci_generic_init,
121 if (desc->setup) { in dw_spi_pci_probe()
122 ret = desc->setup(dws); in dw_spi_pci_probe()
/drivers/clk/ti/
Dmux.c222 struct clk_hw *ti_clk_build_component_mux(struct ti_clk_mux *setup) in ti_clk_build_component_mux() argument
227 if (!setup) in ti_clk_build_component_mux()
234 mux->shift = setup->bit_shift; in ti_clk_build_component_mux()
237 mux->reg.index = setup->module; in ti_clk_build_component_mux()
238 mux->reg.offset = setup->reg; in ti_clk_build_component_mux()
240 if (setup->flags & CLKF_INDEX_STARTS_AT_ONE) in ti_clk_build_component_mux()
243 num_parents = setup->num_parents; in ti_clk_build_component_mux()
/drivers/ata/
Dpata_cmd640.c92 if (t.setup > 4) in cmd640_set_piomode()
93 t.setup = 0xC0; in cmd640_set_piomode()
95 t.setup = setup_data[t.setup]; in cmd640_set_piomode()
103 reg |= t.setup; in cmd640_set_piomode()
114 reg |= t.setup; in cmd640_set_piomode()
/drivers/mfd/
Datmel-smc.c152 conf->setup &= ~GENMASK(shift + 7, shift); in atmel_smc_cs_conf_set_setup()
153 conf->setup |= val << shift; in atmel_smc_cs_conf_set_setup()
248 regmap_write(regmap, ATMEL_SMC_SETUP(cs), conf->setup); in atmel_smc_cs_conf_apply()
269 regmap_write(regmap, ATMEL_HSMC_SETUP(layout, cs), conf->setup); in atmel_hsmc_cs_conf_apply()
289 regmap_read(regmap, ATMEL_SMC_SETUP(cs), &conf->setup); in atmel_smc_cs_conf_get()
310 regmap_read(regmap, ATMEL_HSMC_SETUP(layout, cs), &conf->setup); in atmel_hsmc_cs_conf_get()
/drivers/s390/net/
Dlcs.c107 LCS_DBF_TEXT(2, setup, "ichalloc"); in lcs_alloc_channel()
118 LCS_DBF_TEXT(2, setup, "echalloc"); in lcs_alloc_channel()
134 LCS_DBF_TEXT(2, setup, "ichfree"); in lcs_free_channel()
147 LCS_DBF_TEXT(3, setup, "cleanch"); in lcs_cleanup_channel()
160 LCS_DBF_TEXT(2, setup, "remcard"); in lcs_free_card()
161 LCS_DBF_HEX(2, setup, &card, sizeof(void*)); in lcs_free_card()
174 LCS_DBF_TEXT(2, setup, "alloclcs"); in lcs_alloc_card()
185 LCS_DBF_TEXT(2, setup, "iccwerr"); in lcs_alloc_card()
192 LCS_DBF_TEXT(2, setup, "iccwerr"); in lcs_alloc_card()
201 LCS_DBF_HEX(2, setup, &card, sizeof(void*)); in lcs_alloc_card()
[all …]

12345678910>>...23